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

ComputeDilatationThermalExpansionFunctionEigenstrain computes an eigenstrain for thermal expansion from an dilatation function. More...

#include <ComputeDilatationThermalExpansionFunctionEigenstrain.h>

Inheritance diagram for ComputeDilatationThermalExpansionFunctionEigenstrain:
[legend]

Public Member Functions

 ComputeDilatationThermalExpansionFunctionEigenstrain (const InputParameters &parameters)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

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

Protected Attributes

const Function & _dilatation_function
 Dilatation function. More...
 
const VariableValue & _temperature
 
MaterialProperty< RankTwoTensor > & _deigenstrain_dT
 
const VariableValue & _stress_free_temperature
 

Detailed Description

ComputeDilatationThermalExpansionFunctionEigenstrain computes an eigenstrain for thermal expansion from an dilatation function.

Definition at line 24 of file ComputeDilatationThermalExpansionFunctionEigenstrain.h.

Constructor & Destructor Documentation

◆ ComputeDilatationThermalExpansionFunctionEigenstrain()

ComputeDilatationThermalExpansionFunctionEigenstrain::ComputeDilatationThermalExpansionFunctionEigenstrain ( const InputParameters &  parameters)

Definition at line 31 of file ComputeDilatationThermalExpansionFunctionEigenstrain.C.

33  _dilatation_function(getFunction("dilatation_function"))
34 {
35 }

Member Function Documentation

◆ computeDilatation()

Real ComputeDilatationThermalExpansionFunctionEigenstrain::computeDilatation ( const Real &  temperature)
overrideprotectedvirtual

◆ computeDilatationDerivative()

Real ComputeDilatationThermalExpansionFunctionEigenstrain::computeDilatationDerivative ( const Real &  temperature)
overrideprotectedvirtual

Implements ComputeDilatationThermalExpansionEigenstrainBase.

Definition at line 44 of file ComputeDilatationThermalExpansionFunctionEigenstrain.C.

46 {
47  return _dilatation_function.timeDerivative(temperature, Point());
48 }

◆ 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 
)
overrideprotectedvirtualinherited

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 ComputeDilatationThermalExpansionFunctionEigenstrain::validParams ( )
static

Definition at line 19 of file ComputeDilatationThermalExpansionFunctionEigenstrain.C.

20 {
22  params.addClassDescription("Computes eigenstrain due to thermal expansion using a function that "
23  "describes the total dilatation as a function of temperature");
24  params.addRequiredParam<FunctionName>(
25  "dilatation_function",
26  "Function describing the thermal dilatation as a function of temperature");
27  return params;
28 }

Member Data Documentation

◆ _deigenstrain_dT

MaterialProperty<RankTwoTensor>& ComputeThermalExpansionEigenstrainBase::_deigenstrain_dT
protectedinherited

◆ _dilatation_function

const Function& ComputeDilatationThermalExpansionFunctionEigenstrain::_dilatation_function
protected

Dilatation function.

Definition at line 49 of file ComputeDilatationThermalExpansionFunctionEigenstrain.h.

Referenced by computeDilatation(), and computeDilatationDerivative().

◆ _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:
ComputeDilatationThermalExpansionEigenstrainBase::ComputeDilatationThermalExpansionEigenstrainBase
ComputeDilatationThermalExpansionEigenstrainBase(const InputParameters &parameters)
Definition: ComputeDilatationThermalExpansionEigenstrainBase.C:20
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
ComputeDilatationThermalExpansionEigenstrainBase::validParams
static InputParameters validParams()
Definition: ComputeDilatationThermalExpansionEigenstrainBase.C:15
ComputeThermalExpansionEigenstrainBase::_stress_free_temperature
const VariableValue & _stress_free_temperature
Definition: ComputeThermalExpansionEigenstrainBase.h:51
ComputeDilatationThermalExpansionFunctionEigenstrain::_dilatation_function
const Function & _dilatation_function
Dilatation function.
Definition: ComputeDilatationThermalExpansionFunctionEigenstrain.h:49
ComputeDilatationThermalExpansionEigenstrainBase::computeDilatationDerivative
virtual Real computeDilatationDerivative(const Real &temperature)=0
NS::temperature
const std::string temperature
Definition: NS.h:26
ComputeThermalExpansionEigenstrainBase::_deigenstrain_dT
MaterialProperty< RankTwoTensor > & _deigenstrain_dT
Definition: ComputeThermalExpansionEigenstrainBase.h:50