Difference between revisions of "BubbleFoam"
From OpenFOAMWiki
(→Implementation of the phase continuity equation) |
(→Implementation of the phase continuity equation) |
||
Line 257: | Line 257: | ||
<cpp> | <cpp> | ||
{ | { | ||
− | // A word is | + | // A word is defined to store the discretisation scheme label used to compute the |
// divergence of the dispersed phase volume fraction. The text between “ “ is searched | // divergence of the dispersed phase volume fraction. The text between “ “ is searched | ||
// for in the fvSchemes dictionary | // for in the fvSchemes dictionary | ||
word scheme("div(phi,alpha)"); | word scheme("div(phi,alpha)"); | ||
− | // The relative | + | // The relative flux is calculated |
surfaceScalarField phir = phia - phib; | surfaceScalarField phir = phia - phib; | ||