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