www.mooseframework.org
tensor_mechanics
src
materials
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
10
#include "
ComputeDilatationThermalExpansionEigenstrainBase.h
"
11
12
defineLegacyParams
(
ComputeDilatationThermalExpansionEigenstrainBase
);
13
14
InputParameters
15
ComputeDilatationThermalExpansionEigenstrainBase::validParams
()
16
{
17
return
ComputeThermalExpansionEigenstrainBase::validParams
();
18
}
19
20
ComputeDilatationThermalExpansionEigenstrainBase::ComputeDilatationThermalExpansionEigenstrainBase
(
21
const
InputParameters & parameters)
22
:
ComputeThermalExpansionEigenstrainBase
(parameters)
23
{
24
}
25
26
void
27
ComputeDilatationThermalExpansionEigenstrainBase::computeThermalStrain
(Real & thermal_strain,
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 ¶meters)
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
Generated on Sat Jan 25 2020 12:04:46 for www.mooseframework.org by
1.8.16