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

Boolean operation on OpenFOAM mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 13, 2014, 10:20
Default Boolean operation on OpenFOAM mesh
  #1
Member
 
Cong
Join Date: Nov 2012
Posts: 77
Rep Power: 4
wc34071209 is on a distinguished road
Hi everybody,

I am wondering if there are some Boolean operations available for OpenFOAM's mesh.

For instance, I have two boxes, one is big and the other is small and inside the big one. I can blockMesh the big box to obtain the base mesh. Then if there is a subtract operation of mesh, I can just subtract the cells located inside the small box.

I know that snappyHexMesh can do it well, but I still think if Boolean operation is worth a try.

Thanks.
wc34071209 is offline   Reply With Quote

Old   October 20, 2014, 08:28
Default
  #2
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 112
Rep Power: 7
cutter is on a distinguished road
Hi,

I think this can be achieved using setSet (see http://openfoamwiki.net/index.php/SetSet). You basically have to define a cell set consisting of the cells in the small box and remove these cells from the big block mesh afterwards.

Make sure the cells of your blockMesh blocks are aligned with the surface of the smaller box!

Good luck!

Cutter
cutter is offline   Reply With Quote

Old   October 23, 2014, 08:00
Default
  #3
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 112
Rep Power: 7
cutter is on a distinguished road
note: If your geometry is that simple you could have created the whole thing with blockMesh right from the beginning.
cutter 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
Script for converting a mesh from Salome-Platform to OpenFOAM nsf OpenFOAM Meshing & Mesh Conversion 43 June 23, 2015 14:37
Tool to convert OpenFoam mesh to SU2 mesh (2D and 3D) Combas SU2 14 May 29, 2014 15:47
mesh from ANSA to OpenFOAM bephi OpenFOAM Meshing & Mesh Conversion 18 April 8, 2013 07:14
Exporting to OpenFOAM mesh with "inner" wall region raagh77 OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 0 April 24, 2012 06:23
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 11:04.