Loading...
Searching...
No Matches
matchedFlowRateOutletVelocityFvPatchVectorField Class Reference

Velocity outlet boundary condition which corrects the extrapolated velocity to match the flow rate of the specified corresponding inlet patch. More...

#include <matchedFlowRateOutletVelocityFvPatchVectorField.H>

Inheritance diagram for matchedFlowRateOutletVelocityFvPatchVectorField:
Collaboration diagram for matchedFlowRateOutletVelocityFvPatchVectorField:

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.

Detailed Description

Velocity outlet boundary condition which corrects the extrapolated velocity to match the flow rate of the specified corresponding inlet patch.

Usage
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);
    }
See also
Foam::fixedValueFvPatchField
Source files

Definition at line 91 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ matchedFlowRateOutletVelocityFvPatchVectorField() [1/5]

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().

Here is the caller graph for this function:

◆ matchedFlowRateOutletVelocityFvPatchVectorField() [2/5]

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() [3/5]

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.

Here is the call graph for this function:

◆ matchedFlowRateOutletVelocityFvPatchVectorField() [4/5]

matchedFlowRateOutletVelocityFvPatchVectorField ( const matchedFlowRateOutletVelocityFvPatchVectorField & ptf)

Construct as copy.

Definition at line 89 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.

References matchedFlowRateOutletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ matchedFlowRateOutletVelocityFvPatchVectorField() [5/5]

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().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "matchedFlowRateOutletVelocity" )

Runtime type information.

References matchedFlowRateOutletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< vector > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 190 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/2]

virtual tmp< fvPatchField< vector > > clone ( const DimensionedField< vector, volMesh > & iF) const
inlinevirtual

Clone with an internal field reference.

Definition at line 198 of file matchedFlowRateOutletVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
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.

Here is the call graph for this function:

◆ write()

void write ( Ostream & os) const
virtual

Write.

Definition at line 228 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.

References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().

Here is the call graph for this function:

The documentation for this class was generated from the following files: