From 4ec81f9103f02730f3bcee1454929057ac5fffb9 Mon Sep 17 00:00:00 2001 From: Vuko Vukcevic Date: Tue, 19 Jun 2018 15:22:23 +0200 Subject: [PATCH] Update to backwardsCompatibilityWallFunctions.C autoCreateMut now creates mutkWallFunction by default (instead of abstract base class mutWallFunction) --- src/turbulenceModels/compressible/RAS/Make/files | 1 + .../wallFunctions/backwardsCompatibilityWallFunctions.C | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/turbulenceModels/compressible/RAS/Make/files b/src/turbulenceModels/compressible/RAS/Make/files index 899b2eb36..af0c5cd7f 100644 --- a/src/turbulenceModels/compressible/RAS/Make/files +++ b/src/turbulenceModels/compressible/RAS/Make/files @@ -27,6 +27,7 @@ $(mutWallFunctions)/mutSpalartAllmarasStandardWallFunction/mutSpalartAllmarasSta $(mutWallFunctions)/mutSpalartAllmarasStandardRoughWallFunction/mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C $(mutWallFunctions)/mutSpalartAllmarasWallFunction/mutSpalartAllmarasWallFunctionFvPatchScalarField.C +backwardsCompatibility/wallFunctions/backwardsCompatibilityWallFunctions.C epsilonWallFunctions = $(wallFunctions)/epsilonWallFunctions $(epsilonWallFunctions)/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C diff --git a/src/turbulenceModels/compressible/RAS/backwardsCompatibility/wallFunctions/backwardsCompatibilityWallFunctions.C b/src/turbulenceModels/compressible/RAS/backwardsCompatibility/wallFunctions/backwardsCompatibilityWallFunctions.C index 740cbbc39..d44323d31 100644 --- a/src/turbulenceModels/compressible/RAS/backwardsCompatibility/wallFunctions/backwardsCompatibilityWallFunctions.C +++ b/src/turbulenceModels/compressible/RAS/backwardsCompatibility/wallFunctions/backwardsCompatibilityWallFunctions.C @@ -27,7 +27,7 @@ License #include "calculatedFvPatchField.H" #include "alphatWallFunctionFvPatchScalarField.H" -#include "mutWallFunctionFvPatchScalarField.H" +#include "mutkWallFunctionFvPatchScalarField.H" #include "mutLowReWallFunctionFvPatchScalarField.H" #include "epsilonWallFunctionFvPatchScalarField.H" #include "kqRWallFunctionFvPatchField.H" @@ -158,7 +158,7 @@ tmp autoCreateMut if (bm[patchI].isWall()) { mutBoundaryTypes[patchI] = - RASModels::mutWallFunctionFvPatchScalarField::typeName; + RASModels::mutkWallFunctionFvPatchScalarField::typeName; } else {