Velocity outlet boundary condition which corrects the extrapolated velocity to match the specified flow rate. More...
#include <flowRateOutletVelocityFvPatchVectorField.H>


Public Member Functions | |
| TypeName ("flowRateOutletVelocity") | |
| Runtime type information. | |
| flowRateOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. | |
| flowRateOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| flowRateOutletVelocityFvPatchVectorField (const flowRateOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given. | |
| flowRateOutletVelocityFvPatchVectorField (const flowRateOutletVelocityFvPatchVectorField &) | |
| Construct as copy. | |
| flowRateOutletVelocityFvPatchVectorField (const flowRateOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< vector > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Clone with an internal field reference. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
Velocity outlet boundary condition which corrects the extrapolated velocity to match the specified flow rate.
For a mass-based flux:
rho is "none" the flow rate is in m^3/srho should correspond to the name of the density fieldrhoOutlet entryFor a volumetric-based flux:
| Property | Description | Required | Default value |
|---|---|---|---|
massFlowRate | mass flow rate [kg/s] | no | |
volumetricFlowRate | volumetric flow rate [m^3/s] | no | |
rho | density field name | no | rho |
rhoOutlet | outlet density | no |
Example of the boundary condition specification for a volumetric flow rate:
<patchName>
{
type flowRateOutletVelocity;
volumetricFlowRate 0.2;
value uniform (0 0 0);
}
Example of the boundary condition specification for a mass flow rate:
<patchName>
{
type flowRateOutletVelocity;
massFlowRate 0.2;
rhoOutlet 1.0;
value uniform (0 0 0);
}
The flowRate entry is a Function1 of time, see Foam::Function1Types.
rhoOutlet is required for the case of a mass flow rate, where the density field is not available at start-upDefinition at line 130 of file flowRateOutletVelocityFvPatchVectorField.H.
| flowRateOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 29 of file flowRateOutletVelocityFvPatchVectorField.C.
References p.
Referenced by flowRateOutletVelocityFvPatchVectorField(), flowRateOutletVelocityFvPatchVectorField(), flowRateOutletVelocityFvPatchVectorField(), and TypeName().

| flowRateOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 44 of file flowRateOutletVelocityFvPatchVectorField.C.
References UPstream::buffered, dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Function1< Type >::NewIfPresent(), Foam::nl, and p.

| flowRateOutletVelocityFvPatchVectorField | ( | const flowRateOutletVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper ) |
Construct by mapping given.
flowRateOutletVelocityFvPatchVectorField onto a new patch
Definition at line 88 of file flowRateOutletVelocityFvPatchVectorField.C.
References clone(), flowRateOutletVelocityFvPatchVectorField(), and p.

| flowRateOutletVelocityFvPatchVectorField | ( | const flowRateOutletVelocityFvPatchVectorField & | ptf | ) |
Construct as copy.
Definition at line 105 of file flowRateOutletVelocityFvPatchVectorField.C.
References clone(), and flowRateOutletVelocityFvPatchVectorField().

| flowRateOutletVelocityFvPatchVectorField | ( | const flowRateOutletVelocityFvPatchVectorField & | ptf, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 119 of file flowRateOutletVelocityFvPatchVectorField.C.
References clone(), and flowRateOutletVelocityFvPatchVectorField().

| TypeName | ( | "flowRateOutletVelocity" | ) |
Runtime type information.
References flowRateOutletVelocityFvPatchVectorField().

|
inlinevirtual |
Return a clone.
Definition at line 229 of file flowRateOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
Referenced by flowRateOutletVelocityFvPatchVectorField(), flowRateOutletVelocityFvPatchVectorField(), and flowRateOutletVelocityFvPatchVectorField().


|
inlinevirtual |
Clone with an internal field reference.
Definition at line 237 of file flowRateOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 178 of file flowRateOutletVelocityFvPatchVectorField.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Write.
Definition at line 219 of file flowRateOutletVelocityFvPatchVectorField.C.
References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().
