|
[Sponsors] |
[snappyHexMesh] SnappyHexMesh Parallel run - face ordering problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 19, 2016, 05:40 |
SnappyHexMesh Parallel run - face ordering problem
|
#1 | |
New Member
Dave
Join Date: Aug 2016
Posts: 23
Rep Power: 10 |
Hi all, wondering if you can help me with a problem that has been plaguing my simulations for weeks now!!
I have no problem setting up and running my simulations in parallel, however trying to mesh in parallel persistently throws the following error message: Quote:
I have tried decomposing snappy using hierarchical and the method of switching between scotch/ptscotch, neither seem to work. I've noticed it suggests to increase the match tolerance if i'm sure the mesh is correct - however as I'm relatively new to OpenFOAM i don't really know how to tell if it is correct, nor how to adjust the matchTolerance. However I do know the mesh runs absolutely fine in serial. In my current case I'm not trying to run anything particularly fancy - just a 2D turbine validation using a dynamic mesh (sHM in 3D, 1 cell span in Z-direction from the blockMesh followed by extrudeMesh). I haven't edited the source code or anything complex like I've found to be the problem for others on the forum. Can anyone help me? I'm relatively new to OpenFOAM and this is considerably complicating my learning! Best Regards, Dave |
||
October 19, 2016, 06:57 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
It looks like you have cyclic patches in your case. A simple solution (though I am not sure if it would cause any problems) would be to change the patch type to patch before running snappyHexMesh. You can later change it back to cyclic, either by using changeDictionary or by createPatch. Cheers, Antimony |
|
October 19, 2016, 08:51 |
|
#3 |
New Member
Dave
Join Date: Aug 2016
Posts: 23
Rep Power: 10 |
Hi Antimony, thanks for your response!
I didn't know I could do that for dynamic meshing - I'll give that a try and see if I have any luck! However, I seem to get this problem with sHM regardless of the type of case i'm setting up (i.e. static, dynamic etc.) so think perhaps the problem is more fundamental to my understanding of how to use/process snappyHexMesh? Cheers, Dave |
|
October 19, 2016, 10:04 |
|
#4 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Typically the face matching error, as far as I have seen, usually are with the cyclic patch, which can be circumvented by the way I mentioned. Cheers, Antimony |
|
October 19, 2016, 11:03 |
|
#5 |
New Member
Dave
Join Date: Aug 2016
Posts: 23
Rep Power: 10 |
Hi Antimony,
took the cyclic cell zone out of the sHM dictionary and worked a treat, however has run me into another problem Within the cyclic boundary I had named "movingCylinder" I had .stl geometry of three turbine blades. Now that sHM sees this as a patch, the .stl geometry doesn't generate. Is there a way around this? Many thanks again for your help Dave |
|
October 20, 2016, 06:44 |
|
#6 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Hard to suggest without seeing your geometry and knowing perhaps pictorially what you want to do.... Cheers, Antimony |
|
October 20, 2016, 11:41 |
|
#7 |
New Member
Dave
Join Date: Aug 2016
Posts: 23
Rep Power: 10 |
Hi Antimony,
I managed to solve the problem this morning with your help. I think I had made too many iterative adjustments trying to fix the problem such that I had introduced new ones. Taking a couple of steps back and working carefully through my dictionaries I am now able to successfully run multiple parallel runs. Thanks again for your help!! Cheers, Dave |
|
October 25, 2016, 10:13 |
|
#8 |
New Member
Dave
Join Date: Aug 2016
Posts: 23
Rep Power: 10 |
Hi Antimony/All,
Unfortunately it would seem I am still having issues with this case. I thought I had been able to sort it when I made modifications to another case that seemingly worked, however this one is still a no go. Perhaps I can attach you my case to see if there is anything glaringly obvious that may be missing? It is attached at the following link. https://drive.google.com/open?id=0B3...mloVU5MYVZNejg I have also attached an Allrun.pre (mesh) and Allrun (solution) script to demonstrate my generalized approach to the problem. Any help you are able to offer is greatly appreciated! Best regards, Dave |
|
November 9, 2016, 11:53 |
|
#9 | ||
New Member
Dave
Join Date: Aug 2016
Posts: 23
Rep Power: 10 |
Sorry to bump this but I still can't figure this out!
I took all of the cyclic boundaries etc. out of the equation - essentially i'm now trying to mesh the flow across a stationary turbine. However, I still get the face ordering issue! Therefore would I be right in saying this isn't a cyclic AMI issue? Research would suggest this to be an issue with the boundaries between the decomposed processors. As per the error code Quote:
Quote:
Is anyone able to explain the error to me, or shed any light on resolving the issue? I've re-attached my most recent case for any considerations https://drive.google.com/drive/folde...jg?usp=sharing Many thanks for your help and best regards, Dave |
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with foam-extend 4.0 ggi parallel run | Metikurke | OpenFOAM Running, Solving & CFD | 1 | December 6, 2018 16:51 |
Problem in foam-extend 4.0 ggi parallel run | Metikurke | OpenFOAM Running, Solving & CFD | 0 | February 20, 2018 07:34 |
[snappyHexMesh] Error while running SnappyHex in parallel | mg.mithun | OpenFOAM Meshing & Mesh Conversion | 1 | February 10, 2016 14:13 |
[blockMesh] Cyclic BC's: Possible face ordering problem? (Channel flow) | sega | OpenFOAM Meshing & Mesh Conversion | 3 | September 28, 2010 13:46 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |