Skip to main content

activePressureForceBaffleVelocity

Description

The activePressureForceBaffleVelocity is a velocity boundary condition that simulates the opening or closure of a baffle due to area averaged pressure or force delta, between both sides of the baffle. This is achieved by merging the behaviours of wall and cyclic baffles.

The baffle joins two mesh regions, where the open fraction determines the interpolation weights applied to each cyclic- and neighbour-patch contribution. This condition is meant to be used in an extra wall beyond an existing cyclic patch pair.

The baffle is activated when the area weighted pressure difference between master and slave patches is larger then minThresholdValue.

Once the threshold is crossed, the baffle is activated and continues to open or close at a fixed rate using

x=xold+sΔtT x = x_{old} + s \, \frac{\Delta t}{T}

where:

PropertyDescription
xxBaffle open fraction [0-1]
xoldx_{old}Baffle open fraction on previous evaluation [0-1]
Δt\Delta tSimulation time step [s]
TTTime taken to open the baffle [s]
ssSign for orientation: 1 to open or -1 to close

The open fraction is then applied to scale the patch areas.

Usage

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

Boundary file

<patchName>
{
type wall;
...
}

Field file

<patchName>
{
// Mandatory entries
type activePressureForceBaffleVelocity;
cyclicPatch <word>;
orientation <label>;
openFraction <scalar>;
openingTime <scalar>;
maxOpenFractionDelta <scalar>;
minThresholdValue <scalar>;
forceBased <bool>;
opening <bool>;

// Optional entries
p <word>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: activeBaffleVelocitywordyes-
cyclicPatchName of cyclic patchwordyes-
orientationFlag to switch flow direction, either 1 or -1labelyes-
openFractionCurrent open fraction of patch [0-1]scalaryes-
openingTimeTime taken to open the bafflescalaryes-
maxOpenFractionDeltaMax open fraction change per timestepscalaryes-
minThresholdValueMin absolute pressure or force difference for activationscalaryes-
forceBasedForce (true) or pressure-based (false) activationboolyes-
openingBaffle is opening (true) or closing (false)boolyes-
pName of pressure fieldwordnop

The inherited entries are elaborated in:

  • fixedValueFvPatchField.H

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.0.0