BasicTools.IO.InpReader module

Inp file reader (Abaqus simulation file)

BasicTools.IO.InpReader.CheckIntegrity()[source]
BasicTools.IO.InpReader.DiscardTillNextStar(func)[source]
class BasicTools.IO.InpReader.InpReader[source]

Bases: ReaderBase

Inp Reader class

Read(fileName=None, string=None, out=None)[source]

Function that performs the reading of an Inp file

Parameters:
  • fileName (str, optional) – name of the file to be read, by default None

  • string (str, optional) – data to be read as a string instead of a file, by default None

  • out (UnstructuredMesh, optional) – output unstructured mesh object containing reading result, by default None

Returns:

output unstructured mesh object containing reading result

Return type:

UnstructuredMesh

ReadCleanLine()[source]
find(l, expr)[source]
BasicTools.IO.InpReader.JoinInp(filename)[source]
BasicTools.IO.InpReader.LineToDic(text)[source]
BasicTools.IO.InpReader.LineToList(text)[source]
BasicTools.IO.InpReader.LineToListNoQuote(text)[source]
BasicTools.IO.InpReader.ReadInp(fileName=None, string=None, out=None, **kwargs)[source]

Function API for reading an Abaqus inp file

Parameters:
  • fileName (str, optional) – name of the file to be read, by default None

  • string (str, optional) – data to be read as a string instead of a file, by default None

  • out (UnstructuredMesh, optional) – output unstructured mesh object containing reading result, by default None

Returns:

output unstructured mesh object containing reading result

Return type:

UnstructuredMesh

BasicTools.IO.InpReader.SplitInp(filename)[source]