CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Smoothing the surface

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 4, 2014, 12:57
Default Smoothing the surface
  #1
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,100
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
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, 41 views)
File Type: jpg mesh1.jpg (94.8 KB, 51 views)
Tobi is offline   Reply With Quote

Old   January 4, 2014, 19:24
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,133
Rep Power: 20
alexeym will become famous soon enoughalexeym will become famous soon enough
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, 13:32
Default
  #3
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,100
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
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, 18:10
Default
  #4
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,100
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
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, 29 views)
File Type: jpg mesh2.jpg (16.8 KB, 27 views)
File Type: jpg mesh3.jpg (92.5 KB, 38 views)
Tobi is offline   Reply With Quote

Old   January 9, 2014, 04:53
Default
  #5
New Member
 
Michael
Join Date: Sep 2012
Posts: 23
Rep Power: 5
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;
}
mirx is offline   Reply With Quote

Old   January 9, 2014, 09:50
Default
  #6
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,100
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
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

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 July 14, 2015 05:54
Layers don't fully surround surface EVBUCF OpenFOAM Native Meshers: snappyHexMesh and Others 14 August 20, 2012 04:31
smoothing surface farzad66 CFX 1 May 24, 2012 18:39
Recover surface from surface mesh in IcemCFD Jerry Tanner CFX 0 August 20, 2008 12:48
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 11:21.