GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Namespaces | Functions | Variables
UpdateBondStress.cpp File Reference
#include <limits>
#include "GranOO3/PlugIn/UpdateBondStress.hpp"
#include "GranOO3/DEM/Element.hpp"
#include "GranOO3/DEM/Bond.hpp"
#include "GranOO3/DEM/SupportShape.hpp"
#include "GranOO3/DEM/Prop/BondStress.hpp"

Namespaces

 GranOO3
 
 GranOO3::PlugIn
 This namespace group the entire PlugIn library.
 

Functions

 GranOO3::PlugIn::REGISTER_GRANOO_PLUGIN_DESC (UpdateBondStress, desc)
 

Variables

static const char * desc
 

Variable Documentation

◆ desc

const char* desc
static
Initial value:
= R"V0G0N(
This PlugIn computes stress tensor of bonds. The stresses are computed from the
Hook's law. So, the bonds must have a `DEM::BondStrain` property. If you set a
`MaxPrincipalStress` or a `MaxNormalStress` values, this plugin can manage fracture
by disabling the required bonds.
### Info ###
+ Process on : `DEM::Bond` which own `DEM::BondStrain` property
+ Multithreaded : No
+ Recommended section: Processing
### Required param ###
YoungModulus (float)
: Set the Young's modulus for the Hook's law application
PoissonRatio (float)
: Set the Poisson's ratio for the Hook's law application
### Optional param ###
MaxPrincipalStress (float, default=None)
: Set a failure limit in terms of maximal principal stresse values (Rankine criterion)
MaxNormalStress (float, default=None)
: Set a failure limit in terms of maximal normal stresses (normal to the bond facet)
### Example ###
```
<UPDATE-STRAIN Method="LSQ" />
<UPDATE-BOND-STRAIN />
<UPDATE-BOND-STRESS YoungModulus="50e9" PoissonRatio="0.2"/>
```
### Simulation example ###
TODO
)V0G0N"