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

[snappyHexMesh] Snappy Hex Mesh - Meshing Problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2019, 03:43
Default Snappy Hex Mesh - Meshing Problem
  #1
New Member
 
Join Date: Nov 2018
Posts: 4
Rep Power: 3
Muhammad Asim Sarwar is on a distinguished road
Hi all. It is my first thread and I am sorry if I am unable to convey my information properly.

I am new to openfoam and I have started a simulation with heat transfer (chtMultiRegionFoam). My domain is very simple. I have thin rectangular rods with 10mm thickness. The fluid flows inside it.

I am meshing the domain with snappy hex mesh. The problem is that the elements on some fluid domain are perfectly aligned but on some they are distorted (first pic). However, the outer surface of solid domain is perfectly aligned.

The dimension of rod is 200*120mm. On one thread I have read that aspect ratio needs to be close at 1 for snappy hex mesh to work properly. So that's why I have used grading in z direction at both ends so that cell size in x, y and z axis will be same.

fluid.JPG

solid.JPG

blockMesh Dict.txt

SnappyHexMesh Dict.txt
Muhammad Asim Sarwar is offline   Reply With Quote

Old   August 23, 2019, 07:23
Default
  #2
Senior Member
 
Muhammad Waqas
Join Date: Jul 2014
Location: Germany
Posts: 123
Rep Power: 8
mwaqas is on a distinguished road
Send a message via Skype™ to mwaqas
Hello Muhammad,


SHM is really tricky and sensitive especially multi-region meshing. Even a small change in one parameter has big influence on meshing.



Normally, this problem occurs when you have different refinement on both sides of interface. Try to have same cell size (refinement) across the interface and then after splitting the regions, you will not get distorted mesh.


Regards.
mwaqas is offline   Reply With Quote

Reply

Tags
openfoam 5.0, snappy hex mesh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[snappyHexMesh] About Non-conformal Mesh, Snappy Hex Mesh Chaitanya2811 OpenFOAM Meshing & Mesh Conversion 0 March 25, 2019 09:03
[blockMesh] Openfoam: Meshing, where do my defaultFaces come from syntex OpenFOAM Meshing & Mesh Conversion 19 December 10, 2018 07:21
[ICEM] Unstructure Meshing Around Imported Plot3D Structured Mesh ICEM kawamatt2 ANSYS Meshing & Geometry 17 December 20, 2011 11:45
CheckMeshbs errors ivanyao OpenFOAM Running, Solving & CFD 2 March 11, 2009 02:34


All times are GMT -4. The time now is 15:51.