|Type of mesh
||2D and 3D
The ANSYS ICEM CFD - CFD++ translator creates the input files necessary to run
the CFD++ solver, version 96.03 and beyond. These are written in C-binary:
Nodal Information File: This file
is named "nodesin.bin". It contains the node type and node coordinates.
The interface supports node type zero i.e. 3D coordinates for tridimensional
configurations, and nodetypes 2, 4, or 6 for bidimensional configurations.
Cell Information File: This file contains the type and connectivity of
all cells. Three types of cells are supported in 3D: hexahedron, triangular
prism and tetrahedron. In 2D, quadrangles and triangles are supported.
By default, the cell file is called "cellsin.bin".
Boundary Condition File: The boundary conditions are defined with a list
of boundary elements in the "exbcsin.bin" file. Group numbers are attributed
to the boundary elements in order to differentiate different boundary conditions.
The bcselector number is set equal to the group number in the translator.
Internal Face File: The internal faces are written in the file "inbcsin.bin"
and are attributed 2 bcselectors.
Group boundary file: The association group name and group number
(bcselector ) is listed in this ASCII file called "mcfd.bc".
- Cell group name file: This file gives the number of cell groups and their names.
It is written in ASCII and is called "mcfd.grp".
- Cell group number: This file lists the group number of each cell. It is written
in C binary and is named "cgrpsin.bin.N, where N is the number of
- Solution file: If results are found in the domain file, a CFD++ solution file is
created. It is written in C binary and is called "cdepsin.bin".
Creating the CFD++ Input Files
The translator writes the CFD++ input files using an unstructured domain
file and its corresponding boundary conditions file. To create the CFD++
input files, select the translator "CFD++" in the "Output" menu.
After clicking "Write input" you can specify options
for the CFD++ interface:
The interface generates the CFD++ files in the user specified directory.
select an existing unstructured domain file
- give the name of the boundary condition file
- option to use a parameter file (mcfd.param)
- Option to output cell groups files (mcfd.grp and cgrpsin.bin.N)
- option to give a scaling factor for each direction (default is 1.0)
- give the name of the directory for the CFD++ input files
Defining boundary conditions for CFD++
The boundary groups are defined by assigning a name to the external surfaces
of the model.
The translator generates automatically default boundary groups for all
external walls not named by the user.
A default group is created for each external surface family.
This interface supports 3D models composed of HEXA-8, TETRA-4 and/or PENTA-6
elements, and 2D models composed of QUAD-4 and/or TRI-3 shell elements.