CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

decomposePar field transfer of particle positions failed

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2013, 06:35
Post decomposePar field transfer of particle positions failed
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 13
sophie_l is on a distinguished road
Hi there,

I am using a lagrangian particle solver based on interFoam. It is ok when running in serial, but when running it in parallel, field transfer error occurs at the stage of 'decomposePar'.
Identified lagrangian data set: "defaultCloud"
Processor 0: field transfer
--> FOAM Warning :
From function Cloud<ParticleType>::initCloud(const bool checkClass)
in file /openfoam/OpenFOAM-1.7.1/src/lagrangian/basic/lnInclude/CloudIO.C at line 124
Cannot read particle positions file
assuming the initial cloud contains 0 particles.
The particle position file 'positions' is located in mparallel/0/lagrangian/defaultCloud. In the directory of mparallel/processor0/0/lagrangian/defaultCloud, a 'positions' file is created but it is not decomposed as all the particles are included in it. In other processor subfolders, no '/lagrangian/defaultCloud' is created neither are 'positions' files.

If I rename 'positions' to 'position', there is no problem with parallel running. However, the whole '/lagrangian/defaultCoud/' stuff are ignored and no particles are included from 'decomposePar' onwards.

I checked 'CloudIO.C' file and the code snippets are
template<class ParticleType>
void Foam::Cloud<ParticleType>::initCloud(const bool checkClass)
IOPosition<ParticleType> ioP(*this);
if (ioP.headerOk())
ioP.readData(*this, checkClass);
if (this->size())
WarningIn("Cloud<ParticleType>::initCloud(const bool checkClass)")
<< "Cannot read particle positions file " << nl
<< " " << ioP.path() << nl
<< " assuming the initial cloud contains 0 particles." << endl;
So I think ioP.headerOk()) is false, but how can I correct it?

Thank you very much for your help in advance.

sophie_l is offline   Reply With Quote

Old   October 28, 2013, 11:53
New Member
Join Date: Sep 2012
Posts: 1
Rep Power: 0
triplesfanatic is on a distinguished road
I also have the same problem using Of 1.7.1 (which I have to use). Can anyone help with this please?

triplesfanatic is offline   Reply With Quote

Old   October 28, 2014, 20:46
New Member
Chen Linya
Join Date: Oct 2014
Posts: 4
Rep Power: 11
Chen Linya is on a distinguished road

I have the same question of you two. Have you solved the problem?

Looking forward to your reply!

Chen Linya
Chen Linya is offline   Reply With Quote


decomposepar, field transfer, lagrangian particles, parallel

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Number of positions in particle tracking sujay CFX 31 November 11, 2020 15:30
solidParticleFoam particle positions caw OpenFOAM Running, Solving & CFD 1 October 6, 2009 03:50
Velocity of Fluid @ different positions of Particle in DPM using UDF pmghadge FLUENT 1 June 16, 2009 19:11
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
Number of particle positions in Lagrangian model KK CFX 4 February 16, 2008 04:56

All times are GMT -4. The time now is 00:25.