CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Sampling for graphs in parallel for AMI case

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By hoemmaria
  • 1 Post By C-L

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2017, 10:11
Default Sampling for graphs in parallel for AMI case
  #1
C-L
Member
 
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10
C-L is on a distinguished road
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!
Attached Files
File Type: gz pipeCyclic.tar.gz (3.4 KB, 3 views)
C-L is offline   Reply With Quote

Old   September 27, 2017, 13:04
Default
  #2
Member
 
Rodrigo
Join Date: Mar 2010
Posts: 98
Rep Power: 16
guin is on a distinguished road
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?)
guin is offline   Reply With Quote

Old   September 27, 2017, 13:14
Default
  #3
C-L
Member
 
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10
C-L is on a distinguished road
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.
C-L is offline   Reply With Quote

Old   September 27, 2017, 13:20
Default
  #4
Member
 
Rodrigo
Join Date: Mar 2010
Posts: 98
Rep Power: 16
guin is on a distinguished road
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.
guin is offline   Reply With Quote

Old   January 15, 2018, 09:28
Default
  #5
New Member
 
Maria
Join Date: Feb 2017
Posts: 25
Rep Power: 9
hoemmaria is on a distinguished road
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
kolahefereshte likes this.
hoemmaria is offline   Reply With Quote

Old   January 15, 2018, 12:55
Default
  #6
C-L
Member
 
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10
C-L is on a distinguished road
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.
hoemmaria likes this.
C-L is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 07:18.