Inlet velocity in which the actual interstitial velocity is calculated by dividing the specified inletVelocity field with the local phase-fraction. More...
Public Member Functions | |
TypeName ("interstitialInletVelocity") | |
Runtime type information. More... | |
interstitialInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
interstitialInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
interstitialInletVelocityFvPatchVectorField (const interstitialInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
interstitialInletVelocityFvPatchVectorField (const interstitialInletVelocityFvPatchVectorField &)=delete | |
Disallow copy without setting internal field reference. More... | |
interstitialInletVelocityFvPatchVectorField (const interstitialInletVelocityFvPatchVectorField &, 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 | reset (const fvPatchVectorField &) |
Reset the fvPatchField to the given fvPatchField. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Inlet velocity in which the actual interstitial velocity is calculated by dividing the specified inletVelocity field with the local phase-fraction.
Example of the boundary condition specification:
inlet { type interstitialInletVelocity; inletVelocity uniform (0 0.2 0);// Non-interstitial inlet velocity alpha alpha.particles; // Name of the phase-fraction field value uniform (0 0 0); }
Definition at line 59 of file interstitialInletVelocityFvPatchVectorField.H.
interstitialInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file interstitialInletVelocityFvPatchVectorField.C.
Referenced by interstitialInletVelocityFvPatchVectorField::clone(), and interstitialInletVelocityFvPatchVectorField::interstitialInletVelocityFvPatchVectorField().
interstitialInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 49 of file interstitialInletVelocityFvPatchVectorField.C.
References interstitialInletVelocityFvPatchVectorField::interstitialInletVelocityFvPatchVectorField().
interstitialInletVelocityFvPatchVectorField | ( | const interstitialInletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
interstitialInletVelocityFvPatchVectorField onto a new patch
Definition at line 63 of file interstitialInletVelocityFvPatchVectorField.C.
References interstitialInletVelocityFvPatchVectorField::interstitialInletVelocityFvPatchVectorField().
|
delete |
Disallow copy without setting internal field reference.
interstitialInletVelocityFvPatchVectorField | ( | const interstitialInletVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 78 of file interstitialInletVelocityFvPatchVectorField.C.
References interstitialInletVelocityFvPatchVectorField::autoMap().
TypeName | ( | "interstitialInletVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 121 of file interstitialInletVelocityFvPatchVectorField.H.
References interstitialInletVelocityFvPatchVectorField::autoMap(), interstitialInletVelocityFvPatchVectorField::interstitialInletVelocityFvPatchVectorField(), interstitialInletVelocityFvPatchVectorField::reset(), interstitialInletVelocityFvPatchVectorField::rmap(), interstitialInletVelocityFvPatchVectorField::updateCoeffs(), and interstitialInletVelocityFvPatchVectorField::write().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Used to update fields following mesh topology change
Definition at line 92 of file interstitialInletVelocityFvPatchVectorField.C.
References interstitialInletVelocityFvPatchVectorField::rmap().
Referenced by interstitialInletVelocityFvPatchVectorField::clone(), and interstitialInletVelocityFvPatchVectorField::interstitialInletVelocityFvPatchVectorField().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Definition at line 102 of file interstitialInletVelocityFvPatchVectorField.C.
References interstitialInletVelocityFvPatchVectorField::reset(), and interstitialInletVelocityFvPatchVectorField::rmap().
Referenced by interstitialInletVelocityFvPatchVectorField::autoMap(), interstitialInletVelocityFvPatchVectorField::clone(), and interstitialInletVelocityFvPatchVectorField::rmap().
|
virtual |
Reset the fvPatchField to the given fvPatchField.
Used for mesh to mesh mapping
Definition at line 117 of file interstitialInletVelocityFvPatchVectorField.C.
References interstitialInletVelocityFvPatchVectorField::reset().
Referenced by interstitialInletVelocityFvPatchVectorField::clone(), interstitialInletVelocityFvPatchVectorField::reset(), and interstitialInletVelocityFvPatchVectorField::rmap().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 130 of file interstitialInletVelocityFvPatchVectorField.C.
References Foam::operator==().
Referenced by interstitialInletVelocityFvPatchVectorField::clone().
|
virtual |
Write.
Definition at line 145 of file interstitialInletVelocityFvPatchVectorField.C.
References Foam::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().
Referenced by interstitialInletVelocityFvPatchVectorField::clone().