CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   SNAFU at wwwopencfdcouk on solver page (http://www.cfd-online.com/Forums/openfoam/60831-snafu-wwwopencfdcouk-solver-page.html)

platopus March 30, 2008 16:08

I'm no expert, but shouldn't t
 
I'm no expert, but shouldn't the second occurrence of the Greek letter rho in the mathematical equation at

http://www.opencfd.co.uk/openfoam/cr...reatingSolvers

be instead a Greek letter phi to match the solver code below it on the page?

Regards.

dmoroian March 31, 2008 01:31

Hi Graeme, The convective ter
 
Hi Graeme,
The convective term can formally be written:

div(rUU) = div((rU)U) = div(fU) = fvm::div(phi,U)

So both, the mathematical expression and the c++ translation of it are correct in the aforementioned webpage.

platopus March 31, 2008 02:42

Hi Dragos, I confess that I
 
Hi Dragos,

I confess that I don't know enough to follow that completely, but I'll take your word for it.

Regards, Graeme.

dmoroian March 31, 2008 03:48

You don't need to know Fluid M
 
You don't need to know Fluid Mechanics for that, it is just a replacement: f = rU
Nothing more!

platopus March 31, 2008 04:51

So here, phi is a functor repr
 
So here, phi is a functor representing rU ?

dmoroian March 31, 2008 05:14

Yes it is.
 
Yes it is.

platopus March 31, 2008 06:27

Thanks for taking the time to
 
Thanks for taking the time to reply, Dragos.

Regards, Graeme.

dmoroian March 31, 2008 06:34

I hope you will like OpenFOAM
 
I hope you will like OpenFOAM more and more, and enjoy the discussions on this forum.

Dragos


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