|
[Sponsors] |
November 6, 2012, 09:58 |
lagrangian particles mpirun
|
#1 |
New Member
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 15 |
Hi everyone,
I created a IO function in a customised library derived from solidParticle, say this one : void Foam::myParticle::writeDeposition(const Cloud<myParticle>& c) { blabla; } When I run the simulation on several processors i call the function like this: if (runTime.write()) { myCloud.info(); myCloud.writeDeposition(); Info << endl; } but then it writes particle data for lagrangian elements in one processor only... How can I loop over all particles in all processors ? thanks for the answer. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lagrangian material particles | bramv101 | STAR-CCM+ | 5 | October 23, 2017 05:27 |
Multiphase Lagrangian Particles | moritzhoefert | OpenFOAM | 1 | December 8, 2010 08:48 |
Additional variable for lagrangian particles (dieselFoam) | N. A. | OpenFOAM | 0 | July 16, 2010 10:45 |
Sampling tool for Lagrangian particles | sankarv | OpenFOAM | 1 | July 1, 2010 11:34 |
How to set correct mass flow rate for lagrangian particles ? | sankarv | OpenFOAM | 0 | April 19, 2010 11:40 |