Velocity outlet boundary condition which corrects the extrapolated velocity to match the flow rate of the specified corresponding inlet patch. More...
#include <matchedFlowRateOutletVelocityFvPatchVectorField.H>


Public Member Functions | |
| TypeName ("matchedFlowRateOutletVelocity") | |
| Runtime type information. | |
| matchedFlowRateOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. | |
| matchedFlowRateOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| matchedFlowRateOutletVelocityFvPatchVectorField (const matchedFlowRateOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given. | |
| matchedFlowRateOutletVelocityFvPatchVectorField (const matchedFlowRateOutletVelocityFvPatchVectorField &) | |
| Construct as copy. | |
| matchedFlowRateOutletVelocityFvPatchVectorField (const matchedFlowRateOutletVelocityFvPatchVectorField &, 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 flow rate of the specified corresponding inlet patch.
| Property | Description | Required | Default value |
|---|---|---|---|
inletPatch | Corresponding inlet patch name | yes | |
volumetric | Set volumetric or mass flow-rate | no | false |
rho | density field name | no | rho |
Example of the boundary condition specification for a volumetric flow rate:
<patchName>
{
type matchedFlowRateOutletVelocity;
inletPatch inlet;
value uniform (0 0 0);
}
Definition at line 91 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.
| matchedFlowRateOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 29 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References p.
Referenced by matchedFlowRateOutletVelocityFvPatchVectorField(), matchedFlowRateOutletVelocityFvPatchVectorField(), matchedFlowRateOutletVelocityFvPatchVectorField(), and TypeName().

| matchedFlowRateOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 43 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References UPstream::buffered, dict, and p.
| matchedFlowRateOutletVelocityFvPatchVectorField | ( | const matchedFlowRateOutletVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper ) |
Construct by mapping given.
matchedFlowRateOutletVelocityFvPatchVectorField onto a new patch
Definition at line 73 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References matchedFlowRateOutletVelocityFvPatchVectorField(), and p.

| matchedFlowRateOutletVelocityFvPatchVectorField | ( | const matchedFlowRateOutletVelocityFvPatchVectorField & | ptf | ) |
Construct as copy.
Definition at line 89 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References matchedFlowRateOutletVelocityFvPatchVectorField().

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

| TypeName | ( | "matchedFlowRateOutletVelocity" | ) |
Runtime type information.
References matchedFlowRateOutletVelocityFvPatchVectorField().

|
inlinevirtual |
Return a clone.
Definition at line 190 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

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

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

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