Public Member Functions | List of all members
semiPermeableBaffleVelocityFvPatchVectorField Class Reference

This is a velocity boundary condition for a semi-permeable baffle. More...

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

Public Member Functions

 TypeName ("semiPermeableBaffleVelocity")
 Runtime type information. More...
 
 semiPermeableBaffleVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 semiPermeableBaffleVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 semiPermeableBaffleVelocityFvPatchVectorField (const semiPermeableBaffleVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given fixedValueTypeFvPatchField. More...
 
 semiPermeableBaffleVelocityFvPatchVectorField (const semiPermeableBaffleVelocityFvPatchVectorField &)
 Construct as copy. More...
 
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone. More...
 
 semiPermeableBaffleVelocityFvPatchVectorField (const semiPermeableBaffleVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy 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 updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

This is a velocity boundary condition for a semi-permeable baffle.

This is a velocity boundary condition for baffles which are permeable to a some species and impermeable to others. It must be used in conjunction with the corresponding mass-fraction condition, semiPermeableBaffleMassFractionFvPatchScalarField.

This condition sums the species fluxes generated by the mass-fraction conditions, and uses this total to set the velocity.

Usage
Property Description Req'd? Default
rho Name of the density field no rho
See also
Foam::semiPermeableBaffleMassFractionFvPatchScalarField
Source files

Definition at line 78 of file semiPermeableBaffleVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ semiPermeableBaffleVelocityFvPatchVectorField() [1/5]

Construct from patch and internal field.

Definition at line 65 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

Referenced by semiPermeableBaffleVelocityFvPatchVectorField::clone(), and semiPermeableBaffleVelocityFvPatchVectorField::semiPermeableBaffleVelocityFvPatchVectorField().

Here is the caller graph for this function:

◆ semiPermeableBaffleVelocityFvPatchVectorField() [2/5]

Construct from patch, internal field and dictionary.

Definition at line 77 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References fvPatchField< Type >::operator==(), semiPermeableBaffleVelocityFvPatchVectorField::semiPermeableBaffleVelocityFvPatchVectorField(), and fvPatch::size().

Here is the call graph for this function:

◆ semiPermeableBaffleVelocityFvPatchVectorField() [3/5]

Construct by mapping given fixedValueTypeFvPatchField.

onto a new patch

Definition at line 92 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References semiPermeableBaffleVelocityFvPatchVectorField::semiPermeableBaffleVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ semiPermeableBaffleVelocityFvPatchVectorField() [4/5]

Construct as copy.

Definition at line 106 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References semiPermeableBaffleVelocityFvPatchVectorField::semiPermeableBaffleVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ semiPermeableBaffleVelocityFvPatchVectorField() [5/5]

Construct as copy setting internal field reference.

Definition at line 117 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "semiPermeableBaffleVelocity"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 134 of file semiPermeableBaffleVelocityFvPatchVectorField.H.

References semiPermeableBaffleVelocityFvPatchVectorField::semiPermeableBaffleVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [2/2]

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 129 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::operator==(), semiPermeableBaffleVelocityFvPatchVectorField::write(), Y, basicMultiComponentMixture::Y(), and Foam::Zero.

Referenced by semiPermeableBaffleVelocityFvPatchVectorField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 166 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

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

Referenced by semiPermeableBaffleVelocityFvPatchVectorField::clone(), and semiPermeableBaffleVelocityFvPatchVectorField::updateCoeffs().

Here is the call graph for this function:
Here is the caller graph for this function:

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