CFD Online Logo CFD Online URL
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

prismatic layer

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

LinkBack Thread Tools Display Modes
Old   January 20, 2011, 10:53
Default prismatic layer
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 10
vaina74 is on a distinguished road
Hi, Netgen users.

is there a possibility to generate a prismatic layer or something similar in order to get closer to wall surfaces, avoiding too much large amount of cells?
vaina74 is offline   Reply With Quote

Old   January 22, 2011, 14:55
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 549
Rep Power: 18
philippose will become famous soon enough
Hello there,

A Good Evening to you :-)! I hope its not too cold (like it is here) where ever you are located...!

Prismatic cells in Netgen.... well.... I had started on this about 8 to 10 months ago, and put together an extremely primitive functionality for creating prismatic cells specifically with the idea of "near-wall" meshes in mind.

You could try it out by going to the "special-> prismatic boundary layer" menu option after completing a full meshing (surface + volume) operation.

Once you select this option, in the console you are asked to provide a list of the face IDs (not the boundary condition IDs, but the actual face IDs which you can find in the console if you double click on a face after meshing) one after the other, till you provide an ID of "-1" which indicates the end of the list.

Then you can provide the height of the first layer (closest to the wall), followed by the number of layers, and a "growth / shrink" factor.

Once this is done, Netgen will attempt to create a set of layers consisting of prismatic cells.

Now.... this is highly experimental, and does not handle pyramid cells yet (required in some areas to interface between the layers and the rest of the volume mesh), and will fail in cases where the geometry is complicated.

Having said this much..... have you tried "Engrid"? Doesn't this software provide the capability to create boundary layers? I know that it uses the netgen meshing core for the volume meshing... but an in-house code for the boundary layers....

Have a nice day ahead!

philippose is offline   Reply With Quote

Old   January 22, 2011, 15:35
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 10
vaina74 is on a distinguished road
Hi, Philippose.

Thanks for your detailed reply. I've just tried to apply your instructions but, after the prismatic layer menu option, nothing happens (all freezes). I think I have an old version (the last stable 4.9.13), maybe you refer to a 'dev' release. Anyway, it doesn't matter. You talked about a seriously primitive and experimental tool. I know and use enGrid and its prismatic layer function but it's a very, very, very slow process.
What about a tool for converting a tet into a polyhedral mesh? Are you working on this? It could be very interesting, even if OpenFOAM already gives the polyDualMesh application - but I've got some doubts about the meaning of the <angle> parameter.

Best regards.
vaina74 is offline   Reply With Quote


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
SnappyHexMesh - no layer added bejbro OpenFOAM Mesh Utilities 4 October 16, 2014 19:24
Grid independence and prismatic layer, a doubt franco-bosi Main CFD Forum 0 December 15, 2010 12:53
Boundary layer generation problems ivan_cozza OpenFOAM Native Meshers: snappyHexMesh and Others 0 October 6, 2010 13:47
PRISMATIC LAYER Francesco - University of Florence, Italy FLUENT 2 May 7, 2008 10:20
errors Fahad Main CFD Forum 0 March 23, 2004 14:20

All times are GMT -4. The time now is 19:22.