|
[Sponsors] |
Lagrangian particle tracking cannot be run in parallel for the cases with AMI patches |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 3, 2017, 21:04 |
Lagrangian particle tracking cannot be run in parallel for the cases with AMI patches
|
#1 |
New Member
Join Date: Dec 2016
Posts: 9
Rep Power: 10 |
Hi everybody,
I'm going to run a lagrangian particle tracking for a case with cyclicAMI patches with OpenFOAM-dev. In OpenFOAM there is currently a limitation, that the particle tracking cannot be run in parallel for the cases with AMI patches and if you try it, you will get the following error: [3] --> FOAM FATAL ERROR: [3] Particle tracking across AMI patches is only currently supported for cases where the AMI patches reside on a single processor [3] [3] From function void Foam::Cloud<ParticleType>::checkPatches() const [with ParticleType = Foam::CollidingParcel<Foam::KinematicParcel<Foam:: particle> >] [3] in file /home/armin/OpenFOAM/OpenFOAM-dev/src/lagrangian/basic/lnInclude/Cloud.C at line 59. [3] FOAM parallel run aborting As you can see, it says, that the AMI patches must reside on a single processor in order to run the case in parallel. For this purpose I used then the "singleProcessorFaceSets" setting in decomposeParDict and the AMI patches reside now only on one processor, but the problem is, that it leads again to the same error: [6] --> FOAM FATAL ERROR: [6] Particle tracking across AMI patches is only currently supported for cases where the AMI patches reside on a single processor [6] [6] From function void Foam::Cloud<ParticleType>::checkPatches() const [with ParticleType = Foam::CollidingParcel<Foam::KinematicParcel<Foam:: particle> >] [6] in file /home/armin/OpenFOAM/OpenFOAM-dev/src/lagrangian/basic/lnInclude/Cloud.C at line 59. [6] FOAM parallel run aborting I'd like to know if somebody knows, how to overcome this issue. Thanks in advance! Armin |
|
August 11, 2017, 12:09 |
|
#2 |
New Member
Join Date: Dec 2016
Posts: 9
Rep Power: 10 |
Dear Foamers,
I found the solution. Regards, Armin |
|
September 20, 2017, 05:41 |
|
#3 |
Member
Bruno Lebon
Join Date: Dec 2012
Posts: 33
Rep Power: 14 |
How did you solve it?
|
|
September 27, 2017, 10:49 |
|
#4 |
Member
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10 |
I would like to know the solution too please!
|
|
September 27, 2017, 11:17 |
|
#5 |
Member
Bruno Lebon
Join Date: Dec 2012
Posts: 33
Rep Power: 14 |
I encountered the same error in a case ... without Lagrangian. Turns out I had a function object for extracting variables along a line intersecting an AMI patch. This was causing the bug.
To get the case working, I had to comment out the function object. And I had to extract two lines: one on each side of the AMI. |
|
September 27, 2017, 11:20 |
|
#6 |
Member
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10 |
Hi Bruno,
That is exactly the same error that I am getting except even when my start and end points don't touch the boundaries I am getting the same issue. How did you ensure there were no intersections? Thanks |
|
December 15, 2017, 11:48 |
|
#7 |
Member
Bruno Lebon
Join Date: Dec 2012
Posts: 33
Rep Power: 14 |
Sorry for the late reply. It's been a while since I logged in.
I am not sure how you can ensure that there is no intersection using some OpenFOAM function. I just know where the AMI surface is located in my geometry and take care not to cross it with a line extract function object. Incidentally, line extraction seems to work when using postProcess -func "function" instead. |
|
March 28, 2021, 23:33 |
|
#8 |
New Member
|
||
Tags |
ami, lagrangian, parallel, particle tracking, singleprocessorfacesets |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam: crash on parallel run | student666 | OpenFOAM Running, Solving & CFD | 3 | April 20, 2017 12:05 |
Request for Lagrangian Particle Tracking Validation or Verification Paper | Mojtaba.a | OpenFOAM Verification & Validation | 6 | May 23, 2016 02:47 |
Access processor patches in parallel run | mheinz | OpenFOAM Programming & Development | 1 | February 12, 2016 04:54 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 14:38 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 02:30 |