Specification of the material fir.
The Fir class represents the material fir wood. It is implemented as a veneer class for the Material base class to set the properties of fir wood:
Since several parameters are not unitless they might not match the scaling of the simulation. In that case custom materials must be created. Also even though the stiffness is proportional to Young's modulus the proportionality constant depends on other parameters such as the shape of the contact region or the radii of the objects. Thus if the simulation does rely on the value of the stiffness the user must supply an appropriate stiffness coefficient. Since no published values were available for the damping coefficients they are deactivated.
The fir material is automatically registered and can be directly used:
#include <Materials.h>
Public Member Functions | |
Constructor | |
Fir () | |
Default constructor for the Fir class. More... | |
Public Member Functions inherited from walberla::pe::Material | |
Material (const std::string &name, real_t density, real_t cor, real_t csf, real_t cdf, real_t poisson, real_t young, real_t stiffness, real_t dampingN, real_t dampingT) | |
The constructor of the Material class. More... | |
const std::string & | getName () const |
Returns the name of the material. More... | |
real_t | getDensity () const |
Returns the density of the material. More... | |
real_t | getRestitution () const |
Returns the coefficient of restitution of the material. More... | |
real_t | getStaticFriction () const |
Returns the coefficient of static friction of the material. More... | |
real_t | getDynamicFriction () const |
Returns the coefficient of dynamic friction of the material. More... | |
real_t | getPoissonRatio () const |
Returns the Poisson's ratio of the material. More... | |
real_t | getYoungModulus () const |
Returns the Young's modulus of the material. More... | |
real_t | getStiffness () const |
Returns the stiffness in normal direction of the material's contact region. More... | |
real_t | getDampingN () const |
Returns the damping coefficient in normal direction of the material's contact region. More... | |
real_t | getDampingT () const |
Returns the damping coefficient in tangential direction of the material's contact region. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from walberla::pe::Material | |
static void | setRestitution (MaterialID material1, MaterialID material2, real_t cor) |
Setting the coefficient of restitution between material material1 and material2. More... | |
static void | setStaticFriction (MaterialID material1, MaterialID material2, real_t csf) |
Setting the coefficient of static friction between material material1 and material2. More... | |
static void | setDynamicFriction (MaterialID material1, MaterialID material2, real_t cdf) |
Setting the coefficient of dynamic friction between material material1 and material2. More... | |
static MaterialID | find (const std::string &name) |
Searching for a registered material. More... | |
static std::vector< MaterialID > | findPrefix (const std::string &prefix) |
Searching for registered materials with a prefix. More... | |
static const std::string & | getName (MaterialID material) |
Returns the name of the given material. More... | |
static real_t | getDensity (MaterialID material) |
Returns the density of the given material. More... | |
static real_t | getRestitution (MaterialID material) |
Returns the coefficient of restitution of the given material. More... | |
static real_t | getRestitution (MaterialID material1, MaterialID material2) |
Returns the composite coefficient of restitution for a collision between two rigid bodies. More... | |
static real_t | getStaticFriction (MaterialID material) |
Returns the coefficient of static friction of the given material. More... | |
static real_t | getStaticFriction (MaterialID material1, MaterialID material2) |
Returns the coefficient of static friction for a collision between two rigid bodies. More... | |
static real_t | getDynamicFriction (MaterialID material) |
Returns the coefficient of dynamic friction of the given material. More... | |
static real_t | getDynamicFriction (MaterialID material1, MaterialID material2) |
Returns the coefficient of dynamic friction for a collision between two rigid bodies. More... | |
static real_t | getPoissonRatio (MaterialID material) |
Returns the Poisson's ratio of the given material. More... | |
static real_t | getYoungModulus (MaterialID material) |
Returns the Young's modulus of the given material. More... | |
static real_t | getYoungModulus (MaterialID material1, MaterialID material2) |
Returns the (effective) Young's modulus for a collision between two rigid bodies. More... | |
static real_t | getStiffness (MaterialID material) |
Returns the stiffness in normal direction of the material's contact region. More... | |
static real_t | getStiffness (MaterialID material1, MaterialID material2) |
Returns the stiffness in normal direction of the contact between two materials. More... | |
static real_t | getDampingN (MaterialID material) |
Returns the damping coefficient in normal direction of the material's contact region. More... | |
static real_t | getDampingN (MaterialID material1, MaterialID material2) |
Returns the damping in normal direction of the contact between two materials. More... | |
static real_t | getDampingT (MaterialID material) |
Returns the damping coefficient in tangential direction of the material's contact region. More... | |
static real_t | getDampingT (MaterialID material1, MaterialID material2) |
Returns the damping in tangential direction of the contact between two materials. More... | |
static std::string | toString (const MaterialID &v) |
|
inlineexplicit |
Default constructor for the Fir class.