www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CompositeEigenstrain Class Reference

CompositeEigenstrain provides a simple RankTwoTensor type MaterialProperty that can be used as an Eigenstrain tensor in a mechanics simulation. More...

#include <CompositeEigenstrain.h>

Inheritance diagram for CompositeEigenstrain:
[legend]

Public Member Functions

 CompositeEigenstrain (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeQpEigenstrain ()
 

Protected Attributes

const std::string _M_name
 

Detailed Description

CompositeEigenstrain provides a simple RankTwoTensor type MaterialProperty that can be used as an Eigenstrain tensor in a mechanics simulation.

This tensor is computes as a weighted sum of base Eigenstrain tensors where each weight can be a scalar material property that may depend on simulation variables. The generic logic that computes a weighted sum of tensors is located in the templated base class CompositeTensorBase.

Definition at line 30 of file CompositeEigenstrain.h.

Constructor & Destructor Documentation

◆ CompositeEigenstrain()

CompositeEigenstrain::CompositeEigenstrain ( const InputParameters &  parameters)

Definition at line 25 of file CompositeEigenstrain.C.

26  : CompositeTensorBase<RankTwoTensor, ComputeEigenstrainBase>(parameters)
27 {
28  initializeDerivativeProperties(_base_name + "elastic_strain");
29 }

Member Function Documentation

◆ computeQpEigenstrain()

void CompositeEigenstrain::computeQpEigenstrain ( )
protectedvirtual

Definition at line 32 of file CompositeEigenstrain.C.

33 {
34  // Define Eigenstrain (and fill in the derivatives of elastic strain with a prefactor of -1)
35  computeQpTensorProperties(_eigenstrain, -1.0);
36 }

Member Data Documentation

◆ _M_name

const std::string CompositeEigenstrain::_M_name
protected

Definition at line 38 of file CompositeEigenstrain.h.


The documentation for this class was generated from the following files: