https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CompositeEigenstrain.C
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
11
13
16{
17 InputParameters params =
19 params.addClassDescription("Assemble an Eigenstrain tensor from multiple tensor contributions "
20 "weighted by material properties");
21 return params;
22}
23
29
30void
32{
33 // Define Eigenstrain (and fill in the derivatives of elastic strain with a prefactor of -1)
34 computeQpTensorProperties(_eigenstrain, -1.0);
35}
registerMooseObject("SolidMechanicsApp", CompositeEigenstrain)
CompositeEigenstrain provides a simple RankTwoTensor type MaterialProperty that can be used as an Eig...
static InputParameters validParams()
CompositeEigenstrain(const InputParameters &parameters)
virtual void computeQpEigenstrain()
static InputParameters validParams()
virtual void computeQpTensorProperties(MaterialProperty< T > &M, Real derivative_prefactor=1.0)
ComputeEigenstrainBase is the base class for eigenstrain tensors.
void addClassDescription(const std::string &doc_string)