Loading...
Searching...
No Matches
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...

#include <interstitialInletVelocityFvPatchVectorField.H>

Inheritance diagram for interstitialInletVelocityFvPatchVectorField:
Collaboration diagram for interstitialInletVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("interstitialInletVelocity")
 Runtime type information.
 interstitialInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 interstitialInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 interstitialInletVelocityFvPatchVectorField (const interstitialInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 interstitialInletVelocityFvPatchVectorField (const interstitialInletVelocityFvPatchVectorField &)
 Construct as copy.
 interstitialInletVelocityFvPatchVectorField (const interstitialInletVelocityFvPatchVectorField &, 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 autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const fvPatchVectorField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.

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 57 of file interstitialInletVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ interstitialInletVelocityFvPatchVectorField() [1/5]

interstitialInletVelocityFvPatchVectorField ( const fvPatch & p,
const DimensionedField< vector, volMesh > & iF )

Construct from patch and internal field.

Definition at line 30 of file interstitialInletVelocityFvPatchVectorField.C.

References p, and Foam::Zero.

Referenced by interstitialInletVelocityFvPatchVectorField(), interstitialInletVelocityFvPatchVectorField(), interstitialInletVelocityFvPatchVectorField(), rmap(), and TypeName().

Here is the caller graph for this function:

◆ interstitialInletVelocityFvPatchVectorField() [2/5]

interstitialInletVelocityFvPatchVectorField ( const fvPatch & p,
const DimensionedField< vector, volMesh > & iF,
const dictionary & dict )

Construct from patch, internal field and dictionary.

Definition at line 58 of file interstitialInletVelocityFvPatchVectorField.C.

References dict, and p.

◆ interstitialInletVelocityFvPatchVectorField() [3/5]

interstitialInletVelocityFvPatchVectorField ( const interstitialInletVelocityFvPatchVectorField & ptf,
const fvPatch & p,
const DimensionedField< vector, volMesh > & iF,
const fvPatchFieldMapper & mapper )

Construct by mapping given.

interstitialInletVelocityFvPatchVectorField onto a new patch

Definition at line 43 of file interstitialInletVelocityFvPatchVectorField.C.

References interstitialInletVelocityFvPatchVectorField(), and p.

Here is the call graph for this function:

◆ interstitialInletVelocityFvPatchVectorField() [4/5]

interstitialInletVelocityFvPatchVectorField ( const interstitialInletVelocityFvPatchVectorField & ptf)

Construct as copy.

Definition at line 72 of file interstitialInletVelocityFvPatchVectorField.C.

References interstitialInletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ interstitialInletVelocityFvPatchVectorField() [5/5]

interstitialInletVelocityFvPatchVectorField ( const interstitialInletVelocityFvPatchVectorField & ptf,
const DimensionedField< vector, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 84 of file interstitialInletVelocityFvPatchVectorField.C.

References interstitialInletVelocityFvPatchVectorField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "interstitialInletVelocity" )

Runtime type information.

References interstitialInletVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [1/2]

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

Return a clone.

Definition at line 137 of file interstitialInletVelocityFvPatchVectorField.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 145 of file interstitialInletVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ autoMap()

void autoMap ( const fvPatchFieldMapper & m)
virtual

Map (and resize as needed) from self given a mapping object.

Definition at line 99 of file interstitialInletVelocityFvPatchVectorField.C.

◆ rmap()

void rmap ( const fvPatchVectorField & ptf,
const labelList & addr )
virtual

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 109 of file interstitialInletVelocityFvPatchVectorField.C.

References interstitialInletVelocityFvPatchVectorField(), and Foam::refCast().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 124 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 138 of file interstitialInletVelocityFvPatchVectorField.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: