This is a temperature boundary condition for a specie-transferring wall. More...
Public Member Functions | |
TypeName ("specieTransferTemperature") | |
Runtime type information. More... | |
specieTransferTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
specieTransferTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &, const bool readValue=true) | |
Construct from patch, internal field and dictionary. More... | |
specieTransferTemperatureFvPatchScalarField (const specieTransferTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given fixedValueTypeFvPatchField. More... | |
specieTransferTemperatureFvPatchScalarField (const specieTransferTemperatureFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
specieTransferTemperatureFvPatchScalarField (const specieTransferTemperatureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
const tmp< scalarField > | phiHep () const |
Return the flux of energy. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Public Member Functions inherited from mixedEnergyCalculatedTemperatureFvPatchScalarField | |
TypeName ("mixedEnergyCalculatedTemperature") | |
Run-time type information. More... | |
mixedEnergyCalculatedTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
mixedEnergyCalculatedTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
mixedEnergyCalculatedTemperatureFvPatchScalarField (const mixedEnergyCalculatedTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given fixedValueTypeFvPatchField. More... | |
mixedEnergyCalculatedTemperatureFvPatchScalarField (const mixedEnergyCalculatedTemperatureFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
mixedEnergyCalculatedTemperatureFvPatchScalarField (const mixedEnergyCalculatedTemperatureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor setting internal field reference. More... | |
virtual bool | fixesValue () const |
Return true if this patch field fixes a value. More... | |
scalarField & | heRefValue () |
Access the energy value. More... | |
const scalarField & | heRefValue () const |
Access the energy value. More... | |
scalarField & | heRefGrad () |
Access the energy gradient. More... | |
const scalarField & | heRefGrad () const |
Access the energy gradient. More... | |
scalarField & | heValueFraction () |
Access the energy fraction. More... | |
const scalarField & | heValueFraction () const |
Access the energy fraction. More... | |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. More... | |
virtual void | rmap (const fvPatchScalarField &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField. More... | |
virtual void | reset (const fvPatchScalarField &) |
Reset the fvPatchField to the given fvPatchField. More... | |
This is a temperature boundary condition for a specie-transferring wall.
This condition must be used in conjunction with mass-fraction boundary conditions derived from specieTransferMassFractionFvPatchScalarField, and a specieTransferVelocity condition for the velocity.
This condition sums the species' energy fluxes generated by the mass-fraction conditions, and uses this total to set the flux of energy into or out of the domain.
Property | Description | Req'd? | Default |
---|---|---|---|
phi | Name of the flux field | no | phi |
U | Name of the velocity field | no | U |
Example of the boundary condition specification:
<patchName> { type specieTransferTemperature; value $internalField; }
Definition at line 91 of file specieTransferTemperatureFvPatchScalarField.H.
specieTransferTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 39 of file specieTransferTemperatureFvPatchScalarField.C.
Referenced by specieTransferTemperatureFvPatchScalarField::clone(), and specieTransferTemperatureFvPatchScalarField::specieTransferTemperatureFvPatchScalarField().
specieTransferTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict, | ||
const bool | readValue = true |
||
) |
Construct from patch, internal field and dictionary.
Definition at line 52 of file specieTransferTemperatureFvPatchScalarField.C.
References Foam::operator==(), scalarField(), fvPatch::size(), and specieTransferTemperatureFvPatchScalarField::specieTransferTemperatureFvPatchScalarField().
specieTransferTemperatureFvPatchScalarField | ( | const specieTransferTemperatureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given fixedValueTypeFvPatchField.
onto a new patch
Definition at line 72 of file specieTransferTemperatureFvPatchScalarField.C.
References specieTransferTemperatureFvPatchScalarField::specieTransferTemperatureFvPatchScalarField().
|
delete |
Disallow copy without setting internal field reference.
specieTransferTemperatureFvPatchScalarField | ( | const specieTransferTemperatureFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 87 of file specieTransferTemperatureFvPatchScalarField.C.
TypeName | ( | "specieTransferTemperature" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from mixedEnergyCalculatedTemperatureFvPatchScalarField.
Definition at line 153 of file specieTransferTemperatureFvPatchScalarField.H.
References specieTransferTemperatureFvPatchScalarField::phiHep(), specieTransferTemperatureFvPatchScalarField::specieTransferTemperatureFvPatchScalarField(), specieTransferTemperatureFvPatchScalarField::updateCoeffs(), and specieTransferTemperatureFvPatchScalarField::write().
const Foam::tmp< Foam::scalarField > phiHep | ( | ) | const |
Return the flux of energy.
Definition at line 101 of file specieTransferTemperatureFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), composition, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, basicSpecieMixture::HE(), fluidThermo::p(), tmp< T >::ref(), thermo, Y, and basicSpecieMixture::Y().
Referenced by specieTransferTemperatureFvPatchScalarField::clone(), and specieTransferTemperatureFvPatchScalarField::updateCoeffs().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 135 of file specieTransferTemperatureFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), basicThermo::he(), mixedEnergyCalculatedTemperatureFvPatchScalarField::heRefGrad(), mixedEnergyCalculatedTemperatureFvPatchScalarField::heRefValue(), mixedEnergyCalculatedTemperatureFvPatchScalarField::heValueFraction(), specieTransferTemperatureFvPatchScalarField::phiHep(), thermo, and specieTransferTemperatureFvPatchScalarField::write().
Referenced by specieTransferTemperatureFvPatchScalarField::clone().
|
virtual |
Write.
Definition at line 177 of file specieTransferTemperatureFvPatchScalarField.C.
References Foam::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().
Referenced by specieTransferTemperatureFvPatchScalarField::clone(), and specieTransferTemperatureFvPatchScalarField::updateCoeffs().