create_setup#
- Mechanical.create_setup(setupname='MySetupAuto', setuptype=None, **kwargs)[source]#
Create an analysis setup for Mechanical.
Optional arguments are passed along with
setuptype
andsetupname
. Keyword names correspond to thesetuptype
corresponding to the native AEDT API. The list of keywords here is not exhaustive.- Parameters:
- setuptype
int
,str
,optional
Type of the setup. Options are
"IcepakSteadyState"
and"IcepakTransient"
. The default is"IcepakSteadyState"
.- setupname
str
,optional
Name of the setup. The default is
"Setup1"
.- **kwargs
dict
,optional
Available keys depend on the setup chosen. For more information, see Mechanical templates and arguments.
- setuptype
- Returns:
pyaedt.modules.SolveSetup.SetupHFSS
Solver Setup object.
References
>>> oModule.InsertSetup
Examples
>>> from pyaedt import Mechanical >>> app = Mechanical() >>> app.create_setup(setupname="Setup1", MaxModes=6))