81 const word& YName = internalField().name();
84 db().lookupObject<
fluidThermo>(physicalProperties::typeName);
93 const volScalarField& Yi = refCast<const volScalarField>(internalField());
97 ttm.
DEff(Yi, patch().index())*patch().deltaCoeffs()
102 if (property_ != massFraction)
110 if (property_ == moleFraction || property_ == partialPressure)
112 tW =
thermo.
W(patch().index());
127 case molarConcentration:
131 case partialPressure:
142 /(1/c_ +
k/DEffDeltap)
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,...
This is a mass-fraction boundary condition for an adsorbing wall.
virtual void write(Ostream &) const
Write.
tmp< scalarField > calcPhiYp() const
Return the flux of this species.
adsorptionMassFractionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual tmp< volScalarField > W() const =0
Molecular weight [kg/kmol].
virtual tmp< volScalarField > rho() const =0
Density [kg/m^3].
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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 tmp< volScalarField > DEff(const volScalarField &Yi) const =0
Effective mass diffusion coefficient.
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.
virtual const speciesTable & species() const =0
The table of species.
virtual dimensionedScalar Wi(const label speciei) const =0
Molecular weight [kg/kmol].
Abstract base class for specie-transferring mass fraction boundary conditions.
virtual void write(Ostream &) const
Write.
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