www.mooseframework.org
ComputeDilatationThermalExpansionEigenstrainBase.h
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 #pragma once
11 
13 #include "DerivativeMaterialInterface.h"
14 
16 
17 template <>
19 
26 {
27 public:
28  static InputParameters validParams();
29 
30  ComputeDilatationThermalExpansionEigenstrainBase(const InputParameters & parameters);
31 
32 protected:
33  virtual void computeThermalStrain(Real & thermal_strain, Real & instantaneous_cte) override;
34 
35  /*
36  * Compute the fractional linear dilatation due to thermal expansion delta L / L
37  * @param temperature current temperature
38  * @return fractional linear dilatation due
39  */
40  virtual Real computeDilatation(const Real & temperature) = 0;
41 
42  /*
43  * Compute the derivative of the fractional linear dilatation due to thermal expansion delta L / L
44  * with respect to temperature
45  * @param temperature current temperature
46  * @return fractional linear dilatation due
47  */
48  virtual Real computeDilatationDerivative(const Real & temperature) = 0;
49 };
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
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
validParams< ComputeDilatationThermalExpansionEigenstrainBase >
InputParameters validParams< ComputeDilatationThermalExpansionEigenstrainBase >()
ComputeDilatationThermalExpansionEigenstrainBase::computeDilatationDerivative
virtual Real computeDilatationDerivative(const Real &temperature)=0
NS::temperature
const std::string temperature
Definition: NS.h:26
ComputeThermalExpansionEigenstrainBase.h
ComputeThermalExpansionEigenstrainBase
ComputeThermalExpansionEigenstrainBase is a base class for all models that compute eigenstrains due t...
Definition: ComputeThermalExpansionEigenstrainBase.h:27