LBMAllenCahnSource

Compute Allen-Cahn source term for phase field model.

This compute object adds the Allen-Cahn source term to the phase field distribution function for lattice Boltzmann simulations.

Overview

Computes the conservative Allen-Cahn source that couples the phase field order parameter to the hydrodynamic velocity. The source includes an anti-diffusion term that maintains the interface thickness at lattice units. Provide the phase field via "phi", the velocity via "velocity", and the gradient via "grad_phi". The relaxation parameter is set with "tau" and interface thickness with "thickness".

Example Input File Syntax

[TensorComputes<<<{"href": "../../syntax/TensorComputes/index.html"}>>>]
  [Solve<<<{"href": "../../syntax/TensorComputes/Solve/index.html"}>>>]
    [apply_forces_phase]
      type = LBMAllenCahnSource<<<{"description": "Compute Allen-Cahn source term for phase field model.", "href": "LBMAllenCahnSource.html"}>>>
      buffer<<<{"description": "The buffer this compute is writing to"}>>> = h_post_collision
      phi<<<{"description": "LBM phase field parameter"}>>> = phi
      velocity<<<{"description": "LBM fluid velocity"}>>> = velocity
      grad_phi<<<{"description": "Gradient of LBM phase field parameter"}>>> = grad_phi
      tau<<<{"description": "Relaxation parameter for LBM phase field"}>>> = tau_h
      thickness<<<{"description": "Interface thickness"}>>> = D
    []
  []
[]
(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

  • grad_phiGradient of LBM phase field parameter

    C++ Type:std::string

    Controllable:No

    Description:Gradient of LBM phase field parameter

  • phiLBM phase field parameter

    C++ Type:std::string

    Controllable:No

    Description:LBM phase field parameter

  • tauRelaxation parameter for LBM phase field

    C++ Type:std::string

    Controllable:No

    Description:Relaxation parameter for LBM phase field

  • thicknessInterface thickness

    C++ Type:std::string

    Controllable:No

    Description:Interface thickness

  • 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