www.mooseframework.org
ADComputeInstantaneousThermalExpansionFunctionEigenstrain.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 
15 template <ComputeStage>
17 
19 
24 template <ComputeStage compute_stage>
26  : public ADComputeThermalExpansionEigenstrainBase<compute_stage>
27 {
28 public:
29  static InputParameters validParams();
30 
31  ADComputeInstantaneousThermalExpansionFunctionEigenstrain(const InputParameters & parameters);
32 
33 protected:
34  virtual void initQpStatefulProperties() override;
35  virtual void computeThermalStrain(ADReal & thermal_strain) override;
36 
37  const VariableValue & _temperature_old;
38  const Function & _thermal_expansion_function;
39 
41 
42  ADMaterialProperty(Real) & _thermal_strain;
43  const MaterialProperty<Real> & _thermal_strain_old;
45 
47  bool & _step_one;
48 
50 };
ADComputeInstantaneousThermalExpansionFunctionEigenstrain
ADComputeInstantaneousThermalExpansionFunctionEigenstrain computes an eigenstrain for thermal expansi...
Definition: ADComputeInstantaneousThermalExpansionFunctionEigenstrain.h:16
ADComputeInstantaneousThermalExpansionFunctionEigenstrain::validParams
static InputParameters validParams()
Definition: ADComputeInstantaneousThermalExpansionFunctionEigenstrain.C:22
ADComputeThermalExpansionEigenstrainBase.h
ADComputeInstantaneousThermalExpansionFunctionEigenstrain::_thermal_strain_old
const MaterialProperty< Real > & _thermal_strain_old
Definition: ADComputeInstantaneousThermalExpansionFunctionEigenstrain.h:43
ADComputeInstantaneousThermalExpansionFunctionEigenstrain::initQpStatefulProperties
virtual void initQpStatefulProperties() override
Definition: ADComputeInstantaneousThermalExpansionFunctionEigenstrain.C:50
ADComputeInstantaneousThermalExpansionFunctionEigenstrain::ADMaterialProperty
ADMaterialProperty(Real) &_thermal_strain
Stores the thermal strain as a scalar for use in computing an incremental update to this.
ADComputeInstantaneousThermalExpansionFunctionEigenstrain::_temperature_old
const VariableValue & _temperature_old
Definition: ADComputeInstantaneousThermalExpansionFunctionEigenstrain.h:37
ADComputeInstantaneousThermalExpansionFunctionEigenstrain::_step_one
bool & _step_one
Indicates whether we are on the first step, avoiding false positives when restarting.
Definition: ADComputeInstantaneousThermalExpansionFunctionEigenstrain.h:47
ADComputeThermalExpansionEigenstrainBase
ADComputeThermalExpansionEigenstrainBase is a base class for all models that compute eigenstrains due...
Definition: ADComputeThermalExpansionEigenstrainBase.h:22
declareADValidParams
declareADValidParams(ADComputeInstantaneousThermalExpansionFunctionEigenstrain)
ADComputeInstantaneousThermalExpansionFunctionEigenstrain::computeThermalStrain
virtual void computeThermalStrain(ADReal &thermal_strain) override
Definition: ADComputeInstantaneousThermalExpansionFunctionEigenstrain.C:57
ADComputeInstantaneousThermalExpansionFunctionEigenstrain::usingComputeThermalExpansionEigenstrainBaseMembers
usingComputeThermalExpansionEigenstrainBaseMembers
Definition: ADComputeInstantaneousThermalExpansionFunctionEigenstrain.h:49
ADComputeInstantaneousThermalExpansionFunctionEigenstrain::ADComputeInstantaneousThermalExpansionFunctionEigenstrain
ADComputeInstantaneousThermalExpansionFunctionEigenstrain(const InputParameters &parameters)
Definition: ADComputeInstantaneousThermalExpansionFunctionEigenstrain.C:36
ADComputeInstantaneousThermalExpansionFunctionEigenstrain::_thermal_expansion_function
const Function & _thermal_expansion_function
Definition: ADComputeInstantaneousThermalExpansionFunctionEigenstrain.h:38