https://mooseframework.inl.gov
ComputeLinearElasticStress.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 
18 {
19 public:
21 
23 
24  virtual void initialSetup() override;
25 
26 protected:
27  virtual void computeQpStress() override;
28 
30  const std::string _elasticity_tensor_name;
33 };
ComputeStressBase is the base class for stress tensors computed from MOOSE's strain calculators...
const std::string _elasticity_tensor_name
Name of the elasticity tensor material property.
virtual void initialSetup() override
ComputeLinearElasticStress(const InputParameters &parameters)
virtual void computeQpStress() override
Compute the stress and store it in the _stress material property for the current quadrature point...
static InputParameters validParams()
const InputParameters & parameters() const
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
ComputeLinearElasticStress computes the stress following linear elasticity theory (small strains) ...