A geomechanical simulation model can be imported from the VTK file format, see Geomechanical Data for the import procedure. The model geometry and results are stored in VTU unstructured-grid files. When the model has more than one time step, a PVD collection file references one VTU file per time step.
A VTK UnstructuredGrid file is an XML file that stores the 3D mesh and the result values attached to its points and cells. For a geomechanical model the cells are hexahedral (HEX8) elements.
<VTKFiletype="UnstructuredGrid"version="0.1"byte_order="LittleEndian"><UnstructuredGrid><PieceNumberOfCells="2"NumberOfPoints="12"><!-- Data goes here --></Piece></UnstructuredGrid></VTKFile>
The file has one main piece with:
NumberOfCells: the number of elements in the model
NumberOfPoints: the number of nodes (corner points)
Stores result values that belong to each node. The disp array holds the nodal displacement vector (three components per node) used for deformation visualization.