OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

supersonicFreestreamFvPatchVectorField Class Reference

Supersonic free stream condition. More...

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.

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 55 of file supersonicFreestreamFvPatchVectorField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 31 of file supersonicFreestreamFvPatchVectorField.C.

References p.

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

Construct from patch, internal field and dictionary.

Definition at line 65 of file supersonicFreestreamFvPatchVectorField.C.

Construct by mapping given supersonicFreestreamFvPatchVectorField.

onto a new patch

Definition at line 49 of file supersonicFreestreamFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 124 of file supersonicFreestreamFvPatchVectorField.C.


Member Function Documentation

TypeName ( "supersonicFreestream"   ) 

Runtime type information.

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

Construct and return a clone.

Definition at line 116 of file supersonicFreestreamFvPatchVectorField.H.

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

Construct and return a clone setting internal field reference.

Definition at line 133 of file supersonicFreestreamFvPatchVectorField.H.

const vector& UInf (  )  const [inline]

Return the velocity at infinity.

Definition at line 149 of file supersonicFreestreamFvPatchVectorField.H.

vector& UInf (  )  [inline]

Return reference to the velocity at infinity to allow adjustment.

Definition at line 155 of file supersonicFreestreamFvPatchVectorField.H.

scalar pInf (  )  const [inline]

Return the pressure at infinity.

Definition at line 161 of file supersonicFreestreamFvPatchVectorField.H.

scalar& pInf (  )  [inline]

Return reference to the pressure at infinity to allow adjustment.

Definition at line 167 of file supersonicFreestreamFvPatchVectorField.H.

scalar TInf (  )  const [inline]

Return the temperature at infinity.

Definition at line 173 of file supersonicFreestreamFvPatchVectorField.H.

scalar& TInf (  )  [inline]

Return reference to the temperature at infinity.

to allow adjustment

Definition at line 182 of file supersonicFreestreamFvPatchVectorField.H.

void updateCoeffs (  )  [virtual]

Update the coefficients associated with the patch field.

Definition at line 139 of file supersonicFreestreamFvPatchVectorField.C.

void write ( Ostream &  os  )  const [virtual]

Write.

Definition at line 285 of file supersonicFreestreamFvPatchVectorField.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd