LBMComputeVelocityMagnitude

LBMComputeVelocityMagnitude object.

Computes the magnitude of velocity (speed) from velocity buffer.

Overview

Computes the Euclidean magnitude of a velocity vector field and stores it into the output buffer. Select the destination via "buffer" and supply the vector field with "velocity".

Example Input File Syntax

[TensorComputes<<<{"href": "../../syntax/TensorComputes/index.html"}>>>]
  [Solve<<<{"href": "../../syntax/TensorComputes/Solve/index.html"}>>>]
    [speed]
      type = LBMComputeVelocityMagnitude<<<{"description": "LBMComputeVelocityMagnitude object.", "href": "LBMComputeVelocityMagnitude.html"}>>>
      buffer<<<{"description": "The buffer this compute is writing to"}>>> = speed
      velocity<<<{"description": "LBM velocity"}>>> = velocity
    []
  []
[]
(test/tests/lbm/channel2D.i)

Input Parameters

  • bufferThe buffer this compute is writing to

    C++ Type:std::string

    Controllable:No

    Description:The buffer this compute is writing to

  • velocityLBM velocity

    C++ Type:std::string

    Controllable:No

    Description:LBM velocity

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