A time-varying form of a flow normal vector boundary condition. More...
#include <finiteVolume/timeVaryingFlowRateInletVelocityFvPatchVectorField.H>
A time-varying form of a flow normal vector boundary condition.
Example of the boundary condition specification:
inlet { typetimeVaryingFlowRateInletVelocity; flowRate0.2; // Volumetric/mass flow rate [m3/s or kg/s] value uniform (0 0 0); // placeholder fileName"$FOAM_CASE/time-series"; outOfBounds repeat; // (error|warn|clamp|repeat) }
Definition at line 69 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.H.
Public Member Functions | |
TypeName ("timeVaryingFlowRateInletVelocity") | |
Runtime type information. | |
timeVaryingFlowRateInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. | |
timeVaryingFlowRateInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
timeVaryingFlowRateInletVelocityFvPatchVectorField (const timeVaryingFlowRateInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given patch field onto a new patch. | |
timeVaryingFlowRateInletVelocityFvPatchVectorField (const timeVaryingFlowRateInletVelocityFvPatchVectorField &) | |
Construct as copy. | |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone. | |
timeVaryingFlowRateInletVelocityFvPatchVectorField (const timeVaryingFlowRateInletVelocityFvPatchVectorField &, 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 interpolationTable < scalar > & | timeSeries () const |
Return the time series used. | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. | |
virtual void | write (Ostream &) const |
Write. | |
![]() | |
TypeName ("flowRateInletVelocity") | |
Runtime type information. | |
flowRateInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. | |
flowRateInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
flowRateInletVelocityFvPatchVectorField (const flowRateInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. | |
flowRateInletVelocityFvPatchVectorField (const flowRateInletVelocityFvPatchVectorField &) | |
Construct as copy. | |
flowRateInletVelocityFvPatchVectorField (const flowRateInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. | |
scalar | flowRate () const |
Return the flux. | |
scalar & | flowRate () |
Return reference to the flux to allow adjustment. |
timeVaryingFlowRateInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 37 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.
Referenced by timeVaryingFlowRateInletVelocityFvPatchVectorField::clone().
timeVaryingFlowRateInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 63 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.
timeVaryingFlowRateInletVelocityFvPatchVectorField | ( | const timeVaryingFlowRateInletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given patch field onto a new patch.
Definition at line 49 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.
timeVaryingFlowRateInletVelocityFvPatchVectorField | ( | const timeVaryingFlowRateInletVelocityFvPatchVectorField & | ptf | ) |
Construct as copy.
Definition at line 76 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.
timeVaryingFlowRateInletVelocityFvPatchVectorField | ( | const timeVaryingFlowRateInletVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 87 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.
TypeName | ( | "timeVaryingFlowRateInletVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from flowRateInletVelocityFvPatchVectorField.
Definition at line 118 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.H.
References timeVaryingFlowRateInletVelocityFvPatchVectorField::timeVaryingFlowRateInletVelocityFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from flowRateInletVelocityFvPatchVectorField.
Definition at line 135 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.H.
References timeVaryingFlowRateInletVelocityFvPatchVectorField::timeVaryingFlowRateInletVelocityFvPatchVectorField().
|
inline |
Return the time series used.
Definition at line 155 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented from flowRateInletVelocityFvPatchVectorField.
Definition at line 100 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.
References flowRateInletVelocityFvPatchVectorField::flowRate().
|
virtual |
Write.
Reimplemented from flowRateInletVelocityFvPatchVectorField.
Definition at line 113 of file timeVaryingFlowRateInletVelocityFvPatchVectorField.C.
References flowRateInletVelocityFvPatchVectorField::write().