Velocity outlet boundary condition which corrects the extrapolated velocity to match the flow rate of the specified corresponding inlet patch. More...
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 90 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 35 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
Referenced by matchedFlowRateOutletVelocityFvPatchVectorField::clone(), and matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField().
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 49 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField(), List< Type >::size(), and vectorField().
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 85 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField().
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const matchedFlowRateOutletVelocityFvPatchVectorField & | ptf | ) |
Construct as copy.
Definition at line 101 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField().
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const matchedFlowRateOutletVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 114 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), fvPatch::boundaryMesh(), Foam::gSum(), Foam::mag(), Foam::max(), n, fvPatch::nf(), Foam::operator==(), fvPatch::Sf(), U, and fvPatchField< Type >::updateCoeffs().
TypeName | ( | "matchedFlowRateOutletVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 159 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.
References matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 176 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.
References matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField(), matchedFlowRateOutletVelocityFvPatchVectorField::updateCoeffs(), and matchedFlowRateOutletVelocityFvPatchVectorField::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 191 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, rho, and matchedFlowRateOutletVelocityFvPatchVectorField::write().
Referenced by matchedFlowRateOutletVelocityFvPatchVectorField::clone().
|
virtual |
Write.
Definition at line 242 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References token::END_STATEMENT, Foam::makePatchTypeField(), Foam::nl, fvPatchField< Type >::write(), and Ostream::writeKeyword().
Referenced by matchedFlowRateOutletVelocityFvPatchVectorField::clone(), and matchedFlowRateOutletVelocityFvPatchVectorField::updateCoeffs().