CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Technical] How to crop a mesh or merge layers

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2011, 12:43
Default How to crop a mesh or merge layers
New Member
Join Date: Mar 2011
Posts: 6
Rep Power: 13
Opxah is on a distinguished road
My objective is to create a 2 dimensional polyhedral mesh, the boundary being a square.
So far I have used Gmsh to create a 2 dimensional tetrahedral mesh (see link), and polyDualMesh to create a polyhedral mesh. But the last command also divided the mesh once in the third dimension, which is what I want to avoid.

Is there a way to merge these layers back together to get a proper 2 dimensional mesh?
Or can I throw away (crop) one of the two layers, also resulting in a proper 2 dimensional mesh?
Or is there a setting for polyDualMesh that will prevent it from dividing in the third dimension?

Last edited by Opxah; April 29, 2011 at 07:17. Reason: Extra information, extra question
Opxah is offline   Reply With Quote

Old   May 31, 2011, 08:32
Senior Member
akidess's Avatar
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 28
akidess will become famous soon enough
The answer can now be found on the OpenFoam wiki:
akidess is offline   Reply With Quote


crop, merge, polydualmesh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 07:42
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 10:38

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