Hi everyone!
soon (within the next weeks) we will provide a basic version of CFD-DEM coupling with LIGGGHTS. This forum will be our platform to exchange thoughts, problems and hopefully solutions!
Cheers,
Christoph
A project by DCS Computing and CFDEMresearch
This website uses cookies to ensure you get the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies. This website uses cookies. By continuing to browse the site you are agreeing to our use of cookies. More info
cgoniva | Mon, 10/25/2010 - 14:44
start now!
Dear all,
The developers of the CFDEM project have been working on an OpenSource CFD-DEM coupling using the framework of LIGGGHTS and OpenFOAM(R).
On our webpage www.cfdem.com (in the section CFD-DEM) you find some "example eye candies" of our progress.
We decided to provide a beta (!!!) version of a CFD-DEM coupling framework to you!
Please feel free to use it, test it and give us your feedback.
What you need in advance:
A running version of OpenFOAM(R)-1.6
A running version of LIGGGHTS
You can get the code via Git:
git clone git://cfdem.git.sourceforge.net/gitroot/cfdem/cfdem mycfdem
What you will get is:
-a library for the coupling - compile it with your OpenFOAM(R) user (!) libraries
-a solver for incompressible two way CFD-DEM coupling - compile it with your OpenFOAM(R) user (!) solvers
-a testcase - use the shell scripts to run the testcase
What this code can do:
-Couple a CFD solver based on OpenFOAM(R) with a DEM solver based on LIGGGHTS.
-The data exchange is managed via files.
-The code will not run in parallel.
-The momentum coupling in the CFD code is explicit.
-It simply shows how a CFD-DEM coupling can work.
Words of waring:
The code is not tested and will therefore not give correct physical results.
In case the you get stuck in using the code or you find a bug, which is most likely,
please feel free to contact me via this forum.
Best regards,
Christoph
OPENFOAM® is a registered trade mark of OpenCFD Limited
This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM® and OpenCFD® trade marks.
cgoniva | Mon, 10/25/2010 - 14:59
pull and compile
Dear all!
I've heard that Gijsbert Wierink (gijsbert.wierink@cfdem.com) has got a very useful script for pulling and compiling the CFD-DEM coupling package...
Cheers Chris
cgrohs | Mon, 10/25/2010 - 15:33
Download CFD-DEM
Hello Christoph!
Is there another way to get the CFD-DEM coupling package without using git? If I understood it correctly I need direct access from the server to the internet for using git (which is not possible).
Regards,
Christian
cgoniva | Mon, 10/25/2010 - 15:51
get the CFD-DEM coupling package without using git?
Using git would allow you to pull the code from time to time and get the latest version and bug-fixes.
So I would really recommend to get internet access!
You could pull on one computer, copy it to your working machine and compile and run there???
Cheers Chris
cgrohs | Wed, 10/27/2010 - 09:56
Re:
>>>So I would really recommend to get internet access!
Not my decision.
>>>You could pull on one computer, copy it to your working machine and compile and run there???
I guess I'll have to try it that way.
Thanks,
Christian
xinze_l | Sun, 10/31/2010 - 17:33
OK, Work fine!
Today, I have finished the CFD-DEM coupling test using OpenFOAM-1.7.x in my ubuntu 10.04, It work fine. Thanks liggghts group for distribution with combining the CFD with DEM. I will continue me back feed. I am looking forward liggghts to scale new heights.
Cheers,
xinze
cgoniva | Thu, 11/04/2010 - 19:09
Hi Xinze! I 'm really happy
Hi Xinze!
I 'm really happy that you could successfully compile and run the case! Please tell us about your progress here in the forum! This might be very helpful for other people trying to use the CFD-DEM coupling!
Cheers,
Christoph
phsieh2005 | Fri, 11/05/2010 - 14:32
compiling failed on OpenSUSE 11.3
Hi,
I obtained the latest cfdem coupling from git. I assumed that I need to compile the cfdemParticle first. So, I cd to cfdemParticle and did a wmake. I got the following error:
phsieh@rutgers:~/cfdem/mycfdem/cfdemParticle> wmake
Making dependency list for source file subModels/forceModel/forceModel/forceModel.C
could not open file cfdemCloud.H for source file subModels/forceModel/forceModel/forceModel.C
Making dependency list for source file subModels/forceModel/forceModel/newForceModel.C
could not open file cfdemCloud.H for source file subModels/forceModel/forceModel/newForceModel.C
could not open file DiFeliceDrag.H for source file subModels/forceModel/forceModel/newForceModel.C
SOURCE=cfdemCloud/cfdemCloud.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I ./cfdemParticle -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/transportModels -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/turbulenceModels/RAS/incompressible/RASModel -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cfdemCloud.o
cfdemCloud/cfdemCloud.C:28:24: fatal error: forceModel.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/cfdemCloud.o] Error 1
phsieh@rutgers:~/cfdem/mycfdem/cfdemParticle>
------------------------------------------------------------------
Do I need to include the forceModel folder to my PATH?
Thanks!
Pei-Ying
cgoniva | Fri, 11/05/2010 - 15:10
Hi! Did you try to
Hi!
Did you try to do
rmdepall
and a
wclean
before?
Are the paths in your /Make/options fitting to your OpenFOAM(R) installation?
Cheers Chris
phsieh2005 | Fri, 11/05/2010 - 21:15
Hi, Chris, I did a rmdepall,
Hi, Chris,
I did a rmdepall, then wclean, I am still getting errors. I think that the problem is that, wmake cannot find forceModel.H (and others from cfdem stuffs). I am using OpenSuSE 11.3 64 bit OS. The OpenFOAM stuffs should be OK.
Below are the error messages. I am not sure why these errors occurred.
Pei-Ying
-------------------------
phsieh@rutgers:~/cfdem/mycfdem/cfdemParticle> wmake
options:10:12: warning: backslash-newline at end of file
Making dependency list for source file cfdemCloud/cfdemCloud.C
could not open file RASModel.H for source file cfdemCloud/cfdemCloud.C
could not open file forceModel.H for source file cfdemCloud/cfdemCloud.C
could not open file locateModel.H for source file cfdemCloud/cfdemCloud.C
could not open file momCoupleModel.H for source file cfdemCloud/cfdemCloud.C
could not open file regionModel.H for source file cfdemCloud/cfdemCloud.C
could not open file meshMotionModel.H for source file cfdemCloud/cfdemCloud.C
could not open file voidFractionModel.H for source file cfdemCloud/cfdemCloud.C
could not open file dataExchangeModel.H for source file cfdemCloud/cfdemCloud.C
could not open file averagingModel.H for source file cfdemCloud/cfdemCloud.C
Making dependency list for source file subModels/forceModel/forceModel/forceModel.C
could not open file cfdemCloud.H for source file subModels/forceModel/forceModel/forceModel.C
Making dependency list for source file subModels/forceModel/forceModel/newForceModel.C
could not open file cfdemCloud.H for source file subModels/forceModel/forceModel/newForceModel.C
could not open file DiFeliceDrag.H for source file subModels/forceModel/forceModel/newForceModel.C
Making dependency list for source file subModels/forceModel/DiFeliceDrag/DiFeliceDrag.C
could not open file forceModel.H for source file subModels/forceModel/DiFeliceDrag/DiFeliceDrag.C
Making dependency list for source file subModels/voidFractionModel/voidFractionModel/voidFractionModel.C
could not open file cfdemCloud.H for source file subModels/voidFractionModel/voidFractionModel/voidFractionModel.C
could not open file regionModel.H for source file subModels/voidFractionModel/voidFractionModel/voidFractionModel.C
could not open file dataExchangeModel.H for source file subModels/voidFractionModel/voidFractionModel/voidFractionModel.C
Making dependency list for source file subModels/voidFractionModel/voidFractionModel/newVoidFractionModel.C
could not open file cfdemCloud.H for source file subModels/voidFractionModel/voidFractionModel/newVoidFractionModel.C
could not open file centreVoidFraction.H for source file subModels/voidFractionModel/voidFractionModel/newVoidFractionModel.C
Making dependency list for source file subModels/voidFractionModel/centreVoidFraction/centreVoidFraction.C
could not open file voidFractionModel.H for source file subModels/voidFractionModel/centreVoidFraction/centreVoidFraction.C
Making dependency list for source file subModels/locateModel/locateModel/locateModel.C
could not open file cfdemCloud.H for source file subModels/locateModel/locateModel/locateModel.C
Making dependency list for source file subModels/locateModel/locateModel/newLocateModel.C
could not open file cfdemCloud.H for source file subModels/locateModel/locateModel/newLocateModel.C
could not open file standardSearch.H for source file subModels/locateModel/locateModel/newLocateModel.C
Making dependency list for source file subModels/locateModel/standardSearch/standardSearch.C
could not open file locateModel.H for source file subModels/locateModel/standardSearch/standardSearch.C
Making dependency list for source file subModels/meshMotionModel/meshMotionModel/meshMotionModel.C
could not open file cfdemCloud.H for source file subModels/meshMotionModel/meshMotionModel/meshMotionModel.C
Making dependency list for source file subModels/meshMotionModel/meshMotionModel/newMeshMotionModel.C
could not open file cfdemCloud.H for source file subModels/meshMotionModel/meshMotionModel/newMeshMotionModel.C
could not open file noMeshMotion.H for source file subModels/meshMotionModel/meshMotionModel/newMeshMotionModel.C
Making dependency list for source file subModels/meshMotionModel/noMeshMotion/noMeshMotion.C
could not open file meshMotionModel.H for source file subModels/meshMotionModel/noMeshMotion/noMeshMotion.C
Making dependency list for source file subModels/momCoupleModel/momCoupleModel/momCoupleModel.C
could not open file cfdemCloud.H for source file subModels/momCoupleModel/momCoupleModel/momCoupleModel.C
Making dependency list for source file subModels/momCoupleModel/momCoupleModel/newMomCoupleModel.C
could not open file cfdemCloud.H for source file subModels/momCoupleModel/momCoupleModel/newMomCoupleModel.C
could not open file explicitCouple.H for source file subModels/momCoupleModel/momCoupleModel/newMomCoupleModel.C
Making dependency list for source file subModels/momCoupleModel/explicitCouple/explicitCouple.C
could not open file momCoupleModel.H for source file subModels/momCoupleModel/explicitCouple/explicitCouple.C
could not open file forceModel.H for source file subModels/momCoupleModel/explicitCouple/explicitCouple.C
Making dependency list for source file subModels/regionModel/regionModel/regionModel.C
could not open file cfdemCloud.H for source file subModels/regionModel/regionModel/regionModel.C
could not open file dataExchangeModel.H for source file subModels/regionModel/regionModel/regionModel.C
Making dependency list for source file subModels/regionModel/regionModel/newRegionModel.C
could not open file cfdemCloud.H for source file subModels/regionModel/regionModel/newRegionModel.C
could not open file allRegion.H for source file subModels/regionModel/regionModel/newRegionModel.C
Making dependency list for source file subModels/regionModel/allRegion/allRegion.C
could not open file regionModel.H for source file subModels/regionModel/allRegion/allRegion.C
could not open file momCoupleModel.H for source file subModels/regionModel/allRegion/allRegion.C
could not open file voidFractionModel.H for source file subModels/regionModel/allRegion/allRegion.C
could not open file averagingModel.H for source file subModels/regionModel/allRegion/allRegion.C
could not open file forceModel.H for source file subModels/regionModel/allRegion/allRegion.C
Making dependency list for source file subModels/dataExchangeModel/dataExchangeModel/dataExchangeModel.C
could not open file cfdemCloud.H for source file subModels/dataExchangeModel/dataExchangeModel/dataExchangeModel.C
Making dependency list for source file subModels/dataExchangeModel/dataExchangeModel/newDataExchangeModel.C
could not open file cfdemCloud.H for source file subModels/dataExchangeModel/dataExchangeModel/newDataExchangeModel.C
could not open file twoWayFiles.H for source file subModels/dataExchangeModel/dataExchangeModel/newDataExchangeModel.C
Making dependency list for source file subModels/dataExchangeModel/twoWayFiles/twoWayFiles.C
could not open file dataExchangeModel.H for source file subModels/dataExchangeModel/twoWayFiles/twoWayFiles.C
could not open file sys/stat.h for source file subModels/dataExchangeModel/twoWayFiles/twoWayFiles.C
Making dependency list for source file subModels/averagingModel/averagingModel/averagingModel.C
could not open file cfdemCloud.H for source file subModels/averagingModel/averagingModel/averagingModel.C
could not open file voidFractionModel.H for source file subModels/averagingModel/averagingModel/averagingModel.C
Making dependency list for source file subModels/averagingModel/averagingModel/newAveragingModel.C
could not open file cfdemCloud.H for source file subModels/averagingModel/averagingModel/newAveragingModel.C
could not open file dilute.H for source file subModels/averagingModel/averagingModel/newAveragingModel.C
Making dependency list for source file subModels/averagingModel/dilute/dilute.C
could not open file averagingModel.H for source file subModels/averagingModel/dilute/dilute.C
Making dependency list for source file subModels/averagingModel/dense/dense.C
could not open file averagingModel.H for source file subModels/averagingModel/dense/dense.C
could not open file voidFractionModel.H for source file subModels/averagingModel/dense/dense.C
SOURCE=cfdemCloud/cfdemCloud.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I ./cfdemParticle -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/transportModels -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/turbulenceModels/RAS/incompressible/RASModel -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-1.7.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cfdemCloud.o
cfdemCloud/cfdemCloud.C:28:24: fatal error: forceModel.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/cfdemCloud.o] Error 1
phsieh@rutgers:~/cfdem/mycfdem/cfdemParticle>
cgoniva | Sat, 11/06/2010 - 09:37
Hi phsieh please see the
Hi phsieh
please see the forum topic
"pull, compile, run CFD-DEM coupling src, solver and testcase"
cheers
Chris