This is a velocity boundary condition for a semi-permeable baffle. More...
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< fvPatchVectorField > | clone () const |
Construct and return a clone. More... | |
semiPermeableBaffleVelocityFvPatchVectorField (const semiPermeableBaffleVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchVectorField > | clone (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... | |
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.
Property | Description | Req'd? | Default |
---|---|---|---|
rho | Name of the density field | no | rho |
Definition at line 83 of file semiPermeableBaffleVelocityFvPatchVectorField.H.
semiPermeableBaffleVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 66 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
semiPermeableBaffleVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 78 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
References dict, refineCell::operator==, p, and UList< T >::size().
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 93 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
semiPermeableBaffleVelocityFvPatchVectorField | ( | const semiPermeableBaffleVelocityFvPatchVectorField & | ptf | ) |
Construct as copy.
Definition at line 107 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
semiPermeableBaffleVelocityFvPatchVectorField | ( | const semiPermeableBaffleVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 118 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
TypeName | ( | "semiPermeableBaffleVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 139 of file semiPermeableBaffleVelocityFvPatchVectorField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 155 of file semiPermeableBaffleVelocityFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 132 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
References composition, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::operator==(), Y, basicMultiComponentMixture::Y(), and Foam::Zero.
|
virtual |
Write.
Definition at line 168 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
References os(), ObukhovLength::write(), and Ostream::writeEntryIfDifferent().