Bug fix: Using wrong mag function
This commit is contained in:
parent
06d8b24ab5
commit
5789e5c3e0
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@ void Foam::betaFlux::evaluateFlux
|
||||||
const scalar magULeft = mag(ULeft);
|
const scalar magULeft = mag(ULeft);
|
||||||
const scalar magURight = mag(URight);
|
const scalar magURight = mag(URight);
|
||||||
|
|
||||||
const scalar MLeft = abs(magULeft/cLeft);
|
const scalar MLeft = mag(magULeft/cLeft);
|
||||||
const scalar MRight = abs(magURight/cRight);
|
const scalar MRight = mag(magURight/cRight);
|
||||||
|
|
||||||
// Compute beta parameter - this should be done in multidimensional way
|
// Compute beta parameter - this should be done in multidimensional way
|
||||||
// similarly to multidimensional limiters
|
// similarly to multidimensional limiters
|
||||||
|
|
Reference in a new issue