Installation of CFDEM

kunzhang's picture
Submitted by kunzhang on Thu, 03/28/2013 - 20:34

Hi All,

The attached file is the detailed steps for installation of OpenFOAM-2.2.x, LIGGGHTS, and CFDEMcoupling. Hopefully, it does help for the new users.

But, after coupling, it shows
%Note: the list of utilities compiled might be incomplete.
please check /home/cee-student/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/applications/utilities for more utilities available

For the Test case and cfdemSolverIB, it has no problem.

However, for the cfdemSolverPiso-ErgunTestMPI or cfdemSolverPisoScalar, the computation can run, but finally
rm: cannot remove `*.eps': No such file or directory
GNU Octave, version 3.2.4
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 (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'.

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:17690): WARNING **: Error when getting information for file '/home/cee-student/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/tutorials/cfdemSolverPisoScalar/packedBedTemp/CFD/octave/cfdemSolverPisoScalar_Nusselt.eps': No such file or directory

** (evince:17691): WARNING **: Error when getting information for file '/home/cee-student/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/tutorials/cfdemSolverPisoScalar/packedBedTemp/CFD/octave/cfdemSolverPisoScalar_pressureDrop.eps': No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

** (evince:17690): WARNING **: Error setting file metadata: No such file or directory

** (evince:17691): WARNING **: Error setting file metadata: No such file or directory

Please help me fix up this problem. Thanks for your time and patient.

Kun

AttachmentSize
Plain text icon Install CFDEM_0.txt12.37 KB
alice's picture

alice | Wed, 04/03/2013 - 16:38

Hey Kun,
the first part of the message (i.e. the warning about the potentially missing solvers) is just meant to remind you that solvers you might hav added personally are not compiled with that command.
The real error occurs in the post processing, where octave claims not to find a certain data file (pressure information located in probes/0). Have a look there if the file exists, in case not: does the actual computation take place?
Cheers,
Alice

kunzhang's picture

kunzhang | Sun, 04/28/2013 - 20:18

Hi Alice,

Thanks for your kind reply. I think the computation takes place since in the CFD file, 0.1, 0.2 ... directories are created after running. I notice in the octave/totalPressureDropAndNusselt.m file, it writes:
path = '../probes/0/p';

I can not find the directory of probes. Will this directory be created automatically during case running? Or it should be :
path = '../0/p';

However, I think I could check the results of CFD and DEM seperately. It works well.

Thanks!

Kun

kunzhang

kunzhang's picture

kunzhang | Sun, 04/28/2013 - 23:32

Hi Alice,

For the packedbedtemp example, in the file of CFD/octave/totalPressureDropAndNusselt.m, I changed the path sentence as :

path = '../postProcessing/probes/0/p';

And path = '../postProcessing/probes/0/T';

Now it works well. I am not sure if ohter users need to change the directory of p' and T'.

Kun

kunzhang

cgoniva's picture

cgoniva | Tue, 04/30/2013 - 17:37

Hi Kunzhang,

this change of the path is necessary when working with OpenFOAM 2.2.x.

Cheers,
Chris

Dina | Wed, 12/16/2015 - 12:26

I have the same problem as Kunzhang, but with the file

file:///home/dina/CFDEM/CFDEMcoupling-PUBLIC-2.3.1/tutorials/cfdemSolverPiso/ErgunTestMPI_cgs/CFD/octave/cfdemSolverPiso_ErgunTestMPI.eps

I looked at the file "totalPressureDrop.m" in /tutorials/cfdemSolverPiso/ErgunTestMPI_cgs/CFD/octave/ I have this path values

%path = '../probes/0/p'; % 2.1.x
path = '../postProcessing/probes/0/p'; % 2.2.x

I have OpenFoam 2.3.1 and ParaView 4.1.0

Do i need to change something else?

Thank you in advance

Maryam | Mon, 01/11/2016 - 04:15

Try and check if Octave is installed on your system. What happens when you type "octave" in a terminal?

Maryam

jtvanlew | Tue, 04/30/2013 - 21:09

I'm going to piggy-back on this thread because I had similar problems to Kunzhang when I tried doing the CFDEM coupling last night. But I have also many others...

I'm going step-by-step with the installation manual but I keep having a problem when I edit my .bashrc file with this line in particular:

export CFDEM_PROJECT_DIR=$HOME/CFDEM/CFDEMcoupling-$CFDEM_VERSION-$WM_PROJECT_VERSION

When I did the git-pull command with $WM_PROJECT_VERSION, there was no problem and I made the directory "CFDEMcoupling-PUBLIC-2.2.0"

But now when I add that line above to my .bashrc file and start a new terminal, I get the first error that

bash: /home/jon/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/bashrc: No such file or directory

You can see that the bash file isn't creating the string "2.2.0" to append to my path. So there's an error getting into that subdirectory where the src files are.

Last night I had changed the bash file to just erase any instance I saw "-$WM_PROJECT_VERSION" and it at least worked temporarily. But there's another etc/.bashrc in the lagrangian directory that I don't want to modify but it references more -$WM_PROJECT_VERSION directories -- so I think this is my problem. When I got to the point of running tutorials, my paths were all mixed up and errors were dropping from the sky like rain.

Can I do something to force my .bashrc to understand that $WM_... is 2.2.0? Am I doing something else wrong? If I just type $WM_PROJECT_VERSION into a terminal, it clearly relates this to 2.2.0 (and obviously says that it is not a command).

Many thanks for any advice.

jon

yyu | Wed, 05/01/2013 - 07:40

Hi all,
I did the installing process according the " Install CFDEM.txt" in this page. when I run an example of liggghts in 3 steps, and changed the path to :"~/LIGGGHTS/LIGGGHTS-PUBLIC/examples/LIGGGHTS/Tutorials_public/conveyor", followed the next "liggghts < in.conveyor " line, some strange thing happened as shown in the following:
"liggghts: error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory"
I googled this problem, but no any clue. somebody help me out of here. thanks a lot.

cgoniva's picture

cgoniva | Wed, 05/01/2013 - 09:25

Hi yyu,

in OpenFOAM's /etc/bashrc you can set if you want to use SYSTEMOPENMPI or OPENMPI (this woud use those delivered with OpenFOAM third party), I'd recommend SYSTEMOPENMPI and see that mpi libraries are installed on the system.
On OpenCFD's installation guide you find some libraries that are necessary (http://www.openfoam.org/download/git.php).

Further when typing cfdemSysTest it will tell you which gcc, g++ etc. are used, as well as the mpi installed. You might install some openMPI-devel package to get the mpirun command.

Cheers,
Chris

yyu | Thu, 05/02/2013 - 12:38

I added the following line to OpenFOAM's /etc/bashrc:
export LD_LIBRARY_PATH=/usr/lib/mpi/gcc/openmpi/lib/
but i tried again, it still had the same problem and cannot find the lib folder under usr folder. Something wrong?
I searched libmpi.so.1 on my computer and there were two files: libmpi.so.1 (/home/yyu/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/openmpi-1.6.3/lib64/libmpi.so.1),
libmpi.so.1.0.6( /home/yyu/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/openmpi-1.6.3/lib64/libmpi.so.1.0.6). which one is my need and where should i put it?
the last one, I cannot find the libmpi.so.1 file from the OpenCFD's installation guide . sorry for that. I'm new guy on this. Looking forward to your reply. thankx

yyu | Thu, 05/02/2013 - 13:23

I tried the path:
export LD_LIBRARY_PATH=/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/openmpi-1.6.3/lib64/ in OpenFOAM's /etc/bashrc and I'm sure the libmpi.so.1 file in there. but still the same issue. thanks.

yyu | Fri, 05/03/2013 - 10:36

I tried several ways, but just didnot work. from your reply, first I should set the path in OpenFOAM's /etc/bashrc
(export LD_LIBRARY_PATH=/usr/lib/openmpi/lib
export LD_LIBRARY_PATH:=$PATH:/usr/lib/openmpi/lib/)
and then download the libmpi.so.1 (openmpi-1.6.3-6.fc18.x86_64) from the OpenCFD's installation guide. and ran it again. still had the question. and ran cfdemSysTest command and got:
*******************
system settings:
*******************
CFDEM_VERSION=PUBLIC
couple to OF_VERSION=

check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/yyu/CFDEM/CFDEMcoupling-PUBLIC-
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /home/yyu/CFDEM/yyu-PUBLIC-
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/yyu/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle
valid:yes critical:yes - $CFDEM_SOLVER_DIR = /home/yyu/CFDEM/CFDEMcoupling-PUBLIC-/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /home/yyu/CFDEM/CFDEMcoupling-PUBLIC-/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /home/yyu/LIGGGHTS/LIGGGHTS-PUBLIC/src
valid:yes critical:yes - $CFDEM_LPP_DIR = /home/yyu/LIGGGHTS/mylpp/src
valid:yes critical:no - $CFDEM_PIZZA_DIR = /home/yyu/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src
valid:yes critical:no - $CFDEM_TEST_HARNESS_PATH = /home/yyu/CFDEM/yyu-PUBLIC-/log/logFilesCFDEM-PUBLIC-

library names
$CFDEM_LIGGGHTS_LIB_NAME = lmp_fedora_fpic
$CFDEM_LIB_NAME = lagrangianCFDEM-PUBLIC-
$LD_LIBRARY_PATH =
*******************
g++:
/usr/bin/g++
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gcc:
/usr/bin/gcc
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

mpic++:
/usr/bin/mpic++
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

mpirun:
/usr/bin/mpirun
mpirun (Open MPI) 1.4.3

Report bugs to http://www.open-mpi.org/community/help/
Please help me out of here, Chris. I'm really frustrated.

yyu | Tue, 05/21/2013 - 10:07

Hi every one,
I followed the order for installing CFDEM. When I almost finished it, last step: cfdemTestTUT and changed the path to :
path = '../postProcessing/probes/0/p';

path = '../postProcessing/probes/0/T';
and something happened. what can I do?? Thanks for attention. Looking forward to your replying.
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:27862): WARNING **: Error when getting information for file '/home/yyu/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/octave/cfdemSolverPiso_settlingTestMPI.eps': No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

yyu | Tue, 05/21/2013 - 10:21

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.x-6b599710baf9
Exec : decomposePar
Date : May 21 2013
Time : 10:57:12
Host : "ubuntu"
PID : 27840
Case : /home/yyu/CFDEM/CFDEMcoupling-PUBLIC-2.2.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

Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0.02 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/yyu/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD

rm: cannot remove `couplingFiles/*': No such file or directory
cfdemSolverPiso: error while loading shared libraries: liblagrangianCFDEM-PUBLIC-2.2.x.so: cannot open shared object file: No such file or directory
cfdemSolverPiso: error while loading shared libraries: liblagrangianCFDEM-PUBLIC-2.2.x.so: cannot open shared object file: No such file or directory
--------------------------------------------------------------------------
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.2.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.x-6b599710baf9
Exec : reconstructPar
Date : May 21 2013
Time : 10:57:12
Host : "ubuntu"
PID : 27859
Case : /home/yyu/CFDEM/CFDEMcoupling-PUBLIC-2.2.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 178.

FOAM exiting

rm: cannot remove `cfdemSolverPiso_settlingTestMPI.eps': No such file or directory
GNU Octave, version 3.2.4
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 (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:27862): WARNING **: Error when getting information for file '/home/yyu/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD/octave/cfdemSolverPiso_settlingTestMPI.eps': No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

** (evince:27862): WARNING **: Error setting file metadata: No such file or directory

aalborz | Sun, 03/27/2016 - 00:58

Hi,
I have correctly installed CFDEM coupling. But there is following error after running a tutorial example:
Unable to open document “file:///home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemSolverPisoScalar/packedBedTemp/CFD/octave/cfdemSolverPisoScalar_pressureDrop.eps”.

I have made several changes in files that other mentioned in Forums. But I have still the same error.

Please let me know how I can fix these errors.

Best

Aneseh

alice's picture

alice | Wed, 03/30/2016 - 16:26

Hello Aneseh,
this message just states that the file of type eps cannot be displayed. Is the document viewer "evince" installed on your system? Just have a look at one of the processor directories within the CFD folder. In case there are timestep folders (called 0.1, 0.2, ...) the calculation ran through and you can postprocess the data with paraview for example.
Best regards,
Alice

aalborz | Sat, 04/02/2016 - 20:38

Dear Alice , thank you so much, there are no timestep folders (called 0.1, 0.2, ...) in my folder.
I have document viewer installed.
would you please take a look at my run process
-----------
aneseh@aneseh-OptiPlex-7010:~/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder$ ./Allrun.sh
mesh needs to be built
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.4.0-f0842aea0e77
Exec : blockMesh
Date : Apr 02 2016
Time : 13:10:48
Host : "aneseh-OptiPlex-7010"
PID : 15862
Case : /home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder/CFD
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Creating block mesh from
"/home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder/CFD/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Reading patches section

Creating block mesh topology

Reading physicalType from existing boundary file

Default patch type set to empty

Check topology

Basic statistics
Number of internal faces : 8
Number of boundary faces : 14
Number of defined boundary faces : 14
Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 1
Block 0 cell size :
i : 0.001725 .. 0.001725
j : 0.001725 .. 0.001725
k : 0.00230417 .. 0.00230417

Block 1 cell size :
i : 0.001725 .. 0.001725
j : 0.00101048 .. 0.00101048
k : 0.00230417 .. 0.00230417

Block 2 cell size :
i : 0.00101048 .. 0.00101048
j : 0.00270527 .. 0.00270527
k : 0.00230417 .. 0.00230417

Block 3 cell size :
i : 0.00270527 .. 0.00270527
j : 0.00101048 .. 0.00101048
k : 0.00230417 .. 0.00230417

Block 4 cell size :
i : 0.00101048 .. 0.00101048
j : 0.001725 .. 0.001725
k : 0.00230417 .. 0.00230417

Writing polyMesh
----------------
Mesh Information
----------------
boundingBox: (-0.0138 -0.0138 0) (0.0138 0.0138 0.0553)
nPoints: 5225
nCells: 4608
nFaces: 14400
nInternalFaces: 13248
----------------
Patches
----------------
patch 0 (start: 13248 size: 192) name: inlet
patch 1 (start: 13440 size: 192) name: outlet
patch 2 (start: 13632 size: 768) name: wall

End

rm: cannot remove ‘/home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder/DEM/post/*’: No such file or directory
/home/aneseh/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/functions.sh: line 417: [: ==: unary operator expected
/home/aneseh/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/functions.sh: line 419: [: ==: unary operator expected
rm: cannot remove ‘/home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder/log_run_liggghts_fillCylinder_DEM’: No such file or directory

// run_liggghts_fillCylinder_DEM //

/home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder/DEM

LIGGGHTS (Version LIGGGHTS-PUBLIC 3.3.1, compiled 2016-04-01-14:10:59 by aneseh, git commit 99507f5217ad4fd4be5107d6262bd7274c9a5c03 based on LAMMPS 23 Nov 2013)
atom_style granular
atom_modify map array
communicate single vel yes

boundary m m m
newton off

units si

region reg block -0.015 0.015 -0.015 0.015 -0.001 0.0554 units box
create_box 2 reg
Created orthogonal box = (-0.015 -0.015 -0.001) to (0.015 0.015 0.0554)
1 by 1 by 1 MPI processor grid

neighbor 0.001 bin
neigh_modify delay 0

#Material properties required for new pair styles

fix m1 all property/global youngsModulus peratomtype 5.e6 5.e6
fix m2 all property/global poissonsRatio peratomtype 0.45 0.45
fix m3 all property/global coefficientRestitution peratomtypepair 2 0.3 0.3 0.3 0.3
fix m4 all property/global coefficientFriction peratomtypepair 2 0.5 0.5 0.5 0.5

#pair style
pair_style gran model hertz tangential history
pair_coeff * *

#timestep, gravity
timestep 0.00001
fix gravi all gravity 9.81 vector 0.0 0.0 -1.0

#walls
fix zwalls1 all wall/gran model hertz tangential history primitive type 1 zplane 0.0
fix zwalls2 all wall/gran model hertz tangential history primitive type 1 zplane 0.0553
fix cylwalls all wall/gran model hertz tangential history primitive type 1 zcylinder 0.0138 0. 0.

#cfd coupling
#fix cfd all couple/cfd

#particle insertion
region bc cylinder z 0.0 0.0 0.012 0.02 0.03 units box
region bc2 cylinder z 0.0 0.0 0.012 0.01 0.02 units box
fix pts1 all particletemplate/sphere 1 atom_type 1 density constant 200 radius constant 0.001
fix pts2 all particletemplate/sphere 1 atom_type 2 density constant 200 radius constant 0.001
fix pdd1 all particledistribution/discrete 1. 1 pts1 1.0
Fix particledistribution/discrete (id pdd1): distribution based on mass%:
pts1: d=2.000000e-03 (max. bounding sphere) mass%=100.000000%
Fix particledistribution/discrete (id pdd1): distribution based on number%:
pts1: d=2.000000e-03 (max. bounding sphere) number%=100.000000%
fix pdd2 all particledistribution/discrete 1. 1 pts2 1.0
Fix particledistribution/discrete (id pdd2): distribution based on mass%:
pts2: d=2.000000e-03 (max. bounding sphere) mass%=100.000000%
Fix particledistribution/discrete (id pdd2): distribution based on number%:
pts2: d=2.000000e-03 (max. bounding sphere) number%=100.000000%

fix ins all insert/pack seed 100001 distributiontemplate pdd1 vel constant 0. 0. -1. insert_every once overlapcheck yes all_in yes particles_in_region 1000 region bc
fix ins2 all insert/pack seed 100001 distributiontemplate pdd2 vel constant 0. 0. -1. insert_every once overlapcheck yes all_in yes particles_in_region 1000 region bc2

#apply nve integration to all particles that are inserted as single particles
fix integr all nve/sphere

#screen output
compute 1 all erotate/sphere
thermo_style custom step atoms ke c_1 vol
thermo 1000
thermo_modify lost ignore norm no
compute_modify thermo_temp dynamic yes

#insert the first particles so that dump is not empty
run 1
Setting up run ...
INFO: Resetting random generator for region bc
INFO: Particle insertion ins: inserting every 0 steps
INFO: Resetting random generator for region bc2
INFO: Particle insertion ins2: inserting every 0 steps
Memory usage per processor = 4.32251 Mbytes
Step Atoms KinEng 1 Volume
0 0 -0 0 5.076e-05
insertion: proc 0 at 0 %
insertion: proc 0 at 10 %
insertion: proc 0 at 20 %
insertion: proc 0 at 30 %
INFO: Particle insertion ins: inserted 305 particle templates (mass 0.000256) at step 1
- a total of 305 particle templates (mass 0.000256) inserted so far.
WARNING: Particle insertion: Less insertions than requested (../fix_insert.cpp:734)
insertion: proc 0 at 0 %
insertion: proc 0 at 10 %
insertion: proc 0 at 20 %
insertion: proc 0 at 30 %
INFO: Particle insertion ins2: inserted 305 particle templates (mass 0.000256) at step 1
- a total of 305 particle templates (mass 0.000256) inserted so far.
WARNING: Particle insertion: Less insertions than requested (../fix_insert.cpp:734)
1 --------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
610 0.00025554127 0 5.076e-05
Loop time of 0.0300939 on 1 procs for 1 steps with 610 atoms

Pair time (%) = 2.69413e-05 (0.0895241)
Neigh time (%) = 0.000457048 (1.51874)
Comm time (%) = 3.8147e-06 (0.012676)
Outpt time (%) = 1.40667e-05 (0.0467427)
Other time (%) = 0.029592 (98.3323)

Nlocal: 610 ave 610 max 610 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: 2169 ave 2169 max 2169 min
Histogram: 1 0 0 0 0 0 0 0 0 0

Total # of neighbors = 2169
Ave neighs/atom = 3.55574
Neighbor list builds = 1
Dangerous builds = 0
dump dmp all custom 1000 post/dump.liggghts_init id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius

run 3000 upto
ERROR on proc 0: Cannot open dump file (../dump.cpp:512)
./Allrun.sh: line 48: cd: /home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder/DEM/post: No such file or directory
python: can't open file '/home/aneseh/LIGGGHTS/mylpp/src/lpp.py': [Errno 2] No such file or directory
rm: cannot remove ‘/home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder/CFD/0.*’: No such file or directory
rm: cannot remove ‘/home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder/log_run_cfdemPostproc_fillCylinder_CFD’: No such file or directory

// run_cfdemPostproc_fillCylinder_CFD //

/home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder/CFD

/home/aneseh/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/functions.sh: line 542: cfdemPostproc: command not found

trying to start paraview...
./Allrun.sh: line 81: /home/aneseh/software/ParaView-4.3.1-Linux-64bit/bin/paraview: No such file or directory
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please let me know what is the problem,
Thanks,

alice's picture

alice | Mon, 04/11/2016 - 16:51

Hi Aneseh,
the lines

ERROR on proc 0: Cannot open dump file (../dump.cpp:512)
./Allrun.sh: line 48: cd: /home/aneseh/CFDEMcoupling-PUBLIC-/run/cfdemPostproc/fillCylinder/DEM/post: No such file or directory

indicate that there might be no post-folder inside cou DEM folder. If thats the case, please just generate an empty folder called post, and within it an empty folder called restart.
Best regards,
Alice

anirbanmondal93's picture

anirbanmondal93 | Mon, 05/09/2016 - 11:21

Hi everyone,

I am facing the installation problem. Sorry for raising the context in this regard. I am raising it as everyone is here with the discussion of installation problem.
I have tried severe documentations (one is githubAccess_public.pdf from CFDEMCoupling download section & many others available in google) and step-by-step guidelines to install CFDEMCoupling-LIGGGHTS-OpenFOAM-Paraview on my Linux ubuntu 14.04LTS system, i.e. CFDEM full package. But unfortunately, i failed every time at any stage somehow during installation process.

Can you kindly help me by giving the exact proper step-by-step guidelines/tutorial to install that CFDEMCoupling package properly on my machine?

Thanks in advance
With regards,
Anirban

yyu | Tue, 05/31/2016 - 16:06

1. Install the OpenFOAM
>> sudo apt-get install git-core
>> apt-get install curl
>> apt-get update
>> mkdir OpenFOAM
>> cd OpenFOAM
>> git clone git://github.com/OpenFOAM/OpenFOAM-2.2.x.git %Download the OpenFOAM file
>> cd OpenFOAM-2.2.x
>> git pull
click link: http://sourceforge.net/projects/foam/files/foam/2.2.0/ThirdParty-2.2.0.t... %DownLoad the ThirdParty-2.2.0
>> cp Downloads/ThirdParty-2.2.0.tgz OpenFOAM/ %copy the ThirdParty-2.2.0 to OpenFOAM directory
>> cd OpenFOAM
>> tar xzf ThirdParty-2.2.0.tgz %unpacked directory
>> mv ThirdParty-2.2.0 ThirdParty-2.2.x %Rename the file
>> sudo apt-get install build-essential %Install more package
>> sudo apt-get install flex
>> sudo apt-get install bison
>> sudo apt-get install cmake
>> sudo apt-get install zlib1g-dev
>> sudo apt-get install qt4-dev-tools
>> sudo apt-get install libqt4-dev
>> sudo apt-get install gnuplot
>> sudo apt-get install libreadline-dev
>> sudo apt-get install libncurses-dev
>> sudo apt-get install libxt-dev
>> sudo apt-get install libscotch-dev
>> sudo apt-get install libopenmpi-dev
>> gedit ~/.bashrc
add " source $HOME/OpenFOAM/OpenFOAM-2.2.x/etc/bashrc " in the .bashrc file % setting environment variables
>> source $HOME/.bashrc
>> cd OpenFOAM/OpenFOAM-2.2.x/bin/
>> foamSystemCheck
Shell: /bin/bash
Host: CEE-HP-Z600
OS: Linux version 3.2.0-39-generic
User: cee-student

System check: PASS
==================
Continue OpenFOAM installation.
>> cd
>> gcc --version %gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>> cd $WM_PROJECT_DIR % Go to OpenFOAM/OpenFOAM-2.2.x directory
>> ./Allwmake %Build src
>> cd $WM_THIRD_PARTY_DIR %Enter into OpenFOAM/ThirdParty-2.2.x
>> ./makeParaView
>> cd
>> cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers %Enter into OpenFOAM/OpenFOAM-2.2.x/applications/utilities/postProcessing/graphics/PV3Readers
>> ./Allwclean
>> ./Allwmake
>> cd
>> cd OpenFOAM/OpenFOAM-2.2.x/bin/
>> foamInstallationTest
Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: CEE-HP-Z600
OS: Linux version 3.2.0-39-generic
-------------------------------------------------------------------------------

Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/cee-student/OpenFOAM yes yes
$WM_PROJECT_USER_DIR ...e-student/OpenFOAM/cee-student-2.2.x no no
$WM_THIRD_PARTY_DIR ...ee-student/OpenFOAM/ThirdParty-2.2.x yes yes
-------------------------------------------------------------------------------

Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR .../cee-student/OpenFOAM/OpenFOAM-2.2.x yes yes yes

$FOAM_APPBIN ...-2.2.x/platforms/linux64GccDPOpt/bin yes yes yes
$FOAM_SITE_APPBIN .../2.2.x/platforms/linux64GccDPOpt/bin no no
$FOAM_USER_APPBIN ...-2.2.x/platforms/linux64GccDPOpt/bin no no
$WM_DIR ...tudent/OpenFOAM/OpenFOAM-2.2.x/wmake yes yes yes
-------------------------------------------------------------------------------

Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...-2.2.x/platforms/linux64GccDPOpt/lib yes yes yes
$FOAM_SITE_LIBBIN .../2.2.x/platforms/linux64GccDPOpt/lib no no
$FOAM_USER_LIBBIN ...-2.2.x/platforms/linux64GccDPOpt/lib no no
$MPI_ARCH_PATH ...x/platforms/linux64Gcc/openmpi-1.6.3 yes yes yes
-------------------------------------------------------------------------------

Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
flex 2.5.35 /usr/bin/flex
gcc 4.6.3 /usr/bin/gcc
gzip 1.4 /bin/gzip
tar 1.26 /bin/tar
icoFoam 2.2.x ...M/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/bin/icoFoam
-------------------------------------------------------------------------------

Summary
-------------------------------------------------------------------------------
Base configuration ok.
Critical systems ok.

Done

>> cd..
>> cd.. %back to HOME/OpenFOAM directory
>> mkdir $USER-$WM_PROJECT_VERSION
>> ls %show the directory of -2.2.x
>> cd -2.2.x
>> mkdir -p $FOAM_RUN %create run directory
>> cp -r $FOAM_TUTORIALS $FOAM_RUN
>> cd run
>> ls % show the tutorials directory
>> cd
>> cd $FOAM_RUN %enter into OpenFOAM/-2.2.x/run
>> cd tutorials/incompressible/icoFoam/cavity
>> blockMesh
>> icoFoam
>> paraFoam %open paraview and see the result

2. Additional Installation
>> cd
>> sudo apt-get install subversion
>> sudo apt-get install octave3.2
>> sudo apt-get install openmpi-dev %Note, selecting 'libopenmpi-dev' instead of 'openmpi-dev'
>> which mpirun %/home/cee-student/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/openmpi-1.6.3/bin/mpirun
>> sudo apt-get install mpich2
>> sudo apt-get install python-numpy

3. Installation of LIGGGHTS
>> mkdir LIGGGHTS
>> cd LIGGGHTS
>> git clone git://github.com/CFDEMproject/LIGGGHTS-PUBLIC.git LIGGGHTS-PUBLIC
>> cd LIGGGHTS-PUBLIC/src/
>> make clean-all %rm -rf Obj_*
>> make fedora
>> cd
%Download pizza.py in the CFDEM to the Downloads Directory
>> cd Downloads
>> tar -zxvf pizza.tar.gz %unpact the pizza.tar.gz
>> cd
>> cd LIGGGHTS
>> mkdir PIZZA
>> cd
>> cp -r Downloads/gran_pizza_17Aug10/ ./LIGGGHTS/PIZZA
>> gedit ~/.bashrc
Add line "alias pizza="python -i $HOME/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src/pizza.py" and save
>> source $HOME/.bashrc
>> cd LIGGGHTS
>> git clone git://cfdem.git.sourceforge.net/gitroot/cfdem/lpp mylpp
>> gedit ~/.bashrc
Add line "alias lpp="python -i $HOME/LIGGGHTS/mylpp/src/lpp.py"" and save
>> source $HOME/.bashrc
>> cd
>> sudo ln -s $HOME/LIGGGHTS/LIGGGHTS-PUBLIC/src/lmp_fedora /usr/bin/liggghts %HERE I have already set up the symbolic link, so the message shows ln: failed to create symbolic link `/usr/bin/liggghts': File exists
>> cd /usr/bin
>> sudo rm liggghts
>> cd
>> sudo ln -s $HOME/LIGGGHTS/LIGGGHTS-PUBLIC/src/lmp_fedora /usr/bin/liggghts
>> which liggghts % /usr/bin/liggghts

% Run a example
>> cd
>> cd LIGGGHTS/LIGGGHTS-PUBLIC/examples/LIGGGHTS/conveyor/
>> liggghts < in.conveyor %NO PROBLEM on computation or you could use the command ./runscript if runscript file is in the directory
>> cd post
>> lpp dump*.conveyor
ctrl+D
>> paraview

4. Complie CFDEM
>> cd
>> mkdir CFDEM
>> cd CFDEM
>> git clone git://github.com/CFDEMproject/CFDEMcoupling-PUBLIC.git CFDEMcoupling-PUBLIC-$WM_PROJECT_VERSION
>> cd CFDEMcoupling-PUBLIC-2.2.x
>> git stash %No local changes to save
>> git pull %Already up-to-date
>> gedit ~/.bashrc
Add lines as follows and save it
#================================================#
#- source cfdem env vars
export CFDEM_VERSION=PUBLIC
export CFDEM_PROJECT_DIR=$HOME/CFDEM/CFDEMcoupling-$CFDEM_VERSION-$WM_PROJECT_VERSION
export CFDEM_SRC_DIR=$CFDEM_PROJECT_DIR/src/lagrangian/cfdemParticle
export CFDEM_SOLVER_DIR=$CFDEM_PROJECT_DIR/applications/solvers
export CFDEM_DOC_DIR=$CFDEM_PROJECT_DIR/doc
export CFDEM_UT_DIR=$CFDEM_PROJECT_DIR/applications/utilities
export CFDEM_TUT_DIR=$CFDEM_PROJECT_DIR/tutorials
export CFDEM_PROJECT_USER_DIR=$HOME/CFDEM/$LOGNAME-$CFDEM_VERSION-$WM_PROJECT_VERSION
export CFDEM_bashrc=$CFDEM_SRC_DIR/etc/bashrc
export CFDEM_LIGGGHTS_SRC_DIR=$HOME/LIGGGHTS/LIGGGHTS-PUBLIC/src
export CFDEM_LIGGGHTS_MAKEFILE_NAME=fedora_fpic
export CFDEM_LPP_DIR=$HOME/LIGGGHTS/mylpp/src
export CFDEM_PIZZA_DIR=$HOME/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src
. $CFDEM_bashrc
#================================================#

>> source $HOME/.bashrc
%make new dirs /home/cee-student/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/../cee-student-PUBLIC-2.2.x ? (y/n)
>> y
>> cd
>> $CFDEM_PROJECT_DIR % "...is a directory"
>> $CFDEM_SRC_DIR % "...is a directory"
>> $CFDEM_LIGGGHTS_SRC_DIR % "...is a directory"
>> cfdemSysTest

*******************
system settings:
*******************
CFDEM_VERSION=PUBLIC
couple to OF_VERSION=2.2.x

check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/cee-student/CFDEM/CFDEMcoupling-PUBLIC-2.2.x
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /home/cee-student/CFDEM/cee-student-PUBLIC-2.2.x
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/cee-student/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle
valid:yes critical:yes - $CFDEM_SOLVER_DIR = /home/cee-student/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /home/cee-student/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /home/cee-student/LIGGGHTS/LIGGGHTS-PUBLIC/src
valid:yes critical:yes - $CFDEM_LPP_DIR = /home/cee-student/LIGGGHTS/mylpp/src
valid:yes critical:no - $CFDEM_PIZZA_DIR = /home/cee-student/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src
valid:yes critical:no - $CFDEM_TEST_HARNESS_PATH = /home/cee-student/CFDEM/cee-student-PUBLIC-2.2.x/log/logFilesCFDEM-PUBLIC-2.2.x

library names
$CFDEM_LIGGGHTS_LIB_NAME = lmp_fedora_fpic
$CFDEM_LIB_NAME = lagrangianCFDEM-PUBLIC-2.2.x
$LD_LIBRARY_PATH = /home/cee-student/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/gperftools-svn/lib:/home/cee-student/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12:/home/cee-student/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/openmpi-1.6.3:/home/cee-student/OpenFOAM/ThirdParty-2.2.x/platforms/linux64GccDPOpt/lib/openmpi-1.6.3:/home/cee-student/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/openmpi-1.6.3/lib:/home/cee-student/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/openmpi-1.6.3/lib64:/home/cee-student/OpenFOAM/cee-student-2.2.x/platforms/linux64GccDPOpt/lib:/home/cee-student/OpenFOAM/site/2.2.x/platforms/linux64GccDPOpt/lib:/home/cee-student/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib:/home/cee-student/OpenFOAM/ThirdParty-2.2.x/platforms/linux64GccDPOpt/lib:/home/cee-student/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/dummy
*******************
g++:
/usr/bin/g++
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gcc:
/usr/bin/gcc
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

mpic++:
/home/cee-student/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/openmpi-1.6.3/bin/mpic++
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

mpirun:
/home/cee-student/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/openmpi-1.6.3/bin/mpirun
mpirun (Open MPI) 1.6.3

Report bugs to http://www.open-mpi.org/community/help/

>> cfdemCompLIG
>> cfdemCompCFDEM %Note: the list of utilities compiled might be incomplete.
please check /home/cee-student/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/applications/utilities for more utilities available

>>cfdemTestTUT

Tips: If you use OpenFoam 2.2.x version, and run the packedbedtemp example, your need to open file of CFD/octave/totalPressureDropAndNusselt.m, and change the path:

path = '../postProcessing/probes/0/p';

path = '../postProcessing/probes/0/T';