liggghts reader Plugin for Paraview

richti83's picture
Submitted by richti83 on Tue, 11/08/2011 - 15:58

Hi all,

I made a little Plugin for Paraview to read liggghts-dump files directly without using pizza-script.
I expect you use the dump command like this:
dump dmp all custom 100 post/dump_*.liggghts id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius
(extension .liggghts because .dump is used by lammps reader plugin;
the * means that liggghts generate one file per dump-timestep (here 100).

In the attached tar file you will find the source code to cross compile on winXX and a precompiled .so libfile to use with paraview 3.12.0, 64bit,tested on ubuntu 10.04, QT 4.6.4.

For self compiling:
1st Download paraview source tree 3.12 (not the csv one)
2nd build paraview (ccmake & make, shared lib yes !)
3rd ccmake & make liggghts_reader

To activate the plugin go to Paraview->Manage Plugins->Load New.
The Plugin is able to read file-series too !

I hope this will help.
Best wishes from Magdeburg,
C. Richter (OVGU/ILM)

The Plugin is now in the Download Section:
node/681

Update
I compiled the reader Plugin with the new Paraview 3.14 stable (64bit)

Westbrink | Mon, 05/02/2016 - 10:51

Hi all,

i tried to include the rigid reader for paraview but nothing happend.

I downloaded the pre_compiled files libliggghts_reader.so and libliggghts_rigids_reader.so and tried to include these files with Tools -> Manage Plugins -> Load new.
When I tried this, the desired files did not appear in this Plugin list and so I cannot load them.

I am using Paraview 5.0.1 64-Bit with Ubuntu 64-Bit.

Does someone have a tip?

richti83's picture

richti83 | Fri, 12/08/2017 - 20:33

As PV 5.4.1 has some great new fetures regarding reading state files and reloading files while simulation is running I updated my precompiled readers to version 5.4.1 openGL2 QT5.
https://github.com/richti83/ParaView_Reader_for_LIGGGHTS/tree/master/pre...
I hope this is helpfull for all users having trouble to compile LIGGGHTS with vtk.

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

jsams | Thu, 03/01/2018 - 03:31

I am running liggghts without vtk and am looking for a way to illustrate forcechains in Paraview. I am using PV5.4.1 for which the forcechain reader is not available. I was wondering if the reason for 'only' updating the liggghts_reader and the liggghts_rigids_reader is that the other readers have become obsolete, or if it is because it involves a lot of work to do so (which would be a good enough reason in and of itself)?

I'd be thankful for any suggestions. Cheers, J

jsams | Sun, 03/04/2018 - 04:40

Thanks so much. It seems to be my lucky day, except that I am currently using PV on windows :-) but I will give it a go on Linux and will hope that it works. I'll let you know once I tried it.

RemyB | Wed, 01/24/2018 - 16:54

Hi everyone,

I have got a RedHat 6.5 with paraview 4.3.1 and I can't plug the liggghts reader.
When I try the activation : Paraview->Manage Plugins->Load New, I have got a error message which mention "GLIBC"

Can anyone help me ?

Rémy

richti83's picture

richti83 | Thu, 01/25/2018 - 07:52

This sounds like a common problem with RH as it ships very old glibc library. I see 3 solutions:
1) install Red Hat Developer Toolset as it includes a recent compiler and glibc
2) try to compile PV on your current system, this should link against the system glibc, than compile the reader from source (no warranty that the code of PV or the reader is compatible with older glibc)
3) use dump custom/vtk instead (requires liggghts to be build with vtk support), this will generate native vtk dump files which can be read directly by PV

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

RemyB | Mon, 01/29/2018 - 10:29

Hi Richti,

Many thanks for your answer.
I forward this to my IT

Rémy

saman | Sat, 06/08/2019 - 14:20

If you can explain the installation of pluginparaview(5.4.1) in ubuntu(18.0.4)?

thank you

Pages