releso.util.load_binary.load_mixd

releso.util.load_binary.load_mixd(mesh_file: str, mesh_dim: int, solution_file: str, ndof: int) Tuple[ndarray, ndarray]

Read in the mesh and the solution of an XNS simulation.

After reading in the XNS solution it is stored in the correct attributes namely in the coordinates and solution attributes

Author: Daniel Wolff (wolff@avt.rwth-aachen.de)

Parameters:
  • mesh_file (string) – filename / location of the mesh file mxyz

  • mesh_dim (int) – Number of spatial dimensions of the mesh

  • solution_file (string) – filename / location of the file containing

  • solutions (the nodal)

  • ndof (int) – Number of degrees of freedom per node

Returns:

Array of points from the mixd mesh values (numpy.ndarray): Nodal solution values from the mixd file

Return type:

coordinates (numpy.ndarray)