CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

lagrangian particles mpirun

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 6, 2012, 10:58
Default lagrangian particles mpirun
  #1
New Member
 
Gregory
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)
{
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.
catapult is offline   Reply With Quote

Reply

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+ 3 October 24, 2011 08:31
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 09:32.