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

snap to edge of flat surface embedded by flat surface

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

Reply
 
LinkBack Thread Tools 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: 5
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, 87 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (11.1 KB, 22 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: 37
Rep Power: 8
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: 463
Rep Power: 9
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, 10:25
Default
  #4
Member
 
David GISEN
Join Date: Jul 2009
Location: Germany
Posts: 37
Rep Power: 8
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

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
plotting pressure on the edge of a surface in 3D Muhammad Usman Qureshi FLUENT 0 July 14, 2007 14:22
silver surface and small edge problems John CFX 2 February 23, 2005 14:40
solid edge problem....can you help? cindy Main CFD Forum 3 April 5, 2004 13:43
Best leading edge for a Flat plate Rodge FLUENT 0 April 29, 2003 19:29
Patran Volume Meshing Deb CFX 19 April 17, 2003 10:56


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