- bufferThe buffer this compute is writing to
C++ Type:std::string
Controllable:No
Description:The buffer this compute is writing to
LBMComputeForces
Compute object for LB forces
LBMComputeForces calculates forces for LBM simulations. Currently available forces are gravity and buoyancy.
Overview
Computes body force contributions (e.g., gravity or external driving force) required by the LBM forcing term. For gravity, set "enable_gravity" to true and supply gravitational acceleration via "gravity". Please not that gravity is applied in y direction by default, but it can be changed to x or z by setting "gravity_direction" to 0 or 2 respectively. When coupling heat and mass transfer to enable Boussinesq approximation of buoyancy, set "enable_buoyancy" to true and supply temperature buffer via "temperature", reference temperature via "T0" and reference density via "rho0". output force buffer via "buffer".
Example Input File Syntax
[TensorComputes<<<{"href": "../../syntax/TensorComputes/index.html"}>>>]
[Solve<<<{"href": "../../syntax/TensorComputes/Solve/index.html"}>>>]
[Compute_forces]
type = LBMComputeForces<<<{"description": "Compute object for LB forces", "href": "LBMComputeForces.html"}>>>
buffer<<<{"description": "The buffer this compute is writing to"}>>> = F
rho0<<<{"description": "Reference density"}>>> = 'rho0'
temperature<<<{"description": "Macroscopic temperature"}>>> = T
T0<<<{"description": "Reference temperature"}>>> = 1.00
enable_buoyancy<<<{"description": "Whether to consider buoyancy"}>>> = true
gravity<<<{"description": "Gravitational accelaration"}>>> = g
gravity_direction<<<{"description": "Gravitational accelaration direction"}>>> = 2
[]
[]
[](examples/lbm/natural_convection_3D/convection.i)Input Parameters
- T01.0Reference temperature
Default:1.0
C++ Type:std::string
Controllable:No
Description:Reference temperature
- enable_buoyancyFalseWhether to consider buoyancy
Default:False
C++ Type:bool
Controllable:No
Description:Whether to consider buoyancy
- enable_gravityFalseWhether to consider gravity
Default:False
C++ Type:bool
Controllable:No
Description:Whether to consider gravity
- gravity0.001Gravitational accelaration
Default:0.001
C++ Type:std::string
Controllable:No
Description:Gravitational accelaration
- gravity_direction1Gravitational accelaration direction
Default:1
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Gravitational accelaration direction
- rhorhoMacroscopic density
Default:rho
C++ Type:std::string
Controllable:No
Description:Macroscopic density
- rho01.0Reference density
Default:1.0
C++ Type:std::string
Controllable:No
Description:Reference density
- temperatureTMacroscopic temperature
Default:T
C++ Type:std::string
Controllable:No
Description:Macroscopic temperature
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.