# Compute Variable Base EigenStrain

Computes Eigenstrain based on material property tensor base

## Description

The material ComputeVariableBaseEigenStrain calculates a Rank-2 tensor eigenstrain as a function of a Rank-2 tensor base and a scalar material property. (1) where is the calculated eigenstrain, is a scalar material property, is the tensor selected by the user as the base of the eigenstrain, and is the offset, or constant initial, eigenstrain tensor. The material property is used to introduce dependence of the eigenstrain on the user-specified variable.

## Example Input File

[./eigenstrain_prefactor]
type = DerivativeParsedMaterial
block = 0
function = 'c-0.1'
args = c
f_name = eigenstrain_prefactor
derivative_order = 1
[../]

(modules/combined/test/tests/DiffuseCreep/variable_base_eigen_strain.i)

where the argument for the base_tensor_property_name parameter in the eigenstrain is the same as the property parameter gb_tensor_prop_name argument as shown

[./aniso_tensor]
type = GBDependentAnisotropicTensor
gb = gb
bulk_parameter = 0.1
gb_parameter = 1
gb_normal_tensor_name = gb_normal
gb_tensor_prop_name = aniso_tensor
[../]

(modules/combined/test/tests/DiffuseCreep/variable_base_eigen_strain.i)

and the argument for the prefactor parameter in the eigenstrain material matches the function name (f_name parameter) in the DerivativeParsedMaterial

[./eigenstrain_prefactor]
type = DerivativeParsedMaterial
block = 0
function = 'c-0.1'
args = c
f_name = eigenstrain_prefactor
derivative_order = 1
[../]

(modules/combined/test/tests/DiffuseCreep/variable_base_eigen_strain.i)

Finally, the eigenstrain_name parameter value must also be set for the strain calculator, and an example parameter setting is shown below:

[./strain]
type = ComputeIncrementalSmallStrain
displacements = 'disp_x disp_y'
eigenstrain_names = eigenstrain
[../]

(modules/combined/test/tests/DiffuseCreep/variable_base_eigen_strain.i)

## Input Parameters

• base_tensor_property_nameName of base tensor property

C++ Type:MaterialPropertyName

Options:

Description:Name of base tensor property

• eigenstrain_nameMaterial property name for the eigenstrain tensor computed by this model. IMPORTANT: The name of this property must also be provided to the strain calculator.

C++ Type:std::string

Options:

Description:Material property name for the eigenstrain tensor computed by this model. IMPORTANT: The name of this property must also be provided to the strain calculator.

### Required Parameters

• computeTrueWhen false, MOOSE will not call compute methods on this material. The user must call computeProperties() after retrieving the Material via MaterialPropertyInterface::getMaterial(). Non-computed Materials are not sorted for dependencies.

Default:True

C++ Type:bool

Options:

Description:When false, MOOSE will not call compute methods on this material. The user must call computeProperties() after retrieving the Material via MaterialPropertyInterface::getMaterial(). Non-computed Materials are not sorted for dependencies.

• base_nameOptional parameter that allows the user to define multiple mechanics material systems on the same block, i.e. for multiple phases

C++ Type:std::string

Options:

Description:Optional parameter that allows the user to define multiple mechanics material systems on the same block, i.e. for multiple phases

• offset_tensorVector of values defining the constant base tensor for the Eigenstrain

C++ Type:std::vector

Options:

Description:Vector of values defining the constant base tensor for the Eigenstrain

• boundaryThe list of boundary IDs from the mesh where this boundary condition applies

C++ Type:std::vector

Options:

Description:The list of boundary IDs from the mesh where this boundary condition applies

• blockThe list of block ids (SubdomainID) that this object will be applied

C++ Type:std::vector

Options:

Description:The list of block ids (SubdomainID) that this object will be applied

• prefactor1Name of material defining the variable dependence

Default:1

C++ Type:MaterialPropertyName

Options:

Description:Name of material defining the variable dependence

### Optional Parameters

• output_propertiesList of material properties, from this material, to output (outputs must also be defined to an output type)

C++ Type:std::vector

Options:

Description:List of material properties, from this material, to output (outputs must also be defined to an output type)

• outputsnone Vector of output names were you would like to restrict the output of variables(s) associated with this object

Default:none

C++ Type:std::vector

Options:

Description:Vector of output names were you would like to restrict the output of variables(s) associated with this object

### Outputs Parameters

• enableTrueSet the enabled status of the MooseObject.

Default:True

C++ Type:bool

Options:

Description:Set the enabled status of the MooseObject.

• use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

Default:False

C++ Type:bool

Options:

Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

• control_tagsAdds user-defined labels for accessing object parameters via control logic.

C++ Type:std::vector

Options:

Description:Adds user-defined labels for accessing object parameters via control logic.

• seed0The seed for the master random number generator

Default:0

C++ Type:unsigned int

Options:

Description:The seed for the master random number generator

• implicitTrueDetermines whether this object is calculated using an implicit or explicit form

Default:True

C++ Type:bool

Options:

Description:Determines whether this object is calculated using an implicit or explicit form

• constant_onNONEWhen ELEMENT, MOOSE will only call computeQpProperties() for the 0th quadrature point, and then copy that value to the other qps.When SUBDOMAIN, MOOSE will only call computeSubdomainProperties() for the 0th quadrature point, and then copy that value to the other qps. Evaluations on element qps will be skipped

Default:NONE

C++ Type:MooseEnum

Options:NONE ELEMENT SUBDOMAIN

Description:When ELEMENT, MOOSE will only call computeQpProperties() for the 0th quadrature point, and then copy that value to the other qps.When SUBDOMAIN, MOOSE will only call computeSubdomainProperties() for the 0th quadrature point, and then copy that value to the other qps. Evaluations on element qps will be skipped