mus_addBrinkmanToAuxField_fluidIncomp Subroutine

public subroutine mus_addBrinkmanToAuxField_fluidIncomp(fun, auxField, iLevel, time, varSys, phyConvFac, derVarPos)

This routine adds Brinkman (porous-media) damping to the velocity stored in the auxField for the incompressible fluid model. Reference: 1) Zhaoli Guo and T. S. Zhao. “Lattice Boltzmann Model for Incompressible Flows through Porous Media”. In: Physical Review E 66.3 (2002), p. 036304. doi: 10.1103/PhysRevE.66.036304. 2) Irina Ginzburg. “Consistent lattice Boltzmann schemes for the Brinkman model of porous flow and infinite Chapman-Enskog expansion”. In: Phys. Rev. E 77 (6 June 2008), p. 066704. doi: 10.1103/PhysRevE.77.066704.

Arguments

Type IntentOptional Attributes Name
class(mus_source_op_type), intent(inout) :: fun

Description of method to update source

real(kind=rk), intent(inout) :: auxField(:)

output auxField array

integer, intent(in) :: iLevel

current level

type(tem_time_type), intent(in) :: time

current timing information

type(tem_varSys_type), intent(in) :: varSys

variable system definition

type(mus_convertFac_type), intent(in) :: phyConvFac

Physics conversion factor for current level

type(mus_derVarPos_type), intent(in) :: derVarPos(:)

position of derived quantities in varsys