CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Jos stam implementation with OpenFOAM (https://www.cfd-online.com/Forums/openfoam/86726-jos-stam-implementation-openfoam.html)

dhasthagheer March 31, 2011 07:43

Jos stam implementation with OpenFOAM
 
Hi there,

I am trying to implement Jos stam's real time fluid dynamic for games using OpenFOAM. (http://www.dgp.toronto.edu/people/st.../pdf/GDC03.pdf). why i choose this paper because, I need to demonstrate advection, projection, diffusion of fluid(Navier stoke equation).

which solver do I need to use to solve navier-stoke equation(advection, projection, diffusion) in Openfoam?. Give me suggestion to simulate smoke flow as per Navier stoke equation (density solver, velocity solver).

vatavuk April 3, 2011 11:28

Hi,
I found Jos Stam's paper very interesting. But you must be aware that what this author does is very different from what OpenFOAM does. He is trying to do a fast simulation that looks like a real fluid flow. He doesn’t care if he is solving exactly the Navier-Stokes equation. He is mainly preoccupied to have a simple algorithm. On the other hand, OpenFOAM, if correctly used, will solve the Navier-Stokes equation with the desired degree of accuracy, giving precise results for engineering applications.

I have no experience with smoke flow in OpenFOAM but looking at the user guide (page 88), it seems that a solver for particle tracking flows would do the job.

I suggest that you think carefully if its worthwhile to use OpenFOAM for this application. Implementing a solver like the one of the paper seems to be much easier than adapting an OpenFOAM solver for a specific problem.


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