RankTwoIdentity

Rank two identity tensor in real space.

RankTwoIdentity fills the output with the rank-2 identity tensor in real space, expanded to the full buffer shape.

Overview

For a problem dimension d, the object forms I_d and broadcasts it over the spatial grid, producing a field with shape (..., d, d). This is useful as a building block for constitutive models and tests.

Example Input File Syntax

[
  TensorComputes/
    [./I]
      type = RankTwoIdentity
      buffer = identity
    [../]
]
!listing-end

Input Parameters

  • bufferThe buffer this compute is writing to

    C++ Type:std::string

    Controllable:No

    Description:The buffer this compute is writing to

Required Parameters

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

    C++ Type:std::vector<std::string>

    Controllable:No

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

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

Input Files