-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTigerFailureCriteria.h
42 lines (34 loc) · 1.09 KB
/
TigerFailureCriteria.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#pragma once
#include "libmesh/libmesh_config.h"
#include "AuxKernel.h"
#include "libmesh/fparser.hh"
#include "RankTwoTensor.h"
class TigerFailureCriteria : public AuxKernel
{
public:
static InputParameters validParams();
TigerFailureCriteria(const InputParameters & parameters);
protected:
//void handleMessage();
virtual Real computeValue() override;
const bool _use_displaced_mesh;
/// cohesion of the material in Pa
Real _cohesion;
/// a function to calculate normal stress
Real sigma_nn ();
/// friction coefficient of material in degree
Real _phi;
Real _mu_s;
/// Normal vector acting on 2D elements specially on fault
const MaterialProperty<RealVectorValue> & _normal_vector;
/// normal traction
const MaterialProperty<RealVectorValue> & _Normal_Traction;
const MaterialProperty<RankTwoTensor> * _tensor;
/// normal stress
const MaterialProperty<Real> & _sig_n;
/// shear stress
const MaterialProperty<Real> & _sig_t;
private:
// enum to select failure criterion
const enum class CriterionType { Mohr_Coulomb, Slip_Tedency, Fracture_Potential } _criterion_type;
};