From b98a5c104173cd0bf34e2aa29f81ce36f753e63a Mon Sep 17 00:00:00 2001 From: sergio <sergio> Date: Mon, 15 Feb 2016 10:10:57 -0800 Subject: [PATCH] BUG: Renaming k field in applyBoundaryLayer.C (fixes #70) --- .../preProcessing/applyBoundaryLayer/applyBoundaryLayer.C | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C b/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C index 94c7f53f840..4473b8391de 100644 --- a/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C +++ b/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C @@ -100,6 +100,7 @@ Foam::tmp<Foam::volScalarField> calcK volScalarField& k = tk(); scalar ck0 = pow025(Cmu)*kappa; k = (1 - mask)*k + mask*sqr(nut/(ck0*min(y, ybl))); + k.rename("k"); // Do not correct BC // - operation may use inconsistent fields wrt these local manipulations -- GitLab