Initial implementation of chtMultiRegionSimpleFoam, conjugate heat transfer support#265
Initial implementation of chtMultiRegionSimpleFoam, conjugate heat transfer support#265kevinsmia1939 wants to merge 2 commits into
Conversation
d8b5fe8 to
1a90271
Compare
|
Thanks for taking this on. One comment you could perhaps consider: My plan for this is to allow multiple mesh objects which would be connected via the non-conformal region-coupled boundaries in a similar way to how the periodic master/slave boundaries are currently implemented. This would be fairly general and not require us to implement a specialised method for each different mesher. |
6332691 to
a15c506
Compare
a15c506 to
23277b5
Compare
|
Initial support for steady-state conjugate heat transfer case New features
Mesh supportOnly Gmsh-based meshing is supported for the initial CHT implementation. The CHT workflow relies on gmsh volume/cell-zone output and on subsequent TestingI test the following combinations to evaluate the robustness of the CfdOF CHT implementation, all in laminar except one.
Example casesimple_heat_fin.FCStd : This is the simplest setup of chtMultiRegionSimpleFoam. The case feature a rectagular fin with constant temperature heat source at the base. microchip_cooling.FCStd : This example feature a setup akin to cooling microchip with fin heatsink with force convection from mean velocity force cell zone as a fan. This example features a microchip which generate volumetric heat. The other 3 solid regions include PCB with plastic material properties assigned, heat sink with aluminium material, fan case with plastic material. The convection was imposed with a mean velocity force cell zone on the top of the heat sink. Laminar flow was used. Next steps
|



Add chtMultiRegionSimpleFoam solver to CfdOF with multi-region CHT support
There are several limitations at the moment.
FreeCAD version 1.1.1 and openfoam2512 was tested.
Open the example I gave, write mesh case, run mesh, write case, and run case should start simulation without issue.
To view your result, open ParaView and add extractor block to see fluid or solid part, see screenshot.
Most of the codes are written with Claude code.
The next steps after this to put CHT in usable state includes,
Test different combinations and conditions
Test different cases with different wall boundary types, cyclic, symmetry, etc.
Add demo
Test with meanflowvelocity
Test different Turbulent model. A case without stability issues. Then add support for different Turbulent model.
Test different meshing.
Add more solid properties.
This PR still need much more testing until it is ready to merge. Will continue to update status.
All test pass except #262 which will need to merge first.
The example shown below is a heat sink with constant temperature on the bottom. Inlet and outlet flow over at 500mm/s.



cht_heatsink_test.FCStd.txt