walberla::pe::Iron Class Reference

Detailed Description

Specification of the material iron.

The Iron class represents the material iron. It is implemented as a veneer class for the Material base class to set the properties of iron:

  • Name: "iron"
  • Density: \( 7874 \frac{kg}{m^3} \)
  • Coefficient of restitution: 0.5
  • Coefficient of static friction: 0.1
  • Coefficient of dynamic friction: 0.1
  • Poisson's ratio: 0.24
  • Young's modulus: 200 GPa
  • Stiffness: \( ~200 \frac{N}{m} \)
  • Normal Damping: \( 0 \frac{Ns}{m} \)
  • Tangential Damping: \( 0 \frac{Ns}{m} \)

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 iron material is automatically registered and can be directly used:

MaterialID iron = Material::find("iron");

#include <Materials.h>

+ Inheritance diagram for walberla::pe::Iron:

Public Member Functions

Constructor
 Iron ()
 Default constructor for the Iron 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< MaterialIDfindPrefix (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)
 

Constructor & Destructor Documentation

◆ Iron()

walberla::pe::Iron::Iron ( )
inlineexplicit

Default constructor for the Iron class.


The documentation for this class was generated from the following file:
Materials::size_type MaterialID
Unique material ID.
Definition: Types.h:159
static MaterialID find(const std::string &name)
Searching for a registered material.
Definition: Materials.cpp:280