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

[blockMesh] Geometries BlockMesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2013, 19:31
Smile Geometries BlockMesh
  #1
Member
 
Join Date: Aug 2012
Posts: 40
Rep Power: 13
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 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
Member
 
Join Date: Aug 2012
Posts: 40
Rep Power: 13
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
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
Member
 
Join Date: Aug 2012
Posts: 40
Rep Power: 13
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
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: http://www.cfd-online.com/Forums/ope...d-surface.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 bjdarrer OpenFOAM Installation 7 August 25, 2020 20:15
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 15:53
[blockMesh] set of xyz data in blockMesh psk OpenFOAM Meshing & Mesh Conversion 12 August 27, 2013 09:37
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 16:46


All times are GMT -4. The time now is 09:41.