91 const word& YName = internalField().name();
98 refCast<const fvMesh>(nbrMesh).boundary()[nbrPatchi];
101 db().lookupObject<
fluidThermo>(physicalProperties::typeName);
110 .patchInternalField()
120 ttm.
kappaEff(patch().index())*patch().deltaCoeffs()
135 if (property_ != massFraction)
143 if (property_ == moleFraction || property_ == partialPressure)
145 tW =
thermo.
W(patch().index());
151 scalarField k(patch().size(), 1), nbrK(patch().size(), 1);
162 case molarConcentration:
171 case partialPressure:
179 nbrK *= nbrPp*tNbrW/Wi;
190 /(1/c_ +
k/alphaEffDeltap + nbrK/nbrAlphaEffDeltap)
191 *(
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,...
Specialisation of basicMixture for a mixture consisting of a number for molecular species.
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....
Base-class for fluid thermodynamic properties.
virtual tmp< volScalarField > W() const =0
Molecular weight [kg/kmol].
virtual volScalarField & p()=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.
Foam::fvPatchFieldMapper.
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.
Engine which provides mapping between two patches.
const polyPatch & nbrPolyPatch() const
Get the patch to map from.
static const mappedPatchBase & getMap(const polyPatch &patch)
Cast the given polyPatch to a mappedPatchBase. Handle errors.
const polyMesh & nbrMesh() const
Get the mesh for the region to map from.
static void validateMapForField(const PatchFieldType &field, const FieldType &iF, const dictionary &context, const label froms=from::any)
Validate that the map exists and is appropriate for the given.
tmp< Field< Type > > fromNeighbour(const Field< Type > &nbrFld) const
Map/interpolate the neighbour patch field to this patch.
label index() const
Return the index of this patch in the boundaryMesh.
Mesh consisting of general polyhedral cells.
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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
basicSpecieMixture & composition
fluidMulticomponentThermo & thermo
static const label differentPatch