This boundary condition provides a supersonic free-stream condition. 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 & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 31 of file supersonicFreestreamFvPatchVectorField.C.
References Foam::Zero.
Referenced by supersonicFreestreamFvPatchVectorField::clone().
supersonicFreestreamFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 53 of file supersonicFreestreamFvPatchVectorField.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, p, Foam::foamVersion::patch, and Foam::Zero.
supersonicFreestreamFvPatchVectorField | ( | const supersonicFreestreamFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 100 of file supersonicFreestreamFvPatchVectorField.C.
supersonicFreestreamFvPatchVectorField | ( | const supersonicFreestreamFvPatchVectorField & | sfspvf | ) |
Definition at line 120 of file supersonicFreestreamFvPatchVectorField.C.
supersonicFreestreamFvPatchVectorField | ( | const supersonicFreestreamFvPatchVectorField & | sfspvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 137 of file supersonicFreestreamFvPatchVectorField.C.
TypeName | ( | "supersonicFreestream" | ) |
|
inlinevirtual |
Definition at line 192 of file supersonicFreestreamFvPatchVectorField.H.
References supersonicFreestreamFvPatchVectorField::supersonicFreestreamFvPatchVectorField().
|
inlinevirtual |
Definition at line 209 of file supersonicFreestreamFvPatchVectorField.H.
References supersonicFreestreamFvPatchVectorField::supersonicFreestreamFvPatchVectorField().
|
inline |
Definition at line 225 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Definition at line 231 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Definition at line 237 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Definition at line 243 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Definition at line 249 of file supersonicFreestreamFvPatchVectorField.H.
|
inline |
Definition at line 256 of file supersonicFreestreamFvPatchVectorField.H.
|
virtual |
Definition at line 155 of file supersonicFreestreamFvPatchVectorField.C.
References Foam::atan(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::log(), Foam::mag(), Foam::foamVersion::patch, Foam::pow(), R, Foam::sqr(), Foam::sqrt(), and U.
|
virtual |
Definition at line 291 of file supersonicFreestreamFvPatchVectorField.C.
References os(), fvPatchField::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.