FreeFOAM The Cross-Platform CFD Toolkit
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.

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< fvPatchVectorFieldclone () const
 Construct and return a clone.
 supersonicFreestreamFvPatchVectorField (const supersonicFreestreamFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
const vectorUInf () const
 Return the velocity at infinity.
vectorUInf ()
 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< scalar >::zero.

Referenced by supersonicFreestreamFvPatchVectorField::clone().

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
inlinevirtual
virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual

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: