|
[Sponsors] |
December 8, 2010, 09:45 |
|
#121 |
Member
Robert Ong
Join Date: Aug 2010
Posts: 86
Rep Power: 16 |
Hi,
I have a rather stupid question. When I type in snapEdge, it gives me an error message saying it can't read the designated stl file name. I'm sure the name of both the one in the snapEdgeDict and triSurface is the same. Sorry for posting up this question in this forum, as there is no other where else in the forum disccusing this matter. Kind Regards, Robert |
|
December 8, 2010, 09:56 |
|
#122 |
Senior Member
Arne Stahlmann
Join Date: Nov 2009
Location: Hanover, Germany
Posts: 209
Rep Power: 18 |
For snapEdge, the stl files must be in the main case directory (together with 0, system, constant etc.). So just create a link to the triSurface folder, or simply copy the stl files.
|
|
December 20, 2010, 18:51 |
|
#123 |
New Member
Gonzalo Tampier
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 9
Rep Power: 17 |
Hi,
amazing tool. I've been working with several "tricks" trying to solve the snappy problem with sharp edges... but only very specific and time consuming solutions! I've been trying to download snapEdge.tgz for many hours w/o success from the openfoamwiki.net link (http://openfoam.nequam.se/cases/snapEdge.tgz). Is it a temporary problem or is there a new link or mirror somewhere? Thanks in advance, Gonzalo Tampier |
|
December 21, 2010, 03:10 |
|
#124 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
The link is permanent.
Works fine for me. |
|
December 30, 2010, 14:58 |
small orifice in a very large room
|
#125 |
New Member
Join Date: Apr 2010
Posts: 18
Rep Power: 16 |
Hello Niklas,
I am trying to use snappyHexMesh and snapEdge to insert a very small orifice (9mm diameter & 10 cm long) inside a very big room (20m L x 8 m H x 10 m W). My goal is to use dieselFoam to simulate water droplet distribution with incoming gas from the orifice (inlet) to increase the initial momentum of the droplets. Without the incoming gas, the initial/injection droplet velocity is about 6 m/sec. The incoming gas is about 340 m/sec. With the gas, the initial droplet velocity increases to about 160 m/sec. Improved momentum increases the distribution distance and area. I get this by placing the injector in front of the orifice/inlet. Basically, I combine your ammonium problem with aachenbomb. I am new to all this snappyHexMesh and snapEdge, in particular, and OpenFOAM/dieselFoam in general. I have a few questions: 1) Is this a hopeless case since the orifice/inlet is sooo small as compared to the room dimensions that the mesh will never work out? Using checkMesh fails all the time. 2) What files after snappyHexMesh and snapEdge must I use to run the case? 3) Is there away to use dieselFoam solver and the injector to inject both gas and liquid at the same time? What must I modify if injecting both gas and liquid is possible? Thank you for your help. Nam
__________________
Nam Last edited by namCFD; December 30, 2010 at 17:03. |
|
December 30, 2010, 15:04 |
Forget a file
|
#126 |
New Member
Join Date: Apr 2010
Posts: 18
Rep Power: 16 |
Oops, I forget to include the snappyHexMeshDict.
__________________
Nam |
|
March 10, 2011, 16:40 |
|
#127 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Great job! Thanks, Niklas.
Well, will snappyHexMesh next release includes your snapEdge feature? I am meshing a building case, that is flow around building, and snapEdge works very good, though I still need help to improve the mesh quality. mesh1.jpg mesh2.jpg mesh3.jpg
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
March 11, 2011, 02:39 |
|
#128 | |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
Quote:
quite slow and only on 1 processor. I am using it on a daily basis though for which it does exactly what I want and that is to get a correct inflow/outflow area on pipe-flow simulations. |
||
March 18, 2011, 12:21 |
snapEdge
|
#129 |
Senior Member
|
Hi Nikalas,
Have you ever tried to addlayers after using snapEdge. I feel like I have a problem adding layers after snapEdge. I don't have much experience with sHM but my aim is to create a mesh that captures the edge features well. Problem: After using snapEdge when I try adding layers, I see a very strange kind of behavior. Like some kind of baffles being created on surfaces and some sort of hanging cells. I was curious if anyone has seen you have ever seen this kind of behavior before and found any solution. Regards, Awais |
|
March 18, 2011, 12:38 |
|
#130 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Hmm, I forgot to report, that last time, a week ago, when I used snapEdge, and then, the simulation went wrong, floating points exaception, I think it is something related with snapEdge. But Im not sure
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
March 25, 2011, 13:40 |
SnapEdge and snappyHexMesh
|
#131 |
Member
Join Date: Nov 2010
Posts: 54
Rep Power: 16 |
Hi
I am a new user of OpenFoam and am trying to generate a mesh for a slightly complicated geometry involving swirler blades. I tried snappyHexMesh on the stl file, and it seemed to work fine; however, I am getting a floating point error with snapEdge. The files are attached. Could someone more experienced look at it and suggest how I may improve the mesh (using both snappyHexMesh and snapEdge)? I would like a coarser mesh (to reduce computation time), so perhaps snapEdge could be a useful tool. Many thanks, GK [Edit: zip file modified] Last edited by usergk; March 25, 2011 at 18:51. |
|
October 6, 2011, 17:45 |
snapEdge tested on OF 2.0.1?
|
#132 |
New Member
Johannes N Theron
Join Date: Feb 2010
Location: Hamburg
Posts: 25
Rep Power: 16 |
Has anybody tested snapEdge on OpenFOAM 2.0.1? I have a sparseimage distro on my Mac and have been happy with all functionality working. I'd like to check that snapEdge has been tested before risking mucking up my precompiled OF with a recompile...
Jan www.kanoefabrik.com |
|
October 6, 2011, 18:06 |
|
#133 | |
Senior Member
Join Date: Mar 2009
Location: My oyster
Posts: 124
Rep Power: 17 |
Quote:
http://www.openfoam.com/news/snappyH...ature-edge.php |
||
October 6, 2011, 18:52 |
|
#134 | |
New Member
Johannes N Theron
Join Date: Feb 2010
Location: Hamburg
Posts: 25
Rep Power: 16 |
Quote:
|
||
October 7, 2011, 04:42 |
|
#135 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi Jan,
you can try the flange tutorial: OpenFOAM-2.0.x/tutorials/mesh/snappyHexMesh/flange Following lines are needed to capture sharp edges: // Explicit feature edge refinement // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Specifies a level for any cell intersected by its edges. // This is a featureEdgeMesh, read from constant/triSurface for now. features ( { file "flange.eMesh"; level 0; } ); Then you have to run surfaceFeatureExtract before snappyHexMesh. runApplication surfaceFeatureExtract -includedAngle 150 -writeObj constant/triSurface/flange.stl flange runApplication snappyHexMesh -overwrite Regards, Stephane. |
|
October 9, 2011, 04:20 |
|
#136 |
New Member
Johannes N Theron
Join Date: Feb 2010
Location: Hamburg
Posts: 25
Rep Power: 16 |
Stephane
Thank you! Lovely tip. Just one question: How would one visualize these edges that are produced? Jan |
|
October 9, 2011, 07:59 |
|
#137 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Jan: You can open the ".obj" files generated by surfaceFeatureExtract directly in ParaView, without any need for additional file conversion! By the way, a thread where are already a few discussions about this new feature in OF 2.0 is this: http://www.cfd-online.com/Forums/ope...ture-edge.html Best regards, Bruno
__________________
|
|
October 9, 2011, 19:50 |
|
#138 | |
New Member
Johannes N Theron
Join Date: Feb 2010
Location: Hamburg
Posts: 25
Rep Power: 16 |
Quote:
Worked like a charm! Jan www.kanoefabrik.com |
||
July 24, 2012, 00:41 |
|
#139 |
New Member
Jongtae Kim
Join Date: Mar 2009
Location: Daejeon, Republic of Korea (South)
Posts: 8
Rep Power: 17 |
Hello Niklas,
SnapEdge works for obj file. It is interesting. /////////////////////////////////////////// Hello Niklas, Do you have any idea to use obj files instead of stl files? Currently I have obj files only. If you help me to modify the code, I would like to use it. Many thanks. Tj Last edited by jkim; July 24, 2012 at 00:58. |
|
Tags |
edges, jagged edges, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh sticking point | natty_king | OpenFOAM Meshing & Mesh Conversion | 11 | February 20, 2024 10:12 |
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell | Arman_N | OpenFOAM Meshing & Mesh Conversion | 1 | May 20, 2019 18:16 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |