semiPermeableBaffleVelocityFvPatchVectorField Class Reference

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

Inheritance diagram for semiPermeableBaffleVelocityFvPatchVectorField:
Collaboration diagram for semiPermeableBaffleVelocityFvPatchVectorField:

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 this_bctype &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping onto a new patch. More...
 
 semiPermeableBaffleVelocityFvPatchVectorField (const this_bctype &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference. More...
 
 semiPermeableBaffleVelocityFvPatchVectorField (const this_bctype &)=delete
 No copy without an internal field. 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

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 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 79 of file semiPermeableBaffleVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ semiPermeableBaffleVelocityFvPatchVectorField() [1/5]

Construct from patch and internal field.

Definition at line 61 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

◆ semiPermeableBaffleVelocityFvPatchVectorField() [2/5]

Construct from patch, internal field and dictionary.

Definition at line 73 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References dict, and IOobjectOption::MUST_READ.

◆ semiPermeableBaffleVelocityFvPatchVectorField() [3/5]

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

Construct by mapping onto a new patch.

Definition at line 88 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

◆ semiPermeableBaffleVelocityFvPatchVectorField() [4/5]

Construct as copy setting internal field reference.

Definition at line 102 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

◆ semiPermeableBaffleVelocityFvPatchVectorField() [5/5]

No copy without an internal field.

Member Function Documentation

◆ TypeName()

TypeName ( "semiPermeableBaffleVelocity"  )

Runtime type information.

◆ clone()

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

Clone with an internal field reference.

Definition at line 163 of file semiPermeableBaffleVelocityFvPatchVectorField.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 114 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References composition, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::operator==(), Foam::foamVersion::patch, Y, basicMultiComponentMixture::Y(), and Foam::Zero.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 151 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References fvPatchField< Type >::write(), Ostream::writeEntryIfDifferent(), and fvPatchField< Type >::writeValueEntry().

Here is the call graph for this function:

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