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

supersonicFreestreamFvPatchVectorField Class Reference

Supersonic free stream condition. More...

#include <finiteVolume/supersonicFreestreamFvPatchVectorField.H>


Detailed Description

Supersonic free stream condition.

Supersonic outflow is vented according to ???

Supersonic inflow is assumed to occur according to the Prandtl-Meyer expansion process.

Subsonic outflow is zero-gradiented from inside the domain.

N.B. This boundary condition is ill-posed if the free-stream flow is normal to the boundary.

Source files

Definition at line 60 of file supersonicFreestreamFvPatchVectorField.H.

Collaboration diagram for supersonicFreestreamFvPatchVectorField:

List of all members.

Public Member Functions

 TypeName ("supersonicFreestream")
 Runtime type information.
 supersonicFreestreamFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 supersonicFreestreamFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 supersonicFreestreamFvPatchVectorField (const supersonicFreestreamFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given supersonicFreestreamFvPatchVectorField.
 supersonicFreestreamFvPatchVectorField (const supersonicFreestreamFvPatchVectorField &)
 Construct as copy.
virtual tmp< fvPatchVectorField >  clone () const
 Construct and return a clone.
 supersonicFreestreamFvPatchVectorField (const supersonicFreestreamFvPatchVectorField &, 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 vector &  UInf () const
 Return the velocity at infinity.
vector &  UInf ()
 Return reference to the velocity at infinity to allow adjustment.
scalar  pInf () const
 Return the pressure at infinity.
scalar &  pInf ()
 Return reference to the pressure at infinity to allow adjustment.
scalar  TInf () const
 Return the temperature at infinity.
scalar &  TInf ()
 Return reference to the temperature at infinity.
virtual void  updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void  write (Ostream &) const
 Write.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 39 of file supersonicFreestreamFvPatchVectorField.C.

References Vector< Cmpt >::zero.

Referenced by supersonicFreestreamFvPatchVectorField::clone().

supersonicFreestreamFvPatchVectorField ( const fvPatch &   p,
const DimensionedField< vector, volMesh > &   iF,
const dictionary &   dict  
)

Construct by mapping given supersonicFreestreamFvPatchVectorField.

onto a new patch

Definition at line 57 of file supersonicFreestreamFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 132 of file supersonicFreestreamFvPatchVectorField.C.


Member Function Documentation

TypeName ( "supersonicFreestream"    )

Runtime type information.

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

Construct and return a clone setting internal field reference.

Definition at line 136 of file supersonicFreestreamFvPatchVectorField.H.

References supersonicFreestreamFvPatchVectorField::supersonicFreestreamFvPatchVectorField().

const vector& UInf (  ) const [inline]

Return the velocity at infinity.

Definition at line 152 of file supersonicFreestreamFvPatchVectorField.H.

vector& UInf (  ) [inline]

Return reference to the velocity at infinity to allow adjustment.

Definition at line 158 of file supersonicFreestreamFvPatchVectorField.H.

scalar pInf (  ) const [inline]

Return the pressure at infinity.

Definition at line 164 of file supersonicFreestreamFvPatchVectorField.H.

scalar& pInf (  ) [inline]

Return reference to the pressure at infinity to allow adjustment.

Definition at line 170 of file supersonicFreestreamFvPatchVectorField.H.

scalar TInf (  ) const [inline]

Return the temperature at infinity.

Definition at line 176 of file supersonicFreestreamFvPatchVectorField.H.

scalar& TInf (  ) [inline]

Return reference to the temperature at infinity.

to allow adjustment

Definition at line 183 of file supersonicFreestreamFvPatchVectorField.H.

void updateCoeffs (  ) [virtual]

Update the coefficients associated with the patch field.

Definition at line 147 of file supersonicFreestreamFvPatchVectorField.C.

References Foam::atan(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, Foam::log(), Foam::mag(), Foam::pow(), R, Foam::sqr(), Foam::sqrt(), and U.

void write ( Ostream &   os  ) const [virtual]

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