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

particleTracks not working on reconstructed cases

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 7, 2010, 11:41
Default particleTracks not working on reconstructed cases
  #1
Member
 
lord_kossity's Avatar
 
Andreas Dietz
Join Date: Mar 2009
Location: Munich
Posts: 79
Rep Power: 8
lord_kossity is on a distinguished road
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:rintStack(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;


// ************************************************** *********************** //
lord_kossity is offline   Reply With Quote

Old   February 22, 2013, 15:28
Default
  #2
New Member
 
Join Date: Nov 2012
Posts: 4
Rep Power: 4
gmagoon is on a distinguished road
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: Segmentation fault with particleTracks
gmagoon 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
Surface Tension Test Cases sega OpenFOAM Running, Solving & CFD 2 March 8, 2011 13:19
How to speed up the simulation of a large amount of similar steady state cases tss Main CFD Forum 4 November 5, 2010 15:36
Free OpenFOAM CHT Report and Cases (No Catch!) m.nichols19 OpenFOAM 6 August 23, 2010 21:40
CFD Validation Cases doug Main CFD Forum 4 January 11, 2010 20:28
Directory constructions of complex cases 7islands OpenFOAM 2 August 26, 2008 05:25


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