www.mooseframework.org
ComputeLinearElasticStress.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 
12 #include "ComputeStressBase.h"
13 
15 
16 template <>
18 
23 {
24 public:
25  static InputParameters validParams();
26 
27  ComputeLinearElasticStress(const InputParameters & parameters);
28 
29  virtual void initialSetup() override;
30 
31 protected:
32  virtual void computeQpStress() override;
33 
35  const std::string _elasticity_tensor_name;
37  const MaterialProperty<RankFourTensor> & _elasticity_tensor;
38 };
ComputeLinearElasticStress::_elasticity_tensor_name
const std::string _elasticity_tensor_name
Name of the elasticity tensor material property.
Definition: ComputeLinearElasticStress.h:35
ComputeStressBase
ComputeStressBase is the base class for stress tensors.
Definition: ComputeStressBase.h:26
validParams< ComputeLinearElasticStress >
InputParameters validParams< ComputeLinearElasticStress >()
ComputeLinearElasticStress
ComputeLinearElasticStress computes the stress following linear elasticity theory (small strains)
Definition: ComputeLinearElasticStress.h:22
ComputeLinearElasticStress::computeQpStress
virtual void computeQpStress() override
Compute the stress and store it in the _stress material property for the current quadrature point.
Definition: ComputeLinearElasticStress.C:41
ComputeLinearElasticStress::_elasticity_tensor
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
Definition: ComputeLinearElasticStress.h:37
ComputeLinearElasticStress::ComputeLinearElasticStress
ComputeLinearElasticStress(const InputParameters &parameters)
Definition: ComputeLinearElasticStress.C:24
ComputeLinearElasticStress::initialSetup
virtual void initialSetup() override
Definition: ComputeLinearElasticStress.C:32
ComputeStressBase.h
ComputeLinearElasticStress::validParams
static InputParameters validParams()
Definition: ComputeLinearElasticStress.C:17