Usage
Usage with Python alone
The general workflow for the usage of Paraqus always includes the following steps:
Create one or more
ParaqusModelinstances, representing the geometry and data that will be exported to vtk.Create a writer for the desired file format (
AsciiWriterorBinaryWriter).Optional: create a
CollectionWriterto connect vtk files based on multipleParaqusModelinstances, e.g. when they represent different time steps for the same model.Write the vtk files to disk.
Have a look at the pure Python examples (located in the subdirectory examples of Paraqus) to learn how to create a ParaqusModel from scratch and how to write a vtk file based on it.
Example |
Contents |
|---|---|
|
|
|
|
|
|
|
|
|
Usage with Abaqus
When used to export models from Abaqus, the creation of the ParaqusModel instances is handled by the ODBReader class. The following steps do not change compared to the usage with pure Python. The following examples demonstrate how to use Paraqus with Abaqus, and need a working Abaqus installation to run.
In general, the Abaqus input files must be downloaded and an Abaqus analysis must be performed for each example. Detailed instructions can be found in the individual Python files. It is recommended to run the Abaqus analysis for each example, and then look at the output database to get a feel for the model. Only then should you go through the Python code and try to understand what each line does, being able to reference e.g. part names with the output database.
At the end of each of the Abaqus tutorials, an exemplary pipeline for Paraview is described to visualize the results.
Example Contents |
|
|---|---|
|
|
|
|
|
|
|
|
|