LBMFixedFirstOrderBC

LBMFixedFirstOrderBC object

LBMFixedFirstOrderBC implements Zou-He velocity boundary conditions at the inlet and outlet for D2Q9, D3Q19 and D3Q27 stencils.

Overview

Enforces first-order accurate macroscopic velocity at selected domain faces via Zou-He formulas. Choose faces with "boundary" and provide macroscopic fields as required by the implementation.

Example Input File Syntax

[TensorComputes<<<{"href": "../../syntax/TensorComputes/index.html"}>>>]
  [Boundary<<<{"href": "../../syntax/TensorComputes/Boundary/index.html"}>>>]
    [top]
      type = LBMFixedFirstOrderBC<<<{"description": "LBMFixedFirstOrderBC object", "href": "LBMFixedFirstOrderBC.html"}>>>
      buffer<<<{"description": "The buffer this compute is writing to"}>>> = f
      f<<<{"description": "Input buffer distribution function"}>>> = f
      value<<<{"description": "Fixed input velocity"}>>> = 0.0001
      boundary<<<{"description": "Edges/Faces where boundary condition is applied."}>>> = top
    []
  []
[]
(test/tests/lbm/vertical_velocity_bcs.i)

Input Parameters

  • boundaryEdges/Faces where boundary condition is applied.

    C++ Type:MooseEnum

    Options:top, bottom, left, right, front, back, wall, regional

    Controllable:No

    Description:Edges/Faces where boundary condition is applied.

  • bufferThe buffer this compute is writing to

    C++ Type:std::string

    Controllable:No

    Description:The buffer this compute is writing to

  • fInput buffer distribution function

    C++ Type:std::string

    Controllable:No

    Description:Input buffer distribution function

  • valueFixed input velocity

    C++ Type:std::string

    Controllable:No

    Description:Fixed input velocity

Required Parameters

  • perturbFalseWhether to perturb first order moment at the boundary

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to perturb first order moment at the boundary

Optional 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