This repository contains an end-to-end automated framework for the design optimization of Conjugate Heat Transfer (CHT) systems. The workflow integrates parametric CAD, automated meshing, and high-fidelity CFD within a Bayesian Optimization (BO) loop.
Note: This is an initial implementation developed for experimental research. Some components are optimized for a specific local environment and may require adjustment for different hardware setups.
The framework executes a complete "CAD-to-Opt" cycle:
- Parametric CAD: (FreeCAD & CadQuery)
- Assembly & Geometry: Volume extraction and Share Topology (Ansys SpaceClaim)
- Automated Meshing: Conformal mesh generation (PyPrimeMesh)
- CFD Analysis: CHT simulation (Ansys PyFluent)
- Optimization: Bayesian active learning (Scikit-Learn/Scipy)
- Python 3.11 (
⚠️ Mandatory: Required for compatibility with the FreeCAD Python API/library). - Ansys Ecosystem: SpaceClaim, PrimeMesh, Fluent (accessed via PyAnsys).
- FreeCAD & CadQuery: For parametric geometry generation.
AutoFlow_2.py: The main execution script. This file contains the complete automated optimization loop.- Usage: Refer to the internal comments for configuration.
- Helper Functions: Modularized functions (e.g.,
Function_BO.py,Funciton_automesh.py) are included.
If you find this framework useful for your research, please acknowledge the corresponding paper (to be published).