|
|
This file is part of OpenFOAM. OpenFOAM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenFOAM; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Pressure boundary condition obtained from a 0-D model of the cylinder
of a syringe. The syringe cylinder is defined by it's initial volume,
piston area and velocity profile specified by regions of constant
acceleration, speed and deceleration. The gas in the cylinder is
described by it's initial pressure and compressibility which is
assumed constant, i.e. isothermal expansion/compression.
Example of the BC specification:
outlet
{
type syringePressure;
Ap 1.388e-6; // syringe piston area
Sp 0.01; // syringe piston speed
VsI 1.388e-8; // Initial syringe volume
tas 0.001; // Start of piston acceleration
tae 0.002; // End of piston acceleration
tds 0.005; // Start of piston deceleration
tde 0.006; // end of piston deceleration
psI 1e5; // Initial syringe pressure
psi 1e-5; // Gas compressibility
ams 0; // Added (or removed) gas mass
// Initially 0 but used for restarting.
}
Definition in file syringePressureFvPatchScalarField.H.
Go to the source code of this file.
Namespaces | |
| namespace | Foam |
Classes | |
| class | syringePressureFvPatchScalarField |