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

[snappyHexMesh] snap to edge of flat surface embedded by flat surface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 2, 2012, 20:21
Default snap to edge of flat surface embedded by flat surface
  #1
New Member
 
anonymous
Join Date: Jan 2012
Posts: 7
Rep Power: 14
PeterX30 is on a distinguished road
I'm new to OpenFoam and recently started to try out sHM and I'm impressed by the capabilities of this tool.
However I got stuck with the following issues.

I generated three stl-files with Salome, containing surfaces which together form up
a closed volume. Furthermore I created feature edge files "*.eMesh" with the command: surfaceFeatureExtract -includedAngle 150 */constant/triSurface/*.stl *
2 of this surface regions are located in one plane. One surface region defines an inlet
and the other a wall

The stl-files files as well as the eMesh files are succesfully read.

Mesh refinement works as expected from definition in the sHMdict file, but snapping only works to the external geometry edges but not at the border edge between the two surfaces in one plane.

Furthermore I thought the eMesh file is the key to avoid the edge jagging as described in several other threads, but this is not the case here.
Finally it seems the layer generation is not working.

I guess I made some stupid beginners mistakes ...

Any idea? Thank's for your help and comments!
Attached Images
File Type: jpg Screenshot.jpg (55.7 KB, 120 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (11.1 KB, 27 views)
File Type: txt log_excerpt.txt (14.2 KB, 7 views)

Last edited by PeterX30; January 3, 2012 at 06:47.
PeterX30 is offline   Reply With Quote

Old   March 8, 2012, 08:24
Default
  #2
Member
 
David GISEN
Join Date: Jul 2009
Location: Germany
Posts: 70
Rep Power: 17
David* is on a distinguished road
I've got the same problem. AFAIK it should work without the eMesh-file, but with it you should get better edges. Guess its a very simple mistake, maybe we have to change some angle in the settings? Does somebody know the solution?

Thanks,
David
David* is offline   Reply With Quote

Old   March 15, 2012, 12:24
Default
  #3
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
You have this in you snappyHexMesh file:

Code:
//- Highly experimental and wip: number of feature edge snapping
    //  iterations. Leave out altogether to disable.
    //  Of limited use in this case since faceZone faces not handled.
    //  nFeatureSnapIter 5;
I'd try something like this:


Code:
    nFeatureSnapIter 10;
so uncomment it out and set it to 10. That's a key parameter for the feature edges so it shoud not be commented out.
lovecraft22 is offline   Reply With Quote

Old   March 30, 2012, 11:25
Default
  #4
Member
 
David GISEN
Join Date: Jul 2009
Location: Germany
Posts: 70
Rep Power: 17
David* is on a distinguished road
In my case, nFeatureSnapiter was activated, but it had no effect on the border between the opening and the rest of the body. As I said in #2, normally the "snapping" should work even without the additional edge snapping. I guess, snappyHexMesh simply doesn't work on internal borders.
David* 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
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 12:12
Spray-Jet impingement on vertical flat surface Triccio CFX 6 June 1, 2015 10:49
[ICEM] Automatic mesh generation script surface intersection problem stuart23 ANSYS Meshing & Geometry 0 May 13, 2011 02:10
[Gmsh] boundaries with gmshToFoam‏ ouafa OpenFOAM Meshing & Mesh Conversion 7 May 21, 2010 13:43
solid edge problem....can you help? cindy Main CFD Forum 3 April 5, 2004 14:43


All times are GMT -4. The time now is 13:59.