To use (Assume you are using Ubuntu 8.04 Hardy Heron, and you have OpenFOAM 1.4 installed, for details about OpenFOAM installation, please visit their website, this old 1.4.1 version could be found at
http://sourceforge.net/projects/foam/files/), after installation, you must ensure that the command "wmake libso" can be used:
First extract yade-0.11.1.tar.gz to your $HOME folder:
cd $HOME
tar -zxf yade-0.11.1.tar.gz
cd ./yade-0.11.1
python ./scons-local/scons.py #use the old scons-0.97
...a lot of scons output...
This is will stop with the error that libIcoFoamYADE.so cannot be found
Second, extract the OpenFOAM port for YADE:
tar -zxf icoFoamYADE.tar.gz
cd $HOME/icoFoamYADE
vim $HOME/icoFoamYADE/Make/files
#change LIB = /home/fchen/YADE/lib/yade-0.11.1/pkg-dem/libIcoFoam
#into your home folder address
#then execute the command
wmake libso
#this is going to create libIcoFoam.so under YADE's /lib/yade-0.11.1/pkg-dem/ folder
#the switch back to YADE's source folder
cd $HOME/yade-0.11.1
#continue the scons build:
python ./scons-local/scons.py
#After the scons build you should be able to run the yade-0.11.1 binary
#All example files for DEM-FM coupling can be found using the file generator
#Note you must also extract the FoamData.tar.gz to YADE's bin folder
At this point I only posted three examples (under FoamData.tar.gz) which have been tested:
One dimensional upward seepage flow: c1dt
One dimensional consolidation: tzg
Two dimensional fluidized bed: 2dbed
PS: I would appreciate if you can cite one of the following paper in your publications:
Feng Chen, Eric. C. Drumm, Georges Guiochon and Kiichi Suzuki, Discrete Element Simulation of 1D Upward Seepage Flow with Particle-Fluid Interaction Using Coupled Open Source Software, 12th IACMAG Conference, India, October 1-6, 2008
Or my PhD thesis
Chen, F., 2009. Coupled Flow Discrete Element Method Application in Granular Porous Media using Open Source Codes. Ph.D. thesis, The University of Tennessee, Knoxville.