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

[TensorComputes<<<{"href": "../../syntax/TensorComputes/index.html"}>>>]
  [Solve<<<{"href": "../../syntax/TensorComputes/Solve/index.html"}>>>]
    [pressure]
      type = LBMPhaseFieldPressure<<<{"description": "Compute pressure for phase field model.", "href": "LBMPhaseFieldPressure.html"}>>>
      buffer<<<{"description": "The buffer this compute is writing to"}>>> = pressure
      f<<<{"description": "LBM distribution function"}>>> = f
      velocity<<<{"description": "LBM fluid velocity"}>>> = velocity
      grad_phi<<<{"description": "Gradient of LBM phase field parameter"}>>> = grad_phi
      rho<<<{"description": "LBM density"}>>> = rho
      rho_l<<<{"description": "Density of the liquid (high density) phase"}>>> = '${rho_l}'
      rho_g<<<{"description": "Density of the gas (low density) phase"}>>> = '${rho_g}'
    []
  []
[]
(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