Rotating wall-velocity condition to be used for a slip-wall rotating with the moving frame in an MRF (multi-reference frame) or SRF (single reference frame) case. More...
Public Member Functions | |
TypeName ("MRFslip") | |
Runtime type information. More... | |
MRFslipFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
MRFslipFvPatchVectorField (const MRFslipFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fieldMapper &) | |
Construct by mapping given MRFslipFvPatchVectorField. More... | |
MRFslipFvPatchVectorField (const MRFslipFvPatchVectorField &)=delete | |
Disallow copy without setting internal field reference. More... | |
MRFslipFvPatchVectorField (const MRFslipFvPatchVectorField &, 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 | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Public Member Functions inherited from MRFPatchField | |
MRFPatchField () | |
Construct null. More... | |
MRFPatchField (const dictionary &) | |
Construct from dictionary. More... | |
const MRFZone & | MRFzone (const objectRegistry &obr) const |
void | makeAbsolute (fvPatchField< vector > &Up) const |
void | makeRelative (fvPatchField< vector > &Up) const |
void | write (Ostream &) const |
Rotating wall-velocity condition to be used for a slip-wall rotating with the moving frame in an MRF (multi-reference frame) or SRF (single reference frame) case.
SRF cases are simply MRF cases with a single MRF zone which covers the entire domain.
<patchName> { type MRFslip; }or if the case has several MRF zones the particular zone this patch is in must be named explicitly, e.g.:
<patchName> { type MRFslip; MRFZoneName rotor; }
Definition at line 77 of file MRFslipFvPatchVectorField.H.
MRFslipFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 32 of file MRFslipFvPatchVectorField.C.
References dict, DimensionedField< Type, GeoMesh >::dimensions(), fvPatchField< Type >::operator=(), p, and Foam::Zero.
Referenced by MRFslipFvPatchVectorField::clone().
MRFslipFvPatchVectorField | ( | const MRFslipFvPatchVectorField & | pvf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given MRFslipFvPatchVectorField.
onto a new patch
Definition at line 56 of file MRFslipFvPatchVectorField.C.
|
delete |
Disallow copy without setting internal field reference.
MRFslipFvPatchVectorField | ( | const MRFslipFvPatchVectorField & | pvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 69 of file MRFslipFvPatchVectorField.C.
TypeName | ( | "MRFslip" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 123 of file MRFslipFvPatchVectorField.H.
References MRFslipFvPatchVectorField::MRFslipFvPatchVectorField().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 82 of file MRFslipFvPatchVectorField.C.
References Foam::I, Foam::fvc::makeAbsolute(), Foam::fvc::makeRelative(), Field< vector >::operator=(), Foam::sqr(), and Foam::transform().
|
virtual |
Write.
Definition at line 107 of file MRFslipFvPatchVectorField.C.
References MRFPatchField::write(), fvPatchField< Type >::write(), and Foam::writeEntry().