read
public static FemModel3d read(FemModel3d model,
java.lang.String fileName,
FemReader.FemFileType type)
throws java.io.IOException
Attempts to read a FEM file, filling in the model "model". If == null
, a new model is created.
- Parameters:
model
- the model to assemblefileName
- the file to read. For multi-file formats like ANSYS and TETGEN, supply the element file name,
or else it will try to find the corresponding ".ele" or ".elem" file to distinguish between themtype
- the file format (from ABAQUS, ANSYS, TETGEN
)
- Returns:
- The created model
- Throws:
java.io.IOException
- if there is a read error