www.mooseframework.org
AllenCahnPFFracture.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef ALLENCAHNPFFRACTURE_H
8 #define ALLENCAHNPFFRACTURE_H
9 
10 #include "DerivativeMaterialInterface.h"
11 #include "JvarMapInterface.h"
12 #include "Kernel.h"
13 
14 // Forward Declarations
16 class RankTwoTensor;
17 
18 template <>
19 InputParameters validParams<AllenCahnPFFracture>();
20 
26 class AllenCahnPFFracture : public DerivativeMaterialInterface<JvarMapKernelInterface<Kernel>>
27 {
28 public:
29  AllenCahnPFFracture(const InputParameters & parameters);
30 
31 protected:
32  virtual Real computeQpResidual() override;
33  virtual Real computeQpJacobian() override;
34  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
35 
37  const MaterialProperty<Real> & _gc_prop;
38 
40  const VariableValue & _beta;
41  const unsigned int _beta_var;
43 
45  const unsigned int _ndisp;
46  std::vector<unsigned int> _disp_var;
48 
50  const MaterialProperty<Real> & _l;
51 
53  const MaterialProperty<Real> & _visco;
54 
56  const MaterialProperty<Real> & _dFdc;
57  const MaterialProperty<Real> & _d2Fdc2;
58  const MaterialProperty<RankTwoTensor> & _d2Fdcdstrain;
60 };
61 #endif // ALLENCAHNPFFRACTURE_H
const MaterialProperty< Real > & _visco
Viscosity parameter ( visco -> 0, rate independent )
const MaterialProperty< Real > & _dFdc
Free energy material properties and derivatives.
const MaterialProperty< RankTwoTensor > & _d2Fdcdstrain
const unsigned int _beta_var
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const MaterialProperty< Real > & _l
Characteristic length, controls damage zone thickness.
Phase field based fracture model This kernel computes the residual and jacobian for bulk free energy ...
virtual Real computeQpJacobian() override
AllenCahnPFFracture(const InputParameters &parameters)
const unsigned int _ndisp
Displacement variables used for off-diagonal Jacobian.
const VariableValue & _beta
Coupled variable that is the laplacian of c.
std::vector< unsigned int > _disp_var
const MaterialProperty< Real > & _d2Fdc2
virtual Real computeQpResidual() override
const MaterialProperty< Real > & _gc_prop
Critical energy release rate for fracture.
InputParameters validParams< AllenCahnPFFracture >()