www.mooseframework.org
ComputeInstantaneousThermalExpansionFunctionEigenstrain.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef COMPUTEINSTANTANEOUSTHERMALEXPANSIONFUNCTIONEIGENSTRAIN_H
8 #define COMPUTEINSTANTANEOUSTHERMALEXPANSIONFUNCTIONEIGENSTRAIN_H
9 
11 #include "DerivativeMaterialInterface.h"
12 
14 
15 template <>
17 
24 {
25 public:
26  ComputeInstantaneousThermalExpansionFunctionEigenstrain(const InputParameters & parameters);
27 
28 protected:
29  virtual void initQpStatefulProperties() override;
30  virtual void computeThermalStrain(Real & thermal_strain, Real & instantaneous_cte) override;
31 
32  const VariableValue & _temperature_old;
34 
36 
37  MaterialProperty<Real> & _thermal_strain;
38  const MaterialProperty<Real> & _thermal_strain_old;
40 
42  bool & _step_one;
43 };
44 
45 #endif // COMPUTEINSTANTANEOUSTHERMALEXPANSIONFUNCTIONEIGENSTRAIN_H
MaterialProperty< Real > & _thermal_strain
Stores the thermal strain as a scalar for use in computing an incremental update to this...
bool & _step_one
Indicates whether we are on the first step, avoiding false positives when restarting.
virtual void computeThermalStrain(Real &thermal_strain, Real &instantaneous_cte) override
InputParameters validParams< ComputeInstantaneousThermalExpansionFunctionEigenstrain >()
ComputeThermalExpansionEigenstrainBase is a base class for all models that compute eigenstrains due t...
ComputeInstantaneousThermalExpansionFunctionEigenstrain computes an eigenstrain for thermal expansion...