A simple alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField
with a fixed volumetric phase-change mass flux.
More...
Additional Inherited Members | |
Protected Member Functions inherited from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField | |
void | checkType () |
Check the type of the patch. More... | |
tmp< scalarField > | Psmooth (const scalarField &Prat) const |
'P' function More... | |
tmp< scalarField > | yPlusTherm (const scalarField &P, const scalarField &Prat) const |
Calculate y+ at the edge of the thermal laminar sublayer. More... | |
tmp< scalarField > | calcAlphat (const scalarField &prevAlphat) const |
Update turbulent thermal diffusivity. More... | |
Protected Attributes inherited from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField | |
scalar | Prt_ |
Turbulent Prandtl number. More... | |
scalar | Cmu_ |
Empirical model coefficient. More... | |
scalar | kappa_ |
Von Karman constant. More... | |
scalar | E_ |
Wall roughness parameter. More... | |
Protected Attributes inherited from alphatPhaseChangeWallFunctionFvPatchScalarField | |
scalarField | dmdt_ |
Rate of phase-change. More... | |
scalarField | mDotL_ |
Latent heat of the phase-change. More... | |
Static Protected Attributes inherited from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField | |
static scalar | tolerance_ = 0.01 |
Absolute tolerance. More... | |
static label | maxIters_ = 10 |
Maximum number of iterations. More... | |
A simple alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField
with a fixed volumetric phase-change mass flux.
<patch> { // Mandatory entries type compressible::alphatFixedDmdtWallBoilingWallFunction; vaporPhase <word>; // Optional entries relax <scalar>; fixedDmdt <scalar>; L <scalar>; // Inherited entries ... }
where the entries mean:
Property | Description | Type | Reqd | Deflt |
---|---|---|---|---|
type | Type name: compressible::alphatFixedDmdtWallBoilingWallFunction | word | yes | - |
vaporPhase | Name of the vapor phase | word | yes | - |
relax | Relaxation factor for dmdt | scalar | no | 1.0 |
fixedDmdt | Volumetric phase-change mass flux in near wall cells | scalar | no | 0.0 |
L | Latent heat | scalar | no | 0.0 |
The inherited entries are elaborated in: -alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.H
Definition at line 131 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H.
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 37 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 54 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField | ( | const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField & | psf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField onto a new patch.
Definition at line 70 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField | ( | const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField & | psf | ) |
Construct as copy.
Definition at line 93 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField | ( | const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 107 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.
TypeName | ( | "compressible::alphatFixedDmdtWallBoilingWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.
Definition at line 220 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.
Definition at line 229 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H.
References fvPatchField< Type >::Clone().
|
virtual |
Is there phase change mass transfer for this phasePair.
Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.
Definition at line 123 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.
References Foam::constant::atomic::group.
Referenced by alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::dmdt(), and alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::mDotL().
|
virtual |
Return the rate of phase-change for specific phase pair.
Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.
Definition at line 135 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.
References Foam::abort(), alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::activePhasePair(), alphatPhaseChangeWallFunctionFvPatchScalarField::dmdt_, Foam::FatalError, FatalErrorInFunction, and alphatPhaseChangeWallFunctionFvPatchScalarField::mDotL_.
|
virtual |
Return the rate of phase-change for specific phase pair.
Reimplemented from alphatPhaseChangeWallFunctionFvPatchScalarField.
Definition at line 151 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.
References Foam::abort(), alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::activePhasePair(), Foam::FatalError, FatalErrorInFunction, and alphatPhaseChangeWallFunctionFvPatchScalarField::mDotL_.
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.
Definition at line 166 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.
References alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField::calcAlphat(), alphatPhaseChangeWallFunctionFvPatchScalarField::dmdt_, alphatPhaseChangeWallFunctionFvPatchScalarField::mDotL_, and Foam::operator==().
|
virtual |
Write.
Reimplemented from alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField.
Definition at line 185 of file alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C.
References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().