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

[Technical] How to crop a mesh or merge layers

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2011, 12:43
Default How to crop a mesh or merge layers
  #1
New Member
 
Grim
Join Date: Mar 2011
Posts: 6
Rep Power: 15
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
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
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


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 03:29.