matchedFlowRateOutletVelocityFvPatchVectorField Class Reference

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

Inheritance diagram for matchedFlowRateOutletVelocityFvPatchVectorField:
Collaboration diagram for matchedFlowRateOutletVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("matchedFlowRateOutletVelocity")
 Runtime type information. More...
 
 matchedFlowRateOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 matchedFlowRateOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 matchedFlowRateOutletVelocityFvPatchVectorField (const matchedFlowRateOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 matchedFlowRateOutletVelocityFvPatchVectorField (const matchedFlowRateOutletVelocityFvPatchVectorField &)
 Construct as copy. More...
 
 matchedFlowRateOutletVelocityFvPatchVectorField (const matchedFlowRateOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchField< vector > > clone () const
 Return a clone. More...
 
virtual tmp< fvPatchField< vector > > clone (const DimensionedField< vector, volMesh > &iF) const
 Clone with an internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

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]

Construct from patch and internal field.

Definition at line 31 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.

◆ matchedFlowRateOutletVelocityFvPatchVectorField() [2/5]

Construct from patch, internal field and dictionary.

Definition at line 45 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.

References dict, and Foam::stringOps::evaluate().

Here is the call graph for this function:

◆ matchedFlowRateOutletVelocityFvPatchVectorField() [3/5]

◆ matchedFlowRateOutletVelocityFvPatchVectorField() [4/5]

◆ matchedFlowRateOutletVelocityFvPatchVectorField() [5/5]

Construct as copy setting internal field reference.

Definition at line 104 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "matchedFlowRateOutletVelocity"  )

Runtime type information.

◆ 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 199 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 181 of file matchedFlowRateOutletVelocityFvPatchVectorField.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::foamVersion::patch, and rho.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

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