IRockySPHModel includes some methods that provide basic information about the SPH model. The data associated to an IRockySPHModel object resides entirely on host memory, consequently, it can be accessed only within hooks executed host-side.
Members
- get_element_mass
- get_fluid_density
- get_fluid_specific_heat
- get_fluid_thermal_conductivity
- get_fluid_viscosity
- get_initial_element_spacing
- get_maximum_refinement_count
- get_maximum_refinement_levels
- get_number_of_active_free_sph_elements
- get_number_of_active_linked_sph_elements
- get_number_of_active_sph_elements
- get_number_of_sph_elements
- get_smoothing_length
- get_speed_of_sound
- get_sph_element_scalars
- get_surface_tension
- is_enabled
- set_htc_distance_factor
Public functions
Function get_sph_element_scalars
IRockySPHElementScalarsModel object, that allows users to add new SPH element scalars or activate SPH element scalars known to Rocky during the setup of a module. SPH element scalars are special variables attached to SPH elements that are able to store values per element that are preserved between time iterations.
Return type: IRockySPHElementScalarsModel
Function get_number_of_sph_elements
Function get_number_of_active_sph_elements
Function get_number_of_active_free_sph_elements
Function get_number_of_active_linked_sph_elements
Function get_initial_element_spacing
Function get_smoothing_length
Function get_element_mass
Function get_fluid_viscosity
Function get_fluid_density
Function get_fluid_thermal_conductivity
Function get_fluid_specific_heat
Function get_speed_of_sound
Function get_surface_tension
Function is_enabled
Function set_htc_distance_factor
- htc_distance_factor: the factor that will be multiplied by the SPH element size.
- float htc_distance_factor