pyvista-frd-reader#
Read and write CalculiX .frd result files as pyvista.UnstructuredGrid
objects, backed by a C++ core behind a C ABI.
Install it, read a file, plot the result.
A gallery, every entry run against real solver output.
The Python API and the C ABI underneath it.
import pyvista_frd
mesh = pyvista_frd.read("result.frd")
mesh.plot(scalars="STRESS_Mises")
The first four modes of a cantilever, read from the four steps CalculiX wrote for them. Step through a multi-step file#
What it is#
CalculiX writes its results to FRD. PyVista has read the ASCII half of that format since pyvista#8255; this package reimplements the whole of it in C++ behind a plain C ABI, so the same answers are available to a caller who is not writing Python, and adds a writer.
Both ASCII widths and both binary ones. Binary FRD is what CalculiX
writes from *REFINE MESH and from a DOUBLE output card, and an
ASCII-only reader returns an empty mesh for those files without raising
anything.
A document read and emitted again is the input byte for byte, over 1,111 external files. CalculiX itself reads what this package writes.
1,766 FRD files nobody here wrote, compared array by array against PyVista’s reader. Zero divergences.
One wheel per platform serves every supported interpreter. The core is also usable from C++, or from WebAssembly, with no Python involved.