← Back to team overview

yade-dev team mailing list archive

Block Generation, Contact Detection, Rock Bolt and Rock Lining

 

Dear Jan, Anton,

I have finally managed to update the old code to make it compatible with
the new YADE.  I have converted using the optimisation code from CPLEX to
CLP since CLP is OpenSource COIN-OR's project.

/* CW Boon, GT Houlsby, S Utili (2015).  Designing Tunnel Support in
Jointed Rock Masses Via the DEM.  Rock Mechanics and Rock Engineering,  48
(2), 603-632. */
/* CW Boon, GT Houlsby, S Utili (2015).  A new rock slicing method based on
linear programming.  Computers and Geotechnics 65, 12-29. */
/* CW Boon, GT Houlsby, S Utili (2013).  A new algorithm for contact
detection between convex polygonal and polyhedral particles in the discrete
element method.  Computers and Geotechnics 44, 73-82. */

I have also changed some of the existing files to make it compatible with
my old files.  Please update and modify it accordingly if you think there
is a better way to do it.
ScGeom:  I took away the twist update because for polygons this is not used
in Cundall's paper.  Please modify accordingly if there is some theoretical
discovery.
Clump:  The Update Properties looked different from the old one, and I had
problems with clumps earlier on when updating the code.  Not sure if this
is the problem, but i used the old one anyway.
YadeWrapper:  Added deleteClumpMembers function, since it was in my old
version.

Add this to .bashrc
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/coin-Clp/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/coin-Clp/Clp/src/.libs
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/coin-Clp/Clp/src/OsiClp/.libs
export PATH=$PATH:$HOME/coin-Clp/Clp/src
export PATH=$PATH:$HOME/coin-Clp/lib/pkgconfig
export PATH=$PATH:$HOME/coin-Clp/CoinUtils/src

Use ParaView3.12

I have also added:
build/CamkeFiles/MakeFile.cmake
trunk/cMake/FindClp.cmake

TunnelPB.py is the file to generate the blocks.  Please update the
directory to read the csv files for fracture generation.
cubePBscaled.py has some defunct parameters, and is used to demonstrate
applications for granular material.

I hope this code would be useful to the community.  However, as you see it
is very messy.  Please clean it up so that it becomes more user friendly.
But suggest not to re-arrange things, because it may lead to bugs, and it
is very difficult to debug..

Yours,
Boon C.W.

Follow ups