www.mooseframework.org
ComputeEigenstrainFromInitialStress.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef COMPUTEEIGENSTRAINFROMINITIALSTRESS_H
8 #define COMPUTEEIGENSTRAINFROMINITIALSTRESS_H
9 
10 #include "ComputeEigenstrainBase.h"
11 #include "RankFourTensor.h"
12 
17 {
18 public:
19  ComputeEigenstrainFromInitialStress(const InputParameters & parameters);
20 
21 protected:
22  virtual void computeQpEigenstrain() override;
23 
25  const std::string _base_name;
26 
28  const MaterialProperty<RankFourTensor> & _elasticity_tensor;
29 
31  std::vector<Function *> _initial_stress_fcn;
32 };
33 
34 #endif // COMPUTEEIGENSTRAINFROMINITIALSTRESS_H
std::vector< Function * > _initial_stress_fcn
initial stress components
ComputeEigenstrainFromInitialStress(const InputParameters &parameters)
const std::string _base_name
base_name for elasticity tensor to use to convert stress to strain
ComputeEigenstrain computes an Eigenstrain that results from an initial stress.
const MaterialProperty< RankFourTensor > & _elasticity_tensor
elasticity tensor used to convert stress to strain
virtual void computeQpEigenstrain() override
Compute the eigenstrain and store in _eigenstrain.
ComputeEigenstrainBase is the base class for eigenstrain tensors.