mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Renaming k field in applyBoundaryLayer.C (fixes #70)
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user