interstitialInletVelocityFvPatchVectorField Class Reference

Inlet velocity in which the actual interstitial velocity is calculated by dividing the specified inletVelocity field with the local phase-fraction. More...

Inheritance diagram for interstitialInletVelocityFvPatchVectorField:
Collaboration diagram for interstitialInletVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("interstitialInletVelocity")
 Runtime type information. More...
 
 interstitialInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 interstitialInletVelocityFvPatchVectorField (const interstitialInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 interstitialInletVelocityFvPatchVectorField (const interstitialInletVelocityFvPatchVectorField &)=delete
 Disallow copy without setting internal field reference. More...
 
 interstitialInletVelocityFvPatchVectorField (const interstitialInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void map (const fvPatchVectorField &, const fvPatchFieldMapper &)
 Map the given fvPatchField onto this fvPatchField. More...
 
virtual void reset (const fvPatchVectorField &)
 Reset the fvPatchField to the given fvPatchField. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

Inlet velocity in which the actual interstitial velocity is calculated by dividing the specified inletVelocity field with the local phase-fraction.

Example of the boundary condition specification:

inlet
{
    type              interstitialInletVelocity;
    inletVelocity     uniform (0 0.2 0);// Non-interstitial inlet velocity
    alpha             alpha.particles;  // Name of the phase-fraction field
    value             uniform (0 0 0);
}
Source files

Definition at line 59 of file interstitialInletVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ interstitialInletVelocityFvPatchVectorField() [1/4]

Construct from patch, internal field and dictionary.

Definition at line 34 of file interstitialInletVelocityFvPatchVectorField.C.

Referenced by interstitialInletVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

◆ interstitialInletVelocityFvPatchVectorField() [2/4]

◆ interstitialInletVelocityFvPatchVectorField() [3/4]

Disallow copy without setting internal field reference.

◆ interstitialInletVelocityFvPatchVectorField() [4/4]

Copy constructor setting internal field reference.

Definition at line 63 of file interstitialInletVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "interstitialInletVelocity"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Definition at line 113 of file interstitialInletVelocityFvPatchVectorField.H.

References interstitialInletVelocityFvPatchVectorField::interstitialInletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ map()

void map ( const fvPatchVectorField ptf,
const fvPatchFieldMapper mapper 
)
virtual

Map the given fvPatchField onto this fvPatchField.

Definition at line 78 of file interstitialInletVelocityFvPatchVectorField.C.

◆ reset()

void reset ( const fvPatchVectorField ptf)
virtual

Reset the fvPatchField to the given fvPatchField.

Used for mesh to mesh mapping

Definition at line 93 of file interstitialInletVelocityFvPatchVectorField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 107 of file interstitialInletVelocityFvPatchVectorField.C.

References Foam::operator==().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 122 of file interstitialInletVelocityFvPatchVectorField.C.

References fvPatchField< Type >::write(), and Foam::writeEntry().

Here is the call graph for this function:

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