Wall-velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: FOAM::SRFModel) More...
Public Member Functions | |
TypeName ("SRFWallVelocity") | |
Runtime type information. More... | |
SRFWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
SRFWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given SRFWallVelocityFvPatchVectorField. More... | |
SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &)=delete | |
Disallow copy without setting internal field reference. More... | |
SRFWallVelocityFvPatchVectorField (const SRFWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Copy constructor setting internal field reference. More... | |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. More... | |
virtual void | rmap (const fvPatchVectorField &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Wall-velocity condition to be used in conjunction with the single rotating frame (SRF) model (see: FOAM::SRFModel)
The condition applies the appropriate rotation transformation in time and space to determine the local SRF velocity of the wall.
where
= | |
= |
The normal component of is removed to ensure 0 wall-flux even if the wall patch faces are irregular.
<patchName> { type SRFWallVelocity; value uniform (0 0 0); // Initial value }
Definition at line 88 of file SRFWallVelocityFvPatchVectorField.H.
SRFWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 35 of file SRFWallVelocityFvPatchVectorField.C.
Referenced by SRFWallVelocityFvPatchVectorField::clone(), and SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().
SRFWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 45 of file SRFWallVelocityFvPatchVectorField.C.
References SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().
SRFWallVelocityFvPatchVectorField | ( | const SRFWallVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given SRFWallVelocityFvPatchVectorField.
onto a new patch
Definition at line 56 of file SRFWallVelocityFvPatchVectorField.C.
References SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().
|
delete |
Disallow copy without setting internal field reference.
SRFWallVelocityFvPatchVectorField | ( | const SRFWallVelocityFvPatchVectorField & | srfvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 68 of file SRFWallVelocityFvPatchVectorField.C.
References SRFWallVelocityFvPatchVectorField::autoMap().
TypeName | ( | "SRFWallVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 141 of file SRFWallVelocityFvPatchVectorField.H.
References SRFWallVelocityFvPatchVectorField::autoMap(), SRFWallVelocityFvPatchVectorField::rmap(), SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField(), SRFWallVelocityFvPatchVectorField::updateCoeffs(), and SRFWallVelocityFvPatchVectorField::write().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Used to update fields following mesh topology change
Definition at line 80 of file SRFWallVelocityFvPatchVectorField.C.
References SRFWallVelocityFvPatchVectorField::rmap().
Referenced by SRFWallVelocityFvPatchVectorField::clone(), and SRFWallVelocityFvPatchVectorField::SRFWallVelocityFvPatchVectorField().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Definition at line 89 of file SRFWallVelocityFvPatchVectorField.C.
Referenced by SRFWallVelocityFvPatchVectorField::autoMap(), and SRFWallVelocityFvPatchVectorField::clone().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 98 of file SRFWallVelocityFvPatchVectorField.C.
References n, Field< vector >::operator=(), and SRFModel::velocity().
Referenced by SRFWallVelocityFvPatchVectorField::clone().
|
virtual |
Write.
Definition at line 121 of file SRFWallVelocityFvPatchVectorField.C.
References Foam::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().
Referenced by SRFWallVelocityFvPatchVectorField::clone().