create_setup#

Mechanical.create_setup(name='MySetupAuto', setup_type=None, **kwargs)[source]#

Create an analysis setup for Mechanical.

Optional arguments are passed along with setup_type and name. Keyword names correspond to the setup_type corresponding to the native AEDT API. The list of keywords here is not exhaustive.

Parameters:
namestr, optional

Name of the setup. The default is "Setup1".

setup_typeint, str, optional

Type of the setup. Options are "IcepakSteadyState" and "IcepakTransient". The default is "IcepakSteadyState".

**kwargsdict, optional

Available keys depend on the setup chosen. For more information, see Mechanical templates and arguments.

Returns:
pyaedt.modules.SolveSetup.SetupHFSS

Solver Setup object.

References

>>> oModule.InsertSetup

Examples

>>> from pyaedt import Mechanical
>>> app = Mechanical()
>>> app.create_setup(name="Setup1",MaxModes=6)