97 const word& YName = internalField().name();
109 .patchInternalField()
117 thermophysicalTransportModel::typeName
121 ttm.
alphaEff(patch().index())*patch().deltaCoeffs()
134 Wi = mixture.
Wi(mixture.
species()[YName]);
141 tW = thermo.
W(patch().index());
142 tNbrW = thermo.
W(nbrPatch.
index());
148 scalarField k(patch().size(), 1), nbrK(patch().size(), 1);
161 k *= thermo.
rho(patch().index())/Wi;
173 nbrK *= nbrPp*tNbrW/Wi;
184 /(1/
c_ +
k/alphaEffDeltap + nbrK/nbrAlphaEffDeltap)
185 *(
k*Yc - nbrK*nbrYc);
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
const scalar c_
Transfer coefficient.
fluidReactionThermo & thermo
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 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...
virtual scalar Wi(const label speciei) const =0
Molecular weight of the given specie [kg/kmol].
label k
Boltzmann constant.
Specialisation of basicMixture for a mixture consisting of a number for molecular species...
const mapDistribute & map() const
Return reference to the parallel distribution map.
static const basicSpecieMixture & composition(const objectRegistry &db)
Access the composition for the given database.
virtual volScalarField & p()=0
Pressure [Pa].
Macros for easy insertion into run-time selection tables.
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.
Base-class for 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...
static const word dictName
Name of the thermophysical properties dictionary.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual tmp< volScalarField > W() const =0
Molecular weight [kg/kmol].
const GeometricField::Patch & lookupPatchField(const word &name) const
Lookup and return the patchField of the named field from the.
Abstract base class for thermophysical transport models (RAS, LES and laminar).
Abstract base class for specie-transferring mass fraction boundary conditions.
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.