|
[Sponsors] |
[snappyHexMesh] Cannot get my geometry file inside the blockMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 1, 2012, 17:23 |
Cannot get my geometry file inside the blockMesh
|
#1 |
Senior Member
|
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! |
|
March 2, 2012, 14:38 |
|
#2 |
Senior Member
|
Seems like the geometry is not seen at all…
|
|
March 3, 2012, 08:26 |
|
#3 |
Senior Member
|
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… |
|
March 3, 2012, 10:45 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
March 3, 2012, 11:17 |
|
#5 |
Senior Member
|
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. |
|
March 3, 2012, 11:40 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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); } } Best regards, Bruno
__________________
|
|
March 3, 2012, 12:22 |
|
#7 |
Senior Member
|
Thank you Bruno! That was the issue!
|
|
|
|
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 |