Meshing for conjugate heat transfer
Posted: Mon Sep 25, 2023 8:24 am
Hello.
I am now experimenting with the coupling between Code Saturne and Syrthes. Up to now I have used both tools seperatly with some success. My question here is how to mesh correctly for this coupling to work. My case is based on fluid-solid heat exchange.
I have constructed the Study folder with "code_saturne create -s test -c FLUID --syrthes SOLID" as recommended in the "3 2D disks" example.
For such a study I need two separate 3D meshes. I use Salomé as mesher. I want the fluid boundary zones well represented and I assume that the common surface where heat exchange will take place should be compatible (have nodes in common). In my study the fluid layer is thin compared to the dimensions in the solid.
My approach in Salomé has been to make two volumes in Salomé and combine them in a "Glue" as this will enable meshing the entire domain in a single operation in the mesh module - and thus assure common nodes/surface elements on the coupling surface.
In the MESH module I make one meshes with two sub-meshes one for the solid with one mesh density and another for the fluid with higher density end boundary layers. The assembled mesh looks as I want it to - my problem is that I can not save the sub-meshes and their corresponding groups separately.
I tried to delete one sub-mesh and its groups and then save, followed by reloading the mesh and doing likewise with the other sub-mesh by the meshes saved this way seem not "clean" and do not work correctly in uncoupled runs with code_saturne and syrthes respectively - which is my way of testing the meshes and the setups.
How do I construct this mesh preparation suitably? What do you do?
For the testing I use a relative simple geometry but my target study will have complex geometry so I am interested in leaving the work to the mesher and avoid too much manual manipulation.
Thank you for reading and responding.
(Platform: Linux Mint + code_saturne 7.0.6 + syrthes 5.0 + salomé mesh 8.5.0)
I am now experimenting with the coupling between Code Saturne and Syrthes. Up to now I have used both tools seperatly with some success. My question here is how to mesh correctly for this coupling to work. My case is based on fluid-solid heat exchange.
I have constructed the Study folder with "code_saturne create -s test -c FLUID --syrthes SOLID" as recommended in the "3 2D disks" example.
For such a study I need two separate 3D meshes. I use Salomé as mesher. I want the fluid boundary zones well represented and I assume that the common surface where heat exchange will take place should be compatible (have nodes in common). In my study the fluid layer is thin compared to the dimensions in the solid.
My approach in Salomé has been to make two volumes in Salomé and combine them in a "Glue" as this will enable meshing the entire domain in a single operation in the mesh module - and thus assure common nodes/surface elements on the coupling surface.
In the MESH module I make one meshes with two sub-meshes one for the solid with one mesh density and another for the fluid with higher density end boundary layers. The assembled mesh looks as I want it to - my problem is that I can not save the sub-meshes and their corresponding groups separately.
I tried to delete one sub-mesh and its groups and then save, followed by reloading the mesh and doing likewise with the other sub-mesh by the meshes saved this way seem not "clean" and do not work correctly in uncoupled runs with code_saturne and syrthes respectively - which is my way of testing the meshes and the setups.
How do I construct this mesh preparation suitably? What do you do?
For the testing I use a relative simple geometry but my target study will have complex geometry so I am interested in leaving the work to the mesher and avoid too much manual manipulation.
Thank you for reading and responding.
(Platform: Linux Mint + code_saturne 7.0.6 + syrthes 5.0 + salomé mesh 8.5.0)