You need an external mesh generator to create mehses for openCFS. openCFS support a range of mesh formats as input, most widely used are:
- Ansys CDB (written by cubit / trelis)
- Gmsh (format < 3)
- cfs internal
*.meshfiles written by various preprocessing scripts
The principal mechanism by which openCFS interfaces with the mesh generator is by region names.
These region names are assigned in the mesh generator and collect sets of volume or surface elemnts or even nodes.
The region names are then used in the openCFS XML input to define PDEs or assign material properties on certain volume regions, apply boundary conditions to surface regions or request results.
Once you have exported the mesh file from the mesh gernator, specify it as the
fileName attribute it in respectife mesh format tag in the
<fileFormats><input> section of the opeCFS XML input.
In the following you'll find a few exaples for selected mesh generators.