109 const word& YName = internalField().name();
121 .patchInternalField()
129 thermophysicalTransportModel::typeName
133 ttm.
alphaEff(patch().index())*patch().deltaCoeffs()
146 Wi = mixture.
Wi(mixture.
species()[YName]);
153 tW = thermo.
W(patch().index());
154 tNbrW = thermo.
W(nbrPatch.
index());
160 scalarField k(patch().size(), 1), nbrK(patch().size(), 1);
173 k *= thermo.
rho(patch().index())/Wi;
185 nbrK *= nbrPp*tNbrW/Wi;
196 /(1/
c_ +
k/alphaEffDeltap + nbrK/nbrAlphaEffDeltap)
197 *(
k*Yc - nbrK*nbrYc);
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
const scalar c_
Transfer coefficient.
virtual tmp< volScalarField > rho() const =0
Density [kg/m^3].
label index() const
Return the index of this patch in the fvBoundaryMesh.
semiPermeableBaffleMassFractionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void distribute(List< T > &fld, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Distribute data using default commsType.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
virtual void write(Ostream &) const
Write as a dictionary.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual volScalarField & p()
Pressure [Pa].
virtual void write(Ostream &) const
Write.
This is a mass-fraction boundary condition for a semi-permeable baffle.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
static const basicSpecieMixture & composition(const objectRegistry &db)
Access the composition for the given database.
virtual scalar Wi(const label speciei) const =0
Molecular weight of the given specie [kg/kmol].
label k
Boltzmann constant.
rhoReactionThermo & thermo
Specialization of basicMixture for a mixture consisting of a number for molecular species...
const mapDistribute & map() const
Return reference to the parallel distribution map.
Macros for easy insertion into run-time selection tables.
const word dictName() const
Return the local dictionary name (final part of scoped name)
virtual tmp< scalarField > calcPhiYp() const
Return the flux of this species through the baffle.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const polyPatch & patch() const
Return the polyPatch.
Fundamental fluid thermodynamic properties.
Foam::fvPatchFieldMapper.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual tmp< volScalarField > W() const =0
Molecular weight [kg/kmol].
Abstract base class for thermophysical transport models (RAS, LES and laminar).
Abstract base class for specie-transferring mass fraction boundary conditions.
const GeometricField::Patch & lookupPatchField(const word &name, const GeometricField *=nullptr, const Type *=nullptr) const
Lookup and return the patchField of the named field from the.
const scalarField & deltaCoeffs() const
Return the face - cell distance coeffient.
virtual tmp< volScalarField > alphaEff() const =0
Effective thermal turbulent diffusivity of mixture [kg/m/s].
label index() const
Return the index of this patch in the boundaryMesh.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const property property_
Property driving the transfer.
A class for managing temporary objects.
virtual void write(Ostream &) const
Write.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const polyPatch & samplePolyPatch() const
Get the patch on the region.
const speciesTable & species() const
Return the table of species.