LBMPhaseFieldPressure

Compute pressure for phase field model.

This compute object computes the pressure field for the phase field lattice Boltzmann model.

Overview

Evaluates the macroscopic pressure from the pressure-corrected distribution function using the relation . Provide the distribution function via "f", velocity via "velocity", gradient via "grad_phi", and density via "rho". Liquid and gas densities are set with "rho_l" and "rho_g".

Example Input File Syntax

[TensorBuffers<<<{"href": "../../syntax/TensorBuffers/index.html"}>>>]
  [pressure]
    type = LBMTensorBuffer<<<{"description": "Tensor wrapper form LBM tensors", "href": "../tensor_buffers/LBMTensorBuffer.html"}>>>
    buffer_type<<<{"description": "The buffer type can be either distribution function (df), macroscopic scalar (ms) or macroscopic vectorial (mv)"}>>> = ms
  []
[]
(test/tests/lbm/phase.i)

Input Parameters

  • bufferThe buffer this compute is writing to

    C++ Type:std::string

    Controllable:No

    Description:The buffer this compute is writing to

  • fLBM distribution function

    C++ Type:std::string

    Controllable:No

    Description:LBM distribution function

  • grad_phiGradient of LBM phase field parameter

    C++ Type:std::string

    Controllable:No

    Description:Gradient of LBM phase field parameter

  • rhoLBM density

    C++ Type:std::string

    Controllable:No

    Description:LBM density

  • rho_gDensity of the gas (low density) phase

    C++ Type:std::string

    Controllable:No

    Description:Density of the gas (low density) phase

  • rho_lDensity of the liquid (high density) phase

    C++ Type:std::string

    Controllable:No

    Description:Density of the liquid (high density) phase

  • velocityLBM fluid velocity

    C++ Type:std::string

    Controllable:No

    Description:LBM fluid 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