#include <rocky_fluid_scalars.hpp>
Inherits ScalarsModel< rocky20::FluidScalarsController >.
Public Member Functions
Detailed Description
AnIRockyFluidScalarsModel allows users to add new fluid scalars, or find fluid scalars created in other modules, all during the setup phase of a module. Fluid scalars are special variables attached to CFD cell elements that store per-cell values preserved between simulation time iterations.
Member Function Documentation
add()
double
for storing custom values during a simulation, preserving them between time iterations.
Parameters
Returns
The index that will uniquely identify the scalar variable during the execution of the simulation.
enable_storage_cell_volume()
find()
Returns
The index that uniquely identifies the wanted scalar if it was actually found. It returns -1 otherwise.
reset()
set_dimension()
IRockyModel object.
Parameters