r/ScientificComputing • • 1d ago

FluidForge - Open Source Computational Engineering Software (PicoGK, OpenFOAM, BoTorch)

Hey Folks!

Over the course of the last year I developed a computational engineering program for fluid-based simulation and optimization pipelines called FluidForge. I am studying biomimetics in Germany, and after reading about the work of Leap 71, I was really interested in this concept and started experimenting with a few ideas. I am fully sold on the idea that by letting an algorithm design an organic-like shape, you can come up with solutions that would otherwise not be thought of. 

I realized that there was no really satisfying open-source computational engineering software out there for the kind of all-around purpose and solution open architecture I wanted to use. So I developed one myself. I wrote a short report about the program, including an (in my opinion, really beautiful) showcase project that shows what could be possible with the software. 

The PDF Report: https://drive.google.com/file/d/1cB-R5xj5Z3yj_7Egr21ctr-jLdjvyYWx/view?usp=sharing 

Link to the GitHub repo: https://github.com/Lionheart005/FluidForge

I would love to see your opinions on that. FluidForge is still in an early stage of development, and at this point I feel like this project could need some external input and expertise.

11 Upvotes

2 comments sorted by

1

u/original_orange_cat 1d ago

Does this use adjoint? How are you getting the gradient in the objective?

1

u/Loewenherz005 1d ago

No, it is a classical machine learning optimization (Bayesian optimization), and for every iteration the whole structure is generated by scratch. The upside is that you can not only adjust the shape by slowly moving the borders but by completely restructuring the whole part. The downside is that it takes longer. For simple problems like reducing drag, adjoint is the better solution, but for complex internal multipurpose logic and multi-target optimization, adjoint is not optimal anymore.