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