Converting dump file to VTK

Submitted by slaurkaeh on Thu, 05/28/2015 - 10:38

Hi All,

I have just installed Paraview, LIGGGHTS and lpp as per guides on this site. I then ran the movingMesh example.

When I try to convert my dump.movingMesh files to VTK using the following code:

d=dump("post/dump.movingMesh.*")
v=vtk(d)
v.manyGran()

after the first line I get the following error message:

luke@Simulation:~/LIGGGHTS/LIGGGHTS-PUBLIC/examples/LIGGGHTS/Tutorials_public/movingMeshGran$ d=dump("post/dump.movingMesh.*")
bash: syntax error near unexpected token `('

Can someone please explain why this is occurring and how to fix it?

Cheers
Luke

richti83's picture

richti83 | Thu, 05/28/2015 - 12:45

You can avoid using the old school pizza / lpp conversion tool by using dump custom/vtk (needs LIGGGHTS to be build with vtk enabled, use make ubuntuVTK or make ubuntuVTK6).

When there is no VTK support on your machine (not all devel. headers installed) you can dump as usually, change the extension to *.liggghts and install the ParaView Reader for LIGGGHTS dump files from here:
https://github.com/richti83/ParaView_Reader_for_LIGGGHTS/blob/master/pre... to read the files from post folder directly into ParaView.

Best,
Christian.

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact

saeed6330 | Thu, 12/17/2015 - 17:52

I cannot see the results on Paraview. Can anyone help me how to install lpp. It seems that the link on the website is not working anymore.

Cheers
Saeed

Theo_Score's picture

Theo_Score | Mon, 01/25/2016 - 11:07

Hi Saeed, If you have not got it working, try this:

1. Open terminal and go to the desired installation directory
2. $ git clone https://github.com/CFDEMproject/LPP.git
3. Create a new directory "bin" in YOUR home directory
4. $ ./install.sh (inside the LPP directory)

Best,

Theo_Score

mschramm | Thu, 02/20/2020 - 16:51

Hello
What do you get if you do the following in the command line?
ls /home/pawar/pawar/LPP/src/lpp.py

The error is exactly what it says it is.
Python tried to run a file located at "/home/pawar/pawar/LPP/src/lpp.py" but it did not find anything.