LBMComputeDensity

Compute object for macroscopic density reconstruction.

This compute object sums LBM distribution functions along the last dimension to compute density or temperature or any other macroscopic scalar buffer depending on the physics of the problem.

Overview

Given a distribution tensor f(x,y,z, q), computes the macroscopic scalar quantity rho(x,y,z) = sum_q f. Values on solid cells are set to zero using the lattice mask.

Example Input File Syntax

[TensorComputes]
  [Solve]
    [rho]
      type = LBMComputeDensity
      buffer = rho
      f = f
    []
  []
[]
!listing-end

Input Parameters

  • bufferThe buffer this compute is writing to

    C++ Type:std::string

    Controllable:No

    Description:The buffer this compute is writing to

  • fDistribution function

    C++ Type:std::string

    Controllable:No

    Description:Distribution function

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