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

Mesh with empty box

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 31, 2012, 19:37
Default Mesh with empty box
  #1
Member
 
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 52
Rep Power: 4
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, 28 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: 508
Blog Entries: 4
Rep Power: 12
elvis is on a distinguished road
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 online now   Reply With Quote

Old   February 1, 2012, 08:13
Default
  #3
Member
 
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 52
Rep Power: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,997
Blog Entries: 32
Rep Power: 69
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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: 508
Blog Entries: 4
Rep Power: 12
elvis is on a distinguished road
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 online now   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
Number of cells in mesh don't match with size of cellLevel colinB OpenFOAM Native Meshers: snappyHexMesh and Others 10 May 29, 2014 11:49
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
Irregular mesh generation for simple box geometry ajl42 OpenFOAM Native Meshers: snappyHexMesh and Others 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 03:56.