Output fields#
You select what HemoCell writes to disk with two calls from your case:
hemocell.setOutputs("RBC", { ... })— per-cell fields, once per cell type, andhemocell.setFluidOutputs({ ... })— fluid (lattice) fields.
Each takes a list of OUTPUT_* constants defined in
config/constant_defaults.h. Requesting only what you need keeps the output
smaller and the simulation faster. By default the values are written in SI units
(set hemocell.outputInSiUnits = false for lattice units). The fields end up
in compressed HDF5 files under tmp/hdf5 (convert them for ParaView with
batchPostProcess.sh), and cell scalar data additionally in
tmp/csv (see Post-processing the output of a HemoCell case).
Per-cell outputs#
Pass these to setOutputs(name, {...}).
Constant |
Field written |
|---|---|
|
Position of each membrane vertex. |
|
The triangulated surface mesh (connectivity), needed to render the cell surface. |
|
Velocity of each membrane vertex. |
|
Total force on each vertex (sum of all force terms below). |
|
Volume-conservation force contribution. |
|
Local area-conservation force contribution. |
|
Bending force contribution. |
|
Link (stretching) force contribution. |
|
Viscous force contribution. |
|
Inner-link force contribution (models with internal structure). |
|
Repulsion force contribution (requires repulsion enabled). |
|
The inner-edge connectivity of the cell. |
|
The unique id of the cell each vertex belongs to. |
|
The id of each vertex. |
|
Residence time of the cell in the domain. |
Note
OUTPUT_BINDING_SITES and OUTPUT_INTERIOR_POINTS are also defined and
relate to the binding/solidification and interior-viscosity features
respectively. They are only meaningful when those features are enabled; verify
against the model you use before relying on them.
Fluid outputs#
Pass these to setFluidOutputs({...}).
Constant |
Field written |
|---|---|
|
Fluid velocity field. |
|
Fluid density field. |
|
Force field acting on the fluid (e.g. from the immersed cells). |
|
Shear stress field. |
|
Shear rate field. |
|
Strain-rate field. |
|
Relaxation parameter ( |
|
Boundary/solid mask of the domain. |
|
Number density of cells mapped onto the fluid grid. |
Tip
The full list of OUTPUT_* constants lives in
config/constant_defaults.h. If a constant is not listed
above, it is either experimental or specific to an optional feature.