CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

decomposePar field transfer of particle positions failed

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 29, 2013, 06:35
Post decomposePar field transfer of particle positions failed
  #1
Member
 
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 4
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'.
Quote:
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
"/OpenFOAM/mparallel/processor0/0/lagrangian/defaultCloud"
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
Quote:
template<class ParticleType>
void Foam::Cloud<ParticleType>::initCloud(const bool checkClass)
{
readCloudUniformProperties();
IOPosition<ParticleType> ioP(*this);
if (ioP.headerOk())
{
ioP.readData(*this, checkClass);
ioP.close();
if (this->size())
{
readFields();
}
}
else
{
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
sophie_l is offline   Reply With Quote

Old   October 28, 2013, 12:53
Default
  #2
New Member
 
Dave
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?

Dave
triplesfanatic is offline   Reply With Quote

Old   October 28, 2014, 21:46
Smile
  #3
New Member
 
Chen Linya
Join Date: Oct 2014
Posts: 4
Rep Power: 2
Chen Linya is on a distinguished road
Hi!

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

Reply

Tags
decomposepar, field transfer, lagrangian particles, parallel

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
Number of positions in particle tracking sujay CFX 8 June 4, 2015 05:55
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 05:56


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