Mass flux update in simpleFoam and rhoSimpleFoam
Hello to all,
I would like to know if anyone can clarify why the mass flux in simpleFoam is calculated as: Code:
phi = phiHbyA - pEqn.flux(); Code:
phi = phiHbyA + pEqn.flux(); |
in simpleFoam it comes from the discretization of the continuity equation:
Where the .flux() function is used to rebuild the fluxes accounting for the implicit and explicit part resulting from the discretization of the laplacian operator (https://www.cfd-online.com/Forums/op...ux-method.html) For the rhoSimpleFoam part, I would appreciate the help! |
All times are GMT -4. The time now is 09:10. |