www.mooseframework.org
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ComputePFFractureStressBase Class Referenceabstract

ComputePFFractureStressBase is the base class for stress in phase field fracture model. More...

#include <ComputePFFractureStressBase.h>

Inheritance diagram for ComputePFFractureStressBase:
[legend]

Public Member Functions

 ComputePFFractureStressBase (const InputParameters &parameters)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

virtual void initQpStatefulProperties () override
 
virtual void computeQpProperties () override
 
virtual void computeQpStress ()=0
 Compute the stress and store it in the _stress material property for the current quadrature point. More...
 

Protected Attributes

const std::string _elasticity_tensor_name
 Name of the elasticity tensor material property. More...
 
const MaterialProperty< RankFourTensor > & _elasticity_tensor
 Elasticity tensor material property. More...
 
const VariableValue & _c
 Coupled order parameter defining the crack. More...
 
const MaterialProperty< Real > & _l
 Material property defining crack width, declared elsewhere. More...
 
const MaterialProperty< Real > & _gc
 Material property defining gc parameter, declared elsewhere. More...
 
bool _use_current_hist
 Use current value of history variable. More...
 
MaterialProperty< Real > & _H
 History variable that prevents crack healing, declared in this material. More...
 
const MaterialProperty< Real > & _H_old
 Old value of history variable. More...
 
const MaterialProperty< Real > & _barrier
 material property for fracture energy barrier More...
 
MaterialProperty< Real > & _E
 Material property for elastic energy. More...
 
MaterialProperty< Real > & _dEdc
 Derivative of elastic energy w.r.t damage variable. More...
 
MaterialProperty< Real > & _d2Ed2c
 Second-order derivative of elastic energy w.r.t damage variable. More...
 
MaterialProperty< RankTwoTensor > & _dstress_dc
 Derivative of stress w.r.t damage variable. More...
 
MaterialProperty< RankTwoTensor > & _d2Fdcdstrain
 Second-order derivative of elastic energy w.r.t damage variable and strain. More...
 
const MaterialProperty< Real > & _D
 Material property for energetic degradation function. More...
 
const MaterialProperty< Real > & _dDdc
 Derivative of degradation function w.r.t damage variable. More...
 
const MaterialProperty< Real > & _d2Dd2c
 Second-order derivative of degradation w.r.t damage variable. More...
 
const std::string _base_name
 Base name prepended to all material property names to allow for multi-material systems. More...
 
const MaterialProperty< RankTwoTensor > & _mechanical_strain
 Mechanical strain material property. More...
 
MaterialProperty< RankTwoTensor > & _stress
 Stress material property. More...
 
MaterialProperty< RankTwoTensor > & _elastic_strain
 Elastic strain material property. More...
 
const MaterialProperty< RankTwoTensor > & _extra_stress
 Extra stress tensor. More...
 
std::vector< const Function * > _initial_stress_fcn
 initial stress components More...
 
MaterialProperty< RankFourTensor > & _Jacobian_mult
 derivative of stress w.r.t. strain (_dstress_dstrain) More...
 

Detailed Description

ComputePFFractureStressBase is the base class for stress in phase field fracture model.

Definition at line 22 of file ComputePFFractureStressBase.h.

Constructor & Destructor Documentation

◆ ComputePFFractureStressBase()

ComputePFFractureStressBase::ComputePFFractureStressBase ( const InputParameters &  parameters)

Definition at line 34 of file ComputePFFractureStressBase.C.

35  : ComputeStressBase(parameters),
36  _elasticity_tensor_name(_base_name + "elasticity_tensor"),
37  _elasticity_tensor(getMaterialPropertyByName<RankFourTensor>(_elasticity_tensor_name)),
38  _c(coupledValue("c")),
39  _l(getMaterialProperty<Real>("l")),
40  _gc(getMaterialProperty<Real>("gc_prop")),
41  _use_current_hist(getParam<bool>("use_current_history_variable")),
42  _H(declareProperty<Real>("hist")),
43  _H_old(getMaterialPropertyOld<Real>("hist")),
44  _barrier(getDefaultMaterialProperty<Real>("barrier_energy")),
45  _E(declareProperty<Real>(getParam<MaterialPropertyName>("E_name"))),
46  _dEdc(declarePropertyDerivative<Real>(getParam<MaterialPropertyName>("E_name"),
47  getVar("c", 0)->name())),
48  _d2Ed2c(declarePropertyDerivative<Real>(
49  getParam<MaterialPropertyName>("E_name"), getVar("c", 0)->name(), getVar("c", 0)->name())),
51  declarePropertyDerivative<RankTwoTensor>(_base_name + "stress", getVar("c", 0)->name())),
52  _d2Fdcdstrain(declareProperty<RankTwoTensor>("d2Fdcdstrain")),
53  _D(getMaterialProperty<Real>("D_name")),
54  _dDdc(getMaterialPropertyDerivative<Real>("D_name", getVar("c", 0)->name())),
55  _d2Dd2c(getMaterialPropertyDerivative<Real>(
56  "D_name", getVar("c", 0)->name(), getVar("c", 0)->name()))
57 {
58 }

