|
[Sponsors] |
[snappyHexMesh] Trying to mesh turbineSiting case without terrain, snappy crashing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 5, 2014, 20:39 |
Trying to mesh turbineSiting case without terrain, snappy crashing
|
#1 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
As the title says, I am attempting to mesh the turbineSiting tutorial, but leaving out the terrain. Essentially I want snappy to refine inside the turbine boxes and that's it, but it's crashing. All I've done is commented out the parameters related to the terrain. I have a previous case that did a similar thing and that is failing now too, where it worked fine in 2.2.2. Any ideas?
|
|
April 5, 2014, 21:39 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Pete,
A few questions:
Bruno
__________________
|
|
April 6, 2014, 08:21 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Pete,
Looks like you've stumbled upon a bug in OpenFOAM 2.3. I've tested with 2.3.0 and the latest 2.3.x. Both are unable to handle this case. At first I thought the problem was due to insufficient refinement for making the search system able to find the turbine locations, but increasing the resolution and sizes of the search boxes did nothing. Therefore, this does look like a bug! Feel free to report this on the bug tracker and provide them with a good description of how to reproduce the problem, along with the test case you've shared in the previous post! The bug tracker is this one: http://www.openfoam.org/mantisbt/ Best regards, Bruno
__________________
|
|
April 6, 2014, 16:20 |
|
#5 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
Thanks Bruno. I submitted a bug report.
|
|
April 8, 2014, 20:59 |
|
#6 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
So, my bug report was closed as being a user support issue, which is probably my fault for how I phrased it. I have trouble using analytic refinementRegions in other cases as well, which makes me think it really is a bug, or a fundamental change in how these are set up in the sHMDict. Anyway, I will keep hammering away and see if I can figure it out.
|
|
April 10, 2014, 16:43 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Pete,
It's possible that they dropped a feature or that they modified a particular feature, namely the one where no STL files are necessary. Check the features indicated on the release notes: http://www.openfoam.org/version2.3.0/snappyHexMesh.php One particular detail that might be the reason for this sudden problem is this: Quote:
Good luck! Best regards, Bruno
__________________
|
||
April 10, 2014, 21:54 |
|
#8 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
Bruno,
After rummaging through the source code and finding exactly where the process was failing, I did end up getting a simpler case to work, by using two new options in the snappyHexMeshDict: Code:
// Optional: do not remove cells likely to give snapping problems handleSnapProblems false; // Optional: switch off topological test for cells to-be-squashed // and use geometric test instead useTopologicalSnapDetection false; |
|
April 11, 2014, 16:24 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Pete,
Mattijs answered to your bug report today as well. I believe he's referring to the refinement boxes for the regions where the actuator disks will be placed. Since the 2 boxes are almost inside a single cell each, it's not visible by the algorithm that handles cell selection for refinement. It's what I was referring to on the other post, but the weird detail is that such small boxes had worked for you in the past with 2.2.x... If and when I get a chance, I'll try to look into this as well. This kind of refinement also comes in handy, from time to time, so it's best to catch it sooner than later. Best regards, Bruno
__________________
|
|
April 11, 2014, 17:50 |
|
#10 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14 |
I saw that, and went back and checked again with 2.2.x. It didn't crash, but it also seems it wasn't refined, and the cellSets and cellZones were not created, so I think I was wrong about that part.
Revisiting the tutorial, I see that next to the STL is refined up to level 2, which is why there are enough cells in that searchableBox, but when the STL is removed, those regions are not refined. I went back to my case and refined the blockMesh by a factor of 2 and things worked. I also found that the "useTopologicalSnapDetection false;" option is no longer necessary. Looks like it was my fault after all! |
|
April 11, 2014, 18:14 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Thanks for sharing! That saves me some trial-and-error time
By the way, the filter "Extract Cells by Region" gives a more realistic view of the mesh ... well, at least if we also use the VTKPolyhedron feature (aka "do not decompose polyhedrons") in the ".OpenFOAM" (or ".foam") entry. |
|
November 20, 2014, 14:29 |
|
#13 |
New Member
Leonardo Oliveira
Join Date: Aug 2014
Location: Brazil
Posts: 11
Rep Power: 12 |
Hello Bruno,
I have a problem with the tubineSiting tutorial (openFoam 2.3.0): I can run the tutorial without problem, but the actuation disks, those made by the topoSetDict and fvOption, doesn't appear! The mesh is refined in the place they are suppose to be, but they are no there! I run the tutorial without any modifications, using the Allrun script. So I want to know if I'm missing something, if they are supposed to be there or not... Thanks in advance. |
|
January 31, 2015, 12:53 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Leonardo,
Sorry for the late reply. I've had this post of yours also on my to-do list and had a quick a look into this as well. If my guess is correct, this was a bug that is already fixed in OpenFOAM 2.3.1. Therefore, please try the latest OpenFOAM 2.3.1. Best regards, Bruno
__________________
|
|
February 25, 2015, 11:49 |
|
#15 |
New Member
Join Date: Feb 2014
Posts: 5
Rep Power: 12 |
Hi everyone,
I have come across the same problem as Leonardo mentioned above. I have also tuned the fvOPtions, snappyHexMeshDict and topoSetDict files, but no luck so far although ./Allrun script runs fine. Has anyone successfully managed to visualize the actuator disks with OF 2.3.1 version? Your help or any feedback would be deeply appreciated on the issue. Thank you in advance! Best regards, Nick |
|
February 26, 2015, 00:19 |
|
#16 |
Senior Member
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18 |
Hi Leonardo and Nick,
I didn't run this tutorial but it seems to me that the intention is not put a real turbine there, just a rotational momentum source in the equations that is called actuator disk. So there is no physical actuator disk, just a numerical term that is supposed to produce the same rotational effect as the turbine does. Ok? Best regards, Paulo |
|
February 26, 2015, 09:24 |
|
#17 |
New Member
Join Date: Feb 2014
Posts: 5
Rep Power: 12 |
Hi Paulo,
Thank you for your reply. I agree with what you are saying but the issue was different. The problem was that I could not visualize the Actuator disks on ParaView, meaning the meshed areas representing the disks. I have now solved the issue, as my problem was that I was selecting a mesh area partly out of the domain. Thanks for you feedback though! Cheers, Nick |
|
February 28, 2015, 12:46 |
|
#18 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Quote:
Why dont u select "include zones" in the properties panel in paraFoam. then u can select these two cellzones in mesh part. To bo notice that u must use paraFoam instead of paraview to visualize it. Best, |
||
February 28, 2015, 13:09 |
|
#19 |
New Member
Join Date: Feb 2014
Posts: 5
Rep Power: 12 |
Hi Sharonyue,
Problem has been solved already! Thank you for your reply though! Best regards, Nick |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[DesignModeler] DesignModeler Scripting: How to get Full Command Access | ANT | ANSYS Meshing & Geometry | 53 | February 16, 2020 16:13 |
[Commercial meshers] OpenFoam Mesh to Fluent Mesh in parallel case | DominicTNC | OpenFOAM Meshing & Mesh Conversion | 3 | November 22, 2017 10:19 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
Ngeom Crashing on Trimmed / Hexahedral Mesh | Fr Ted Crilly | Siemens | 2 | October 13, 2005 08:08 |