Skip to main content

activePressureForceBaffleVelocity

Description

The activePressureForceBaffleVelocity is a velocity boundary condition to simulate 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.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

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

// Optional entries
p <word>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: activePressureForceBaffleVelocitywordyes-
cyclicPatchName of cyclic patch used when the active baffle is openwordyes-
openFractionCurrent fraction of the active baffle which is openscalaryes-
openingTimeTime taken for the active baffle to openscalaryes-
maxOpenFractionDeltaMaximum fractional change to the active baffle openness per time stepscalaryes-
minThresholdValueMinimum value for the active baffle to start openingscalaryes-
forceBasedFlag to activate force based baffleboolyes-
openingFlag to decide if baffle is opening or closing (1 opening, 0 closing)boolyes-
pName of pressure fieldwordnop

The inherited entries are elaborated in:

  • fixedValueFvPatchField.H

Method

The baffle joins two mesh regions, where the open fraction determines the interpolation weights applied to each cyclic- and neighbour-patch contribution. This means that this is boundary 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×dtDT x = x_{old} + s \times \frac{dt}{DT}

where:

PropertyDescription
xxBaffle open fraction [0-1]
xoldx_{old}Baffle open fraction on previous evaluation
ssSign for orientation: 1 to open or -1 to close
dtdtSimulation time step
DTDTTime taken to open the baffle

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

Further information

Tutorial:

Source code:

API:

History: Introduced in version 1.5