Loading...
Searching...
No Matches
semiPermeableBaffleVelocityFvPatchVectorField Class Reference

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

#include <semiPermeableBaffleVelocityFvPatchVectorField.H>

Inheritance diagram for semiPermeableBaffleVelocityFvPatchVectorField:
Collaboration diagram for semiPermeableBaffleVelocityFvPatchVectorField:

Public Member Functions

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

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]

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

Construct from patch and internal field.

Definition at line 59 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References p.

Referenced by semiPermeableBaffleVelocityFvPatchVectorField(), semiPermeableBaffleVelocityFvPatchVectorField(), semiPermeableBaffleVelocityFvPatchVectorField(), and TypeName().

Here is the caller graph for this function:

◆ semiPermeableBaffleVelocityFvPatchVectorField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 71 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References dict, IOobjectOption::MUST_READ, and p.

◆ semiPermeableBaffleVelocityFvPatchVectorField() [3/5]

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

Construct by mapping given fixedValueTypeFvPatchField.

onto a new patch

Definition at line 86 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References p, and semiPermeableBaffleVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ semiPermeableBaffleVelocityFvPatchVectorField() [4/5]

semiPermeableBaffleVelocityFvPatchVectorField ( const semiPermeableBaffleVelocityFvPatchVectorField & ptf)

Construct as copy.

Definition at line 100 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References semiPermeableBaffleVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ semiPermeableBaffleVelocityFvPatchVectorField() [5/5]

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

Construct as copy setting internal field reference.

Definition at line 111 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

References semiPermeableBaffleVelocityFvPatchVectorField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "semiPermeableBaffleVelocity" )

Runtime type information.

References semiPermeableBaffleVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [1/2]

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

Return a clone.

Definition at line 161 of file semiPermeableBaffleVelocityFvPatchVectorField.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 169 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 125 of file semiPermeableBaffleVelocityFvPatchVectorField.C.

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

Here is the call graph for this function:

◆ write()

void write ( Ostream & os) const
virtual

Write.

Definition at line 161 of file semiPermeableBaffleVelocityFvPatchVectorField.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: