Muscat.IO.InpWriter module

Inp file writer (Abaqus mesh files)

CheckIntegrity()[source]
class InpWriter[source]

Bases: WriterBase

Class to writes a inp file on disk

Write(meshObject: Mesh, useOriginalId=False, PointFieldsNames=None, PointFields=None, CellFieldsNames=None, CellFields=None)[source]

Function to writes a CGNS File on disk

Parameters:
  • mesh (Mesh) – the mesh to be exported

  • useOriginalId (bool, optional) – If True, Original Id for the number of nodes and elements are used (the user is responsible of the consistency of this data), by default False

  • PointFieldsNames (None) – Not Used, by default None

  • PointFields (None) – Not Used, by default None

  • CellFieldsNames (None) – Not Used, by default None

  • CellFields (None) – Not Used, by default None

WriteMeshToINP(filename, mesh, useOriginalId=False)[source]
Export Mesh to disk in the inp (Abaqus mesh) format file.

A file is created using the path and name of filename

Parameters:
  • filename (str) – name with path to the file to be created (relative or absolute)

  • mesh (Mesh) – the mesh to be exported

  • useOriginalId (bool, optional) – If True, Original Id for the number of nodes and elements are used (the user is responsible of the consistency of this data), by default False