Muscat.IO.OdbReader module¶
Odb file reader (Abaqus result file)
- class OdbReader[source]¶
Bases:
object
Obd Reader class
- ConvertInstanceToMuscat(instance)[source]¶
Converts odb instance to Muscat objects
- Parameters:
instance (odb.rootAssembly.instances) – odb instance
- Returns:
conversion of the odb instance in objects that can be handled by Muscat
- Return type:
Mesh, dict, dict
- GetActiveFrame()[source]¶
Returns odb active frame
- Returns:
active frame
- Return type:
odb.steps.frames
- Read()[source]¶
Function that performs the reading of an odb file
- Returns:
output unstructured mesh object containing reading result
- Return type:
- ReadFields(nodeMap, elemMap, res)[source]¶
Function that reads the fields defined in an odb file
- Parameters:
nodeMap (dict) – node map generated by ConvertInstanceToMuscat
elemMap (dict) – element map generated by ConvertInstanceToMuscat
res (Mesh) – unstructured mesh generated by ConvertInstanceToMuscat
- Returns:
fields read from an odb file
- Return type:
dict, dict
- ReadMetaData(odb=None)[source]¶
_summary_
- Parameters:
odb (Odb, optional) – obd object handled by odbAccess, by default None
- Returns:
metadata: time and stepData
- Return type:
float, list
- SetFieldsNamesToRead(val)[source]¶
Sets field name to read
- Parameters:
val (str) – field name to read