Bugfix: order of operators for dot-product

This commit is contained in:
Hrvoje Jasak 2017-02-10 10:02:07 +00:00
parent c2e734d4be
commit fc2276c2a9

View file

@ -13,7 +13,7 @@
U = rUA*UEqn.H();
// Calculate phi for boundary conditions
phi = rhof*fvc::interpolate(U) & mesh.Sf();
phi = rhof*(fvc::interpolate(U) & mesh.Sf());
surfaceScalarField phid2 = rhoReff/rhof*phi;