IRockySPHDeviceModel implements methods that provide general configuration parameters of the SPH model. The data associated to an IRockySPHDeviceModel object resides entirely on device memory, consequently, it can be accessed only within hooks executed on devices.
Members
- get_damping_coefficient
- get_element_cloud_point
- get_element_mass
- get_fluid_density
- get_fluid_specific_heat
- get_fluid_thermal_conductivity
- get_fluid_viscosity
- get_initial_element_spacing
- get_kernel_derivative
- get_kernel_weight
- get_minimum_distance
- get_minimum_distance_squared
- get_smoothing_length
- get_speed_of_sound
- get_sph_timestep
- get_stiffness
- get_surface_tension
- get_turbulent_prandtl_number
- get_wall_turbulent_thermal_conductance
- has_turbulence_modeling
Public functions
Function get_sph_timestep
Function get_element_mass
Function get_initial_element_spacing
Function get_kernel_weight
- distance: The distance from the kernel’s support region at which the kernel function will be evaluated.
- float distance
Function get_kernel_derivative
- distance: The distance from the kernel’s support region at which the derivative of kernel function will be evaluated.
- float distance
Function get_smoothing_length
Function get_minimum_distance
Function get_minimum_distance_squared
Function get_fluid_viscosity
Function get_fluid_density
Function get_fluid_thermal_conductivity
Function get_fluid_specific_heat
Function get_turbulent_prandtl_number
Function get_speed_of_sound
Function get_surface_tension
Function get_stiffness
Function get_damping_coefficient
Function get_wall_turbulent_thermal_conductance
- velocity: The tangential component of the velocity of the SPH element relative to the nearest point on the geometry triangle.
- distance: The distance of the SPH element to the nearest point on the geometry triangle.
- float velocity
- float distance
Function get_element_cloud_point
- point_cloud_index: The index that uniquely identifies a point cloud dataset.
- element: A
IRockySPHElementwhose position is used to determine the nearest cloud point.
IRockySPHElementCloudPoint object, which can be used to get cloud point values of the nearest point to the element passed as argument. For more information about point clouds, please refer to the Rocky User Manual.
Parameters:
- int point_cloud_index
- const IRockySPHElement & element