LBMApplyForces

Compute object for LB forces

LBMApplyForces adds forces onto LBM distribution fucntion. The forces act as source term.

Overview

Applies a body force term to a post-collision distribution using the Guo forcing scheme. Provide the veloicty via "velocity", density via "rho" and the force vector via "forces". The relaxation time is referenced via "tau0".

Example Input File Syntax

[TensorComputes<<<{"href": "../../syntax/TensorComputes/index.html"}>>>]
  [Solve<<<{"href": "../../syntax/TensorComputes/Solve/index.html"}>>>]
    [Apply_forces]
      type = LBMApplyForces<<<{"description": "Compute object for LB forces", "href": "LBMApplyForces.html"}>>>
      buffer<<<{"description": "The buffer this compute is writing to"}>>> = fpc
      velocity<<<{"description": "Macroscopic velocity"}>>> = velocity
      rho<<<{"description": "Macroscopic density"}>>> = density
      forces<<<{"description": "LBM forces"}>>> = F
      tau0<<<{"description": "Relaxation parameter"}>>> = tau_f
    []
  []
[]
(examples/lbm/natural_convection_3D/convection.i)

Input Parameters

  • bufferThe buffer this compute is writing to

    C++ Type:std::string

    Controllable:No

    Description:The buffer this compute is writing to

  • forcesLBM forces

    C++ Type:std::string

    Controllable:No

    Description:LBM forces

  • rhoMacroscopic density

    C++ Type:std::string

    Controllable:No

    Description:Macroscopic density

  • tau0Relaxation parameter

    C++ Type:std::string

    Controllable:No

    Description:Relaxation parameter

Required Parameters

  • velocityuMacroscopic velocity

    Default:u

    C++ Type:std::string

    Controllable:No

    Description:Macroscopic velocity

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

Input Files