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

ComputeThermalExpansionEigenstrainBase is a base class for all models that compute eigenstrains due to thermal expansion of a material. More...

#include <ComputeThermalExpansionEigenstrainBase.h>

Inheritance diagram for ComputeThermalExpansionEigenstrainBase:
[legend]

Public Member Functions

 ComputeThermalExpansionEigenstrainBase (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeQpEigenstrain () override
 
virtual void computeThermalStrain (Real &thermal_strain, Real &instantaneous_cte)=0
 

Protected Attributes

const VariableValue & _temperature
 
MaterialProperty< RankTwoTensor > & _deigenstrain_dT
 
const VariableValue & _stress_free_temperature
 

Detailed Description

ComputeThermalExpansionEigenstrainBase is a base class for all models that compute eigenstrains due to thermal expansion of a material.

Definition at line 26 of file ComputeThermalExpansionEigenstrainBase.h.

Constructor & Destructor Documentation

◆ ComputeThermalExpansionEigenstrainBase()

ComputeThermalExpansionEigenstrainBase::ComputeThermalExpansionEigenstrainBase ( const InputParameters &  parameters)

Definition at line 26 of file ComputeThermalExpansionEigenstrainBase.C.

28  : DerivativeMaterialInterface<ComputeEigenstrainBase>(parameters),
29  _temperature(coupledValue("temperature")),
30  _deigenstrain_dT(declarePropertyDerivative<RankTwoTensor>(_eigenstrain_name,
31  getVar("temperature", 0)->name())),
32  _stress_free_temperature(coupledValue("stress_free_temperature"))
33 {
34 }
const std::string name
Definition: Setup.h:22

Member Function Documentation

◆ computeQpEigenstrain()

void ComputeThermalExpansionEigenstrainBase::computeQpEigenstrain ( )
overrideprotectedvirtual

Definition at line 37 of file ComputeThermalExpansionEigenstrainBase.C.

38 {
39  Real thermal_strain = 0.0;
40  Real instantaneous_cte = 0.0;
41 
42  computeThermalStrain(thermal_strain, instantaneous_cte);
43 
44  _eigenstrain[_qp].zero();
45  _eigenstrain[_qp].addIa(thermal_strain);
46 
47  _deigenstrain_dT[_qp].zero();
48  _deigenstrain_dT[_qp].addIa(instantaneous_cte);
49 }
virtual void computeThermalStrain(Real &thermal_strain, Real &instantaneous_cte)=0

◆ computeThermalStrain()

virtual void ComputeThermalExpansionEigenstrainBase::computeThermalStrain ( Real &  thermal_strain,
Real &  instantaneous_cte 
)
protectedpure virtual

Member Data Documentation

◆ _deigenstrain_dT

MaterialProperty<RankTwoTensor>& ComputeThermalExpansionEigenstrainBase::_deigenstrain_dT
protected

Definition at line 47 of file ComputeThermalExpansionEigenstrainBase.h.

Referenced by computeQpEigenstrain().

◆ _stress_free_temperature

const VariableValue& ComputeThermalExpansionEigenstrainBase::_stress_free_temperature
protected

◆ _temperature

const VariableValue& ComputeThermalExpansionEigenstrainBase::_temperature
protected

The documentation for this class was generated from the following files: