CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Real-time CFD? (https://www.cfd-online.com/Forums/main/15247-real-time-cfd.html)

Joep Moritz May 30, 2008 19:08

Real-time CFD?
 
Hey all

For my MSc final project I'm trying to do a simulation of a bullet hitting a gelatine, which is often used in the field of wound ballistics. I have a feeling CFD could be used for this. Am I right?

Secondly, would it be possible to do a real-time simulation by simplifying the maths or using a small grid? It doesn't have to be accurate, I just want to show the visual effect.

Thanks for your time :)

P.S. For those interested, my MSc is Games Programming (hence the real-time requirement) and this project is is supposed to simulate a bullet hitting an apple as seen in this video: http://video.google.com/videoplay?do...57552702964257 I doubt I can get anywhere close, but that's fine :)

Robin May 31, 2008 03:41

Re: Real-time CFD?
 
You need to get familiar with the most amazing software, plasma-pong, http://www.plasmapong.com

With the sandbox feature you might be able to set up a directional source but no chance of solid/solid interaction.

Pauli May 31, 2008 10:42

Re: Real-time CFD?
 
Yes, it's called conservation of momentum and energy. The rest should just be a coding exercise.

Think in terms of a billiard ball problem. Take the bullet's kinetic energy & momentum vector and transfer it to "N" particles of the apple. Add in a randomly seeded dispersion cone & you should be rocking.

gocarts May 31, 2008 13:20

Re: Real-time CFD?
 
If you're after physics simulations that look good (qualitative over quantitative) then particle simulations (as used in CGI movie effects) should be good enough. Real-time calculations for limited "physics in a box" are possible on GPUs. For more details try: http://www.symscape.com/blog/real_time_simulation


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