https://mooseframework.inl.gov
ComputeEigenstrainFromInitialStress.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 "ComputeEigenstrainBase.h"
13 #include "RankFourTensor.h"
14 
21 {
22 public:
24 
26 
27 protected:
28  virtual void computeQpEigenstrain() override;
29 
31  const std::string _base_name;
32 
35 
38 
40  const bool _ini_aux_provided;
41 
43  std::vector<const Function *> _initial_stress_fcn;
44 
46  const std::vector<const VariableValue *> _ini_aux;
47 };
const bool _ini_aux_provided
Whether the user has supplied AuxVariables representing the initial stress.
ComputeEigenstrainFromInitialStress(const InputParameters &parameters)
std::vector< const Function * > _initial_stress_fcn
initial stress components
const std::string _base_name
base_name for elasticity tensor to use to convert stress to strain
ComputeEigenstrainBase is the base class for eigenstrain tensors.
ComputeEigenstrain computes an Eigenstrain that results from an initial stress The initial stress is ...
const std::vector< const VariableValue * > _ini_aux
AuxVariables defining the initial stress.
const MaterialProperty< RankTwoTensor > & _eigenstrain_old
Stores the total eigenstrain in the previous step.
const InputParameters & parameters() const
const MaterialProperty< RankFourTensor > & _elasticity_tensor
elasticity tensor used to convert stress to strain
virtual void computeQpEigenstrain() override
Compute the eigenstrain and store in _eigenstrain.