Maxwell templates and arguments#
This section lists all setup templates with their default values and keys available in Maxwell 2D and 3D.
You can edit a setup after it is created. Here is an example:
from ansys.aedt.core import Maxwell3d
Maxwell3d = Maxwell3d ()
# Any property of this setup can be found on this page.
setup = Maxwell3d.create_setup ()
setup.props["MaximumPasses"] = 5
setup.update ()
OrderedDict([ ('Enabled', True),
('MeshLink', OrderedDict([('ImportMesh', False)])),
('NonlinearSolverResidual', '0.005'),
('ScalarPotential', 'Second Order'),
('SmoothBHCurve', False),
('StopTime', '10000000ns'),
('TimeStep', '2000000ns'),
('OutputError', False),
('UseControlProgram', False),
('ControlProgramName', ''),
('ControlProgramArg', ''),
('CallCtrlProgAfterLastStep', False),
('FastReachSteadyState', False),
('AutoDetectSteadyState', False),
('IsGeneralTransient', True),
('IsHalfPeriodicTransient', False),
('SaveFieldsType', 'None'),
('CacheSaveKind', 'Count'),
('NumberSolveSteps', 1),
('RangeStart', '0s'),
('RangeEnd', '0.1s')])
OrderedDict([ ('Enabled', True),
('MeshLink', OrderedDict([('ImportMesh', False)])),
('MaximumPasses', 10),
('MinimumPasses', 2),
('MinimumConvergedPasses', 1),
('PercentRefinement', 30),
('SolveFieldOnly', False),
('PercentError', 1),
('SolveMatrixAtLast', True),
('UseIterativeSolver', False),
('RelativeResidual', 1e-06),
('NonLinearResidual', 0.001),
('SmoothBHCurve', False),
('MuOption', OrderedDict([('MuNonLinearBH', True)]))])
OrderedDict([ ('Enabled', True),
('MeshLink', OrderedDict([('ImportMesh', False)])),
('MaximumPasses', 10),
('MinimumPasses', 2),
('MinimumConvergedPasses', 1),
('PercentRefinement', 30),
('SolveFieldOnly', False),
('PercentError', 1),
('SolveMatrixAtLast', True),
('UseIterativeSolver', False),
('RelativeResidual', 1e-06),
('NonLinearResidual', 0.001)])
OrderedDict([ ('Enabled', True),
('MeshLink', OrderedDict([('ImportMesh', False)])),
('MaximumPasses', 6),
('MinimumPasses', 1),
('MinimumConvergedPasses', 1),
('PercentRefinement', 30),
('SolveFieldOnly', False),
('PercentError', 1),
('SolveMatrixAtLast', True),
('UseIterativeSolver', False),
('RelativeResidual', 1e-05),
('NonLinearResidual', 0.0001),
('SmoothBHCurve', False),
('Frequency', '60Hz'),
('HasSweepSetup', False),
( 'SweepRanges',
OrderedDict([ ( 'Subrange',
OrderedDict([ ( 'SweepSetupType',
'LinearStep'),
( 'StartValue',
'1e-08GHz'),
( 'StopValue',
'1e-06GHz'),
( 'StepSize',
'1e-08GHz')]))])),
('UseHighOrderShapeFunc', False),
('UseMuLink', False)])
OrderedDict([ ('Enabled', True),
('MeshLink', OrderedDict([('ImportMesh', False)])),
('Tolerance', 0.005),
('ComputePowerLoss', False),
( 'Data',
OrderedDict([ ('SaveField', True),
('Stop', '100s'),
('InitialStep', '0.01s'),
('MaxStep', '5s')])),
('Initial Voltage', '0mV')])