This boundary condition provides a pressure condition, obtained from a zero-D model of the cylinder of a syringe. More...
#include <syringePressureFvPatchScalarField.H>


Public Member Functions | |
| TypeName ("syringePressure") | |
| Runtime type information. | |
| syringePressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| syringePressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| syringePressureFvPatchScalarField (const syringePressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given syringePressureFvPatchScalarField. | |
| syringePressureFvPatchScalarField (const syringePressureFvPatchScalarField &) | |
| Construct as copy. | |
| syringePressureFvPatchScalarField (const syringePressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< scalar > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Clone with an internal field reference. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
This boundary condition 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.
| Property | Description | Required | Default value |
|---|---|---|---|
Ap | syringe piston area [m2] | yes | |
Sp | syringe piston speed [m/s] | yes | |
VsI | initial syringe volume [m3] | yes | |
tas | start of piston acceleration [s] | yes | |
tae | end of piston acceleration [s] | yes | |
tds | start of piston deceleration [s] | yes | |
tde | end of piston deceleration [s] | yes | |
psI | initial syringe pressure [Pa] | yes | |
psi | gas compressibility [m2/s2] | yes | |
ams | added (or removed) gas mass [kg] | yes |
Example of the BC specification:
<patchName>
{
type syringePressure;
Ap 1.388e-6;
Sp 0.01;
VsI 1.388e-8;
tas 0.001;
tae 0.002;
tds 0.005;
tde 0.006;
psI 1e5;
psi 1e-5;
ams 0;
value uniform 0;
}
Definition at line 148 of file syringePressureFvPatchScalarField.H.
| syringePressureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 30 of file syringePressureFvPatchScalarField.C.
References p.
Referenced by syringePressureFvPatchScalarField(), syringePressureFvPatchScalarField(), syringePressureFvPatchScalarField(), and TypeName().

| syringePressureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 42 of file syringePressureFvPatchScalarField.C.
References dict, fvPatchField< Type >::operator=(), and p.

| syringePressureFvPatchScalarField | ( | const syringePressureFvPatchScalarField & | sppsf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper ) |
Construct by mapping given syringePressureFvPatchScalarField.
onto a new patch
Definition at line 69 of file syringePressureFvPatchScalarField.C.
References p, and syringePressureFvPatchScalarField().

| syringePressureFvPatchScalarField | ( | const syringePressureFvPatchScalarField & | sppsf | ) |
Construct as copy.
Definition at line 117 of file syringePressureFvPatchScalarField.C.
References syringePressureFvPatchScalarField().

| syringePressureFvPatchScalarField | ( | const syringePressureFvPatchScalarField & | sppsf, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 94 of file syringePressureFvPatchScalarField.C.
References syringePressureFvPatchScalarField().

| TypeName | ( | "syringePressure" | ) |
Runtime type information.
References syringePressureFvPatchScalarField().

|
inlinevirtual |
Return a clone.
Definition at line 290 of file syringePressureFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Clone with an internal field reference.
Definition at line 298 of file syringePressureFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 180 of file syringePressureFvPatchScalarField.C.
References Foam::dimMass, Foam::dimTime, Foam::dimVolume, Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::operator==(), Foam::sum(), and timeIndex.

|
virtual |
Write.
Definition at line 224 of file syringePressureFvPatchScalarField.C.
References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().
