CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Strange thin layer at interface between two regions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2023, 09:19
Default Strange thin layer at interface between two regions
  #1
New Member
 
Join Date: Sep 2022
Posts: 19
Rep Power: 3
hogglife is on a distinguished road
Hi,

I want to perform a conjugate heat-flow simulation and thus needs to mesh multi regions, including fluid and solids.

A simplified case is attached which includes a chamber and a plate, as well as all needed files to run.

Strange cells are generated by snappyHexMesh at the interface between the chamber and the plate. These strange cells belong to the chamber and is a thin layer. In addition they seems not connected to the lower cells of chamber.

Meanwhile besides the /chamber/patch/chamber_to_plate, there is an extra patch with the name of "plate" under /chamber/patch/ in paraView. ParaView shows this patch is composed of double layers of surface but in original stl surface "plate" it is a single layer surface.

In the attached figures, all cliping is done at (0,0,0) with normal of (0,1,0).

The version of openFoam I used is v2206.

Any idea is appreciated!

Thank you in advance!
Attached Images
File Type: png all_geometry.png (146.2 KB, 13 views)
File Type: png mesh_clipped.png (172.1 KB, 12 views)
File Type: png strange_cells_1.png (164.9 KB, 13 views)
File Type: png strange_cells_2.png (181.8 KB, 11 views)
Attached Files
File Type: zip learnSHM501.zip (149.0 KB, 0 views)
hogglife is offline   Reply With Quote

Old   January 31, 2023, 09:23
Default
  #2
New Member
 
Join Date: Sep 2022
Posts: 19
Rep Power: 3
hogglife is on a distinguished road
The rest figures to be uploaded.
Attached Images
File Type: png strange_cells_3.png (157.4 KB, 9 views)
File Type: png strange_patch_of_plate.png (176.3 KB, 7 views)
hogglife is offline   Reply With Quote

Old   February 1, 2023, 04:46
Default
  #3
New Member
 
Join Date: Sep 2022
Posts: 19
Rep Power: 3
hogglife is on a distinguished road
Further investigation shows after the 1st step of snappyHexMesh, the original stl surface of plate becomes a flat patch, i.e. two layers of cells overlap with each other. This patch "plate" locates at the lower surface of original stl surface of plate. The two overlapped layers behaves as a boundary in cells of chamber, i.e. the cells of chamber adjacent the two layers in patch of plate do not connect to each other, and leads to the split in 2nd step of snappyHexMesh.

Can anybody give advice?

I guess the problem relates to the fact the region "plate" is completely in the region "chamber" which causes some issue when assigning cells to region.
Attached Images
File Type: png patch_plate_becomes_flat.png (169.9 KB, 9 views)
hogglife is offline   Reply With Quote

Old   February 10, 2023, 00:30
Default
  #4
New Member
 
Join Date: Sep 2022
Posts: 19
Rep Power: 3
hogglife is on a distinguished road
Trials found after changing the number of cell along x, y, and z in background mesh the problem vanishes, e.g.

original: (with issue at interface)
Code:
    xCells    172;
    yCells    172;
    zCells    115;

new: (without the mentioned problem)
Code:
    xCells    180;
    yCells    180;
    zCells    120;
Though changing numbers of cell along x, y, and z can solve problem in this simple geometry, for my complex geometry using this trial-and-error method may take long time.

Does anybody know the reason? Or is it a bug in snappyHexMesh?
hogglife is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Layer coverage at 98% with collapses at corners oryx OpenFOAM Meshing & Mesh Conversion 1 December 4, 2023 19:04
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Prismatic boundary layer KateEisenhower enGrid 5 September 15, 2015 07:48
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 20:09


All times are GMT -4. The time now is 08:52.