MaterialIDs data type signed integer
Description
Assigning different materials to some FE mesh can be done easily defining MaterialIDs in the mesh vtu-file. The OGS code requires these MaterialIDs to be of Int32 data type. However, in the present example, UInt32 works as well (but it should not).
Steps to Reproduce the Problem
The mesh has been created with GMSH 4.4.1 using its Python module. Then it was converted to vtu via
meshio-convert -a basinMesh.msh basinMeshIO.vtu
Finally, to prepare for use in OGS, any additional lines were removed.
- In the file basinMeshIO_noLines.vtu, replace the
<DataArray type="Int32" Name="MaterialIDs"...>
by<DataArray type="UInt32" Name="MaterialIDs"...>
- Then run basinOGSinput_gravityStep.prj using also basin_geometry.gml with OGS.
Expected behavior: The simulation should not start.
Actual behavior: The simulation runs without any complaint (which is nice, but...).
Specifications
- Version: 6.3.2-9-g1395ef3d
- Platform: Ubuntu 20.4