This is a velocity boundary condition for a semi-permeable baffle. 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 79 of file semiPermeableBaffleVelocityFvPatchVectorField.H.
semiPermeableBaffleVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 61 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 73 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
References dict, and IOobjectOption::MUST_READ.
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 88 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
semiPermeableBaffleVelocityFvPatchVectorField | ( | const semiPermeableBaffleVelocityFvPatchVectorField & | ptf | ) |
Construct as copy.
Definition at line 102 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
semiPermeableBaffleVelocityFvPatchVectorField | ( | const semiPermeableBaffleVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 113 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
TypeName | ( | "semiPermeableBaffleVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 161 of file semiPermeableBaffleVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 170 of file semiPermeableBaffleVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
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::operator==(), Foam::foamVersion::patch, Y, basicMultiComponentMixture::Y(), and Foam::Zero.
|
virtual |
Write.
Definition at line 162 of file semiPermeableBaffleVelocityFvPatchVectorField.C.
References os(), fvPatchField< Type >::write(), Ostream::writeEntryIfDifferent(), and fvPatchField< Type >::writeValueEntry().