Dear all
I have downloaded and installed OF and Ligghts. I did everyting following the guideline. it seems that the compilation works out, but the turotials can not be run properly.
First, when I try "cfdemTestTUT" and get error as
"cannot remove `cfdemSolverPiso_settlingTestMPI.eps'"
Then I go to the CFD forlder and put "mpirun -np 2 cfdemSolverPiso -parallel"
and get the following errors:
peter@ubuntu:~$ cd /home/peter/CFDEM/CFDEMcoupling-PUBLIC-2.1.1/tutorials/cfdemSolverPiso/settlingTestMPI/CFD
peter@ubuntu:~/CFDEM/CFDEMcoupling-PUBLIC-2.1.1/tutorials/cfdemSolverPiso/settlingTestMPI/CFD$ mpirun -np 2 cfdemSolverPiso -parallel
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.1-221db2718bbb
Exec : cfdemSolverPiso -parallel
Date : Feb 09 2014
Time : 12:05:40
Host : "ubuntu"
PID : 25783
Case : /home/peter/CFDEM/CFDEMcoupling-PUBLIC-2.1.1/tutorials/cfdemSolverPiso/settlingTestMPI/CFD
nProcs : 2
Slaves :
1
(
"ubuntu.25784"
)
Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Reading field p
Reading physical velocity field U
Note: only if voidfraction at boundary is 1, U is superficial velocity!!!
Reading momentum exchange field Ksl
Reading voidfraction field voidfraction = (Vgas/Vparticle)
Creating dummy density field rho
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 engine
Selecting dataExchangeModel twoWayMPI
Starting up LIGGGHTS for first time execution
Executing input script '../DEM/in.liggghts_init'
LIGGGHTS (Version LIGGGHTS-PUBLIC 3.0.0, compiled 2014-02-09-11:33:20 by peter based on LAMMPS 23 Nov 2013)
# Pour granular particles into chute container, then induce flow
atom_style granular
atom_modify map array sort 0 0
communicate single vel yes
#processors 1 1 2
boundary f f f
newton off
units si
region reg block 0 0.1 0 0.1 0 0.1 units box
create_box 1 reg
Created orthogonal box = (0 0 0) to (0.1 0.1 0.1)
1 by 1 by 2 MPI processor grid
neighbor 0.003 bin
neigh_modify delay 0 binsize 0.01
#Material properties required for new pair styles
fix m1 all property/global youngsModulus peratomtype 5.e6
fix m2 all property/global poissonsRatio peratomtype 0.45
fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
fix m5 all property/global characteristicVelocity scalar 2.0
#pair style
pair_style gran/hooke/history #Hookean without cohesion
ERROR: Invalid pair style (../force.cpp:295)
peter@ubuntu:~/CFDEM/CFDEMcoupling-PUBLIC-2.1.1/tutorials/cfdemSolverPiso/settlingTestMPI/CFD$
It seems to me that "cfdemSolverPiso" is there, so the compilation is fine (am I right?)
But the initiation of particles has never been in effect. Actaully I try to run all examples seperately, and always got the similar error indicating that the initial particle information is missed.
Onething confusing me is that, in the guideline it indicates "To specify the paths of pizza, please check the settings in $CFDEM_SRC_DIR/etc/bashrc", but I can not find pizza in the path. I try to download it, but it seems the download is no more available. I am not sure if that is the reason why I can not run the case.
Best regards
Peter
kunzhang | Sun, 02/09/2014 - 05:28
HI Peter
Hi Peter,
In your first post, the error show the " Invalid pair style", I suspect there is the some problem with your liggghts. Please check your liggghts version and maybe you need to update it.
Kun
kunzhang | Sun, 02/09/2014 - 18:26
As you could see that, the
As you could see that, the program has already "Executing input script '../DEM/in.liggghts_init'", you might open the in.liggghts_init file under the directory of DEM and see the line "pair_style gran/hooke/history". Then you might open directory LIGGGHTS/LIGGGHTS-PUBLIC/doc/pair_style.html or pair_style.txt to read the instruction what is the correct way to define pair style in LIGGGHTS 3.0.0. I am still using liggghts 2.3.2, and not quite sure the compilation of 3.0.0. And you said no case can be run, is the error the same?
Kun
kunzhang | Mon, 02/10/2014 - 02:51
Congratulations! Enjoy your
Congratulations! Enjoy your CFDEM!
Kun
peanuts | Sat, 05/24/2014 - 18:40
HELP ME
i'm a beginner and also have the same problem like you , could you help me with specific guidance?