www.mooseframework.org
ComputeThermalExpansionEigenstrainBeamBase.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 
25  : public DerivativeMaterialInterface<ComputeEigenstrainBeamBase>
26 {
27 public:
28  static InputParameters validParams();
29 
30  ComputeThermalExpansionEigenstrainBeamBase(const InputParameters & parameters);
31 
32 protected:
33  virtual void computeQpEigenstrain() override;
34  /*
35  * Compute the total thermal strain relative to the stress-free temperature at
36  * the current temperature
37  *
38  * param thermal_strain The current total linear thermal strain
39  * (\delta L / L)
40  */
41  virtual void computeThermalStrain(Real & thermal_strain) = 0;
42 
44  const VariableValue & _temperature;
45 
47  const VariableValue & _stress_free_temperature;
48 
51 };
ComputeThermalExpansionEigenstrainBeamBase::computeThermalStrain
virtual void computeThermalStrain(Real &thermal_strain)=0
ComputeThermalExpansionEigenstrainBeamBase::validParams
static InputParameters validParams()
Definition: ComputeThermalExpansionEigenstrainBeamBase.C:15
libMesh::RealGradient
VectorValue< Real > RealGradient
Definition: GrainForceAndTorqueInterface.h:17
ComputeEigenstrainBeamBase.h
ComputeThermalExpansionEigenstrainBeamBase::_stress_free_temperature
const VariableValue & _stress_free_temperature
Value of stress free temperature at each quadrature point.
Definition: ComputeThermalExpansionEigenstrainBeamBase.h:47
ComputeThermalExpansionEigenstrainBeamBase::_initial_axis
RealGradient _initial_axis
Initial orientation of the beam.
Definition: ComputeThermalExpansionEigenstrainBeamBase.h:50
ComputeThermalExpansionEigenstrainBeamBase::computeQpEigenstrain
virtual void computeQpEigenstrain() override
Definition: ComputeThermalExpansionEigenstrainBeamBase.C:35
ComputeThermalExpansionEigenstrainBeamBase
ComputeThermalExpansionEigenstrainBeamBase is a base class for all models that compute beam eigenstra...
Definition: ComputeThermalExpansionEigenstrainBeamBase.h:24
ComputeThermalExpansionEigenstrainBeamBase::_temperature
const VariableValue & _temperature
Value of temperature at each quadrature point.
Definition: ComputeThermalExpansionEigenstrainBeamBase.h:44
ComputeThermalExpansionEigenstrainBeamBase::ComputeThermalExpansionEigenstrainBeamBase
ComputeThermalExpansionEigenstrainBeamBase(const InputParameters &parameters)
Definition: ComputeThermalExpansionEigenstrainBeamBase.C:26
validParams< ComputeThermalExpansionEigenstrainBeamBase >
InputParameters validParams< ComputeThermalExpansionEigenstrainBeamBase >()