https://mooseframework.inl.gov
ComputeGeneralStressBase.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 "Material.h"
13 #include "RankTwoTensor.h"
14 #include "RankFourTensor.h"
15 #include "RotationTensor.h"
17 
25 {
26 public:
28 
30 
31 protected:
32  virtual void initQpStatefulProperties() override;
33  virtual void computeQpProperties() override;
34 
39  virtual void computeQpStress() = 0;
40 
43  const std::string _base_name;
44 
51 
54 
56  std::vector<const Function *> _initial_stress_fcn;
57 
60 };
std::vector< const Function * > _initial_stress_fcn
initial stress components
MaterialProperty< RankFourTensor > & _Jacobian_mult
derivative of stress w.r.t. strain (_dstress_dstrain)
ComputeGeneralStressBase is the direct base class for stress calculator materials that may leverage q...
const MaterialProperty< RankTwoTensor > & _mechanical_strain
Mechanical strain material property.
const std::string _base_name
Base name prepended to all material property names to allow for multi-material systems.
virtual void computeQpProperties() override
virtual void initQpStatefulProperties() override
static InputParameters validParams()
ComputeGeneralStressBase(const InputParameters &parameters)
MaterialProperty< RankTwoTensor > & _elastic_strain
Elastic strain material property.
const MaterialProperty< RankTwoTensor > & _extra_stress
Extra stress tensor.
const InputParameters & parameters() const
MaterialProperty< RankTwoTensor > & _stress
Stress material property.
virtual void computeQpStress()=0
Compute the stress and store it in the _stress material property for the current quadrature point...