CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   SonicFoam divphiU (

dimi June 18, 2007 09:31

Hi everybody, Could someone
Hi everybody,

Could someone tell me what div(phi,U) means in sonicFoam.C, is it the divergence of the scalar product between phi and U ? or is it something else?

Thanks for your help


grtabor June 18, 2007 11:03

No. Its the divergence of the
No. Its the divergence of the vector field U. YOu just need phi to work it out in the FVM


lam June 25, 2007 05:32

Hi Gavin, Is it the same th
Hi Gavin,

Is it the same thing in simpleFoam.C for you?
I mean do you think that "div(phi,U)" is just div(U)??

Because, I thought that div(phi,U) is always something like div(UU).

Am I wrong???


dimi June 25, 2007 05:47

Hi, After thinking about it

After thinking about it, I think that div(phi,U) is the divergence of the tensor rho*Ui*Uj.


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