Boundary objects#
This section lists classes for creating and editing boundaries in the 3D tools. These objects are returned by app methods and can be used to edit or delete a boundary condition.
Manages boundary data and execution. |
|
Manages Far Field Component data and execution. |
|
Manages Near Field Component data and execution. |
|
Manages Matrix in Q3d and Q2d Projects. |
|
Manages parameters data and execution. |
|
Provides methods to interact with matrices in Maxwell. |
|
Provides methods to interact with reduced matrices in Maxwell. |
|
Represent a reduced matrix operation in Maxwell (join in series or parallel). |
|
Initialize Maxwell force. |
|
Initialize Maxwell torque. |
|
Initialize Maxwell layout force. |
|
Manages boundary data and execution for Hfss3dLayout. |
|
Manages networks in Icepak projects. |
Maxwell Matrices#
To facilitate matrix assignment in Maxwell, multiple classes have been created. These classes help to easily create matrix for different Maxwell solvers for both Maxwell3D and Maxwell2D.
Matrix assignment for electric solvers. |
|
Source definition for magnetostatic solver. |
|
Group sources definition for magnetostatic solver. |
|
Matrix assignment for magnetostatic solver. |
|
Sources for AC Magnetic solver. |
|
Matrix assignment for AC Magnetic solver. |
|
RL sources for AC Magnetic A-Phi solver. |
|
GC sources for AC Magnetic A-Phi solver. |
|
Matrix assignment for AC Magnetic A-Phi solver. |
Circuit excitations#
To facilitate excitations assignment in Circuit, multiple classes have been created.
Manages sources in Circuit projects. |
|
Power Sinusoidal Class. |
|
Power IQ Class. |
|
Voltage Frequency Dependent Class. |
|
Power Sinusoidal Class. |
|
Power Sinusoidal Class. |
|
Current Sinusoidal Class. |
Native components#
When native components object are created, the NativeComponentObject class is returned. For PCB components, NativeComponentPCB is returned.
Manages native component PCB data and execution. |
|
Manages Native Component data and execution. |
|
Handle device part settings of the PCB component. |
|
Handle package part settings of the PCB component. |
Native Component Object example:
from ansys.aedt.core import Icepak
ipk = Icepak()
component_name = "RadioBoard1"
pcb_comp = self.aedtapp.create_ipk_3dcomponent_pcb(
component_name,
link_data,
solution_freq,
resolution,
custom_x_resolution=400,
custom_y_resolution=500,
)
# pcb_comp is a NativeComponentPCB
...
ipk.release_desktop()
Icepak transient assignments#
To facilitate transient assignment handling in Icepak, it is possible to use one of the following classes:
Manages sinusoidal condition assignments, which are children of the |
|
Manages linear conditions assignments, which are children of the |
|
Manages power law condition assignments, which are children of the |
|
Manages exponential condition assignments, which are children of the |
|
Manages square wave condition assignments, which are children of the |
|
Manages dataset condition assignments, which are children of the |
It is possible to initialize the class manually or through a method:
bc_transient = ipk.create_sinusoidal_transient_assignment(
vertical_offset="1W", vertical_scaling="3", period="2", period_offset="0.5s"
)
# bc_transient will be SinusoidalDictionary type
ipk.assign_solid_block("Cylinder1", bc_transient)
# or
bc_transient = SinusoidalDictionary(
vertical_offset="1W", vertical_scaling="3", period="2", period_offset="0.5s"
)
ipk.assign_solid_block("Cylinder1", bc_transient)