开发者

Simulating fire with SPH particles

I want to simulate fire using SPH particles. I understand the concept behind SPH but don't understand yet how to model the fire as a fluid.

  • Do I have to add some temperature property to my particles from which I can derive there color?
  • Do I have to take the surrounding air particles in account to create some buoyancy effect?
  • Where do the particles get their heat from? Do I have to add a heat emitter over some space which creates warm particles so that the temperature then diffuses to the ot开发者_C百科her particles over time?
  • Are there some tutorials which describe my problem?


  • Yes, you'll have to have a temperature property. It really isn't fire if temperature isn't involved. And once you have temperature it's easy to get luminosity and color. (You probably don't have to worry about radiative heat transfer, at least not for a first effort.)
  • If you handle pressure and gravity right, buoyancy will arise (ahem) naturally.
  • You can start with a fixed heating element and an inert gas, then when you're ready you can introduce combustion as a differential equation: the rate of energy generation is a function of temperature, fuel pressure and oxygen pressure.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