CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Where is the solve of UEqn in twoPhaseEulerFoam? (

Qingang Xiong July 5, 2012 09:51

Where is the solve of UEqn in twoPhaseEulerFoam?
Hi Foamers,
In the manual "Derivation, Modelling and Solution of the Conditionally Averaged Two-Phase Flow Equations" by Weller et al. they said that momentum equations are constructed and solved. But in the solver code of twoPhaseEulerFoam, I just see UaEqn.relax(), not solve(). So could anyone explain to me how about this issue? Thank you!:confused:

bruce July 8, 2012 10:51

I think the momentum equation is not predicted and is only corrected in pressure loop which is conservative. (see pEqn.H)

alberto July 9, 2012 02:13

The momentum equation is defined (excluding some terms, which are transferred to the pressure equation), and the velocity is predicted with a single Jacobi step.

You could predict the velocity with a direct solution, including the transferred term by means of the reconstruct operator, however this might slow convergence down.

All times are GMT -4. The time now is 21:41.