utils.write_flow_vtr
utils.write_flow_vtr(path, result)Write a FlowResult to a VTK Rectilinear Grid (.vtr) file.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| path | str | Output path without extension (pyevtk appends .vtr). |
required |
| result | FlowResult | A converged flow result containing solid, rho, and velocity. direction and nu are embedded as a metadata comment when present. |
required |