Velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: SRFModel class) More...
Public Member Functions | |
TypeName ("SRFVelocity") | |
SRFVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
SRFVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
SRFVelocityFvPatchVectorField (const SRFVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
SRFVelocityFvPatchVectorField (const SRFVelocityFvPatchVectorField &) | |
virtual tmp< fvPatchVectorField > | clone () const |
SRFVelocityFvPatchVectorField (const SRFVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
bool | relative () const |
virtual void | autoMap (const fvPatchFieldMapper &) |
virtual void | rmap (const fvPatchVectorField &, const labelList &) |
virtual void | updateCoeffs () |
virtual void | write (Ostream &) const |
Velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: SRFModel class)
Given the free stream velocity in the absolute frame, the condition applies the appropriate rotation transformation in time and space to determine the local velocity.
The optional relative
flag switches the behaviour of the patch such that:
where
![]() | = | patch velocity [m/s] |
![]() | = | user-specified inlet velocity |
![]() | = | SRF velocity |
Property | Description | Required | Default value |
---|---|---|---|
inletValue | inlet velocity | yes | |
relative | inletValue relative motion to the SRF? | yes |
Example of the boundary condition specification:
<patchName> { type SRFVelocity; inletValue uniform (0 0 0); relative yes; value uniform (0 0 0); // initial value }
Definition at line 127 of file SRFVelocityFvPatchVectorField.H.
SRFVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 30 of file SRFVelocityFvPatchVectorField.C.
Referenced by SRFVelocityFvPatchVectorField::clone().
SRFVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 56 of file SRFVelocityFvPatchVectorField.C.
SRFVelocityFvPatchVectorField | ( | const SRFVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 42 of file SRFVelocityFvPatchVectorField.C.
SRFVelocityFvPatchVectorField | ( | const SRFVelocityFvPatchVectorField & | srfvpvf | ) |
Definition at line 69 of file SRFVelocityFvPatchVectorField.C.
SRFVelocityFvPatchVectorField | ( | const SRFVelocityFvPatchVectorField & | srfvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 80 of file SRFVelocityFvPatchVectorField.C.
TypeName | ( | "SRFVelocity" | ) |
|
inlinevirtual |
Definition at line 180 of file SRFVelocityFvPatchVectorField.H.
References SRFVelocityFvPatchVectorField::SRFVelocityFvPatchVectorField().
|
inlinevirtual |
Definition at line 197 of file SRFVelocityFvPatchVectorField.H.
References SRFVelocityFvPatchVectorField::SRFVelocityFvPatchVectorField().
|
inline |
Definition at line 213 of file SRFVelocityFvPatchVectorField.H.
Referenced by SRFModel::Uabs().
|
virtual |
Definition at line 94 of file SRFVelocityFvPatchVectorField.C.
|
virtual |
Definition at line 104 of file SRFVelocityFvPatchVectorField.C.
|
virtual |
Definition at line 118 of file SRFVelocityFvPatchVectorField.C.
References Foam::operator==(), Foam::foamVersion::patch, and SRFModel::velocity().
|
virtual |
Definition at line 148 of file SRFVelocityFvPatchVectorField.C.
References os(), fvPatchField::write(), and Ostream::writeEntry().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.