Hi All,
Does anyone please let me know how to update the version of LIGGGHTS? The current version for me is LIGGGHTS 1.5.3 based on lammps-10Mar10, which is installed last year. And I have not been used it for a long time. Recently, I need to pick them up again, and the newest version is LIGGGHTS 2.3. And I tried to use "git pull" command under the directory of "LIGGGHTS-PUBLIC" to update it, but it shows "Already up-to-date".
One problem for the old version of liggghts is running the test examples of CFDEM. In the terminal, it shows
ARNING: Restart file version does not match LAMMPS version
restart file = Version LIGGGHTS-PUBLIC 2.2.4, compiled 2013-02-06-13:50:26 by goniva based on LAMMPS 20 Apr 2012, LAMMPS = LIGGGHTS 1.5.3 based on lammps-10Mar10
ERROR: Illegal units command
.....
calc Ergun eqn:
muG = 0.0017820
dpErgun = 2561.0
final pressure drop = 2560.977345 Pa
loading ../probes/0/p ...
*** error: could not open "../probes/0/p" ...
error: A(I): Index exceeds matrix dimension.
error: called from:
error: totalPressureDropAndNusselt.m at line 38, column 8
** (evince:4047): WARNING **: Error stating file '/home/kun/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/tutorials/cfdemSolverPisoScalar/packedBedTemp/CFD/octave/cfdemSolverPisoScalar_pressureDrop.eps': No such file or directory
** (evince:4046): WARNING **: Error stating file '/home/kun/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/tutorials/cfdemSolverPisoScalar/packedBedTemp/CFD/octave/cfdemSolverPisoScalar_Nusselt.eps': No such file or directory
** (evince:4046): WARNING **: Error setting file metadata: No such file or directory
** (evince:4047): WARNING **: Error setting file metadata: No such file or directory
Thanks for any suggestion and help!
Kun
alice | Mon, 03/18/2013 - 07:53
Hello Kun,
Hello Kun,
perhaps you are still usong the path for the old LIGGGHTS-CFDEM git. Go to your LIGGGHTS-PUBLIC-folder and type
>> gedit .git/config
In case the url is not given as "git://github.com/CFDEMproject/LIGGGHTS-PUBLIC.git" please follow the instructons in the dowload section to generate the current LIGGGHTS-directory for the coupling.
Cheers,
Alice
kunzhang | Wed, 03/20/2013 - 01:44
Hi Alice
Hi Alice,
Thanks for your kind reply. I type " gedit .git/config" under LIGGGHTS-PUBLIC. In the terminal, it shows
"bash: gedit.git/config: No such file or directory"
I follow the instruction of compiling liggghts and CFDEMcoupling titled "githubAccess_public" and after compiling, when I type the "cfdemTestTUT", error is the same shown as follows:
Build : 2.1.x-24fc57936a1c
Exec : decomposePar
Date : Mar 19 2013
Time : 17:38:27
Host : "kun-laptop"
PID : 10587
Case : /home/kun/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD
nProcs : 1
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
Calculating distribution of cells
Selecting decompositionMethod simple
Finished decomposition in 0 s
Calculating original mesh data
Distributing cells to processors
Distributing faces to processors
Distributing points to processors
Constructing processor meshes
Processor 0
Number of cells = 4000
Number of faces shared with processor 1 = 400
Number of processor patches = 1
Number of processor faces = 400
Number of boundary faces = 1200
Processor 1
Number of cells = 4000
Number of faces shared with processor 0 = 400
Number of processor patches = 1
Number of processor faces = 400
Number of boundary faces = 1200
Number of processor faces = 400
Max number of cells = 4000 (0% above average 4000)
Max number of processor patches = 1 (0% above average 1)
Max number of faces between processors = 400 (0% above average 400)
Time = 0
Processor 0: field transfer
Processor 1: field transfer
End.
// run_parallel_cfdemSolverPiso_settlingTestMPI_CFDDEM //
/home/kun/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD
rm: cannot remove `couplingFiles/*': No such file or directory
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.x-24fc57936a1c
Exec : cfdemSolverPiso -parallel
Date : Mar 19 2013
Time : 17:38:28
Host : "kun-laptop"
PID : 10601
Case : /home/kun/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD
nProcs : 2
Slaves :
1
(
"kun-laptop.10602"
)
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 1.5.3 based on lammps-10Mar10
# 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 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: Illegal pair_style command
--------------------------------------------------------------------------
mpirun noticed that the job aborted, but has no info as to the process
that caused that situation.
--------------------------------------------------------------------------
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.x-24fc57936a1c
Exec : reconstructPar
Date : Mar 19 2013
Time : 17:38:28
Host : "kun-laptop"
PID : 10604
Case : /home/kun/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD
nProcs : 1
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
--> FOAM FATAL ERROR:
No times selected
From function reconstructPar
in file reconstructPar.C at line 139.
FOAM exiting
rm: cannot remove `cfdemSolverPiso_settlingTestMPI.eps': No such file or directory
GNU Octave, version 3.2.3
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "x86_64-pc-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
error: load: unable to find file ../../DEM/post/velocity.txt
error: called from:
error: settlingVelocity.m at line 9, column 6
** (evince:10607): WARNING **: Error stating file '/home/kun/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/octave/cfdemSolverPiso_settlingTestMPI.eps': No such file or directory
** (evince:10607): WARNING **: Error setting file metadata: No such file or directory
The version of liggghts is still "LIGGGHTS 1.5.3 based on lammps-10Mar10" and the result of typing "gedit .git/config" is still "bash: gedit.git/config: No such file or directory".
Could you please tell me how to fix this problems? Do I need to reinstall the liggghts and compile again?
Thank you.
Kun
cgoniva | Wed, 03/20/2013 - 08:12
Hi,
Hi,
the error: ERROR: Illegal pair_style command
indicates that you are not using the latest versions of CFDEMcoupling and LIGGGHTS (the liggghts commands for pair style changed)
Cheers,
Chris
kunzhang | Wed, 03/20/2013 - 06:57
Hi Alice
Hi Alice,
Also, from the CFDEM Feature, I saw some examples combined with GGI mesh motion, e.g. paddle mixer and ball mill. I would like to do some simulation for rotary dryer combined with fluid flow. So could you please give me some advices, or any tutorial I can learn how to use the GGI mesh motion. I also would like to import my own .stl file as the geometry.
Thank you very much for all the help.
Kun
cgoniva | Wed, 03/20/2013 - 08:14
Hi,
Hi,
currently there is no such example with GGI available.
Cheers,
Chris