Member Function Documentation

◆ computeQpProperties()

void ComputeStressBase::computeQpProperties ( )
overrideprotectedvirtualinherited

Definition at line 50 of file ComputeStressBase.C.

51 {
53 
54  // Add in extra stress
55  _stress[_qp] += _extra_stress[_qp];
56 }

◆ computeQpStress()

virtual void ComputeStressBase::computeQpStress ( )
protectedpure virtualinherited

◆ initQpStatefulProperties()

void ComputePFFractureStressBase::initQpStatefulProperties ( )
overrideprotectedvirtual

Reimplemented from ComputeStressBase.

Definition at line 61 of file ComputePFFractureStressBase.C.

62 {
63  _H[_qp] = 0.0;
64 }

◆ validParams()

InputParameters ComputePFFractureStressBase::validParams ( )
static

Definition at line 15 of file ComputePFFractureStressBase.C.

16 {
17  InputParameters params = ComputeStressBase::validParams();
18  params.addRequiredCoupledVar("c", "Name of damage variable");
19  params.addParam<bool>(
20  "use_current_history_variable", false, "Use the current value of the history variable.");
21  params.addParam<MaterialPropertyName>("barrier_energy",
22  "Name of material property for fracture energy barrier.");
23  params.addParam<MaterialPropertyName>(
24  "E_name", "elastic_energy", "Name of material property for elastic energy");
25  params.addParam<MaterialPropertyName>(
26  "D_name", "degradation", "Name of material property for energetic degradation function.");
27  params.addParam<MaterialPropertyName>(
28  "F_name",
29  "local_fracture_energy",
30  "Name of material property for local fracture energy function.");
31  return params;
32 }

Referenced by ComputeLinearElasticPFFractureStress::validParams().

Member Data Documentation

◆ _barrier

const MaterialProperty<Real>& ComputePFFractureStressBase::_barrier
protected

material property for fracture energy barrier

Definition at line 56 of file ComputePFFractureStressBase.h.

Referenced by ComputeLinearElasticPFFractureStress::computeQpStress().

◆ _base_name

const std::string ComputeStressBase::_base_name
protectedinherited

Base name prepended to all material property names to allow for multi-material systems.

Definition at line 45 of file ComputeStressBase.h.

Referenced by ComputeLinearElasticStress::initialSetup(), and ComputeCosseratLinearElasticStress::initialSetup().

◆ _c

const VariableValue& ComputePFFractureStressBase::_c
protected

Coupled order parameter defining the crack.

Definition at line 38 of file ComputePFFractureStressBase.h.

◆ _D

const MaterialProperty<Real>& ComputePFFractureStressBase::_D
protected

◆ _d2Dd2c

const MaterialProperty<Real>& ComputePFFractureStressBase::_d2Dd2c
protected

Second-order derivative of degradation w.r.t damage variable.

Definition at line 80 of file ComputePFFractureStressBase.h.

Referenced by ComputeLinearElasticPFFractureStress::computeQpStress().

◆ _d2Ed2c

MaterialProperty<Real>& ComputePFFractureStressBase::_d2Ed2c
protected

Second-order derivative of elastic energy w.r.t damage variable.

Definition at line 65 of file ComputePFFractureStressBase.h.

Referenced by ComputeLinearElasticPFFractureStress::computeQpStress().

◆ _d2Fdcdstrain

MaterialProperty<RankTwoTensor>& ComputePFFractureStressBase::_d2Fdcdstrain
protected

◆ _dDdc

const MaterialProperty<Real>& ComputePFFractureStressBase::_dDdc
protected

◆ _dEdc

MaterialProperty<Real>& ComputePFFractureStressBase::_dEdc
protected

Derivative of elastic energy w.r.t damage variable.

Definition at line 62 of file ComputePFFractureStressBase.h.

Referenced by ComputeLinearElasticPFFractureStress::computeQpStress().

◆ _dstress_dc

