This boundary condition provides a supersonic free-stream condition. More...


Public Member Functions | |
| TypeName ("supersonicFreestream") | |
| Runtime type information. More... | |
| supersonicFreestreamFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. More... | |
| supersonicFreestreamFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| supersonicFreestreamFvPatchVectorField (const this_bctype &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping onto a new patch. More... | |
| supersonicFreestreamFvPatchVectorField (const this_bctype &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. More... | |
| supersonicFreestreamFvPatchVectorField (const this_bctype &)=delete | |
| No copy without an internal field. More... | |
| virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Clone with an internal field reference. More... | |
| const vector & | UInf () const |
| Return the velocity at infinity. More... | |
| vector & | UInf () |
| Return reference to the velocity at infinity to allow adjustment. More... | |
| scalar | pInf () const |
| Return the pressure at infinity. More... | |
| scalar & | pInf () |
| Return reference to the pressure at infinity to allow adjustment. More... | |
| scalar | TInf () const |
| Return the temperature at infinity. More... | |
| scalar & | TInf () |
| Return reference to the temperature at infinity. More... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
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 & | , |
| 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 this_bctype & | , |
| const fvPatch & | , | ||
| const DimensionedField< vector, volMesh > & | , | ||
| const fvPatchFieldMapper & | |||
| ) |
Construct by mapping onto a new patch.
| supersonicFreestreamFvPatchVectorField | ( | const this_bctype & | , |
| const DimensionedField< vector, volMesh > & | |||
| ) |
Construct as copy setting internal field reference.
|
delete |
No copy without an internal field.
| TypeName | ( | "supersonicFreestream" | ) |
Runtime type information.
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 227 of file supersonicFreestreamFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
inline |
Return the velocity at infinity.
Definition at line 242 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Return reference to the velocity at infinity to allow adjustment.
Definition at line 250 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Return the pressure at infinity.
Definition at line 258 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Return reference to the pressure at infinity to allow adjustment.
Definition at line 266 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Return the temperature at infinity.
Definition at line 274 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Return reference to the temperature at infinity.
to allow adjustment
Definition at line 284 of file supersonicFreestreamFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
|
virtual |
Write.