- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
HFSS15: General Commands
Use these Fields Calculator commands to perform operations on both vector and scalar quantities.
+ (Add) | / (Divide) | Smooth |
-- (Substract) | Neg | Complex |
* (Multiply) | Abs | Domain |
+ (Add)
Adds the quantities in the top two registers of the calculator.
– (Subtract)
Subtracts the quantity in the top register from the quantity in the second register. The two registers must hold the same type of quantity (both scalar or both vector). You cannot subtract a scalar from a vector (or vice versa).
* (Multiply)
Multiplies the quantity in the top register by the quantity in the second register. One of the two registers must contain a scalar value; the other register can be either a scalar or a vector.
/ (Divide)
Divides the quantity in the second register by the quantity in the top register. The second register must contain a scalar value; the top register can be either a scalar or a vector.
Neg
Changes the sign of the quantity in the top register.
Abs
Takes the absolute value of the quantity in the top register.
Smooth
Smooths the quantity in the top register. Because of the numerical solution technique used, field values are not always continuous across the boundaries of the individual elements that make up the finite-element mesh. Smoothing makes the values continuous by taking a weighted average from all of a node’s neighboring elements. The weights are based on angles, so elements with larger angles provide larger contributions. In general, use smoothing before plotting a quantity.
Complex
These commands perform operations on a complex quantity in the top register. Complex quantities are indicated by a C at the beginning of the register label. They can be represented in terms of real and imaginary components, or in terms of magnitude and phase:
![]()
where:
A is the real part of the complex number.
B is the imaginary part of the complex number.
M is its magnitude, which is equal to
.
f is its phase, which is equal to
.
The Complex commands let you do the following:
Real | Takes the real part of the complex quantity (A). |
Imag | Takes the imaginary part of the complex quantity (B). |
CmplxMag | Takes the magnitude of the complex quantity (M). Due to interpolation issues, the sequence of calculations may cause a loss of accuracy. It is best to define the points , separately obtain the value of the real part, then the imaginary part, and use those values to calculate the magnitude and and phase. For the sequence for using the Fields Calculator to obtain the real and imaginary parts, see the procedure here. |
CmplxPhase | Takes the phase of the complex quantity (f). |
Conj | Takes the complex conjugate of the quantity in the top register. If a complex number is given by C = A + jB, its complex conjugate is given by C* = A - jB. |
AtPhase | Lets you specify the phase angle, q, at which an field quantity is evaluated. These quantities can be represented in the form where w is the angular frequency at which the quantities are oscillating, specified during the solution. q(x,y,z) is the phase angle (the offset from a cosine wave that peaks at t=0). Entering the phase angle lets you compute the real part of the field’s magnitude at different points in its cycle. |
CmplxReal | Converts the real scalar of the top register to the real part of a complex number. |
CmplxImag | Converts the real scalar of the top register to the imaginary part of a complex number. |
CmplxPeak | Calculates the peak value of a given complex vector. Intuitively, this calculates the maximum magnitude of the equivalent real vector in a waveform. |
Domain
This limits a calculation to the volume you specify. The domain filter works for scalars, vectors, complex scalars and complex vectors. This operation requires the top two entries of the stack to be a volume geometry and a numeric field quantity. To do this:
1. Load the field quantity into the top register, and perform any necessary operations on it.
2. Load the volume using the Geometry command.
3. Click Domain.
The Domain command is often used to limit a calculation or plot to the intersection of a surface and an object or group of objects. If you export a domain filtered numeric, points that are filtered out by the domain will not be written out.
HFSS 学习培训课程套装,专家讲解,视频教学,帮助您全面系统地学习掌握HFSS
上一篇:General Setup for Virtual Array Simulation
下一篇:General Information on DSO Configurations


