https://mooseframework.inl.gov
ComputeStrainIncrementBasedStress.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 protected:
25  virtual void computeQpStress();
26  virtual void computeQpJacobian();
27 
29  const std::string _elasticity_tensor_name;
36 
38  std::vector<const MaterialProperty<RankTwoTensor> *> _inelastic_strains;
39  std::vector<const MaterialProperty<RankTwoTensor> *> _inelastic_strains_old;
41 
43  std::vector<MaterialPropertyName> _inelastic_strain_names;
46 };
ComputeStressBase is the base class for stress tensors computed from MOOSE&#39;s strain calculators...
ComputeStrainIncrementBasedStress computes stress considering list of inelastic strain increments...
const MaterialProperty< RankTwoTensor > & _stress_old
Old state of the stress tensor material property.
const MaterialProperty< RankTwoTensor > & _mechanical_strain_old
Old state of the mechanical strain material property.
std::vector< const MaterialProperty< RankTwoTensor > * > _inelastic_strains
Vectors of current and old states of the inelastic strain material properties.
unsigned int _num_inelastic_strain_models
Number of inelastic models.
virtual void computeQpStress()
Compute the stress and store it in the _stress material property for the current quadrature point...
const std::string _elasticity_tensor_name
Name of the elasticity tensor material property.
ComputeStrainIncrementBasedStress(const InputParameters &parameters)
std::vector< MaterialPropertyName > _inelastic_strain_names
Names of the inelastic strain material properties for all inelastic models.
std::vector< const MaterialProperty< RankTwoTensor > * > _inelastic_strains_old
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
const InputParameters & parameters() const