Skip to content

tinerator.dump

to_exodus

to_exodus(dem_object, outfile:str, facesets:list=None, mesh:str=None)

Writes a mesh in the Exodus file format. Note that to export with facesets, the mesh must have depth - that is, build_layered_mesh() must have been called first.

Arguments

  • dem_object (tinerator.DEM): a Tinerator DEM object
  • outfile (str): path to save Exodus mesh to
  • facesets (list): a list containing Faceset objects
  • mesh (str): type of mesh to export ('surface' or 'prism')

to_avs

to_avs(dem_object, outfile:str, mesh_object:str=None)

Writes a mesh in the AVS-UCD file format. Note that facesets cannot be exported.

Arguments

  • dem_object (tinerator.DEM): a Tinerator DEM object
  • outfile (str): path to save Exodus mesh to
  • mesh (str): type of mesh to export ('surface' or 'prism')