MaterialProperty<RankTwoTensor>& ComputePFFractureStressBase::_dstress_dc
protected

◆ _E

MaterialProperty<Real>& ComputePFFractureStressBase::_E
protected

Material property for elastic energy.

Definition at line 59 of file ComputePFFractureStressBase.h.

Referenced by ComputeLinearElasticPFFractureStress::computeQpStress().

◆ _elastic_strain

MaterialProperty<RankTwoTensor>& ComputeStressBase::_elastic_strain
protectedinherited

◆ _elasticity_tensor

const MaterialProperty<RankFourTensor>& ComputePFFractureStressBase::_elasticity_tensor
protected

◆ _elasticity_tensor_name

const std::string ComputePFFractureStressBase::_elasticity_tensor_name
protected

Name of the elasticity tensor material property.

Definition at line 33 of file ComputePFFractureStressBase.h.

Referenced by ComputeLinearElasticPFFractureStress::initialSetup().

◆ _extra_stress

const MaterialProperty<RankTwoTensor>& ComputeStressBase::_extra_stress
protectedinherited

Extra stress tensor.

Definition at line 55 of file ComputeStressBase.h.

Referenced by ComputeStressBase::computeQpProperties().

◆ _gc

const MaterialProperty<Real>& ComputePFFractureStressBase::_gc
protected

Material property defining gc parameter, declared elsewhere.

Definition at line 44 of file ComputePFFractureStressBase.h.

◆ _H

MaterialProperty<Real>& ComputePFFractureStressBase::_H
protected

History variable that prevents crack healing, declared in this material.

Definition at line 50 of file ComputePFFractureStressBase.h.

Referenced by ComputeLinearElasticPFFractureStress::computeQpStress(), and initQpStatefulProperties().

◆ _H_old

const MaterialProperty<Real>& ComputePFFractureStressBase::_H_old
protected

Old value of history variable.

Definition at line 53 of file ComputePFFractureStressBase.h.

Referenced by ComputeLinearElasticPFFractureStress::computeQpStress().

◆ _initial_stress_fcn

std::vector<const Function *> ComputeStressBase::_initial_stress_fcn
protectedinherited

initial stress components

Definition at line 58 of file ComputeStressBase.h.

◆ _Jacobian_mult

MaterialProperty<RankFourTensor>& ComputeStressBase::_Jacobian_mult
protectedinherited

◆ _l

const MaterialProperty<Real>& ComputePFFractureStressBase::_l
protected

Material property defining crack width, declared elsewhere.

Definition at line 41 of file ComputePFFractureStressBase.h.

◆ _mechanical_strain

const MaterialProperty<RankTwoTensor>& ComputeStressBase::_mechanical_strain
protectedinherited

◆ _stress

MaterialProperty<RankTwoTensor>& ComputeStressBase::_stress
protectedinherited

Stress material property.

Definition at line 50 of file ComputeStressBase.h.

Referenced by ComputeMultipleInelasticCosseratStress::computeAdmissibleState(), ComputeMultipleInelasticStress::computeAdmissibleState(), ComputeStressBase::computeQpProperties(), ComputeStrainIncrementBasedStress::computeQpStress(), ComputeLinearElasticStress::computeQpStress(), ComputeDamageStress::computeQpStress(), ComputeFiniteStrainElasticStress::computeQpStress(), ComputeCosseratLinearElasticStress::computeQpStress(), ComputeSmearedCrackingStress::computeQpStress(), ComputeLinearElasticPFFractureStress::computeQpStress(), FiniteStrainPlasticMaterial::computeQpStress(), ComputeMultiPlasticityStress::computeQpStress(), ComputeLinearViscoelasticStress::computeQpStress(), ComputeMultipleInelasticStress::computeQpStress(), ComputeMultipleInelasticStress::computeQpStressIntermediateConfiguration(), ComputeLinearElasticPFFractureStress::computeStrainSpectral(), ComputeLinearElasticPFFractureStress::computeStrainVolDev(), ComputeLinearElasticPFFractureStress::computeStressSpectral(), ComputeMultipleInelasticStress::finiteStrainRotation(), ComputeStressBase::initQpStatefulProperties(), FiniteStrainCrystalPlasticity::initQpStatefulProperties(), FiniteStrainUObasedCP::initQpStatefulProperties(), FiniteStrainHyperElasticViscoPlastic::initQpStatefulProperties(), ComputeMultiPlasticityStress::postReturnMap(), FiniteStrainUObasedCP::postSolveQp(), FiniteStrainHyperElasticViscoPlastic::postSolveQp(), FiniteStrainCrystalPlasticity::postSolveQp(), ComputeSmearedCrackingStress::updateCrackingStateAndStress(), ComputeMultipleInelasticStress::updateQpState(), and ComputeMultipleInelasticStress::updateQpStateSingleModel().

