To export scalar or vector fields on a regular Cartesian grid, choose
from a field annotation's Browser node context menu.Input Corner1, Corner2 and Number of Planes for the Cartesian grid in the property dialog. Specify the Output File name.
Select to Include Imaginary Components (not currently supported for MICHELLE charged particle beam simulations).
The Format for the Cartesian grid can be 3D (x,y,z) or Axisymmetric (r,z,theta). In the latter case, select the Radial Direction and Axial Direction for the grid. The directions cannot be identical and the Number of Planes in the theta direction should be 1.
Click
.
The format of the files is as follows:
The file is text.
The first header line presents the data dimension (vector, scalar) and the coordinate system.
The second header line presents Corner1, Corner2 and the grid cell size in (x,y,z) or (r,z,theta).
For a vector field, each additional line in the file corresponds to a node in the mesh.
Columns 1, 2, and 3 are the (x,y,z) or (r,z,theta) coordinates of the node.
If Include Imaginary Components is not selected, Columns 4, 5, and 6 are the real values of the vector field components at the node.
If Include Imaginary Components is selected, columns 4, 6, and 8 are the real values of the vector field components at the node. Columns 5, 7, and 9 are the imaginary values of the vector field components at the node.
For a scalar field, each additional line in the file corresponds to a node in the mesh.
Columns 1, 2, and 3 are the (x,y,z) or (r,z,theta) coordinates of the node.
Column 4 is the real value of the scalar field at the node.
If Include Imaginary Components is selected, column 5 is the imaginary value of the scalar field at the node.
Please send email to awr.support@cadence.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.