CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   particleTracks not working on reconstructed cases (http://www.cfd-online.com/Forums/openfoam-bugs/82840-particletracks-not-working-reconstructed-cases.html)

lord_kossity December 7, 2010 11:41

particleTracks not working on reconstructed cases
 
When I try to post process a reconstructed lagrangian simulation with particleTracks I run into a segmentation fault.

The decomposition method was metis (but I also had similar problems with other decomposition methods).

Please see the outputs below for details:

Quote:

user@workstation:~/OpenFOAM/OpenFOAM-1.6.x/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek> particleTracks
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6.x-e913d57cbb98
Exec : particleTracks
Date : Dec 07 2010
Time :
Host : workstation
PID : 2474
Case : /home/user/OpenFOAM/OpenFOAM-1.6.x/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Scanning times to determine track data for cloud thermoCloud1

Time = 0
Reading particle positions
--> FOAM Warning :
From function Cloud<ParticleType>::initCloud(const bool checkClass)
in file lnInclude/CloudIO.C at line 125
Cannot read particle positions file
"/home/user/OpenFOAM/OpenFOAM-1.6.x/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/lagrangian/thermoCloud1"
assuming the initial cloud contains 0 particles.
Read 0 particles
Time = 0.01
Reading particle positions
Read 18 particles
Time = 0.02
Reading particle positions
Read 18 particles

Particle statistics:
Found 0 particles originating from processor 0



Generating 0 particle tracks for cloud thermoCloud1

Time = 0
Reading particle positions
--> FOAM Warning :
From function Cloud<ParticleType>::initCloud(const bool checkClass)
in file lnInclude/CloudIO.C at line 125
Cannot read particle positions file
"/home/user/OpenFOAM/OpenFOAM-1.6.x/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/lagrangian/thermoCloud1"
assuming the initial cloud contains 0 particles.
Constructing tracks

Time = 0.01
Reading particle positions
Constructing tracks

#0 Foam::error::printStack(Foam::Ostream&) in "/home/user/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/home/user/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib64/libc.so.6"
#3 main in "/home/user/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/particleTracks"
#4 __libc_start_main in "/lib64/libc.so.6"
#5 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:116
Segmentation fault
...and the associated particleTrackProperties

Quote:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object particleTrackProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

cloudName thermoCloud1;

sampleFrequency 1;

maxPositions 10000;


// ************************************************** *********************** //

gmagoon February 22, 2013 15:28

I was having a similar issue and figured out the problem just today. I'm not sure whether the same is a problem in your case, but I've just posted on what worked in my case: http://www.cfd-online.com/Forums/ope...tml#post409585


All times are GMT -4. The time now is 11:17.