The translator creates a grid and boundary conditions file in the MAGREC
file format. MAGREC is a Hitachi in-house code for the computation of magnetic
Creating the MAGREC Input File
The translator writes the MAGREC input file using an unstructured domain
file and its corresponding boundary conditions file. To create the MAGREC
input file, select the translator "MAGREC" in the "Output" menu from the
ICEM CFD/CAE Manager. After clicking "Write output" you can specify options
for the MAGREC interface:
select an existing unstructured domain file
give the name of the boundary condition file
give the name of the MAGREC input file
option to give a scaling factor for each direction (default is 1.0)
The interface generates the MAGREC file in the Transfer Shell. You may
open a shell window in this directory by selecting the menu items "Utility"
and "Transfer Shell".
Defining boundary conditions and properties for MAGREC
In MULCAD the boundary conditions and properties are defined using the
"Unspec. Bound. Cond." menu. For grids generated with the HEXA-Mesher or
the TETRA-Mesher, the boundary conditions and properties are defined in
the "general bound. cond." menu of the DDN-Mesher Interface. Please refer
section for more details.
The properties are optionally defined on each domain or 3D family.
1.FLAG 1.string1 Enter the word PROP
2.NR 3.integer Enter the material ID number (default is 1)
3.VALUE 4.real1 Enter the IDRC flag, 1<=idrc<=6 (default is 4)
4.X 5.real2 Enter the x-component of the density vector
5.Y 6.real3 Enter the y-component of the density vector
6.Z 7.real4 Enter the z-component of the density vector
7.SCALE 8.real5 Enter the coefficient of magnetic permeability - Cmu
(default is 1.257e-6)
The boundary types can be defined on subfaces or 2D families.
1.FLAG 1.string1 Enter the word TYPE
2.NR 3.integer Enter the boundary type no.(0,1 or 2)
The default boundary type is zero for all external walls. Note that
when a block with an IDRC of 1, 2 or 3 interfaces with a block with an
IDRC of 4, 5 or 6, a boundary is automatically created at the interface
between the two blocks with the default boundary type of zero.
This interface is only written for 3D models composed of HEXA-8, TETRA-4
and/or PENTA-6 elements.