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

timeVaryingFlowRateInletVelocityFvPatchVectorField Class Reference

A time-varying form of a flow normal vector boundary condition. More...

#include <finiteVolume/timeVaryingFlowRateInletVelocityFvPatchVectorField.H>


Detailed Description

A time-varying form of a flow normal vector boundary condition.

Example of the boundary condition specification:

inlet
{
typetimeVaryingFlowRateInletVelocity;
flowRate0.2; // Volumetric/mass flow rate [m3/s or kg/s]
value   uniform (0 0 0);  // placeholder
fileName"$FOAM_CASE/time-series";
outOfBounds repeat;   // (error|warn|clamp|repeat)
}
Note:
  • The value is positive inwards
  • may not work correctly for transonic inlets!
  • strange behaviour with potentialFoam since the U equation is not solved
See also:
Foam::interpolationTable and Foam::flowRateInletVelocityFvPatchVectorField
Source files

Definition at line 69 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.H.

Inheritance diagram for timeVaryingFlowRateInletVelocityFvPatchVectorField:
Collaboration diagram for timeVaryingFlowRateInletVelocityFvPatchVectorField:

List of all members.

Public Member Functions

 TypeName ("timeVaryingFlowRateInletVelocity")
 Runtime type information.
 timeVaryingFlowRateInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 timeVaryingFlowRateInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 timeVaryingFlowRateInletVelocityFvPatchVectorField (const timeVaryingFlowRateInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given patch field onto a new patch.
 timeVaryingFlowRateInletVelocityFvPatchVectorField (const timeVaryingFlowRateInletVelocityFvPatchVectorField &)
 Construct as copy.
virtual tmp< fvPatchVectorField >  clone () const
 Construct and return a clone.
 timeVaryingFlowRateInletVelocityFvPatchVectorField (const timeVaryingFlowRateInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchVectorField >  clone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
const interpolationTable
< scalar > &  
timeSeries () const
 Return the time series used.
virtual void  updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void  write (Ostream &) const
 Write.

Constructor & Destructor Documentation

Construct from patch, internal field and dictionary.

Definition at line 63 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.

Construct by mapping given patch field onto a new patch.

Definition at line 49 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 87 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "timeVaryingFlowRateInletVelocity"    )

Runtime type information.

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &   iF  ) const [inline, virtual]
const interpolationTable<scalar>& timeSeries (  ) const [inline]

Return the time series used.

Definition at line 155 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.H.

void updateCoeffs (  ) [virtual]

Update the coefficients associated with the patch field.

Reimplemented from flowRateInletVelocityFvPatchVectorField.

Definition at line 100 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.

References flowRateInletVelocityFvPatchVectorField::flowRate().

void write ( Ostream &   os  ) const [virtual]

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