Bug fix: Using wrong mag function

This commit is contained in:
Hrvoje Jasak 2015-08-07 12:20:21 +01:00 committed by Dominik Christ
parent 06d8b24ab5
commit 5789e5c3e0

View file

@ -84,8 +84,8 @@ void Foam::betaFlux::evaluateFlux
const scalar magULeft = mag(ULeft);
const scalar magURight = mag(URight);
const scalar MLeft = abs(magULeft/cLeft);
const scalar MRight = abs(magURight/cRight);
const scalar MLeft = mag(magULeft/cLeft);
const scalar MRight = mag(magURight/cRight);
// Compute beta parameter - this should be done in multidimensional way
// similarly to multidimensional limiters