This boundary condition provides a supersonic free-stream condition. More...
#include <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. | |
| supersonicFreestreamFvPatchVectorField (const supersonicFreestreamFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< vector > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Clone with an 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. | |
This boundary condition provides a supersonic free-stream condition.
| Property | Description | Required | Default value |
|---|---|---|---|
T | Temperature field name | no | T |
p | Pressure field name | no | p |
psi | Compressibility field name | no | thermo:psi |
UInf | free-stream velocity | yes | |
pInf | free-stream pressure | yes | |
TInf | free-stream temperature | yes | |
gamma | heat capacity ratio (cp/Cv) | yes |
Example of the boundary condition specification:
<patchName>
{
type supersonicFreestream;
UInf 500;
pInf 1e4;
TInf 265;
gamma 1.4;
}
Definition at line 124 of file supersonicFreestreamFvPatchVectorField.H.
| supersonicFreestreamFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 29 of file supersonicFreestreamFvPatchVectorField.C.
References p, and Foam::Zero.
Referenced by supersonicFreestreamFvPatchVectorField(), supersonicFreestreamFvPatchVectorField(), supersonicFreestreamFvPatchVectorField(), and TypeName().

| supersonicFreestreamFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 51 of file supersonicFreestreamFvPatchVectorField.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, p, fvPatchFieldBase::readDict(), and Foam::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 91 of file supersonicFreestreamFvPatchVectorField.C.
References p, and supersonicFreestreamFvPatchVectorField().

| supersonicFreestreamFvPatchVectorField | ( | const supersonicFreestreamFvPatchVectorField & | sfspvf | ) |
Construct as copy.
Definition at line 111 of file supersonicFreestreamFvPatchVectorField.C.
References supersonicFreestreamFvPatchVectorField().

| supersonicFreestreamFvPatchVectorField | ( | const supersonicFreestreamFvPatchVectorField & | sfspvf, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 128 of file supersonicFreestreamFvPatchVectorField.C.
References supersonicFreestreamFvPatchVectorField().

| TypeName | ( | "supersonicFreestream" | ) |
Runtime type information.
References supersonicFreestreamFvPatchVectorField().

|
inlinevirtual |
Return a clone.
Definition at line 228 of file supersonicFreestreamFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Clone with an internal field reference.
Definition at line 236 of file supersonicFreestreamFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
inline |
Return the velocity at infinity.
Definition at line 252 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Return reference to the velocity at infinity to allow adjustment.
Definition at line 260 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Return the pressure at infinity.
Definition at line 268 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Return reference to the pressure at infinity to allow adjustment.
Definition at line 276 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Return the temperature at infinity.
Definition at line 284 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Return reference to the temperature at infinity.
to allow adjustment
Definition at line 294 of file supersonicFreestreamFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 148 of file supersonicFreestreamFvPatchVectorField.C.
References Foam::atan(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::log(), Foam::mag(), Foam::pow(), pp(), R, Foam::sqr(), Foam::sqrt(), and U.

|
virtual |
Write.
Definition at line 281 of file supersonicFreestreamFvPatchVectorField.C.
References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().
