Thank you! I have found the tube filter. but the filter is grayed out . I also have looked up ParaviewTutorial and it said some of the filters are grayed out because many filters only work on a specific types of data and cannot always be used. The format of my force chain file is VTU, I do not know Whether the format is wrong.
it is true that many filters only work with specific datasets (e.g. Polygonal Mesh, MultiBlock Dataset..). How did you create the VTU files ? I would gues to use the ParaView Reader for Forcechains and the raw liggghts forcechain files instead, because it outputs a polymesh and the tube filter will work with this type of VTK Dataset.
On the other hand you can try to convert your dataset in paraview using an "extract edges" / "extract surface" or point data to cell data filter inbetween, but I can not tell you which filter is usable in your case.
Hi, richti83
I have successfully added the plugin and show the tube, one more question, how to set the size of tube width according to the magnitude of force?
Thank you very much!!! Deeply appreciated for all your help!
1st) Install ParaView 4.3.1 (64bit binary is fine)
2nd) Download Reader Plugin: https://raw.githubusercontent.com/richti83/ParaView_Reader_for_LIGGGHTS…
3rd) Tools->Manage Plugins->Load New, Point to downloaded libliggghts_forcechainreader.so
Open post/fc*.dump, choose "LIGGGHTS Forcechain files" in upcoming file choosing dialog
4th) attach a CellDataToPoint Data Filter
5th) attach Tube filter to CDTPD-Filter (see step 4)
6th) set Vary Radius of Tube filter to "By Vector" and choose Vectors F in 2nd drop down box
play with Radius Factor to get right ratio ..
Hi,
I followed the procedure you have explained above. All works well except the varying width of the force chain with magnitude of the force. Do you have any idea how to do that? Thanks
compute fc all pair/gran/local pos id force
dump dmpfc all local 1000 post/fc*.dump c_fc[1] c_fc[2] c_fc[3] c_fc[4] c_fc[5] c_fc[6] c_fc[7] c_fc[8] c_fc[9] c_fc[10] c_fc[11] c_fc[12] #[x,y,z],[x,y,z],id1,id2,periodic_flag,Fx,Fy,Fz
note: the order of fields is hardcoded in the reader !
I tried using libliggghts_forcechainreader.so with paraview-4.3.1 but it gives error msg "version GLIBC_2.14 not found. My system has glibc-2.12.
I thought of updating my system glibc but found on internet that doing so will be potentially risky for other programs on the system. So, could you please suggest what may be the other way around to use your forcechain reader.
Could I get the *.so file compiled with glibc-2.12 or could I get the source code (if possible for you) so, that I compile it myself and use it as well as release it for other users (Provided it is ok with you).
To recompile you need a paraview build.
Note: the code is only compatible with PV<=4.3.1 because kitware changed the vtk api and i have had no time to adapt my code - feel free to do this for PV 5.0 and later.
I guess something went wrong with the download. You need to click the forcechainreader link and than view raw and than save file as libliggghts_forcechainreader.so.
Hi richti83:
I download your bonderreader, when i add this plugin to paraview, it keeps telling me the paraview has stopped working and dead.
what should I do?
Thanks a lot!!
Hi richti83:
I tried your plugin in Unix, and the error message is In /home/openFoam/Paraview-4.1.0/ParaviewCore/clientServerCore/Core/vtkPVPluginLoader.cxx,line 302 vtkPVPluginLoader(0x3835e20):libvtkPVClientServerCoreCore-pv4.3.so.1: cannot open shared object file: No such file or directory
what's the problem?
Thanks in advance sincerely.
The precompiled reader is linked against ParaView 4.3.1, but you are using ParaView 4.1.0. Update to latest stable or compile the reader by your own (ccmake, point to PV build folder, configure, generate, make).
the force chain reader works fine just the tube filter doesnot work as supposed. if i set Vectors to F and Vary radius by vectors
if i set radius factor to 1, all tubes have same radi if i set it to 2 the tubes radi are scaled vice versa ( means the smallest force chains has the highest force)
do u have maybe an idea?
regards
tube filter
attach a filter->tube and set scale by to force
In reply to tube filter by richti83
I can not find Tube filter
I can not find Tube filter, could you tell me why? I use paraview4.1.0.32-bit
thanks
In reply to I can not find Tube filter by K.cheng
Filters->Alphabetical->Tube
see this screenshot: https://drive.google.com/file/d/0B16_X8nrVquiOG1JYU5XamdwbW8/view?usp=s…
or use the Filters->Search... function.
In reply to Filters->Alphabetical->Tube by richti83
Tube filter is grayed out
Thank you! I have found the tube filter. but the filter is grayed out . I also have looked up ParaviewTutorial and it said some of the filters are grayed out because many filters only work on a specific types of data and cannot always be used. The format of my force chain file is VTU, I do not know Whether the format is wrong.
thank you very much!
In reply to Tube filter is grayed out by K.cheng
it is true that many filters
it is true that many filters only work with specific datasets (e.g. Polygonal Mesh, MultiBlock Dataset..). How did you create the VTU files ? I would gues to use the ParaView Reader for Forcechains and the raw liggghts forcechain files instead, because it outputs a polymesh and the tube filter will work with this type of VTK Dataset.
On the other hand you can try to convert your dataset in paraview using an "extract edges" / "extract surface" or point data to cell data filter inbetween, but I can not tell you which filter is usable in your case.
In reply to it is true that many filters by richti83
set size of tube width along with magnitude of force
Hi, richti83
I have successfully added the plugin and show the tube, one more question, how to set the size of tube width according to the magnitude of force?
Thank you very much!!! Deeply appreciated for all your help!
Best wishes
xiaobaishu
In reply to it is true that many filters by richti83
I used dump2force to convert forcechain files to vtu format
I used dump2force to convert forcechain files to vtu format.So I am considering to use paraview reader.Could you give me some advices?
Thanks!
K.cheng
In reply to I used dump2force to convert forcechain files to vtu format by K.cheng
1st) Install ParaView 4.3.1
1st) Install ParaView 4.3.1 (64bit binary is fine)
2nd) Download Reader Plugin: https://raw.githubusercontent.com/richti83/ParaView_Reader_for_LIGGGHTS…
3rd) Tools->Manage Plugins->Load New, Point to downloaded libliggghts_forcechainreader.so
Open post/fc*.dump, choose "LIGGGHTS Forcechain files" in upcoming file choosing dialog
4th) attach a CellDataToPoint Data Filter
5th) attach Tube filter to CDTPD-Filter (see step 4)
6th) set Vary Radius of Tube filter to "By Vector" and choose Vectors F in 2nd drop down box
play with Radius Factor to get right ratio ..
In reply to 1st) Install ParaView 4.3.1 by richti83
varying width of the force chain with magnitude
Hi,
I followed the procedure you have explained above. All works well except the varying width of the force chain with magnitude of the force. Do you have any idea how to do that? Thanks
Hi
Hi Jian,
how did you get the force chain? using force2chain.py? have you managed to scale the width of the force chain?
Thanks,
Zyan
Hi
Hi Jian,
how did you get the force chain? using force2chain.py? have you managed to scale the width of the force chain?
Thanks,
Zyan
forcechain reader
you can read the forcechain directly to paraview using my forcechainreader:
https://github.com/richti83/ParaView_Reader_for_LIGGGHTS/tree/master/pr…
compute fc all pair/gran/local pos id force
dump dmpfc all local 1000 post/fc*.dump c_fc[1] c_fc[2] c_fc[3] c_fc[4] c_fc[5] c_fc[6] c_fc[7] c_fc[8] c_fc[9] c_fc[10] c_fc[11] c_fc[12] #[x,y,z],[x,y,z],id1,id2,periodic_flag,Fx,Fy,Fz
note: the order of fields is hardcoded in the reader !
In reply to forcechain reader by richti83
Hi richti83,
Hi richti83,
i was using your plugin, however, i could not load it. the error message was:
ERROR: In /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVPluginLoader.cxx, line 360
vtkPVPluginLoader (0x5547d90): /home/PV/ParaView-4.3.1-Linux-64bit/bin/libliggghts_bondreader.so: invalid ELF header
Cheers,
Zyan
In reply to forcechain reader by richti83
forcechainreader compiled with other version of glibc
Hello Richti,
Greetings!!!
I tried using libliggghts_forcechainreader.so with paraview-4.3.1 but it gives error msg "version GLIBC_2.14 not found. My system has glibc-2.12.
I thought of updating my system glibc but found on internet that doing so will be potentially risky for other programs on the system. So, could you please suggest what may be the other way around to use your forcechain reader.
Could I get the *.so file compiled with glibc-2.12 or could I get the source code (if possible for you) so, that I compile it myself and use it as well as release it for other users (Provided it is ok with you).
Regards,
Manoj
In reply to forcechainreader compiled with other version of glibc by run_cfd
Hi Manoj,
Hi Manoj,
the sourcecode is allready out there: https://github.com/richti83/ParaView_Reader_for_LIGGGHTS/tree/master/re…
To recompile you need a paraview build.
Note: the code is only compatible with PV<=4.3.1 because kitware changed the vtk api and i have had no time to adapt my code - feel free to do this for PV 5.0 and later.
bondreader != forcechainreader
I guess something went wrong with the download. You need to click the forcechainreader link and than view raw and than save file as libliggghts_forcechainreader.so.
Direct link: https://raw.githubusercontent.com/richti83/ParaView_Reader_for_LIGGGHTS…
In reply to bondreader != forcechainreader by richti83
This time it works!! thanks
This time it works!! thanks for your advice.
Best regrads,
Zyan
In reply to bondreader != forcechainreader by richti83
paraview stopped working
Hi richti83:
I download your bonderreader, when i add this plugin to paraview, it keeps telling me the paraview has stopped working and dead.
what should I do?
Thanks a lot!!
xiaobaishu
In reply to paraview stopped working by xiaobaishu67
Error message
Hi richti83:
I tried your plugin in Unix, and the error message is In /home/openFoam/Paraview-4.1.0/ParaviewCore/clientServerCore/Core/vtkPVPluginLoader.cxx,line 302 vtkPVPluginLoader(0x3835e20):libvtkPVClientServerCoreCore-pv4.3.so.1: cannot open shared object file: No such file or directory
what's the problem?
Thanks in advance sincerely.
xiaobaishu
incompatible ParaView Version
The precompiled reader is linked against ParaView 4.3.1, but you are using ParaView 4.1.0. Update to latest stable or compile the reader by your own (ccmake, point to PV build folder, configure, generate, make).
hey
the force chain reader works fine just the tube filter doesnot work as supposed. if i set Vectors to F and Vary radius by vectors
if i set radius factor to 1, all tubes have same radi if i set it to 2 the tubes radi are scaled vice versa ( means the smallest force chains has the highest force)
do u have maybe an idea?
regards
In reply to hey by JoshuaP
Hey JoshuaP,
Hey JoshuaP,
I am having the same confusion. Did you learn anything positive?
Thanks,
Sounik