CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing Format & General Technical

How to crop a mesh or merge layers

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 28, 2011, 11:43
Default How to crop a mesh or merge layers
  #1
New Member
 
Grim
Join Date: Mar 2011
Posts: 6
Rep Power: 6
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 06:17. Reason: Extra information, extra question
Opxah is offline   Reply With Quote

Old   May 31, 2011, 07:32
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
The answer can now be found on the OpenFoam wiki: http://openfoamwiki.net/index.php/Po...esh_generation
akidess is offline   Reply With Quote

Reply

Tags
crop, merge, polydualmesh

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
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 06:42
TranformPoints gives skewed mesh Possible Bug andersking OpenFOAM Mesh Utilities 3 March 25, 2008 22:33
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 18:10
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


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