www.mooseframework.org
ComputeMeanThermalExpansionFunctionEigenstrain.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 
15 
16 template <>
18 
25 {
26 public:
27  static InputParameters validParams();
28 
29  ComputeMeanThermalExpansionFunctionEigenstrain(const InputParameters & parameters);
30 
31 protected:
32  /*
33  * Get the reference temperature for the mean thermal expansion relationship. This is
34  * the temperature at which \f$\delta L = 0\f$.
35  */
36  virtual Real referenceTemperature() override;
37 
38  /*
39  * Compute the mean thermal expansion coefficient relative to the reference temperature.
40  * This is the linear thermal strain divided by the temperature difference:
41  * \f$\bar{\alpha}=(\delta L / L)/(T - T_{ref})\f$.
42  * param temperature temperature at which this is evaluated
43  */
44  virtual Real meanThermalExpansionCoefficient(const Real temperature) override;
45 
46  /*
47  * Compute the derivative of the mean thermal expansion coefficient \f$\bar{\alpha}\f$
48  * with respect to temperature, where \f$\bar{\alpha}=(\delta L / L)/(T - T_{ref})\f$.
49  * param temperature temperature at which this is evaluated
50  */
51  virtual Real meanThermalExpansionCoefficientDerivative(const Real temperature) override;
52 
53  const Function & _thermal_expansion_function;
54 
55  const Real & _thexp_func_ref_temp;
56 };
ComputeMeanThermalExpansionEigenstrainBase.h
ComputeMeanThermalExpansionFunctionEigenstrain
ComputeMeanThermalExpansionFunctionEigenstrain computes an eigenstrain for thermal expansion accordin...
Definition: ComputeMeanThermalExpansionFunctionEigenstrain.h:23
ComputeMeanThermalExpansionFunctionEigenstrain::_thexp_func_ref_temp
const Real & _thexp_func_ref_temp
Definition: ComputeMeanThermalExpansionFunctionEigenstrain.h:55
ComputeMeanThermalExpansionFunctionEigenstrain::ComputeMeanThermalExpansionFunctionEigenstrain
ComputeMeanThermalExpansionFunctionEigenstrain(const InputParameters &parameters)
Definition: ComputeMeanThermalExpansionFunctionEigenstrain.C:33
ComputeMeanThermalExpansionFunctionEigenstrain::meanThermalExpansionCoefficient
virtual Real meanThermalExpansionCoefficient(const Real temperature) override
Definition: ComputeMeanThermalExpansionFunctionEigenstrain.C:48
ComputeMeanThermalExpansionFunctionEigenstrain::validParams
static InputParameters validParams()
Definition: ComputeMeanThermalExpansionFunctionEigenstrain.C:18
ComputeMeanThermalExpansionFunctionEigenstrain::referenceTemperature
virtual Real referenceTemperature() override
Definition: ComputeMeanThermalExpansionFunctionEigenstrain.C:42
validParams< ComputeMeanThermalExpansionFunctionEigenstrain >
InputParameters validParams< ComputeMeanThermalExpansionFunctionEigenstrain >()
ComputeMeanThermalExpansionFunctionEigenstrain::_thermal_expansion_function
const Function & _thermal_expansion_function
Definition: ComputeMeanThermalExpansionFunctionEigenstrain.h:53
ComputeMeanThermalExpansionFunctionEigenstrain::meanThermalExpansionCoefficientDerivative
virtual Real meanThermalExpansionCoefficientDerivative(const Real temperature) override
Definition: ComputeMeanThermalExpansionFunctionEigenstrain.C:55
ComputeMeanThermalExpansionEigenstrainBase
ComputeMeanThermalExpansionEigenstrainBase is a base class for computing the thermal expansion eigens...
Definition: ComputeMeanThermalExpansionEigenstrainBase.h:30
NS::temperature
const std::string temperature
Definition: NS.h:26