| Mesh file name. If it is not defined, a mesh generator must be specified. The mesh reading service is automatically detected from the extension of the file. The following formats are supported by Arcane (the list depends on the compile options): .vtk (legacy VTK), .vtu (XML VTK, with or without support for polyhedral cells), .msh (Gmsh), .med (MED, requires HDF5 support), and the Lima formats .unf, .mli, .mli2, .ice, .uns and .unv (requires Lima support). A specific reader can be specified with the <specific-reader> tag. | Simple |
| Mesh creation service. This service must be specified if no mesh file is defined. The name of the service is given by the name attribute. The following generators are available in Arcane (the list depends on the compile options):
Cartesian3D Liste des options du service Cartesian3D :
| Service Instance |
| Initialization information. These options allow, among other things, initializing variables on groups with predefined values. It contains a list of <variable> elements. For example: <initialization>
<variable>
<name>Density</name>
<value>1.0</value>
<group>ZG</group>
</variable>
<variable>
<name>Density</name>
<value>0.125</value>
<group>ZD</group>
</variable>
</initialization>
| Complex |
| List of variables to initialize. | Complex |
| Name of the group on which we want to position the values. | Simple |
| Name of the variable to initialize. | Simple |
| Value of the variable. The string must be convertible to the variable type. | Simple |
| Specific service to customise the creation of the mesh. It may be used for example to set a specific instance of the parallel manager. For example, the ArcaneParallelMngSplitterMeshBuilderCustomiser service creates the mesh on a subset of the ranks (option subset-ratio).
ArcaneParallelMngSplitterMeshBuilderCustomiser Liste des options du service ArcaneParallelMngSplitterMeshBuilderCustomiser :
| Service Instance |
| Number of ghost cell layers to add to the mesh in case of partitioning. | Simple |
| Name of the partitioning service to use for the initial decomposition. If the value is 'External', it is considered that the partitioning has already been performed before the code is launched. In this case, already partitioned mesh files must be available. These files must be named CPU%05d.<ext> where '%05d' is the rank of the process (zero-padded on 5 digits) and <ext> is the extension of the mesh file. | Simple |
| Specific mesh reading service. This service can be specified if you wish to avoid automatic detection of the reader to be used or if you wish to add specific options to a given reader. For example, the VtkPolyhedralCaseMeshReader service supports polyhedral cells and has options to print information about the mesh: <meshes>
<mesh>
<filename>mesh.vtk</filename>
<specific-reader name="VtkPolyhedralCaseMeshReader">
<print-mesh-infos>true</print-mesh-infos>
</specific-reader>
</mesh>
</meshes>
| Service Instance |
| Service allowing the subdivision of cells. The default service (ArcaneBasicMeshSubdivider) has one option, nb-subdivision, which is the number of subdivisions to apply to each cell.
| Service Instance |