IRockySPHTriangleInteraction is a code representation of a pair of neighbor SPH element / geometry triangle with a force interaction. Within Rocky, this pair is usually called SPH triangle interaction.
Members
- add_acceleration
- add_force
- calculate_element_triangle_distance
- get_boundary_velocity
- get_home_element
- get_home_element_velocity
- get_near_triangle
- get_normal_relative_velocity
- get_orthogonal_projection
- get_tangential_relative_velocity
- get_unit_vector
- get_wall_turbulent_thermal_conductance
Public functions
Function get_home_element
IRockySPHElement object representing the SPH element labeled as home in the SPH interaction.
Return type: ROCKY_FUNCTIONS IRockySPHElement
Function get_near_triangle
IRockyGeometryTriangle object representing the geometry triangle labeled as near in the SPH triangle interaction.
Return type: ROCKY_FUNCTIONS IRockyGeometryTriangle
Function calculate_element_triangle_distance
Function get_orthogonal_projection
Function get_unit_vector
Function get_home_element_velocity
Function get_boundary_velocity
Function get_normal_relative_velocity
Function get_tangential_relative_velocity
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.
- const float & v_tang
- const float & dst_wall
Function add_force
- force: The force to be applied to the SPH element in the SPH triangle interaction, and its triangle counterpart, expressed in Cartesian coordinates.
- float3 force
Function add_acceleration
- acceleration: The acceleration to be added to the SPH element in the SPH triangle interaction, and its triangle counterpart, expressed in Cartesian coordinates.
- float3 acceleration