Skip to main content

syringePressure

Description

The syringePressure is a boundary condition that provides a pressure condition, obtained from a zero-D model of the cylinder of a syringe.

The syringe cylinder is defined by its initial volume, piston area and velocity profile specified by regions of constant acceleration, speed and deceleration. The gas in the cylinder is described by its initial pressure and compressibility which is assumed constant, i.e. isothermal expansion/compression.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type syringePressure;
Ap <scalar>;
Sp <scalar>;
VsI <scalar>;
tas <scalar>;
tae <scalar>;
tds <scalar>;
tde <scalar>;
psI <scalar>;
psi <scalar>;
ams <scalar>;

// Optional entries
phi <word>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: syringePressurewordyes-
ApSyringe piston area [m^2]scalaryes-
SpSyringe piston speed [m/s]scalaryes-
VsIInitial syringe volume [m^3]scalaryes-
tasStart of piston acceleration [s]scalaryes-
taeEnd of piston acceleration [s]scalaryes-
tdsStart of piston deceleration [s]scalaryes-
tdeEnd of piston deceleration [s]scalaryes-
psIInitial syringe pressure [Pa]scalaryes-
psiGas compressibility [m^2/s^2]scalaryes-
amsAdded (or removed) gas mass [kg]scalaryes-
phiName of flux fieldwordnophi

The inherited entries are elaborated in:

Further information

Tutorial:

  • N/A

Source code:

API:

History: Introduced in version 1.5