The ICEM-CFD/gsmacDF translator creates a formatted input file necessary
to run the GSMACS-DF solver.

Creating the GSMAC-DF Input Files

The translator writes the GSMAC-DF input files using an unstructured domain
file and its corresponding boundary conditions file. To create the GSMAC-DF
input file, select the translator "gsmacDF" in the "Output" menu from the
ICEM CFD/CAE Manager. After clicking "gsmacDF input" you can specify options
for the interface:

select an existing unstructured domain file.

select the existing boundary condition file.

specify the name for the GSMAC-DF input file (default is gsmacDF).
Two files are created, the mesh and boundary condition file (.msh) and
the initial value data file (.val).

specify the scale factor (default is 1.0).

The GSMAC-DF formatted input files contains the following information:

Mesh and boundary condition file (.msh):

Nodes information:

- total number of nodes

- nodes ID number

- nodes coordinates (x,y and z)

- boundary condition flag

Elements information:

- element ID number

- connectivity: if the element has a boundary face, than instead of its
neigbor, the boundary condition flag is written.

Periodicity:

- number of periodic pairs

- periodic node ID number

Initial value data file (.val):

Number of nodes and elements

Velocity vector (u, v, w) for each node

Pressure (p), droplet volume (dvol) and number of droplets (anp) for each
cell

Defining boundary conditions

The interface supports the following boundary condition flags:

Boundary Condition Type

bcname

bcflag

Inside

(default)

0

Wall no slip

(default)

1

Stress free outlet

FOUTL

2

Fixed velocity

FVELO

4

Slip on XY plane

FSYMZ

11

Slip on YZ plane

FSYMX

12

Slip on ZX plane

FSYMY

13

Wall reflection

FREFL

1

By default, internal nodes are assigned a bcflag equal to 0 and the
boundary nodes a bcflag of 1. To specify bcflag values other than
the defaults, specify one of the optional bcname to a pre-selected family.
This is done using the b.c. GUI in MED, or using the b.c. menu in MULCAD
or DDN Mesher interface: