35 namespace compressible
48 const DimensionedField<scalar, volMesh>& iF
51 alphatPhaseJayatillekeWallFunctionFvPatchScalarField(p, iF),
52 otherPhaseName_(word::null),
63 const DimensionedField<scalar, volMesh>& iF,
64 const dictionary& dict
69 relax_(dict.lookupOrDefault<scalar>(
"relax", 1)),
77 <<
"otherPhase should be the name of the vapor phase that " 78 <<
"corresponds to the liquid base or vice versa" <<
nl 79 <<
"This phase: " << internalField().group() <<
nl 84 if (dict.found(
"dmdtf"))
89 if (dict.found(
"dmdtLf"))
101 const DimensionedField<scalar, volMesh>& iF,
102 const fvPatchFieldMapper& mapper
131 const DimensionedField<scalar, volMesh>& iF
166 dmdtf(
const phasePairKey& phasePair)
const 175 <<
" dmdtf requested for invalid phasePair!" 191 dmdtLf(
const phasePairKey& phasePair)
const 200 <<
" dmdtLf requested for invalid phasePair!" 210 const fvPatchFieldMapper& m
213 alphatPhaseJayatillekeWallFunctionFvPatchScalarField::autoMap(m);
226 alphatPhaseJayatillekeWallFunctionFvPatchScalarField::rmap(ptf, addr);
229 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.
const scalarField & dmdtLf() const
Return the enthalpy source due to phase-change.
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.
scalarField dmdtLf_
Latent heat of the phase-change.
bool activePhasePair(const phasePairKey &) const
Is there phase change mass transfer for this phasePair.
const scalarField & dmdtf() const
Return the rate of phase-change.