◆ _use_current_hist

bool ComputePFFractureStressBase::_use_current_hist
protected

The documentation for this class was generated from the following files:
ComputePFFractureStressBase::_dstress_dc
MaterialProperty< RankTwoTensor > & _dstress_dc
Derivative of stress w.r.t damage variable.
Definition: ComputePFFractureStressBase.h:68
ComputeStressBase::_stress
MaterialProperty< RankTwoTensor > & _stress
Stress material property.
Definition: ComputeStressBase.h:50
ComputePFFractureStressBase::_d2Dd2c
const MaterialProperty< Real > & _d2Dd2c
Second-order derivative of degradation w.r.t damage variable.
Definition: ComputePFFractureStressBase.h:80
ComputePFFractureStressBase::_c
const VariableValue & _c
Coupled order parameter defining the crack.
Definition: ComputePFFractureStressBase.h:38
ComputeStressBase::_extra_stress
const MaterialProperty< RankTwoTensor > & _extra_stress
Extra stress tensor.
Definition: ComputeStressBase.h:55
ComputePFFractureStressBase::_l
const MaterialProperty< Real > & _l
Material property defining crack width, declared elsewhere.
Definition: ComputePFFractureStressBase.h:41
ComputePFFractureStressBase::_gc
const MaterialProperty< Real > & _gc
Material property defining gc parameter, declared elsewhere.
Definition: ComputePFFractureStressBase.h:44
ComputePFFractureStressBase::_barrier
const MaterialProperty< Real > & _barrier
material property for fracture energy barrier
Definition: ComputePFFractureStressBase.h:56
ComputePFFractureStressBase::_d2Fdcdstrain
MaterialProperty< RankTwoTensor > & _d2Fdcdstrain
Second-order derivative of elastic energy w.r.t damage variable and strain.
Definition: ComputePFFractureStressBase.h:71
ComputePFFractureStressBase::_H
MaterialProperty< Real > & _H
History variable that prevents crack healing, declared in this material.
Definition: ComputePFFractureStressBase.h:50
ComputePFFractureStressBase::_dEdc
MaterialProperty< Real > & _dEdc
Derivative of elastic energy w.r.t damage variable.
Definition: ComputePFFractureStressBase.h:62
ComputeStressBase::computeQpStress
virtual void computeQpStress()=0
Compute the stress and store it in the _stress material property for the current quadrature point.
ComputePFFractureStressBase::_elasticity_tensor
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
Definition: ComputePFFractureStressBase.h:35
ComputePFFractureStressBase::_E
MaterialProperty< Real > & _E
Material property for elastic energy.
Definition: ComputePFFractureStressBase.h:59
ComputePFFractureStressBase::_d2Ed2c
MaterialProperty< Real > & _d2Ed2c
Second-order derivative of elastic energy w.r.t damage variable.
Definition: ComputePFFractureStressBase.h:65
ComputeStressBase::validParams
static InputParameters validParams()
Definition: ComputeStressBase.C:17
ComputeStressBase::_base_name
const std::string _base_name
Base name prepended to all material property names to allow for multi-material systems.
Definition: ComputeStressBase.h:45
ComputePFFractureStressBase::_H_old
const MaterialProperty< Real > & _H_old
Old value of history variable.
Definition: ComputePFFractureStressBase.h:53
name
const std::string name
Definition: Setup.h:21
ComputePFFractureStressBase::_use_current_hist
bool _use_current_hist
Use current value of history variable.
Definition: ComputePFFractureStressBase.h:47
ComputePFFractureStressBase::_elasticity_tensor_name
const std::string _elasticity_tensor_name
Name of the elasticity tensor material property.
Definition: ComputePFFractureStressBase.h:33
ComputePFFractureStressBase::_D
const MaterialProperty< Real > & _D
Material property for energetic degradation function.
Definition: ComputePFFractureStressBase.h:74
ComputePFFractureStressBase::_dDdc
const MaterialProperty< Real > & _dDdc
Derivative of degradation function w.r.t damage variable.
Definition: ComputePFFractureStressBase.h:77
ComputeStressBase::ComputeStressBase
ComputeStressBase(const InputParameters &parameters)
Definition: ComputeStressBase.C:28