Boundary condition that modifies mesh areas based on velocity. More...
#include <finiteVolume/activeBaffleVelocityFvPatchVectorField.H>
Boundary condition that modifies mesh areas based on velocity.
Definition at line 50 of file activeBaffleVelocityFvPatchVectorField.H.
Public Member Functions | |
TypeName ("activeBaffleVelocity") | |
Runtime type information.
| |
activeBaffleVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field.
| |
activeBaffleVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
activeBaffleVelocityFvPatchVectorField (const activeBaffleVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given activeBaffleVelocityFvPatchVectorField.
| |
activeBaffleVelocityFvPatchVectorField (const activeBaffleVelocityFvPatchVectorField &) | |
Construct as copy.
| |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone.
| |
activeBaffleVelocityFvPatchVectorField (const activeBaffleVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference.
| |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
Construct and return a clone setting internal field reference.
| |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object.
| |
virtual void | rmap (const fvPatchVectorField &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField.
| |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field.
| |
virtual void | write (Ostream &) const |
Write.
|
activeBaffleVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 35 of file activeBaffleVelocityFvPatchVectorField.C.
Referenced by activeBaffleVelocityFvPatchVectorField::clone().
activeBaffleVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 79 of file activeBaffleVelocityFvPatchVectorField.C.
References dictionary::found(), and dictionary::lookup().
activeBaffleVelocityFvPatchVectorField | ( | const activeBaffleVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given activeBaffleVelocityFvPatchVectorField.
onto a new patch
Definition at line 56 of file activeBaffleVelocityFvPatchVectorField.C.
Construct as copy.
Definition at line 108 of file activeBaffleVelocityFvPatchVectorField.C.
activeBaffleVelocityFvPatchVectorField | ( | const activeBaffleVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 128 of file activeBaffleVelocityFvPatchVectorField.C.
TypeName | ( | "activeBaffleVelocity" | ) |
Runtime type information.
virtual tmp<fvPatchVectorField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Definition at line 130 of file activeBaffleVelocityFvPatchVectorField.H.
References activeBaffleVelocityFvPatchVectorField::activeBaffleVelocityFvPatchVectorField().
virtual tmp<fvPatchVectorField> clone | ( | const DimensionedField< vector, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Definition at line 147 of file activeBaffleVelocityFvPatchVectorField.H.
References activeBaffleVelocityFvPatchVectorField::activeBaffleVelocityFvPatchVectorField().
void autoMap | ( | const fvPatchFieldMapper & | m ) | [virtual]
|
Map (and resize as needed) from self given a mapping object.
Note: cannot map field from cyclic patch anyway so just recalculate
Areas should be consistent when doing autoMap except in case of topo changes. ! Note: we don't want to use Sf here since triggers rebuilding of /*! fvMesh::S() which will give problems when mapped (since already on new mesh)
Definition at line 150 of file activeBaffleVelocityFvPatchVectorField.C.
void rmap | ( | const fvPatchVectorField & | ptf, |
const labelList & | addr | ||
) | [virtual]
|
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 171 of file activeBaffleVelocityFvPatchVectorField.C.
void updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Definition at line 188 of file activeBaffleVelocityFvPatchVectorField.C.
References fvPatch::boundaryMesh(), e, Foam::endl(), forAll, Foam::Info, Foam::mag(), Foam::max(), Foam::min(), Foam::sign(), List< T >::size(), and timeIndex.
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Definition at line 253 of file activeBaffleVelocityFvPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, fvPatchField< Type >::write(), and Ostream::writeKeyword().