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

lagrangian particles mpirun

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2012, 09:58
Default lagrangian particles mpirun
  #1
New Member
 
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 15
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


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
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


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