This boundary condition provides a velocity condition for cases with moving walls. In addition, it should also be applied to 'moving' walls for moving reference frame (MRF) calculations. More...
Public Member Functions | |
TypeName ("movingWallVelocity") | |
Runtime type information. More... | |
movingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
movingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given movingWallVelocityFvPatchVectorField. More... | |
movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone. More... | |
movingWallVelocityFvPatchVectorField (const movingWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy 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... | |
Private Attributes | |
word | UName_ |
Name of velocity field. More... | |
This boundary condition provides a velocity condition for cases with moving walls. In addition, it should also be applied to 'moving' walls for moving reference frame (MRF) calculations.
Property | Description | Required | Default value |
---|---|---|---|
U | velociy field name | no | U |
Example of the boundary condition specification:
myPatch { type movingWallVelocity; U U; value uniform (0 0 0); // initial value }
Definition at line 86 of file movingWallVelocityFvPatchVectorField.H.
movingWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 37 of file movingWallVelocityFvPatchVectorField.C.
Referenced by movingWallVelocityFvPatchVectorField::clone().
movingWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 63 of file movingWallVelocityFvPatchVectorField.C.
References dict, p, and vectorField().
movingWallVelocityFvPatchVectorField | ( | const movingWallVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given movingWallVelocityFvPatchVectorField.
onto a new patch
Definition at line 49 of file movingWallVelocityFvPatchVectorField.C.
movingWallVelocityFvPatchVectorField | ( | const movingWallVelocityFvPatchVectorField & | mwvpvf | ) |
Construct as copy.
Definition at line 78 of file movingWallVelocityFvPatchVectorField.C.
movingWallVelocityFvPatchVectorField | ( | const movingWallVelocityFvPatchVectorField & | mwvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 89 of file movingWallVelocityFvPatchVectorField.C.
TypeName | ( | "movingWallVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 136 of file movingWallVelocityFvPatchVectorField.H.
References movingWallVelocityFvPatchVectorField::movingWallVelocityFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 153 of file movingWallVelocityFvPatchVectorField.H.
References movingWallVelocityFvPatchVectorField::movingWallVelocityFvPatchVectorField().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 101 of file movingWallVelocityFvPatchVectorField.C.
References dimensionedInternalField(), polyPatch::faceCentres(), forAll, mesh, Foam::fvc::meshPhi(), n, Field::operator=(), p, U, and movingWallVelocityFvPatchVectorField::UName_.
|
virtual |
Write.
Definition at line 145 of file movingWallVelocityFvPatchVectorField.C.
References fvPatchField::write().
|
private |
Name of velocity field.
Definition at line 93 of file movingWallVelocityFvPatchVectorField.H.
Referenced by movingWallVelocityFvPatchVectorField::updateCoeffs().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.