CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   SonicFoam divphiU (http://www.cfd-online.com/Forums/openfoam-solving/59618-sonicfoam-divphiu.html)

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

Dimitri

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

Gavin

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???

Lam

dimi June 25, 2007 05:47

Hi, After thinking about it
 
Hi,

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

Dim.


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