MaxwellParameters#
- class ansys.aedt.core.modules.boundary.maxwell_boundary.MaxwellParameters(app, name, props=None, boundarytype=None)#
Manages parameters data and execution.
- Parameters:
- app
ansys.aedt.core.maxwell.Maxwell3d
,ansys.aedt.core.maxwell.Maxwell2d
Either
Maxwell3d
orMaxwell2d
application.- name
str
Name of the boundary.
- props
dict
,optional
Properties of the boundary.
- boundarytype
str
,optional
Type of the boundary.
- app
Examples
Create a matrix in Maxwell3D return a
ansys.aedt.core.modules.boundary.common.BoundaryObject
>>> from ansys.aedt.core import Maxwell2d >>> maxwell_2d = Maxwell2d() >>> coil1 = maxwell_2d.modeler.create_rectangle([8.5,1.5, 0],[8, 3],True,"Coil_1","vacuum") >>> coil2 = maxwell_2d.modeler.create_rectangle([8.5,1.5, 0],[8, 3],True,"Coil_2","vacuum") >>> maxwell_2d.assign_matrix(["Coil_1", "Coil_2"])
Methods
Create a boundary.
Delete the boundary.
MaxwellParameters.join_parallel
(sources[, ...])Create matrix reduction by joining sources in parallel.
MaxwellParameters.join_series
(sources[, ...])Create matrix reduction by joining sources in series.
Create dictionary from the Binary Tree.
Activate suppress option for all the operations contained in the binary tree node.
Disable suppress option for all the operations contained in the binary tree node.
Update the boundary.
MaxwellParameters.update_property
(prop_name, ...)Update the property of the binary tree node.
Attributes
Available properties.
Command of the modeler hystory if available.
Boundary Name.
Properties data.
Maxwell parameter data.
List of reduced matrix groups for the parent matrix.