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

[snappyHexMesh] Smoothing the surface

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mirx

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2014, 11:57
Default Smoothing the surface
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear all,

I am working with sHM a long time but I never solved the following problem!
If I am using multi-region cases I got bad surface approximation on curved surfaces (see the attached pictures).

If I mesh just one region - everything is fine.
Does someone know any solutions for this? I think this depend on the multi-domain function of sHM. Maybe it happend after splitting the mesh?!

Regards
Tobi
Attached Images
File Type: jpg mesh2.jpg (33.0 KB, 182 views)
File Type: jpg mesh1.jpg (94.8 KB, 208 views)
Tobi is offline   Reply With Quote

Old   January 4, 2014, 18:24
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
But can you exactly post what is the problem? Wasn't able to figure out it from the pictures you've attached.
alexeym is offline   Reply With Quote

Old   January 5, 2014, 12:32
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by alexeym View Post
But can you exactly post what is the problem? Wasn't able to figure out it from the pictures you've attached.

Hi,

the problem - maybe its not a problem - is that the surface is not smooth enough. If I just mesh the cup region then I get a extreme accurate surface approximation. If I am home again I will do this again and post a new picture so that the differences are clear.

To clear it up:

- one region: accurate and smooth surface
- multi region: no smooth surface (see pictures) - snatchy surface.


Regards Tobi
Tobi is offline   Reply With Quote

Old   January 5, 2014, 17:10
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Okay.

In the attachment you find the surfaces after meshing but just the cup (no multidomain with cellZones and faceZones).

The question now. Is it possible to get such a surface with the multidomain meshing too or not?

Regards
Tobi
Attached Images
File Type: jpg mesh1.jpg (16.0 KB, 136 views)
File Type: jpg mesh2.jpg (16.8 KB, 128 views)
File Type: jpg mesh3.jpg (92.5 KB, 153 views)
Tobi is offline   Reply With Quote

Old   January 9, 2014, 03:53
Default
  #5
New Member
 
Michael
Join Date: Sep 2012
Posts: 23
Rep Power: 13
mirx is on a distinguished road
I do not know where these issues come from, but I was able to fix it by trying different mesh settings.

You have to play with the values: nSolveIter, nRelaxIter, nFeatureSnapIter. explicitFeatureSnap true and multiRegionFeatureSnap false did a better job for me than implicitFeatureSnap. Furthermore the meshQualityControls may have an influence on the result. As a starting point you may use my settings:

Code:
snapControls
{
  nSmoothPatch 3;
  tolerance 1.0;
  nSolveIter 60;
  nRelaxIter 5;
  nFeatureSnapIter 5;
  implicitFeatureSnap false;
  explicitFeatureSnap true;
  multiRegionFeatureSnap false;
}
Code:
meshQualityControls
{
  maxNonOrtho 100;
  maxBoundarySkewness 40;
  maxInternalSkewness 8;
  maxConcave 80;
  minVol 0;
  minTetQuality 1e-30;
  minArea -1;
  minTwist 0.02;
  minDeterminant 0.001;
  minFaceWeight 0.02;
  minVolRatio 0.01;
  minTriangleTwist -1;
  nSmoothScale 4;
  errorReduction 0.75;
}
shashanktiwari619 likes this.
mirx is offline   Reply With Quote

Old   January 9, 2014, 08:50
Default
  #6
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

I will check it out.
I used explizit Feature snapping and have more iterations on smoothing as you mentioned but I will check you Settings.

It only appears with multi-Region!
Tobi is offline   Reply With Quote

Old   June 4, 2018, 10:18
Default
  #7
Senior Member
 
Muhammad Waqas
Join Date: Jul 2014
Location: Germany
Posts: 122
Rep Power: 11
mwaqas is on a distinguished road
Send a message via Skype™ to mwaqas
Hello Tobi,


Have you figured out something to smooth surface while using SHM for multiregion meshing?
I have seen your tutorials on your website for mutiregion meshing. In those tutorials, surface is not smooth.
Did you face any problem in simulation due to non-smooth surface?
Thank you


Regards
mwaqas 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
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 11:05
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry pizzaspinate OpenFOAM Meshing & Mesh Conversion 1 February 25, 2015 07:05
[snappyHexMesh] Layers don't fully surround surface EVBUCF OpenFOAM Meshing & Mesh Conversion 14 August 20, 2012 04:31
smoothing surface farzad66 CFX 1 May 24, 2012 18:39
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin Kaushik FLUENT 1 May 8, 2000 06:47


All times are GMT -4. The time now is 10:23.