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 91 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 31 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 45 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References dict, and Foam::stringOps::evaluate().
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 75 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const matchedFlowRateOutletVelocityFvPatchVectorField & | ptf | ) |
Construct as copy.
Definition at line 91 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
matchedFlowRateOutletVelocityFvPatchVectorField | ( | const matchedFlowRateOutletVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 104 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
TypeName | ( | "matchedFlowRateOutletVelocity" | ) |
Runtime type information.
|
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 199 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 181 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::foamVersion::patch, and rho.
|
virtual |
Write.
Definition at line 232 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.
References os(), fvPatchField< Type >::write(), Ostream::writeEntry(), Ostream::writeEntryIfDifferent(), and fvPatchField< Type >::writeValueEntry().