91 const word& YName = internalField().name();
99 db().lookupObject<
fluidThermo>(physicalProperties::typeName);
108 .patchInternalField()
118 ttm.
kappaEff(patch().index())*patch().deltaCoeffs()
133 if (property_ != massFraction)
141 if (property_ == moleFraction || property_ == partialPressure)
143 tW =
thermo.
W(patch().index());
144 tNbrW = mapper.fromNeighbour(
thermo.
W(nbrPatch.
index()));
149 scalarField k(patch().size(), 1), nbrK(patch().size(), 1);
160 case molarConcentration:
169 case partialPressure:
177 nbrK *= nbrPp*tNbrW/Wi;
188 /(1/c_ +
k/alphaEffDeltap + nbrK/nbrAlphaEffDeltap)
189 *(
k*Yc - nbrK*nbrYc);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual tmp< volScalarField > W() const =0
Molecular weight [kg/kmol].
virtual const volScalarField & Cp() const =0
Heat capacity at constant pressure [J/kg/K].
virtual tmp< volScalarField > rho() const =0
Density [kg/m^3].
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Type & value() const
Return const reference to value.
Abstract base class for field mapping.
Base-class for multi-component fluid thermodynamic properties.
Base-class for fluid thermodynamic properties.
virtual const volScalarField & p() const =0
Pressure [Pa].
Abstract base class for fluid thermophysical transport models RAS, LES and laminar.
virtual const fluidThermo & thermo() const =0
Access function to fluid thermophysical properties.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
label index() const
Return the index of this patch in the fvBoundaryMesh.
virtual const scalarField & deltaCoeffs() const
Return the face - cell distance coefficient.
const GeometricField::Patch & lookupPatchField(const word &name) const
Lookup and return the patchField of the named field from the.
Base class for fv patches that provide mapping between two fv patches.
const fvPatch & nbrFvPatch() const
Get the patch to map from.
static const mappedFvPatchBaseBase & getMap(const fvPatch &patch)
Cast the given fvPatch to a mappedFvPatchBaseBase. Handle errors.
static void validateMapForField(const PatchField &field, const FieldType &iF, const dictionary &context, const label froms=from::any)
Validate that the map exists and is appropriate for the given.
virtual const speciesTable & species() const =0
The table of species.
virtual dimensionedScalar Wi(const label speciei) const =0
Molecular weight [kg/kmol].
This is a mass-fraction boundary condition for a semi-permeable baffle.
virtual void write(Ostream &) const
Write.
semiPermeableBaffleMassFractionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual tmp< scalarField > calcPhiYp() const
Return the flux of this species through the baffle.
Abstract base class for specie-transferring mass fraction boundary conditions.
virtual void write(Ostream &) const
Write.
virtual tmp< volScalarField > kappaEff() const =0
Effective thermal turbulent conductivity.
A class for managing temporary objects.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
fluidMulticomponentThermo & thermo
static const label differentPatch