Skip to main content

porousBafflePressure

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:

Δp=(DμU+0.5IρU2)L \Delta p = -(D \mu U + 0.5 I \rho |U|^2 )L

where:

PropertyDescription
ppPressure [Pa]
ρ\rhoDensity [kg/m^3]
μ\muLaminar viscosity [Pa s]
DDDarcy coefficient
IIInertial coefficient
LLPorous 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:

PropertyDescriptionTypeRequiredDefault
typeType name: porousBafflePressurewordyes-
DDarcy coefficientFunction1<scalar>yes-
IInertial coefficientFunction1<scalar>yes-
lengthPorous media length in the flow directionscalaryes-
uniformJumpFlag to apply a uniform pressure drop on the patch basedboolnofalse
phiName of flux fieldwordnophi
rhoName of density fieldwordnorho
patchTypeUnderlying patch type should be cyclicwordyes-
jumpJump valuescalarFieldyes-

The inherited entries are elaborated in:

  • fixedJumpFvPatchField.H
  • PatchFunction1.H

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.2.2