Skip to content
Snippets Groups Projects
Commit b98a5c10 authored by sergio's avatar sergio
Browse files

BUG: Renaming k field in applyBoundaryLayer.C (fixes #70)

parent 463296eb
Branches
Tags
No related merge requests found
...@@ -100,6 +100,7 @@ Foam::tmp<Foam::volScalarField> calcK ...@@ -100,6 +100,7 @@ Foam::tmp<Foam::volScalarField> calcK
volScalarField& k = tk(); volScalarField& k = tk();
scalar ck0 = pow025(Cmu)*kappa; scalar ck0 = pow025(Cmu)*kappa;
k = (1 - mask)*k + mask*sqr(nut/(ck0*min(y, ybl))); k = (1 - mask)*k + mask*sqr(nut/(ck0*min(y, ybl)));
k.rename("k");
// Do not correct BC // Do not correct BC
// - operation may use inconsistent fields wrt these local manipulations // - operation may use inconsistent fields wrt these local manipulations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment