tum-pbs / PhiFlow

A differentiable PDE solving framework for machine learning
MIT License
1.39k stars 189 forks source link

3D Fluid Topology Optimization for Pressure Drop #159

Closed kbali1297 closed 2 months ago

kbali1297 commented 2 months ago

3D Topology Optimization implementation in Phiflow. Attach files consist of the main code Top_Opt3D.py along with geometry and postprocessing helper functions. Also included Voxel geometry class for efficient obstacle assignment. We take a cubical domain and define fluid inlets and outlets using the input parameters. Fluid cells are converted to obstacle cells during each iteration to minimize the net pressure drop between the inlets and outlets. Done as part of Master's Thesis at the Thuerey Group.