Skip to main content
#include <rocky_material_api.hpp> IRockyMaterial is an interface for the internal material object, which gives access to values of the physical properties associated to the material that makes up some entity in Rocky. The values of all those properties are dimensionless values.

Members

Public functions

Function get_young_modulus

Returns: The value of the Young’s or elastic modulus. This value is the product of the Young’s modulus specified for the material and the numerical softening factor, which is commonly used for reducing the stiffness and, in turn, increasing the simulation timestep. For more details, please refer to the DEM Technical Manual. Return type: ROCKY_FUNCTIONS double

Function get_poisson_ratio

Returns: The value of the Poisson’s ratio specified for the material. Return type: ROCKY_FUNCTIONS double

Function get_density

Returns: The value of the density of the material. Return type: ROCKY_FUNCTIONS double

Function get_specific_heat

Returns: The value of the specific heat of the material. Return type: ROCKY_FUNCTIONS double

Function get_thermal_conductivity

Returns: The value of the thermal conductivity of the material. Return type: ROCKY_FUNCTIONS double