IRockyParticleScalars gives access to all particle scalars defined in the project. These particle scalars can be built-in scalars defined in the Rocky solver, or custom particle scalars defined by the current module or other active modules.
Inherits from:
- EntityScalars< rocky20::ParticleScalars >
Members
- add_explicit_fluid_heat_transfer_rate
- add_explicit_fluid_momentum
- add_implicit_fluid_heat_transfer_rate
- add_implicit_fluid_momentum
- add_mass_increment
- add_scalar
- add_temperature
- add_volume_increment
- get_mass_increment
- get_poisson_ratio
- get_scalar
- get_specific_heat
- get_temperature
- get_thermal_conductivity
- get_volume_increment
- max_scalar
- set_mass_increment
- set_poisson_ratio
- set_scalar
- set_specific_heat
- set_temperature
- set_thermal_conductivity
- set_volume_increment
Public functions
Function get_temperature
Function get_mass_increment
Function get_volume_increment
Function set_temperature
- value: The value of the temperature.
- const double value
Function set_mass_increment
- value: The value of the mass increment.
- const double value
Function set_volume_increment
- value: The value of the volume increment.
- const double value
Function add_temperature
- value: The value summed to the temperature.
- const double value
Function add_explicit_fluid_momentum
- value: The particle’s explicit momentum contribution.
- const double3 value
Function add_implicit_fluid_momentum
- value: The coefficient associated to particle’s implicit momentum contribution.
- const double value
Function add_explicit_fluid_heat_transfer_rate
- value: The particle’s explicit heat transfer rate contribution.
- const double value
Function add_implicit_fluid_heat_transfer_rate
- value: The particle’s implicit heat transfer rate contribution.
- const double value
Function add_mass_increment
- value: The value summed to the mass increment.
- const double value
Function add_volume_increment
- value: The value summed to the volume increment.
- const double value
Function get_thermal_conductivity
Function set_thermal_conductivity
- value: The value of the particle’s thermal conductivity.
- const double value
Function get_specific_heat
Function set_specific_heat
- value: The value of the particle’s specific heat.
- const double value
Function get_poisson_ratio
Function set_poisson_ratio
- value: The value of the Poisson’s ratio for the particle.
- const double value
Function get_scalar
- scalar_index: The integer index that was associated to the scalar variable during the setup of the module.
- int scalar_index
Function set_scalar
- scalar_index: The integer index that was associated to the scalar variable during the setup of the module.
- value: The value that must be stored.
- int scalar_index
- double value
Function add_scalar
- scalar_index: The integer index that was associated to the scalar variable during the setup of the module.
- value: The value that must be summed to the current stored value.
- int scalar_index
- double value
Function max_scalar
- scalar_index: The integer index that was associated to the scalar variable during the setup of the module.
- value: A value that must be checked if it is greater than the current stored value.
- int scalar_index
- double value