| Home | Trees | Indices | Help |
|
|---|
|
|
NearField(<projectId>, <simulationId>)
NearField(empro.activeProject, <simulationId>)
NearField(context)
creates a near field post processor of a simulation within a project.
Example:
import empro
from empro.toolkit.engine_support.fem.post_processing import NearField
nearField = NearField('C:\users\jdoe\project.ep', '000001')
for f in nearField.frequencies:
nearField.frequency = f
print nearField.frequency
print nearField.E(1e-3, 2e-3, 3e-3) # x,y,z coordinates in meters
print nearField.H(empro.geometry.Vector3d("1 mm", "2 mm", "3 mm"))
print nearField.E([(1e-3, 2e-3, 3e-3), (4e-3, 5e-3, 6e-3)])
| Instance Methods | |||
|
|||
| (Ex, Ey, Ez) |
|
||
| (Hx, Hy, Hz) |
|
||
| Properties | |
|
frequencies sequence of available solution frequencies, readonly. |
|
|
frequency solution frequency, readwrite. |
|
|
excitations sequence of available excitation numbers, readonly. |
|
|
excitation index of active excitation, readwrite. |
|
| Method Details |
E([(x1, y1, z1), (x2, y2, z2), ...]) ->
[(Ex1, Ey1, Ez1), (Ex2, Ey2, Ez2), ...]
Compute electric field in one point, or in a sequence of points.
Coordinates should be specified in meters. The electric field is
returned as triples of complex x-, y- and z-components.
|
H([(x1, y1, z1), (x2, y2, z2), ...]) ->
[(Hx1, Hy1, Hz1), (Hx2, Hy2, Hz2), ...]
Compute magnetic field in one point, or in a sequence of points.
Coordinates should be specified in meters. The magnetic field is
returned as triples of complex x-, y- and z-components.
|
| Property Details |
frequenciessequence of available solution frequencies, readonly.
|
frequencysolution frequency, readwrite.
|
excitationssequence of available excitation numbers, readonly.
|
excitationindex of active excitation, readwrite.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Jun 26 10:16:53 2019 | http://epydoc.sourceforge.net |