Velocity inlet boundary condition for patches where the pressure is specified. The inflow velocity is obtained from the flux with the "inletDirection" direction mapped from a time/space-varying table. More...
#include <finiteVolume/timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.H>
Velocity inlet boundary condition for patches where the pressure is specified. The inflow velocity is obtained from the flux with the "inletDirection" direction mapped from a time/space-varying table.
Definition at line 51 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.H.
Public Member Functions | |
TypeName ("timeVaryingMappedPressureDirectedInletVelocity") | |
Runtime type information.
| |
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field.
| |
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField (const timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given.
| |
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField (const timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField &) | |
Construct as copy.
| |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone.
| |
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField (const timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField &, 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.
| |
const word & | rhoName () const |
Return the name of rho.
| |
word & | rhoName () |
Return reference to the name of rho to allow adjustment.
| |
const word & | phiName () const |
Return the name of phi.
| |
word & | phiName () |
Return reference to the name of phi to allow adjustment.
| |
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.
|
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C.
Referenced by timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField::clone().
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 49 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C.
References fvPatch::size().
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField | ( | const timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField onto a new patch
Definition at line 65 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C.
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField | ( | const timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField & | pivpvf ) |
Construct as copy.
Definition at line 80 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C.
timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField | ( | const timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 93 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C.
TypeName | ( | "timeVaryingMappedPressureDirectedInletVelocity" | ) |
Runtime type information.
virtual tmp<fvPatchVectorField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Definition at line 102 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.H.
virtual tmp<fvPatchVectorField> clone | ( | const DimensionedField< vector, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Definition at line 123 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.H.
const word& rhoName | ( | ) | const [inline]
|
Return the name of rho.
Definition at line 144 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.H.
word& rhoName | ( | ) | [inline]
|
Return reference to the name of rho to allow adjustment.
Definition at line 150 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.H.
const word& phiName | ( | ) | const [inline]
|
Return the name of phi.
Definition at line 156 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.H.
word& phiName | ( | ) | [inline]
|
Return reference to the name of phi to allow adjustment.
Definition at line 162 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.H.
void autoMap | ( | const fvPatchFieldMapper & | m ) | [virtual]
|
Map (and resize as needed) from self given a mapping object.
Definition at line 109 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C.
void rmap | ( | const fvPatchVectorField & | ptf, |
const labelList & | addr | ||
) | [virtual]
|
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 119 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C.
void updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Definition at line 129 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C.
References Foam::dimArea, Foam::dimDensity, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimVelocity, Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::mag(), Foam::operator==(), and phi.
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Definition at line 180 of file timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().