|
[Sponsors] |
[snappyHexMesh] snappyHewMesh decomposition method ??? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 23, 2012, 11:38 |
snappyHewMesh decomposition method ???
|
#1 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 14 |
Hi everybody,
I am working on a case using snappyHexMesh. I have a snappyHexMeshDict, of course, and also a decomposeParDict because my case will be decomposed on several cores. Whyle running snappyHexMesh, FOAM gets out with this error: Code:
Selecting decompositionMethod scotch --> FOAM FATAL ERROR: Unknown decompositionMethod scotch Valid decompositionMethods are : 6 ( hierarchical manual multiLevel ptscotch simple structured ) From function decompositionMethod::New(const dictionary& decompositionDict) in file decompositionMethod/decompositionMethod.C at line 62. FOAM exiting Very strange, isn't it? |
|
August 23, 2012, 14:43 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Julien,
"scotch" and "ptscotch" cannot reside in the same memory space. If you check the tutorials that show how this works, you would see that some switch to-from "ptscotch". Here's the official explanation: http://www.openfoam.org/mantisbt/view.php?id=458 Best regards, Bruno
__________________
|
|
August 24, 2012, 05:55 |
|
#3 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 14 |
Thanks Bruno
By the way, I still do not understand (in fact, in don't know at all ptscotch, and only very few about scotch). Does it mean that it is forbidden to decompose my domain using scotch, if my mesh has been treated by snappyHexMesh ? Should I continue to use this solution consisting of "changing the entry in the decomposeDict every time" ? Why do snappyHexMesh reads the decomposeDict ? Thanks for advices |
|
August 24, 2012, 18:40 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Julien,
If you choose "scotch" for decomposition, then you have to change it to something else for running snappyHexMesh. Because snappyHexMesh can be executed in parallel and it needs a decomposition method for assigning mesh refinement between processors. Best regards, Bruno
__________________
|
|
August 27, 2012, 04:39 |
|
#5 |
Senior Member
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 14 |
Hi Bruno, thanks. May I explain this with my words, ans you correct me if I am wrong?
snappyHewMesh is able to run in parallel. When running in parallel, it needs a decomposeParDict, same as any solver. Even with no paralleling, it reads decomposeParDict (with no effects, of course). By the way, scotch is unknown to snappyHexMesh, while ptscotch is invalid for classic decomposePar. All this is why you have to adjust decomposeParDict between snappyHexMesh and decomposePar. 'hope this thread can help somebody else! |
|
August 27, 2012, 07:11 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Julien,
To complement your description:
Bruno
__________________
|
|
September 26, 2012, 06:04 |
|
#7 |
New Member
Hauke
Join Date: Jun 2012
Posts: 5
Rep Power: 14 |
Hey Folks
I find myself asking: "why?!" Why can't SHM accept "scotch" as decomposition Method? Why hasn't anyone introduced a scotch-like decompostion Method that is usable in both "tools"? But the way it is now only creates confusion and/or Frustration among beginners. Bugreport says it's "not fixable" Does that mean Foamers will have to live with that Issue forever? I hope not |
|
September 26, 2012, 10:08 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
Like Mattjis indicated: when Scotch is fixed, so will snappyHexMesh be fixed.
__________________
|
||
December 15, 2016, 19:49 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick update about this: This issue with scotch + ptscotch was fixed two months ago in OpenFOAM 4.x/1 and dev: https://bugs.openfoam.org/view.php?id=2275
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Manual decomposition using setFields | RL-S | OpenFOAM Pre-Processing | 8 | July 3, 2023 09:51 |
blueCFD-Core: scotch Method decomposition | student666 | OpenFOAM Pre-Processing | 1 | December 31, 2017 15:16 |
[mesh manipulation] decomposePar Method affects executability of renumberMesh | Vyssion | OpenFOAM Meshing & Mesh Conversion | 0 | November 3, 2016 08:57 |
interFoam & decomposition method: scotch | MacGyver | OpenFOAM Running, Solving & CFD | 2 | May 23, 2012 08:00 |
Info on method of lines approach | charlie ryan | Main CFD Forum | 2 | August 9, 2007 12:06 |