Description

The porousBafflePressure is boundary condition that provides a jump condition, using the cyclic condition as a base.

The porous baffle introduces a pressure jump defined by:

\[\Delta p = -(D \mu U + 0.5 I \rho |U|^2 )L\]

where:

Property Description
\(p\) Pressure [Pa]
\(\rho\) Density [kg/m^3]
\(\mu\) Laminar viscosity [Pa s]
\(D\) Darcy coefficient
\(I\) Inertial coefficient
\(L\) Porous media length in the flow direction

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
    type            wall;
    ...
}

Field file

<patchName>
{
    // Mandatory entries
    type            porousBafflePressure;
    D               <Function1<scalar>>;
    I               <Function1<scalar>>;
    length          <scalar>;

    // Optional entries
    phi             <word>;
    rho             <word>;
    uniformJump     <bool>;

    // Inherited entries
    patchType       cyclic;
    jump            uniform 0;
    ...
}

where:

Property Description Type Required Default
type Type name: porousBafflePressure word yes -
D Darcy coefficient Function1<scalar> yes -
I Inertial coefficient Function1<scalar> yes -
length Porous media length in the flow direction scalar yes -
uniformJump Flag to apply a uniform pressure drop on the patch based bool no false
phi Name of flux field word no phi
rho Name of density field word no rho
patchType Underlying patch type should be cyclic word yes -
jump Jump value scalarField yes -

The inherited entries are elaborated in:

  • fixedJumpFvPatchField.H
  • PatchFunction1.H

Further information

Tutorial:

Source code:

API:

History:

  • Introduced in version 2.2.2