pyvista-frd-reader#

Read and write CalculiX .frd result files as pyvista.UnstructuredGrid objects. The parser is also available through a C API.

Get started

Install the package, read a file, and select result steps.

Getting started
Examples

Read, plot, convert, and inspect solver output.

Examples
API reference

Python classes, functions, errors, and the C API.

API reference
import pyvista_frd

mesh = pyvista_frd.read("result.frd")
mesh.plot(scalars="STRESS_Mises")
_images/sphx_glr_plot_c_time_steps_001.png

The first four modes of a cantilever, read from the four steps CalculiX wrote for them. Step through a multi-step file#

Capabilities#

CalculiX writes analysis results to FRD files. This package reads all four FRD encodings, writes long ASCII and binary FRD, and converts record encodings.

Four encodings

Read short ASCII, long ASCII, binary float32, and binary float64 records. Preserve or convert their encodings.

Sets and named surfaces

Import set masks and plot named faces with their current-step results.

Named surfaces
FRD writer

Write PyVista meshes to FRD or convert an existing file without building a mesh.

PyVista compatibility

The conformance suite compares mesh and result arrays with PyVista’s built-in reader.

C API

Use the parser from C, C++, WebAssembly, or another language with a foreign-function interface.