www.mooseframework.org
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)
 

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< 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 33 of file ComputePFFractureStressBase.C.

34  : ComputeStressBase(parameters),
35  _elasticity_tensor_name(_base_name + "elasticity_tensor"),
36  _elasticity_tensor(getMaterialPropertyByName<RankFourTensor>(_elasticity_tensor_name)),
37  _c(coupledValue("c")),
38  _l(getMaterialProperty<Real>("l")),
39  _gc(getMaterialProperty<Real>("gc_prop")),
40  _use_current_hist(getParam<bool>("use_current_history_variable")),
41  _H(declareProperty<Real>("hist")),
42  _H_old(getMaterialPropertyOld<Real>("hist")),
43  _barrier(getDefaultMaterialProperty<Real>("barrier_energy")),
44  _E(declareProperty<Real>(getParam<MaterialPropertyName>("E_name"))),
45  _dEdc(declarePropertyDerivative<Real>(getParam<MaterialPropertyName>("E_name"),
46  getVar("c", 0)->name())),
47  _d2Ed2c(declarePropertyDerivative<Real>(
48  getParam<MaterialPropertyName>("E_name"), getVar("c", 0)->name(), getVar("c", 0)->name())),
50  declarePropertyDerivative<RankTwoTensor>(_base_name + "stress", getVar("c", 0)->name())),
51  _d2Fdcdstrain(declareProperty<RankTwoTensor>("d2Fdcdstrain")),
52  _D(getMaterialProperty<Real>("D_name")),
53  _dDdc(getMaterialPropertyDerivative<Real>("D_name", getVar("c", 0)->name())),
54  _d2Dd2c(getMaterialPropertyDerivative<Real>(
55  "D_name", getVar("c", 0)->name(), getVar("c", 0)->name()))
56 {
57 }
MaterialProperty< Real > & _H
History variable that prevents crack healing, declared in this material.
const MaterialProperty< Real > & _d2Dd2c
Second-order derivative of degradation w.r.t damage variable.
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
MaterialProperty< Real > & _E
Material property for elastic energy.
MaterialProperty< Real > & _d2Ed2c
Second-order derivative of elastic energy w.r.t damage variable.
MaterialProperty< RankTwoTensor > & _dstress_dc
Derivative of stress w.r.t damage variable.
MaterialProperty< RankTwoTensor > & _d2Fdcdstrain
Second-order derivative of elastic energy w.r.t damage variable and strain.
const MaterialProperty< Real > & _barrier
material property for fracture energy barrier
const MaterialProperty< Real > & _dDdc
Derivative of degradation function w.r.t damage variable.
MaterialProperty< Real > & _dEdc
Derivative of elastic energy w.r.t damage variable.
const std::string name
Definition: Setup.h:21
bool _use_current_hist
Use current value of history variable.
const MaterialProperty< Real > & _H_old
Old value of history variable.
const std::string _base_name
Base name prepended to all material property names to allow for multi-material systems.
ComputeStressBase(const InputParameters &parameters)
const std::string _elasticity_tensor_name
Name of the elasticity tensor material property.
const MaterialProperty< Real > & _gc
Material property defining gc parameter, declared elsewhere.
const VariableValue & _c
Coupled order parameter defining the crack.
const MaterialProperty< Real > & _l
Material property defining crack width, declared elsewhere.
const MaterialProperty< Real > & _D
Material property for energetic degradation function.

Member Function Documentation

◆ computeQpProperties()

void ComputeStressBase::computeQpProperties ( )
overrideprotectedvirtualinherited

Definition at line 49 of file ComputeStressBase.C.

50 {
52 
53  // Add in extra stress
54  _stress[_qp] += _extra_stress[_qp];
55 }
virtual void computeQpStress()=0
Compute the stress and store it in the _stress material property for the current quadrature point...
MaterialProperty< RankTwoTensor > & _stress
Stress material property.
const MaterialProperty< RankTwoTensor > & _extra_stress
Extra stress tensor.

◆ computeQpStress()

virtual void ComputeStressBase::computeQpStress ( )
protectedpure virtualinherited

◆ initQpStatefulProperties()

void ComputePFFractureStressBase::initQpStatefulProperties ( )
overrideprotectedvirtual

Reimplemented from ComputeStressBase.

Definition at line 60 of file ComputePFFractureStressBase.C.

61 {
62  _H[_qp] = 0.0;
63 }
MaterialProperty< Real > & _H
History variable that prevents crack healing, declared in this material.

Member Data Documentation

◆ _barrier

const MaterialProperty<Real>& ComputePFFractureStressBase::_barrier
protected

material property for fracture energy barrier

Definition at line 54 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 43 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 36 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 78 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 63 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 60 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 57 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 31 of file ComputePFFractureStressBase.h.

Referenced by ComputeLinearElasticPFFractureStress::initialSetup().

◆ _extra_stress

const MaterialProperty<RankTwoTensor>& ComputeStressBase::_extra_stress
protectedinherited

Extra stress tensor.

Definition at line 53 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 42 of file ComputePFFractureStressBase.h.

◆ _H

MaterialProperty<Real>& ComputePFFractureStressBase::_H
protected

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

Definition at line 48 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 51 of file ComputePFFractureStressBase.h.

Referenced by ComputeLinearElasticPFFractureStress::computeQpStress().

◆ _initial_stress_fcn

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

initial stress components

Definition at line 56 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 39 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 48 of file ComputeStressBase.h.

Referenced by ComputeMultipleInelasticCosseratStress::computeAdmissibleState(), ComputeMultipleInelasticStress::computeAdmissibleState(), ComputeStressBase::computeQpProperties(), ComputeStrainIncrementBasedStress::computeQpStress(), ComputeLinearElasticStress::computeQpStress(), ComputeFiniteStrainElasticStress::computeQpStress(), ComputeCosseratLinearElasticStress::computeQpStress(), ComputeDamageStress::computeQpStress(), ComputeSmearedCrackingStress::computeQpStress(), FiniteStrainPlasticMaterial::computeQpStress(), ComputeLinearElasticPFFractureStress::computeQpStress(), ComputeMultiPlasticityStress::computeQpStress(), ComputeLinearViscoelasticStress::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: