Skip to main content

Rocky Solver SDK 2024 R2

IRockyMaterial Struct Reference

Last update: 08.07.2024

#include <rocky_material_api.hpp>

Public Member Functions

ROCKY_FUNCTIONS double get_young_modulus () const
 
ROCKY_FUNCTIONS double get_poisson_ratio () const
 
ROCKY_FUNCTIONS double get_density () const
 
ROCKY_FUNCTIONS double get_specific_heat () const
 
ROCKY_FUNCTIONS double get_thermal_conductivity () const
 

Detailed Description

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.

Member Function Documentation

◆ get_density()

ROCKY_FUNCTIONS double IRockyMaterial::get_density ( ) const
Returns
The value of the density of the material.

◆ get_poisson_ratio()

ROCKY_FUNCTIONS double IRockyMaterial::get_poisson_ratio ( ) const
Returns
The value of the Poisson's ratio specified for the material.

◆ get_specific_heat()

ROCKY_FUNCTIONS double IRockyMaterial::get_specific_heat ( ) const
Returns
The value of the specific heat of the material.

◆ get_thermal_conductivity()

ROCKY_FUNCTIONS double IRockyMaterial::get_thermal_conductivity ( ) const
Returns
The value of the thermal conductivity of the material.

◆ get_young_modulus()

ROCKY_FUNCTIONS double IRockyMaterial::get_young_modulus ( ) const
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.