Skip to main content
#include <rocky_cfd.hpp>

Public Member Functions

Detailed Description

IRockyCFDProperties gives access to data and utility methods commonly needed for calculating interaction magnitudes between the fluid flow and a particle. The property values returned by those methods are referred either to a particle, or the CFD cell in which that particle is currently located, or both. In the special case of a 1-way constant coupling mode, as there is no CFD mesh associated, the fluid properties returned are the constant values prescribed through the Rocky UI.

Member Function Documentation

compute_fluid_vorticity()

Returns The vorticity vector associated to the fluid flow within the CFD cell in which the interacting particle is located. The vorticity is defined as the curl of the fluid velocity.

compute_relative_angular_reynolds_number()

Returns The Reynolds number value, based on the relative angular velocity and the particle’s equivalent diameter. For more details, please refer to the DEM-CFD Coupling Technical Manual regarding this topic. Torque laws are commonly expressed using this Reynolds number.

compute_vorticity_reynolds_number()

Returns The Reynolds number value, based on the flow vorticity and the particle’s equivalent diameter. For more details, please refer to the DEM-CFD Coupling Technical Manual regarding this topic. Lift coefficients are usually expressed as functions of this Reynolds number.

get_cell_volume()

Returns The volume of the CFD cell in which the interacting particle is located. Before calling this method, one should enable it by calling the method IRockyFluidScalarsModel::enable_storage_cell_volume()

get_cfd_time_step()

Returns The CFD time step

get_fluid_density()

Returns The value of the fluid density within the CFD cell in which the interacting particle is located.

get_fluid_pressure_gradient()

Returns The pressure gradient in the fluid within the CFD cell in which the interacting particle is located, expressed in Cartesian coordinates.

get_fluid_specific_heat()

Returns The value of the fluid specific heat within the CFD cell in which the interacting particle is located.

get_fluid_temperature()

Returns The value of the fluid temperature within the CFD cell in which the interacting particle is located. This temperature will be available only if the energy equation is solved in Fluent and/or thermal modeling is enabled in Rocky.

get_fluid_thermal_conductivity()

Returns The value of the fluid thermal conductivity within the CFD cell in which the interacting particle is located.

get_fluid_viscosity()

Returns The value of the fluid absolute viscosity within the CFD cell in which the interacting particle is located.

get_prandtl_number()

Returns The Prandtl number value, defined as the ratio of the fluid’s momentum diffusivity to its thermal diffusivity. For more details, please refer to the DEM-CFD Coupling Technical Manual regarding this topic.

get_relative_velocity()

Returns The relative velocity vector in Cartesian coordinates. In this context, the relative velocity is defined as the difference between the fluid velocity and the particle velocity.

get_reynolds_number()

Returns The Reynolds number value, based on the relative velocity and the particle’s equivalent diameter. For more details, please refer to the DEM-CFD Coupling Technical Manual regarding this topic. Drag coefficients in most of the drag laws found in the literature are expressed as functions of this Reynolds number.

get_scalars()

Returns An IRockyFluidScalars object that gives access to the values of all CFD fluid scalars defined in the project at the CFD cell in which the interacting particle is located.

get_solid_fraction()

Returns The solid fraction at the CFD cell in which the interacting particle is located. This parameter is defined as the ratio between the volume of the particles within that cell to the volume of the cell itself. In Fluent Two Way cases, the value of the solid fraction may be altered by a Lagrangian-to-Eulerian mapping procedure. For more details, please refer to the DEM-CFD Coupling Technical Manual.