Reads an unstructured grid generated by an external tool into USim. Currently USim does not do its own decomposition so it is assumed that the decomposition data is stored in the grid. Details on generating grids using GMSH and CUBIT/Trelis are given in Solving Problems on Unstructured Meshes in USim.
Creator
(block)Defines the what type of grid will be read in. USim currently supports 2 different types of grids: Exodus meshes (frequently generated by CUBIT or Trelis):
<Creator ctor>
kind = exodus
ndim = 3
file = NElementCube_1000.g
</Creator>
or
<Creator ctor>
kind = exodus
ndim = 3
file = NElementCube_1000.exo
</Creator>
and meshes generated with gmsh:
<Creator ctor>
kind = gmsh
ndim = 2
file = rampgeom.msh
</Creator>
isRadial
(boolean)ghostLayers
(integer)writeGeom
(boolean)writeConn
(boolean)writeHalos
(boolean)Sample code block
<Grid domain>
kind = unstructured
ghostLayers = 2
<Creator ctor>
kind = gmsh
ndim = 2
file = rampgeom.msh
</Creator>
</Grid>