cfdemCoupling

Submitted by shokeyi on Wed, 02/06/2013 - 00:38

Hello everyone,
I am trying to install CFDEM followed by the githubAccess_Public.pdf. It all runs fine. The "cfdemSysTest" also shows no errors. However, when I compiled "cfdemCompLIG", then the computer goes dead. Is there anyone meet this situation and knowing how to modify it? Thanks.

shokeyi | Thu, 02/07/2013 - 20:42

Hi Chris,
I do not know where to set WM_NCOMPPROCS. The githubAccess_Public.pdf does not write to set it. The version of LIGGGHTS and OpenFOAM are 2.2 and 2.1.1 respectively. The Ubuntu system is 11.10. Could you tell me how to set WM_NCOMPPROCS? Thanks.

shokeyi

shokeyi | Fri, 02/08/2013 - 16:44

Hi Chirs,
I set the "export WM_NCOMPPROCS=2" in the /.bashrc file. The "cfdemCompLIG" seems run well then I compile "cfdemCompCFDEM", it shows an error as follows.
g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam211/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam211/src/transportModels -I/opt/openfoam211/src/transportModels/incompressible/singlePhaseTransportModel -I/opt/openfoam211/src/finiteVolume/lnInclude -I/home/evxqx3/CFDEM/CFDEMcoupling-PUBLIC-2.1.1/src/lagrangian/cfdemParticle/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linuxGccDPOpt/cfdemPostproc.o -L/opt/openfoam211/platforms/linuxGccDPOpt/lib \
-L/home/evxqx3/OpenFOAM/evxqx3-2.1.1/platforms/linuxGccDPOpt/lib -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -lfiniteVolume -llagrangianCFDEM-PUBLIC-2.1.1 -lOpenFOAM -ldl -lm -o /home/evxqx3/OpenFOAM/evxqx3-2.1.1/platforms/linuxGccDPOpt/bin/cfdemPostproc
Note: the list of utilities compiled might be incomplete.
please check /home/evxqx3/CFDEM/CFDEMcoupling-PUBLIC-2.1.1/applications/utilities for more utilities available
Is the WM_NCOMPPROCS set incoreect? Please let me know how to modify it. Thanks.

cgoniva's picture

cgoniva | Mon, 02/11/2013 - 11:56

Hi!

This is not an error - it seems to be fine!
The "note" should just remind you that you might have other solvers on your system which are not automatically compiled with this script.

Cheers,
Chris

shokeyi | Mon, 02/11/2013 - 21:30

Hi,
Are the slovers related to the working of CFDEM? I am trying to learn how to compile with CFDEM. I saw the liggghts file of tutorialas, there is a command of "fix cfd", but I could not find the command of it in the doc folder. As I am really new to CFDEM, I do not know how to comiple the other solvers. Are these related to the command? Thanks.
shokeyi

cgoniva's picture

cgoniva | Thu, 02/21/2013 - 09:12

Hi,

for compiling CFDEMcoupling do:
+ set the environment valibales in the ~/.bashrc (check them with cfdemSysTest)
+ compile LIGGGHTS with the same settings used for the coupling using the command: cfdemCompLIG
+ compile the CFDEMcoupling src, solvers and utilities with the command: cfdemCompCFDEM

Cheers,
Chris

shokeyi | Thu, 02/21/2013 - 17:26

Hi,
Yeah, I was running as you write above and it showed no errors except a note "the list of utilities compiled might be incomplete". I then used the "cfdemTestTUT" command to run the tutorials, it could run. However, when I tried to run tutorials using the Allrun.sh script , it shows "No such file or directory" . I do not know where it is wrong. Is there something wrong with the coupling? Thank you very much.

shokeyi

alice's picture

alice | Fri, 02/22/2013 - 12:19

Hello shokeyi,
the message you after compiling is completely fine and indicates that the installation of the tools, coming with the standard version of CFDEMcoupling are alle included. The fact that you could run the tutorials is a further proof that things went right.
Make sure that you are in the according directory when trying to run them, the message indicates that there is no such file at all. For running the script just type "bash Allrun.sh"
So from what I can tell your installation should be fine!
Cheers,
Alice

shokeyi | Fri, 02/22/2013 - 12:33

Hi Alice,
Thanks very much for it. I try it with "bash Allrun.sh", it now works out. In addition, I am wondering how to run my own case, is it I should create my own Allrun.sh or just modify the script of CFD and DEM?

shokeyi

alice's picture

alice | Tue, 02/26/2013 - 07:56

Hello shokeyi,
if you build up your cases in the same manner as the tutorial-cases (same names for liggghts-input files, etc), then you can use the same Allrun.sh. Of course you can also have a look at the commands in the Allrun.sh and run you cases manually, but this shouldn't be necessary.
Cheers,
Alice