https://mooseframework.inl.gov
ADComputeFiniteStrainElasticStress.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 "ADComputeStressBase.h"
13 #include "GuaranteeConsumer.h"
14 
19 template <typename R2, typename R4>
21  public GuaranteeConsumer
22 {
23 public:
25 
27 
28  void initialSetup() override;
29  virtual void initQpStatefulProperties() override;
30 
31 protected:
34 
35  virtual void computeQpStress() override;
36 
38  const std::string _elasticity_tensor_name;
46 
48 
51 
57 
59 };
60 
ADComputeFiniteStrainElasticStressTempl< RankTwoTensor, RankFourTensor > ADComputeFiniteStrainElasticStress
ADMaterialProperty< RankTwoTensor > & _rotation_total
Rotation up to current step "n" to compute anisotropic elasticity tensor.
const InputParameters & parameters() const
ADComputeFiniteStrainElasticStressTempl< SymmetricRankTwoTensor, SymmetricRankFourTensor > ADSymmetricFiniteStrainElasticStress
typename std::conditional< is_ad, typename ADType< T >::type, T >::type GenericType
ADComputeFiniteStrainElasticStressTempl(const InputParameters &parameters)
const ADMaterialProperty< RankTwoTensor > & _rotation_increment
const ADMaterialProperty< R4 > & _elasticity_tensor
Elasticity tensor material property.
const MaterialProperty< RankTwoTensor > & _rotation_total_old
Rotation up to "n - 1" (previous) step to compute anisotropic elasticity tensor.
const std::string _elasticity_tensor_name
Name of the elasticity tensor material property.
ADComputeFiniteStrainElasticStress computes the stress following elasticity theory for finite strains...
ADComputeStressBaseTempl is the base class for stress tensors.
Add-on class that provides the functionality to check if guarantees for material properties are provi...
const MaterialProperty< R2 > & _stress_old
The old stress tensor.
const MaterialProperty< R2 > & _elastic_strain_old
The old elastic strain is used to calculate the old stress in the case of variable elasticity tensors...