How to calculate the flux of this term --- grad(alpha1)*alphaf*U?
Hi Foamers,
I am working on a modified solver based on interFoam, having problem to calculate the flux of the following term (in modified VOF method): https://66.media.tumblr.com/09e03f7c...ssaho1_250.png where alpha1 is the liquid phase volume fraction, alphaf the fluid volume fraction, and U the fluid velocity. The term alphaf is introduced because there is a third phase: solid. To calculate the flux of this term, I tried the following code: Code:
volVectorField afGrada1("afGrada1", alphaf*fvc::grad(alpha1)); Code:
alphaEqn.H: In function ‘int main(int, char**)’: Thanks in advance. David |
All times are GMT -4. The time now is 09:40. |