#include <rocky_sph_model_api.hpp>
Public Member Functions
Detailed Description
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.
Member Function Documentation
get_boundary_condition_type()
ESPHBoundaryType enum indicating the type of boundary condition applied at a given wall identified by geometry_index. Currently there are 3 boundary conditions types implemented in Rocky:btFreeSlip = 0btNoSlipLaminar = 1btNoSlipTurbulent = 2Parameters
get_damping_coefficient()
get_element_cloud_point()
Returns
An
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.
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_type()
ESPHKernelType enum indicating the kernel type used in the SPH model. Currently there are 3 kernel types implemented in Rocky:ktCubic = 0ktQuintic = 1ktWendland = 2