HFSS templates and arguments#
This section lists all setup templates with their default values and keys available in HFSS.
You can edit a setup after it is created. Here is an example:
from ansys.aedt.core import Hfss
hfss = Hfss()
# Any property of this setup can be found on this page.
setup = hfss.create_setup()
setup.props["AdaptMultipleFreqs"] = True
setup.update()
{ 'AutoSolverSetting': 'Balanced',
'IsEnabled': True,
'MeshLink': {'ImportMesh': False},
'SaveAnyFields': True,
'SaveRadFieldsOnly': False,
'Sweeps': { 'Sweep': { 'RangeEnd': '10GHz',
'RangeStart': '1GHz',
'RangeStep': '1GHz',
'RangeType': 'LinearStep'}},
'Type': 'Discrete'}
{ 'BasisOrder': 1,
'DoLambdaRefine': True,
'DoMaterialLambda': True,
'Frequency': '5GHz',
'IE Solver Accuracy': 'Balanced',
'IESolverType': 'Auto',
'IsEnabled': True,
'LambdaTargetForIESolver': 0.15,
'MaxDeltaS': 0.02,
'MaximumPasses': 6,
'MeshLink': {'ImportMesh': False},
'MinimumConvergedPasses': 1,
'MinimumPasses': 1,
'MultipleAdaptiveFreqsSetup': { '1GHz': [0.02],
'2GHz': [0.02],
'5GHz': [0.02]},
'PercentRefinement': 30,
'PortAccuracy': 2,
'PortsOnly': False,
'SaveAnyFields': True,
'SaveRadFieldsOnly': False,
'SetLambdaTarget': False,
'SetPortMinMaxTri': False,
'SolveType': 'Single',
'Target': 0.3333,
'UseABCOnPort': False,
'UseDefaultLambdaTgtForIESolver': True,
'UseDomains': False,
'UseIterativeSolver': False,
'UseMatrixConv': False,
'UseMaxTetIncrease': False}
{ 'BasisOrder': 1,
'DoLambdaRefine': True,
'DoMaterialLambda': True,
'Frequency': '5GHz',
'IE Solver Accuracy': 'Balanced',
'IESolverType': 'Auto',
'IsEnabled': True,
'LambdaTargetForIESolver': 0.15,
'MaxDeltaS': 0.02,
'MaximumPasses': 6,
'MeshLink': {'ImportMesh': False},
'MinimumConvergedPasses': 1,
'MinimumPasses': 1,
'MultipleAdaptiveFreqsSetup': { '1GHz': [0.02],
'2GHz': [0.02],
'5GHz': [0.02]},
'PercentRefinement': 30,
'PortAccuracy': 2,
'PortsOnly': False,
'SaveAnyFields': True,
'SaveRadFieldsOnly': False,
'SetLambdaTarget': False,
'SetPortMinMaxTri': False,
'SolveType': 'Single',
'Target': 0.3333,
'UseABCOnPort': False,
'UseDefaultLambdaTgtForIESolver': True,
'UseDomains': False,
'UseIterativeSolver': False,
'UseMatrixConv': False,
'UseMaxTetIncrease': False}
{ 'BasisOrder': -1,
'Frequency': '5GHz',
'IsEnabled': True,
'MaxDeltaS': 0.02,
'MaximumPasses': 20,
'MeshLink': {'ImportMesh': False},
'Transient': { 'HfssFrequency': '5GHz',
'MaxFreq': '1GHz',
'MinFreq': '100MHz',
'NumFreqsExtracted': 401,
'SteadyStateCriteria': 0.01,
'SweepMaxFreq': '1GHz',
'SweepMinFreq': '100MHz',
'TerminateOnMaximum': 0,
'TimeProfile': 'Broadband Pulse',
'UseAutoTermination': 1,
'UseMinimumDuration': 0},
'UseImplicitSolver': True}
{ 'ComputeFarFields': True,
'IsEnabled': True,
'IsSbrRangeDoppler': False,
'MaxNumberOfBounces': 5,
'MeshLink': {'ImportMesh': False},
'PTDUTDSimulationSettings': 'None',
'RadiationSetup': '',
'RayDensityPerWavelength': 4,
'Sweeps': { 'Sweep': { 'RangeEnd': '10GHz',
'RangeStart': '1GHz',
'RangeStep': '1GHz',
'RangeType': 'LinearStep'}}}