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

[snappyHexMesh] Cannot get my geometry file inside the blockMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2012, 17:23
Default Cannot get my geometry file inside the blockMesh
  #1
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Hi all;
I'm back to OF after a year or so and I'm trying to mesh a simple circular cylinder. I started from the motorbike tutorial and… my cylinder is not within my domain once snappyHexMesh has done his job…
I'm sure is something stupid I'm missing here but yet I can't figure it out…

Could anybody of you guys take a look at my files here enclosed?
Thank you!
Attached Files
File Type: zip 1_cilindro.zip (32.6 KB, 18 views)
lovecraft22 is offline   Reply With Quote

Old   March 2, 2012, 14:38
Default
  #2
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Seems like the geometry is not seen at all…
lovecraft22 is offline   Reply With Quote

Old   March 3, 2012, 08:26
Default
  #3
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
I started again from the motorbike tutorial and I replaced the motorbike geometry with my cylinder without changing any name and yet… no geometry inside the domain… so it is not a setup issue, I think it's related to my stl/obj geometry file… but how? I really can't figure it out…

Any help would be really appreciated…
lovecraft22 is offline   Reply With Quote

Old   March 3, 2012, 10:45
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 Lore,

Read this thread: http://www.cfd-online.com/Forums/ope...tml#post346810
Well, you can skip to post #8, where you should find a test case similar to yours and on post #9 you have my description of what was wrong on that case.

If you still have problems after analyzing that case and analysis, please detail a bit your questions

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 3, 2012, 11:17
Default
  #5
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Thank you Bruno.

I think all the points you outlined in that discussion were already ok.
Please have a look at these pictures where you can see:

Pic 1: domain outline (white), cylinder geometry (yellow), point inside the domain (red sphere);
Pic 2: slice through the domain: I have the mesh where it should not be…

So, so summarize: the geometry is within my domain and the point in the domain is where it should be, and yet, no cylinder in the mesh…

Thanks again for your time.
Attached Images
File Type: png 1.png (19.0 KB, 11 views)
File Type: png 2.png (19.2 KB, 4 views)
lovecraft22 is offline   Reply With Quote

Old   March 3, 2012, 11:40
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 Lore,

On the "geometry" section, you specify the kinds of geometries that will be part of the mesh generation process; but then on the respective following sections, you have to specify what kinds of refinement you need on each, so sHM knows what should be done with each one. It's probably made to work this way to avoid the software making assumptions, which can lead to problems in certain cases!

Therefore, you're missing at least this:
Code:
    refinementSurfaces
    {
        cilindro.stl
        {
            // Surface-wise min and max refinement level
            level (0 0);
        }
    }
Notice that no additional refinement is requested, but it indicates how the geometry should be used.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 3, 2012, 12:22
Default
  #7
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Thank you Bruno! That was the issue!
lovecraft22 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
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 14:48.