Question

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 other particles over time?
  • Are there some tutorials which describe my problem?
Was it helpful?

Solution

  • 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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top