create_setup#
- Hfss.create_setup(setupname='MySetupAuto', setuptype=None, **kwargs)[source]#
Create an analysis setup for HFSS. 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.Note
This method overrides the
Analysis.setup()
method for the HFSS app.- Parameters:
- setuptype
str
,optional
Type of the setup. Based on the solution type, options are
"HFSSDrivenAuto"
,"HFSSDrivenDefault"
,"HFSSEigen"
,"HFSSTransient"
, and"HFSSSBR"
. The default is"HFSSDrivenAuto"
.- setupname
str
,optional
Name of the setup. The default is
"Setup1"
.- **kwargs
dict
,optional
Extra arguments to set up the circuit. Available keys depend on the setup chosen. For more information, see HFSS templates and arguments.
- setuptype
- Returns:
pyaedt.modules.SolveSetup.SetupHFSS
,pyaedt.modules.SolveSetup.SetupHFSSAuto
3D Solver Setup object.
References
>>> oModule.InsertSetup
Examples
>>> from pyaedt import Hfss >>> hfss = Hfss() >>> hfss.create_setup(setupname="Setup1", setuptype="HFSSDriven", Frequency="10GHz")