|
[Sponsors] |
[snappyHexMesh] Problem in using snappyHexMesh for a multi-region heat exchanger |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 27, 2021, 14:19 |
Problem in using snappyHexMesh for a multi-region heat exchanger
|
#1 |
New Member
Join Date: Jul 2021
Posts: 2
Rep Power: 0 |
Hi,
Based on a shell-and-tube heat exchanger example given in the tutorials of OpenFOAM v8 (Foundations version), I tried to generate a mesh for a slightly different heat exchanger using snappyHexMesh. First, I generated the STL files for my heat exchanger in Salome similar to those STL files given in the tutorial. Then I edited the blockMeshDict and snappyHexMeshDict files accordingly. However, when I try to generate the mesh using snappy I get a large number of non-orthogonal elements and lots of warnings about not being able to find a surface near to some points and at the end, it's unable to generate the appropriate mesh. I tried with different number of cells in blockMeshDict and with different locationInMesh in snappyHexMeshDict, but the result didn't change. Considering the similarity of my case and its geometry and physics with the case given in the tutorial, I really wonder what could be the issue. Attached, you may find the case files. I'd really appreciate it if you could help me to resolve the problem. Regards, Ali |
|
August 28, 2021, 11:28 |
|
#2 |
New Member
Join Date: Aug 2021
Posts: 7
Rep Power: 5 |
Your STL files are not "waterproofed".
I opened the STL files in ParaView, and as you can see in the attachments, you have many non-connected edges and areas with ugly looking triangulation. with such bad STLs, snappyHexMesh will have a hard time snapping to the feature edges of your geometry. What I suggest is:
|
|
August 28, 2021, 11:31 |
|
#3 |
New Member
Join Date: Aug 2021
Posts: 7
Rep Power: 5 |
Your goal is to have surface triangulation looking pretty much like this
|
|
August 31, 2021, 12:27 |
|
#4 |
New Member
Join Date: Jul 2021
Posts: 2
Rep Power: 0 |
Thanks a lot for your help. I tried to follow your recommendations in every step. I also watched Tobias tutorials on Youtube. After that, using Salome, I generated a vey fine triangulated STL files (please see the files in the following link). Then I created a background mesh using blockMesh and finally I applied snappy to create the castellated mesh. But even before snapping and in the process of generating the castellated mesh, always I get a pretty large number of non-orthogonal cells. I tried to increase the level of refinement (through the level parameter), but it just increased the number of non-orthogonal cells. Also, I used the surfaceFeatureExtract and embedded them in the snappy process, however, it didn't make much difference. I'm wondering if I'm missing something here and I'd really appreciate it if you could give me some advice. Thanks.
https://www.dropbox.com/s/ogyx8o327x3tui9/HX.zip?dl=0 |
|
Tags |
heat exchanger, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent Heat exchanger model | gimson | FLUENT | 0 | May 10, 2021 05:30 |
chtMultiRegionFoam connection between solid and fluid region of heat exchanger | ahab | OpenFOAM | 1 | December 18, 2019 01:37 |
Problem simulating the temperature rise in a composite material (chtMultiRegionFoam) | Adam_K | OpenFOAM Running, Solving & CFD | 2 | March 27, 2019 07:51 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
2D heat exchanger problem | Kwiaci | FLUENT | 0 | June 7, 2012 08:12 |