#include <rocky_sph_element_api.hpp>
Inherited by IRockySPHElementHost.
Public Member Functions
Detailed Description
IRockySPHElement is the code representation of an individual SPH element, which is the basic unit for representing the fluid flow in a SPH model. It has several methods to access the values of physical properties carried by the SPH elements, as well as SPH element scalars, which are special variables that store custom property values per SPH element that are preserved between time iterations.
Member Function Documentation
add_acceleration()
add_force()
get_acceleration()
get_density()
get_force()
get_linked_dem_particle()
IRockyParticle object representing the DEM particle linked to the SPH particle, if the latter is actually a DEM-coupled SPH element.
get_normal()
get_position()
get_pressure()
get_release_time()
get_scalars()
IRockySPHElementScalars object that gives access to all SPH element scalars variables defined in the project.
get_strain_rate_tensor()
SymmetricTensor<float> object that represents the strain rate tensor of the element. To get strain rate, please enable the Gradient Velocity Scalars by calling IRockySPHElementScalarsModel::enable_gradient_velocity() at setup hook.
get_velocity()
is_dem_coupled()
is_enabled()
is_frozen()
set_frozen()
true, the solution of the motion equations for it is skipped.
Parameters