problem with runing the ./Allrun.sh

Submitted by michaelv on Wed, 02/23/2011 - 17:05

Dear All
I installed the CFDDEM on my computer, the istallations seem to be complited, but then I am trying to test it by runing the mycfdem/settlingTest/Allrun.sh. and I get the message
wait for file "/opt/mycfdem/settlingTest/CFD/couplingFiles/x1"

and it wait forever
can anybody help me?
I never used the code.

Thank you very much
Esti

cgoniva's picture

cgoniva | Thu, 02/24/2011 - 08:51

Dear Esti,

seems like the DEM part of the code gets stuck somewhere,

the CFD part is working and waiting for the DEM side to receive the data.

Could you please try to specify your state more in detail .... (which terminalks do pop up, what is in the log files which are being written to the case directory....)

best regards,
Chris

michaelv | Thu, 02/24/2011 - 09:26

Der Chris
here is some mo ditails
the terminalss that are opened are : 1.cfdemSolverPiso settlingTest CFD 2. (ir I kill the firs one )cfdemSolverPiso settlingTest DEM
3.(if I kill the second) in the original terminal I get mesage simulation finisehd? ...press enter to proceed. 4. after enetr.the pizza starting to run and I get the follow message

No handlers could be found for logger "OpenGL.Tk"
gl tool did not load:
can't find package Togl
Executing file: ./pizzaScriptInit

read 0 snapshots
0 snapshots selected out of 0
no column assignments made
no unscaling could be performed

wrote 0 granular snapshots in VTK format
Traceback (most recent call last):
File "/usr/local/bin/pizza", line 394, in
execfile(fullfile)
File "./pizzaScriptInit", line 5, in
exit()
File "/usr/lib64/python2.6/site.py", line 340, in __call__
raise SystemExit(code)
SystemExit: None

5.after I spop the pizza the paravew is opened with follow message:
Create time

Create mesh for time = 0

Deleting old VTK files in "/opt/mycfdem/settlingTest/CFD/VTK"

Time: 0
volScalarFields : voidfractionPrev voidfractionNext p voidfraction
volVe

ctorFields : particleForces fNext UsNext U UsPrev fPrev Us f

Internal : "/opt/mycfdem/settlingTest/CFD/VTK/CFD_0.vtk"
Original cells:729 points:1000 Additional cells:0 additional points:0

Patch : "/opt/mycfdem/settlingTest/CFD/VTK/atmosphere/atmosphere_0.vtk"
Patch : "/opt/mycfdem/settlingTest/CFD/VTK/walls/walls_0.vtk"
End

the logfiles :
1. log_run_cfdemSolverPisoExplicit_settlingTest_CFD
// run_cfdemSolverPisoExplicit_settlingTest_CFD //

/opt/mycfdem/settlingTest/CFD

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.1-03e7e056c215
Exec : cfdemSolverPisoExplicit
Date : Feb 24 2011
Time : 02:28:21
Host : arak
PID : 45830
Case : /opt/mycfdem/settlingTest/CFD
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Create mesh for time = 0

Reading field p

Reading field U

Reading momentum exchange field Ksl
Reading voidfraction field voidfraction = (Vgas/Vparticle)

Creating dummy density field rho = 1

Reading particle velocity field Us

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RASModel
Selecting RAS turbulence model laminar

Reading g
Selecting locateModel standard
Selecting momCoupleModel explicitCouple
Selecting dataExchangeModel twoWayFiles
Selecting voidFractionModel centre
centreVoidFraction constructor done
Selecting averagingModel dense
Selecting regionModel allRegion
Selecting meshMotionModel noMeshMotion
If BC are important, please provide volScalarFields -particleForces-
number of particles is limited to: 10000
Selecting forceModel DiFeliceDrag

Starting time loop

Time = 0.001

Courant Number mean: 0 max: 0
- evolve()
timeStepFraction() = 1
wait for file "/opt/mycfdem/settlingTest/CFD/couplingFiles/x1"

2. log_run_cfdemSolverPisoExplicit_settlingTest_DEM :

// run_cfdemSolverPisoExplicit_settlingTest_DEM //

/opt/mycfdem/settlingTest/DEM

LIGGGHTS 1.1.10 based on lammps-10Mar10
Created orthogonal box = (0 0 0) to (0.1 0.1 0.1)
1 by 1 by 1 processor grid
Created 1 atoms
Setting atom values ...
1 settings made for diameter
1 settings made for density
Setting up run ...
Memory usage per processor = 10.5544 Mbytes
Step Atoms KinEng 1 Volume
0 1 0 0 0.001
1 1 0 0 0.001
Loop time of 2.69413e-05 on 1 procs for 1 steps with 1 atoms

Pair time (%) = 0 (0)
Neigh time (%) = 0 (0)
Comm time (%) = 0 (0)
Outpt time (%) = 8.10623e-06 (30.0885)
Other time (%) = 1.88351e-05 (69.9115)

Nlocal: 1 ave 1 max 1 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Nghost: 0 ave 0 max 0 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Neighs: 0 ave 0 max 0 min
Histogram: 1 0 0 0 0 0 0 0 0 0

Total # of neighbors = 0
Ave neighs/atom = 0
Neighbor list builds = 0
Dangerous builds = 0
Setting up run ...
Memory usage per processor = 10.5544 Mbytes
Step Atoms KinEng 1 Volume
1 1 0 0 0.001
CFD Coupling established at step 100
Fix couple/cfd/file: waiting for file: ../CFD/couplingFiles/dragforce0

I hope the information is usefull
thank you very much for you help
Esti

cgoniva's picture

cgoniva | Thu, 02/24/2011 - 12:17

Dear Esti,

pleas try to remove those files that are located in:
.../CFD/couplingFiles/

these exchange fields - exchanging data between the codes are re-written every coupling timestep. In order to see whether the other program has already finished writing the filename is changed afterwards -
if this filenames are messed up - an error can occur.

Cheers,
Chris

cgoniva's picture

cgoniva | Mon, 03/21/2011 - 17:54

Hi!

the files which actually carry the data to be transferred are in a directory of the case:
case/CFD/couplingFiles

Cheers
Chris

Kazzack | Tue, 03/22/2011 - 06:39

Even after the removal of the coupling files the message is flashed
timeStepFraction() = 1
wait for file "/home/ifmg/CFDEM/settlingTest/CFD/couplingFiles/x1"

cgoniva's picture

cgoniva | Mon, 03/28/2011 - 08:28

Hi!

the script seems not to work properly with your installation. Please try to do the commands executed ba the script by hand.

please see the forum post:
"Installation problem on ubuntu 10.10"

Cheers,
Chris

gwierink | Thu, 06/16/2011 - 14:51

Hi guys,

Just for the record, I had the same problem and line 49 in DEM/in.liggghts_init from

fix cfd all couple/cfd/force 10 file ../CFD/couplingFiles

to

fix cfd all couple/cfd/force couple_every 10 file ../CFD/couplingFiles/

it worked. I had an error due to the missing "couple_every" and endless waiting for couplingFile x1 because of the missing trailing "/". The above fixed this, Hope it is of any help.

Cheers,
Gijs

ckloss's picture

ckloss | Thu, 06/16/2011 - 17:30

Thanks Gijs,

I had to change the thing with the trailing "/" for some odd reasons a few weeks ago
I think we should add the updated file coupling tutorial case also... Will talk to Chris about that.

Thanks and cu soon,
Christoph