Supersonic free stream condition. More...
#include <finiteVolume/supersonicFreestreamFvPatchVectorField.H>
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.
Definition at line 60 of file supersonicFreestreamFvPatchVectorField.H.
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.
|
supersonicFreestreamFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
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 from patch, internal field and dictionary.
Definition at line 73 of file supersonicFreestreamFvPatchVectorField.C.
References Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, dictionary::found(), fvPatchField< Type >::operator=(), fvPatch::size(), and Vector< Cmpt >::zero.
supersonicFreestreamFvPatchVectorField | ( | const supersonicFreestreamFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given supersonicFreestreamFvPatchVectorField.
onto a new patch
Definition at line 57 of file supersonicFreestreamFvPatchVectorField.C.
supersonicFreestreamFvPatchVectorField | ( | const supersonicFreestreamFvPatchVectorField & | sfspvf ) |
Construct as copy.
Definition at line 119 of file supersonicFreestreamFvPatchVectorField.C.
supersonicFreestreamFvPatchVectorField | ( | const supersonicFreestreamFvPatchVectorField & | sfspvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 132 of file supersonicFreestreamFvPatchVectorField.C.
TypeName | ( | "supersonicFreestream" | ) |
Runtime type information.
virtual tmp<fvPatchVectorField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Definition at line 119 of file supersonicFreestreamFvPatchVectorField.H.
References supersonicFreestreamFvPatchVectorField::supersonicFreestreamFvPatchVectorField().
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]
|
Write.
Definition at line 293 of file supersonicFreestreamFvPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().