CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

lagrangian particles mpirun

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 6, 2012, 10:58
Default lagrangian particles mpirun
New Member
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 6
catapult is on a distinguished road
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)

When I run the simulation on several processors i call the function like this:
if (runTime.write())
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.
catapult is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lagrangian material particles bramv101 STAR-CCM+ 4 September 4, 2015 01:19
Multiphase Lagrangian Particles moritzhoefert OpenFOAM 1 December 8, 2010 09: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

All times are GMT -4. The time now is 16:08.