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

This commit is contained in:
sergio
2016-02-15 10:10:57 -08:00
parent 463296eb40
commit b98a5c1041

View File

@ -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