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

ComputeDilatationThermalExpansionEigenstrainBase computes an eigenstrain for thermal expansion from an dilatation equation. More...

#include <ComputeDilatationThermalExpansionEigenstrainBase.h>

Inheritance diagram for ComputeDilatationThermalExpansionEigenstrainBase:
[legend]

Public Member Functions

 ComputeDilatationThermalExpansionEigenstrainBase (const InputParameters &parameters)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

virtual void computeThermalStrain (Real &thermal_strain, Real &instantaneous_cte) override
 
virtual Real computeDilatation (const Real &temperature)=0
 
virtual Real computeDilatationDerivative (const Real &temperature)=0
 
virtual void computeQpEigenstrain () override
 

Protected Attributes

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

Detailed Description

ComputeDilatationThermalExpansionEigenstrainBase computes an eigenstrain for thermal expansion from an dilatation equation.

Definition at line 24 of file ComputeDilatationThermalExpansionEigenstrainBase.h.

Constructor & Destructor Documentation

◆ ComputeDilatationThermalExpansionEigenstrainBase()

ComputeDilatationThermalExpansionEigenstrainBase::ComputeDilatationThermalExpansionEigenstrainBase ( const InputParameters &  parameters)

Definition at line 20 of file ComputeDilatationThermalExpansionEigenstrainBase.C.

23 {
24 }

Member Function Documentation

◆ computeDilatation()

virtual Real ComputeDilatationThermalExpansionEigenstrainBase::computeDilatation ( const Real &  temperature)
protectedpure virtual

◆ computeDilatationDerivative()

virtual Real ComputeDilatationThermalExpansionEigenstrainBase::computeDilatationDerivative ( const Real &  temperature)
protectedpure virtual

◆ computeQpEigenstrain()

void ComputeThermalExpansionEigenstrainBase::computeQpEigenstrain ( )
overrideprotectedvirtualinherited

Definition at line 38 of file ComputeThermalExpansionEigenstrainBase.C.

39 {
40  Real thermal_strain = 0.0;
41 
42  // instantaneous_cte is just the derivative of thermal_strain with respect to temperature
43  Real instantaneous_cte = 0.0;
44 
45  computeThermalStrain(thermal_strain, instantaneous_cte);
46 
47  _eigenstrain[_qp].zero();
48  _eigenstrain[_qp].addIa(thermal_strain);
49 
50  _deigenstrain_dT[_qp].zero();
51  _deigenstrain_dT[_qp].addIa(instantaneous_cte);
52 }

◆ computeThermalStrain()

void ComputeDilatationThermalExpansionEigenstrainBase::computeThermalStrain ( Real &  thermal_strain,
Real &  instantaneous_cte 
)
overrideprotectedvirtual

Implements ComputeThermalExpansionEigenstrainBase.

Definition at line 27 of file ComputeDilatationThermalExpansionEigenstrainBase.C.

29 {
30  const Real stress_free_thexp = computeDilatation(_stress_free_temperature[_qp]);
31  thermal_strain = computeDilatation(_temperature[_qp]) - stress_free_thexp;
32  dthermal_strain_dT = computeDilatationDerivative(_temperature[_qp]);
33 }

◆ validParams()

InputParameters ComputeDilatationThermalExpansionEigenstrainBase::validParams ( )
static

Member Data Documentation

◆ _deigenstrain_dT

MaterialProperty<RankTwoTensor>& ComputeThermalExpansionEigenstrainBase::_deigenstrain_dT
protectedinherited

◆ _stress_free_temperature

const VariableValue& ComputeThermalExpansionEigenstrainBase::_stress_free_temperature
protectedinherited

◆ _temperature

const VariableValue& ComputeThermalExpansionEigenstrainBase::_temperature
protectedinherited

The documentation for this class was generated from the following files:
ComputeThermalExpansionEigenstrainBase::_temperature
const VariableValue & _temperature
Definition: ComputeThermalExpansionEigenstrainBase.h:49
ComputeDilatationThermalExpansionEigenstrainBase::computeDilatation
virtual Real computeDilatation(const Real &temperature)=0
ComputeThermalExpansionEigenstrainBase::computeThermalStrain
virtual void computeThermalStrain(Real &thermal_strain, Real &instantaneous_cte)=0
ComputeThermalExpansionEigenstrainBase::_stress_free_temperature
const VariableValue & _stress_free_temperature
Definition: ComputeThermalExpansionEigenstrainBase.h:51
ComputeDilatationThermalExpansionEigenstrainBase::computeDilatationDerivative
virtual Real computeDilatationDerivative(const Real &temperature)=0
ComputeThermalExpansionEigenstrainBase::_deigenstrain_dT
MaterialProperty< RankTwoTensor > & _deigenstrain_dT
Definition: ComputeThermalExpansionEigenstrainBase.h:50
ComputeThermalExpansionEigenstrainBase::validParams
static InputParameters validParams()
Definition: ComputeThermalExpansionEigenstrainBase.C:16
ComputeThermalExpansionEigenstrainBase::ComputeThermalExpansionEigenstrainBase
ComputeThermalExpansionEigenstrainBase(const InputParameters &parameters)
Definition: ComputeThermalExpansionEigenstrainBase.C:27