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

Geometries BlockMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 23, 2013, 19:31
Smile Geometries BlockMesh
  #1
New Member
 
Join Date: Aug 2012
Posts: 24
Rep Power: 5
cesarjets is on a distinguished road
How I can interstect to geometries in OpenFOAM. I mean if for instance I have a simple geometry, letś say a cube and I want to add a cylinder on one of the faces, would I have to edit the blockmesh dictionary?
Thanks, any help on this will be appreciated.
cesarjets is offline   Reply With Quote

Old   November 24, 2013, 09:12
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings cesarjets,

That is not an easy task to do with blockMesh. My advice, try using SwiftBlock: http://openfoamwiki.net/index.php/Contrib/SwiftBlock

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 13, 2013, 18:51
Default
  #3
New Member
 
Join Date: Aug 2012
Posts: 24
Rep Power: 5
cesarjets is on a distinguished road
Greetings wyldckat;

Right thanks much for your reply. you think that maybe to design a geometry like this it would be even a bit easier to do it in a CAD software and import it as a STL file?

Thank you,
cesarjets is offline   Reply With Quote

Old   December 15, 2013, 10:29
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi cesarjets,

It all depends on your objective. blockMesh currently is not able to use STL files as vertex data for the surface mesh, so you'll have to rely on some other mesher to do the meshing for you.

The difference is that with blockMesh you have (almost) full control over how the mesh is created and therefore are able to do some dedicated meshes. This is useful for keeping the cell count to a minimum, and to keep out parasitical cells (really small and/or contorted cells), but it's a major pain to create manually and/or with SwiftBlock.

AFAIK, people usually go with the simpler solution and rely on a mesher to do the heavy lifting for them. It's easier this way in most of situations, but don't expect it to be too easy either!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 16, 2013, 18:51
Default
  #5
New Member
 
Join Date: Aug 2012
Posts: 24
Rep Power: 5
cesarjets is on a distinguished road
Hi wyldckat;

Well, yes you're right regarding blockMesh using STL files. I was not so clear. I mean STL files with SnappyMesh? I think it certainly can deal with STL files right?
Thanks much
cesarjets is offline   Reply With Quote

Old   December 29, 2013, 20:40
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi cesarjets,

Sorry for the late reply.
Yes, snappyHexMesh can certainly handle STL files. But make sure that the STL is good enough, by running OpenFOAM's surfaceCheck on the STL file.

A bit more on this topic: .STL: non-closed manifold surface

Best regards,
Bruno
wyldckat 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
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
set of xyz data in blockMesh psk OpenFOAM Native Meshers: blockMesh 12 August 27, 2013 08:37
tutorial 2.2 Stress(...) trouble with blockMesh colinB OpenFOAM Native Meshers: blockMesh 8 January 22, 2012 11:32
Blockmesh cavity error message tonitoney OpenFOAM Installation 2 March 17, 2008 12:59
Gambit - Virtual Geometries (Pro's & Con's) James Date FLUENT 3 August 11, 2003 15:46


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