diff --git a/applications/legacy/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C b/applications/legacy/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C index 10629595a4..a7cfcbedae 100644 --- a/applications/legacy/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C +++ b/applications/legacy/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -46,16 +46,16 @@ addToRunTimeSelectionTable(RASModel, PDRkEpsilon, dictionary); tmp PDRkEpsilon::boundEpsilon() { tmp tCmuk2(Cmu_*sqr(k_)); - epsilon_ = max(epsilon_, tCmuk2()/(this->nutMaxCoeff_*this->nu())); + epsilon_ = max(epsilon_, tCmuk2()/(nutMaxCoeff_*nu())); return tCmuk2; } void PDRkEpsilon::correctNut() { - this->nut_ = boundEpsilon()/epsilon_; - this->nut_.correctBoundaryConditions(); - fvConstraints::New(this->mesh_).constrain(this->nut_); + nut_ = Cmu_*sqr(k_)/epsilon_; + nut_.correctBoundaryConditions(); + fvConstraints::New(mesh_).constrain(nut_); } diff --git a/tutorials/legacy/combustion/PDRFoam/flamePropagationWithObstacles/system/controlDict b/tutorials/legacy/combustion/PDRFoam/flamePropagationWithObstacles/system/controlDict index 01c31fbd6d..aa94caf529 100644 --- a/tutorials/legacy/combustion/PDRFoam/flamePropagationWithObstacles/system/controlDict +++ b/tutorials/legacy/combustion/PDRFoam/flamePropagationWithObstacles/system/controlDict @@ -16,7 +16,7 @@ FoamFile application PDRFoam; -startFrom latestTime; +startFrom startTime; startTime 0; @@ -32,7 +32,7 @@ writeInterval 0.01; purgeWrite 0; -writeFormat ascii; +writeFormat binary; writePrecision 8;