www.mooseframework.org
ComputeInstantaneousThermalExpansionFunctionEigenstrain.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  ComputeInstantaneousThermalExpansionFunctionEigenstrain(const InputParameters & parameters);
31 
32 protected:
33  virtual void initQpStatefulProperties() override;
34  virtual void computeThermalStrain(Real & thermal_strain, Real & instantaneous_cte) override;
35 
36  const VariableValue & _temperature_old;
37  const Function & _thermal_expansion_function;
38 
40 
41  MaterialProperty<Real> & _thermal_strain;
42  const MaterialProperty<Real> & _thermal_strain_old;
44 
46  bool & _step_one;
47 };
ComputeInstantaneousThermalExpansionFunctionEigenstrain::computeThermalStrain
virtual void computeThermalStrain(Real &thermal_strain, Real &instantaneous_cte) override
Definition: ComputeInstantaneousThermalExpansionFunctionEigenstrain.C:50
ComputeInstantaneousThermalExpansionFunctionEigenstrain::_thermal_strain_old
const MaterialProperty< Real > & _thermal_strain_old
Definition: ComputeInstantaneousThermalExpansionFunctionEigenstrain.h:42
ComputeInstantaneousThermalExpansionFunctionEigenstrain::_thermal_expansion_function
const Function & _thermal_expansion_function
Definition: ComputeInstantaneousThermalExpansionFunctionEigenstrain.h:37
ComputeInstantaneousThermalExpansionFunctionEigenstrain::ComputeInstantaneousThermalExpansionFunctionEigenstrain
ComputeInstantaneousThermalExpansionFunctionEigenstrain(const InputParameters &parameters)
Definition: ComputeInstantaneousThermalExpansionFunctionEigenstrain.C:32
ComputeInstantaneousThermalExpansionFunctionEigenstrain::initQpStatefulProperties
virtual void initQpStatefulProperties() override
Definition: ComputeInstantaneousThermalExpansionFunctionEigenstrain.C:44
validParams< ComputeInstantaneousThermalExpansionFunctionEigenstrain >
InputParameters validParams< ComputeInstantaneousThermalExpansionFunctionEigenstrain >()
ComputeInstantaneousThermalExpansionFunctionEigenstrain
ComputeInstantaneousThermalExpansionFunctionEigenstrain computes an eigenstrain for thermal expansion...
Definition: ComputeInstantaneousThermalExpansionFunctionEigenstrain.h:24
ComputeInstantaneousThermalExpansionFunctionEigenstrain::_step_one
bool & _step_one
Indicates whether we are on the first step, avoiding false positives when restarting.
Definition: ComputeInstantaneousThermalExpansionFunctionEigenstrain.h:46
ComputeInstantaneousThermalExpansionFunctionEigenstrain::_temperature_old
const VariableValue & _temperature_old
Definition: ComputeInstantaneousThermalExpansionFunctionEigenstrain.h:36
ComputeThermalExpansionEigenstrainBase.h
ComputeThermalExpansionEigenstrainBase
ComputeThermalExpansionEigenstrainBase is a base class for all models that compute eigenstrains due t...
Definition: ComputeThermalExpansionEigenstrainBase.h:27
ComputeInstantaneousThermalExpansionFunctionEigenstrain::_thermal_strain
MaterialProperty< Real > & _thermal_strain
Stores the thermal strain as a scalar for use in computing an incremental update to this.
Definition: ComputeInstantaneousThermalExpansionFunctionEigenstrain.h:41
ComputeInstantaneousThermalExpansionFunctionEigenstrain::validParams
static InputParameters validParams()
Definition: ComputeInstantaneousThermalExpansionFunctionEigenstrain.C:19