Muscat.IO.InpReader module¶
Inp file reader (Abaqus simulation file)
- class InpReader[source]¶
Bases:
ReaderBase
Inp Reader class
- PeekLine() str [source]¶
Read a line without advancing
- Returns:
the next line in the input buffer
- Return type:
str
- 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 (Mesh, optional) – output unstructured mesh object containing reading result, by default None
- Returns:
output unstructured mesh object containing reading result
- Return type:
- ReadInp(fileName: str = '', string: str = '', 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 (Mesh, optional) – output unstructured mesh object containing reading result, by default None
- Returns:
output unstructured mesh object containing reading result
- Return type: