CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Where is the solve of UEqn in twoPhaseEulerFoam? (https://www.cfd-online.com/Forums/openfoam-solving/104222-where-solve-ueqn-twophaseeulerfoam.html)

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.

masimasiqi June 3, 2019 09:00

Quote:

Originally Posted by alberto (Post 370388)
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.


could you please explain how to use a reconstruct operator?



I am using twoPhaseEulerFoam(5.0) and have read some literatures about the solving process. As you said, the solver only predict the velocity rather than solve it... how could I get the value of velocity?



thanks! It would be a lot of help.


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