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 
18 template <bool is_ad>
21 {
22 public:
24 
26 
27 protected:
28  /*
29  * Get the reference temperature for the mean thermal expansion relationship. This is
30  * the temperature at which \f$\delta L = 0\f$.
31  */
32  virtual Real referenceTemperature() override;
33 
34  /*
35  * Compute the mean thermal expansion coefficient relative to the reference temperature.
36  * This is the linear thermal strain divided by the temperature difference:
37  * \f$\bar{\alpha}=(\delta L / L)/(T - T_{ref})\f$.
38  * param temperature temperature at which this is evaluated
39  */
42 
44 
46 };
47 
virtual Real referenceTemperature() override
Get the reference temperature for the mean thermal expansion relationship.
ComputeMeanThermalExpansionFunctionEigenstrainTempl< false > ComputeMeanThermalExpansionFunctionEigenstrain
ComputeMeanThermalExpansionEigenstrainBase is a base class for computing the thermal expansion eigens...
static const std::string temperature
Definition: NS.h:57
typename std::conditional< is_ad, ADReal, ChainedReal >::type ValueAndDerivative
Return type with a single derivative.
ComputeMeanThermalExpansionFunctionEigenstrainTempl< true > ADComputeMeanThermalExpansionFunctionEigenstrain
virtual ValueAndDerivative< is_ad > meanThermalExpansionCoefficient(const ValueAndDerivative< is_ad > &temperature) override
ComputeMeanThermalExpansionFunctionEigenstrain computes an eigenstrain for thermal expansion accordin...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real