FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

syringePressureFvPatchScalarField Class Reference

Pressure boundary condition obtained from a 0-D model of the cylinder of a syringe. More...

#include <finiteVolume/syringePressureFvPatchScalarField.H>


Detailed Description

Pressure boundary condition obtained from a 0-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.

Example of the BC specification:

outlet
{
typesyringePressure;
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.
}
Source files

Definition at line 75 of file syringePressureFvPatchScalarField.H.

List of all members.

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.
virtual tmp< fvPatchScalarField >  clone () const
 Construct and return a clone.
 syringePressureFvPatchScalarField (const syringePressureFvPatchScalarField &)
 Construct as copy.
 syringePressureFvPatchScalarField (const syringePressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchScalarField >  clone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
virtual void  updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void  write (Ostream &) const
 Write.

Constructor & Destructor Documentation

syringePressureFvPatchScalarField ( const fvPatch &   p,
const DimensionedField< scalar, volMesh > &   iF  
)

Construct from patch and internal field.

Definition at line 40 of file syringePressureFvPatchScalarField.C.

Referenced by syringePressureFvPatchScalarField::clone().

syringePressureFvPatchScalarField ( const fvPatch &   p,
const DimensionedField< scalar, volMesh > &   iF,
const dictionary &   dict  
)

Construct from patch, internal field and dictionary.

Definition at line 75 of file syringePressureFvPatchScalarField.C.

References fvPatchField< Type >::operator=().

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 51 of file syringePressureFvPatchScalarField.C.

Construct as copy.

Definition at line 123 of file syringePressureFvPatchScalarField.C.

Construct as copy setting internal field reference.

Definition at line 101 of file syringePressureFvPatchScalarField.C.


Member Function Documentation

TypeName ( "syringePressure"    )

Runtime type information.

virtual tmp<fvPatchScalarField> clone (  ) const [inline, virtual]

Construct and return a clone.

Definition at line 156 of file syringePressureFvPatchScalarField.H.

References syringePressureFvPatchScalarField::syringePressureFvPatchScalarField().

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &   iF  ) const [inline, virtual]

Construct and return a clone setting internal field reference.

Definition at line 179 of file syringePressureFvPatchScalarField.H.

References syringePressureFvPatchScalarField::syringePressureFvPatchScalarField().

void updateCoeffs (  ) [virtual]
void write ( Ostream &   os  ) const [virtual]

The documentation for this class was generated from the following files: