Integrating own Smoke Simulation in Blender?

Hi all,

I’ve implemented a simple smoke simulation based on the “Stable Fluids” algorithm by Jos Stam. I would now like to integrate my simulator in Blender in the sense that I could define the simulation domain and some obstacles in Blender just like you would do with the exisiting physics simulations (smoke, water, …) while using my own smoke simulator. It’s really just to play around with my own smoke simulator and getting a high-quality rendering of the resulting smoke (I know that there already is a smoke simulator in Blender which is far better than mine :slight_smile: ).

Is it possible at all to extend Blender this way? If so, is this possible through a plugin or would I have to modify and recompile the Blender code itself?

Thanks in advance for any help!