Hello All,
I have installed CFDEM coupling and it works perfectly. Using octave we can get all results but there is a problem when the shell reads the following line in the post processing
#- get VTK data from liggghts dump file
cd $casePath/DEM/post
python -i $CFDEM_LPP_DIR/lpp.py dump.liggghts_run
this line will be executed and the conversion to VTK will occurs but the code stalls on this line and does not return to execute the rest of the shell (go to CFD/fomeToVTK folder and open paraview, or etc..)
Here is the output of this line and where everything stops ...
starting LIGGGHTS memory optimized parallel post processing
chunksize: 8 --> 8 files are processed per chunk. If you run out of memory reduce chunksize.
Working with 96 processes...
calculating chunks 1 - 1 of 1
wrote 1 granular snapshots in VTK format
time needed: 0.200386047363 sec
>>>
Any idea why this happens? Any help to debug that will be very much appreciated.
Open DEM Japan | Mon, 11/03/2025 - 07:11
Alternative to LPP (Python 2): Python 3 dump2vtk with GUI/CLI
There have been many reports that LPP no longer works reliably on modern environments.
LPP was developed for Python 2 and is based on the older Pizza.py toolkit; as a result, it often runs into compatibility issues and bugs on systems where Python 3 is the default (e.g., Ubuntu 20.04+).
If your goal is converting LIGGGHTS dump files to VTK, I have developed a new program in Python 3:
Highlights
Please give it a try and feel free to share feedback or report issues on GitHub.