Public Member Functions | List of all members
pressurePermeableAlphaInletOutletVelocityFvPatchVectorField Class Reference

The pressurePermeableAlphaInletOutletVelocity is a velocity inlet-outlet boundary condition which can be applied to velocity boundaries for multiphase flows when the pressure boundary condition is specified. More...

Inheritance diagram for pressurePermeableAlphaInletOutletVelocityFvPatchVectorField:
Inheritance graph
[legend]
Collaboration diagram for pressurePermeableAlphaInletOutletVelocityFvPatchVectorField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("permeableAlphaPressureInletOutletVelocity")
 
 pressurePermeableAlphaInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 pressurePermeableAlphaInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 pressurePermeableAlphaInletOutletVelocityFvPatchVectorField (const pressurePermeableAlphaInletOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
 pressurePermeableAlphaInletOutletVelocityFvPatchVectorField (const pressurePermeableAlphaInletOutletVelocityFvPatchVectorField &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 pressurePermeableAlphaInletOutletVelocityFvPatchVectorField (const pressurePermeableAlphaInletOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 
virtual bool assignable () const
 
const wordrhoName () const noexcept
 
wordrhoName ()
 
const wordphiName () const noexcept
 
wordphiName ()
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 
virtual void operator= (const fvPatchField< vector > &pvf)
 

Detailed Description

The pressurePermeableAlphaInletOutletVelocity is a velocity inlet-outlet boundary condition which can be applied to velocity boundaries for multiphase flows when the pressure boundary condition is specified.

In the pressurePermeableAlphaInletOutletVelocity, an open condition is applied when alpha is under a user-defined alphaMin value and a wall condition is applied when alpha is larger than the alphaMin.

This boundary condition can be used in conjunction with prghPermeableAlphaTotalPressure for the p_rgh variable.

Usage
Example of the boundary condition specification:
<patchName>
{
    // Mandatory entries
    type            pressurePermeableAlphaInletOutletVelocity;

    // Optional entries
    phi             phi;
    rho             rho;
    alpha           alpha.water;
    alphaMin        0.01;

    // Inherited entries
    value           uniform (0 0 0);
    ...
}

where the entries mean:

Property Description Type Reqd Deflt
phi Name of flux field word no phi
rho Name of density field word no rho
alpha Name of mixture field word no none
alphaMin Minimum alpha scalar no 1

The inherited entries are elaborated in:

See also
Source files

Definition at line 125 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ pressurePermeableAlphaInletOutletVelocityFvPatchVectorField() [1/5]

◆ pressurePermeableAlphaInletOutletVelocityFvPatchVectorField() [2/5]

Definition at line 67 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.C.

References dict, p, and Foam::Zero.

◆ pressurePermeableAlphaInletOutletVelocityFvPatchVectorField() [3/5]

◆ pressurePermeableAlphaInletOutletVelocityFvPatchVectorField() [4/5]

◆ pressurePermeableAlphaInletOutletVelocityFvPatchVectorField() [5/5]

Member Function Documentation

◆ TypeName()

TypeName ( "permeableAlphaPressureInletOutletVelocity"  )

◆ clone() [1/2]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

◆ clone() [2/2]

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

◆ assignable()

virtual bool assignable ( ) const
inlinevirtual

◆ rhoName() [1/2]

const word& rhoName ( ) const
inlinenoexcept

◆ rhoName() [2/2]

word& rhoName ( )
inline

◆ phiName() [1/2]

const word& phiName ( ) const
inlinenoexcept

◆ phiName() [2/2]

word& phiName ( )
inline

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Definition at line 178 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.C.

References os(), Foam::vtk::write(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

◆ operator=()

void operator= ( const fvPatchField< vector > &  pvf)
virtual

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