|
[Sponsors] |
September 27, 2017, 10:11 |
Sampling for graphs in parallel for AMI case
|
#1 |
Member
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10 |
Hi all,
I've found a possible bug when trying to sample along a line for a cyclicAMI case in parallel. When running the postProcessing function "singleGraph" (found under the etc/caseDicts/postProcessing/graphs/) an error appears regarding particle tracking despite not requesting this in the case files. I have checked this in a tutorial case that uses AMI too and the same error is present. simply download the pipeCyclic tutorial and run the Allrun script - I have added the function to the system file and the following command to the end of the Allrun script: mpirun -np 4 postProcess -func singleGraph -parallel Once run the error output is: "Particle tracking across AMI patches is only currently supported for cases where the AMI patches reside on a single processor" I'm not sure whether to report this as an official bug yet so I thought I would post it here and see if anyone has any suggestions! |
|
September 27, 2017, 13:04 |
|
#2 |
Member
Rodrigo
Join Date: Mar 2010
Posts: 98
Rep Power: 16 |
Hi Charlie,
I think that there is already a related bug report. Please, take a look on your own: https://bugs.openfoam.org/view.php?id=2081 https://bugs.openfoam.org/view.php?id=2644 (maybe related too?) |
|
September 27, 2017, 13:14 |
|
#3 |
Member
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10 |
Hi Rodrigo,
Thanks for the links - indeed these are the same errors that I am experiencing but they are trying to use particle tracking - In my case I am trying to extract data along a line. I would understand the error if the line was passing through the cyclicAMI interface but even when it doesn't the error persists. |
|
September 27, 2017, 13:20 |
|
#4 |
Member
Rodrigo
Join Date: Mar 2010
Posts: 98
Rep Power: 16 |
I am not familiar with the way the sampling is implemented, but it seems that it makes use of lagrangian functions. Feel free to report it. At least the error message could be improved.
|
|
January 15, 2018, 09:28 |
|
#5 |
New Member
Maria
Join Date: Feb 2017
Posts: 25
Rep Power: 9 |
Hi, Charlie
I am experiencing the same thing when I want to sample data using singleGraph in a case using AMI. My sample is outside the AMI as well, like you mentioned. Have you found a solution or a work around? Kind regards, Maria |
|
January 15, 2018, 12:55 |
|
#6 |
Member
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10 |
I didn't find a solution in the end but I do have a work around if you are willing to use paraview for your post processing instead of the OpenFOAM functions. You can use paraview to extract data along uniform lines which can be done using pvpython scripts.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reconstruction of the parallel case with dynamic mesh | makaveli_lcf | OpenFOAM Post-Processing | 7 | October 18, 2023 12:28 |
Running AMI case in parallel | Kaskade | OpenFOAM Running, Solving & CFD | 3 | March 14, 2016 16:58 |
changeDictionary for Parallel Case nonuniform 0() | KDK | OpenFOAM Pre-Processing | 2 | October 13, 2015 13:28 |
Error in running a case in parallel. | bibin.sme | OpenFOAM Running, Solving & CFD | 1 | October 13, 2015 01:57 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |