run cfdem testcase

Claudio Wolfer's picture
Submitted by Claudio Wolfer on Tue, 10/11/2011 - 11:07

Hello

I've installed CFDEM with OF-2.0.x as described in the installation-guide from CFDEM. But at the end i tried to run the cfdem testcase. The Allrun.sh script didn't run well. I could not visualize the results in paraview. I'm a bit experienced with OpenFOAM and there it works well with the ParaViewer.
My first question: is there something wrong with the Allrun.sh shellscript?

I also tried to run the case without Allrun.sh (cf CFD, decomposePar, ...). But this workflow also failed. When I run pizza I get the message:
error on line 1 of file ./pizzaScriptInit
error on line 214 of file ~/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src/dump-py

So, I'm at a loss what to do. Can you help me please?
Thanks for your help.
Claudio

alice's picture

alice | Tue, 10/11/2011 - 11:22

Hi Claudio,
in my experience bash-scripts don't always run on all systems... The Allrun.sh works fine for me, but maybe there is some compatibility problem with your system. (Is it possible that some of the commands you use on your computer for calling the applications differ from the ones used in the script?)
Concerning the troubles with pizza: is it possible that you got a path wrong? Check the CFDEM_PIZZA_DIR environment variable int the etc/bashrc-file, it has to contain the location of your own pizza.py.
Cheers,
Alice

Claudio Wolfer's picture

Claudio Wolfer | Wed, 10/12/2011 - 09:54

Hi Alice

Thanks for your advice. The environment variable CFDEM_PIZZA_DIR was wrong. Now it seems to work. But when it runs Pizza.py I get the message:
Loading tools ...
gl too did not load:
can't find package Togl

I tried to install the Togl package with synaptic package manager, but there is no Togl-package. Do I really need this package to run CFDEM correctly?

Cheers
Claudio

Claudio Wolfer's picture

Claudio Wolfer | Wed, 10/12/2011 - 14:18

Hi Christoph

Thanks for your fast answer. At last I can start learning how to set up a CFDEM-case.

Claudio