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

Mesh with empty box

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2012, 19:37
Default Mesh with empty box
  #1
Member
 
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 14
latvietis is on a distinguished road
Hello foamers!

I would like to create a structure shown in image below attached.

What ideas can you offer? Is there a way that I could just make one large block, then define smaller block inside the larger and somehow tell that smaller block actually is a hole?
Attached Images
File Type: jpg howto.jpg (66.6 KB, 36 views)
latvietis is offline   Reply With Quote

Old   February 1, 2012, 02:32
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

this can be done with snappyHexMesh
http://www.openfoam.org/docs/user/sn...#x26-1510005.4

the empty box is your STL-file the outer box is a Blockmesh-file
elvis is offline   Reply With Quote

Old   February 1, 2012, 08:13
Default
  #3
Member
 
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 14
latvietis is on a distinguished road
Oh, I was thinking about this, but I won't have any stl file. I can't make them since I don't have proper program. It is true, that I can get stl from some kind of design program like AutoCAD or similar?
latvietis is offline   Reply With Quote

Old   February 1, 2012, 09:06
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

You can always use Blender. Here is a very nice tutorial for an older version of Blender: http://engits.eu/wiki/index.php/Tuto...der_and_enGrid - it also explains how to use an older version of enGrid as well, which is a mesh generator (and more) that can work with OpenFOAM
If you browse that wiki, you should find more information about the latest version of enGrid, in case you are interested.

Other than Blender, there are several free and open source 3D CAD applications out there! FreeCAD, QCAD, Google Sketch Up, just to name a few.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 1, 2012, 10:22
Default
  #5
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

Bruno is right you can get STL-files from many Programs.
Google Sketchup might do it as well
Salome can create STL and/or meshes can be imported via UNV ideasUnvToFoam ( http://www.caelinux.org/wiki/index.p...ELinux_2007.29 )or directly from pythonflu
elvis is offline   Reply With Quote

Reply


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
[snappyHexMesh] Number of cells in mesh don't match with size of cellLevel colinB OpenFOAM Meshing & Mesh Conversion 14 December 12, 2018 08:07
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
[snappyHexMesh] Irregular mesh generation for simple box geometry ajl42 OpenFOAM Meshing & Mesh Conversion 0 March 7, 2011 17:04
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


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