explosion & fire special effects

I need OpenGL code for explosion and for fire special effects. I need them to be as 3D as possible (not a simple billboard with an animated texture). I am particularly interested in these 2 types of effects simulated through particle systems.
Any source code would be very appreciated.

Since you’ve posted this in the advanced section, some people here expect you to do some research before asking a question.

Also, explosions and other fire effects don’t have much to do with OpenGL since it’s API independent.

Anyway, I’m in a nice mood today, so here you go:
Volumetric Exploded Source