This is a velocity boundary condition for a specie-transferring wall. More...


Public Member Functions | |
| TypeName ("specieTransferVelocity") | |
| Runtime type information. More... | |
| specieTransferVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, fvMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| specieTransferVelocityFvPatchVectorField (const specieTransferVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, fvMesh > &, const fieldMapper &) | |
| Construct by mapping given fixedValueTypeFvPatchField. More... | |
| specieTransferVelocityFvPatchVectorField (const specieTransferVelocityFvPatchVectorField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| specieTransferVelocityFvPatchVectorField (const specieTransferVelocityFvPatchVectorField &, const DimensionedField< vector, fvMesh > &) | |
| Copy constructor setting internal field reference. More... | |
| virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, fvMesh > &iF) const |
| Construct and return a clone setting internal field reference. More... | |
| const tmp< scalarField > | phip () const |
| Return the flux. 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 specie-transferring wall.
This condition must be used in conjunction with mass-fraction boundary conditions derived from specieTransferMassFractionFvPatchScalarField, and a specieTransferTemperature condition for the temperature.
This condition sums the species' mass fluxes generated by the mass-fraction conditions, and uses this total to set the normal velocity into or out of the wall.
| Property | Description | Req'd? | Default |
|---|---|---|---|
rho | Name of the density field | no | rho |
Example of the boundary condition specification:
<patchName>
{
type specieTransferVelocity;
value $internalField;
}Definition at line 85 of file specieTransferVelocityFvPatchVectorField.H.
| specieTransferVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, fvMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 36 of file specieTransferVelocityFvPatchVectorField.C.
| specieTransferVelocityFvPatchVectorField | ( | const specieTransferVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, fvMesh > & | iF, | ||
| const fieldMapper & | mapper | ||
| ) |
Construct by mapping given fixedValueTypeFvPatchField.
onto a new patch
Definition at line 49 of file specieTransferVelocityFvPatchVectorField.C.
|
delete |
Disallow copy without setting internal field reference.
| specieTransferVelocityFvPatchVectorField | ( | const specieTransferVelocityFvPatchVectorField & | ptf, |
| const DimensionedField< vector, fvMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 63 of file specieTransferVelocityFvPatchVectorField.C.
| TypeName | ( | "specieTransferVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 135 of file specieTransferVelocityFvPatchVectorField.H.
| const Foam::tmp< Foam::scalarField > phip | ( | ) | const |
Return the flux.
Definition at line 78 of file specieTransferVelocityFvPatchVectorField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, tmp< T >::ref(), thermo, Foam::typeName(), Y, and multicomponentThermo::Y().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 105 of file specieTransferVelocityFvPatchVectorField.C.
References Tensor< scalar >::I, Foam::operator==(), and Foam::sqr().

|
virtual |
Write.
Definition at line 125 of file specieTransferVelocityFvPatchVectorField.C.
References fvPatchField< Type >::write(), and Foam::writeEntry().
