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 95 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 37 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
Referenced by matchedFlowRateOutletVelocityFvPatchVectorField::clone().
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 51 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References dict, Foam::stringOps::evaluate(), 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 87 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const matchedFlowRateOutletVelocityFvPatchVectorField & | ptf | ) |
Construct as copy.
Definition at line 103 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const matchedFlowRateOutletVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 116 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
TypeName | ( | "matchedFlowRateOutletVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 164 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.
References matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 181 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.
References matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 193 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::foamVersion::patch, and rho.
|
virtual |
Write.
Definition at line 244 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References fvPatchField< Type >::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().