35 namespace compressible
48 const DimensionedField<scalar, volMesh>& iF
51 alphatPhaseJayatillekeWallFunctionFvPatchScalarField(p, iF),
52 otherPhaseName_(word::null),
62 const DimensionedField<scalar, volMesh>& iF,
63 const dictionary& dict
68 relax_(dict.lookupOrDefault<scalar>(
"relax", 1)),
75 <<
"otherPhase should be the name of the vapor phase that " 76 <<
"corresponds to the liquid base or vice versa" <<
nl 77 <<
"This phase: " << internalField().group() <<
nl 82 if (dict.found(
"dmdtf"))
94 const DimensionedField<scalar, volMesh>& iF,
95 const fvPatchFieldMapper& mapper
109 const DimensionedField<scalar, volMesh>& iF
143 dmdtf(
const phasePairKey& phasePair)
const 152 <<
" dmdtf requested for invalid phasePair!" 162 const fvPatchFieldMapper& m
165 alphatPhaseJayatillekeWallFunctionFvPatchScalarField::autoMap(m);
177 alphatPhaseJayatillekeWallFunctionFvPatchScalarField::rmap(ptf, addr);
180 refCast<const alphatPhaseChangeWallFunctionFvPatchScalarField>(ptf);
virtual void write(Ostream &) const
Write.
const char *const group
Group name for atomic constants.
scalarField dmdtf_
Rate of phase-change.
virtual void write(Ostream &) const
Write.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Macros for easy insertion into run-time selection tables.
stressControl lookup("compactNormalStress") >> compactNormalStress
fvPatchField< scalar > fvPatchScalarField
const word otherPhaseName_
Name of the other phase.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
List< label > labelList
A List of labels.
errorManip< error > abort(error &err)
defineTypeNameAndDebug(combustionModel, 0)
alphatPhaseChangeWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
const scalar relax_
Relaxation factor.
void rmap(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 reverse-map from the given field
alphatPhaseJayatillekeWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
bool activePhasePair(const phasePairKey &) const
Is there phase change mass transfer for this phasePair.
const scalarField & dmdtf() const
Return the rate of phase-change.