www.mooseframework.org
ComputeDilatationThermalExpansionEigenstrainBase.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 
13 
14 InputParameters
16 {
18 }
19 
21  const InputParameters & parameters)
23 {
24 }
25 
26 void
28  Real & dthermal_strain_dT)
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 }
ComputeDilatationThermalExpansionEigenstrainBase::ComputeDilatationThermalExpansionEigenstrainBase
ComputeDilatationThermalExpansionEigenstrainBase(const InputParameters &parameters)
Definition: ComputeDilatationThermalExpansionEigenstrainBase.C:20
ComputeDilatationThermalExpansionEigenstrainBase::computeThermalStrain
virtual void computeThermalStrain(Real &thermal_strain, Real &instantaneous_cte) override
Definition: ComputeDilatationThermalExpansionEigenstrainBase.C:27
ComputeThermalExpansionEigenstrainBase::_temperature
const VariableValue & _temperature
Definition: ComputeThermalExpansionEigenstrainBase.h:49
ComputeDilatationThermalExpansionEigenstrainBase::computeDilatation
virtual Real computeDilatation(const Real &temperature)=0
ComputeDilatationThermalExpansionEigenstrainBase
ComputeDilatationThermalExpansionEigenstrainBase computes an eigenstrain for thermal expansion from a...
Definition: ComputeDilatationThermalExpansionEigenstrainBase.h:24
ComputeDilatationThermalExpansionEigenstrainBase::validParams
static InputParameters validParams()
Definition: ComputeDilatationThermalExpansionEigenstrainBase.C:15
ComputeDilatationThermalExpansionEigenstrainBase.h
ComputeThermalExpansionEigenstrainBase::_stress_free_temperature
const VariableValue & _stress_free_temperature
Definition: ComputeThermalExpansionEigenstrainBase.h:51
defineLegacyParams
defineLegacyParams(ComputeDilatationThermalExpansionEigenstrainBase)
ComputeDilatationThermalExpansionEigenstrainBase::computeDilatationDerivative
virtual Real computeDilatationDerivative(const Real &temperature)=0
ComputeThermalExpansionEigenstrainBase::validParams
static InputParameters validParams()
Definition: ComputeThermalExpansionEigenstrainBase.C:16
ComputeThermalExpansionEigenstrainBase
ComputeThermalExpansionEigenstrainBase is a base class for all models that compute eigenstrains due t...
Definition: ComputeThermalExpansionEigenstrainBase.h:27