MooseFunctionTensor

Map a MooseFunction to a tensor.

Overview

Evaluates a MOOSE Function on the domain and writes the values into the target buffer. Select the output with "buffer" and provide the function object name via "function".

Example Input File Syntax

[TensorComputes<<<{"href": "../../syntax/TensorComputes/index.html"}>>>]
  [Initialize<<<{"href": "../../syntax/TensorComputes/Initialize/index.html"}>>>]
    [psi]
      type = MooseFunctionTensor<<<{"description": "Map a MooseFunction to a tensor.", "href": "MooseFunctionTensor.html"}>>>
      buffer<<<{"description": "The buffer this compute is writing to"}>>> = psi
      function<<<{"description": "Function to map."}>>> = domain
    []
  []
[]
(test/tests/tensor_compute/rotating_grain_secant.i)

Input Parameters

  • bufferThe buffer this compute is writing to

    C++ Type:std::string

    Controllable:No

    Description:The buffer this compute is writing to

  • functionFunction to map.

    C++ Type:FunctionName

    Unit:(no unit assumed)

    Controllable:No

    Description:Function to map.

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