About the width of the force chain

Submitted by Zheng Hu on Thu, 10/05/2017 - 23:39

Dear all,

I have output the vtk. files of force chain and applied them in Paraview using the following two commmands:

compute cpgl all pair/gran/local pos vel force force_normal
dump dmp2 all local/gran/vtk 100 post/forcechain*.vtk cpgl

I now need to show the width of the lines corresponding to the magnitude of the force, however I cannot not choose any vectors though I do have output them, as shown in the attached picture. Could anyone please help me with this problem about how to show the width of the force chain line? I may have missed some necessary operation. Many thanks!

Zheng

AttachmentSize
Image icon force_chain.jpg377.76 KB

lumblab227 | Tue, 01/02/2018 - 05:06

Hi Zheng,

I meet the same problem. As far as I see, the issue should be the 'tube' option, which is empty in choosing scaling quantities. How do you solve this issue eventually?

Regards,
Lumb

AndresMM | Wed, 01/03/2018 - 12:12

Hi Everyone,

I use the calculator filter and calculate the magnitude of the force with its components.
THEN I use the tube filter. You can scale the chains using the newly-calculated value

Cheers
Andrés

Zheng Hu | Tue, 01/23/2018 - 08:42

Hi Andrés,

Thank you very much for your help. I have tried to follow your steps but failed. First I use Filters-calculate, set the Attribute Mode to be "Cell Data", and the Result Array formula to be "force_X". Then I use the Filters-cube, however, I still find I cannot choose the "scalars" and "vector" (which are both in dark and cannot be chosen). I am using the Paraview 5.2.0. Could you please give me any details about how to obtain different thickness of force chains according to different contact force? Or did you use an updated version of Paraview?

Thank you very much,
Zheng

Zheng Hu | Wed, 01/24/2018 - 19:37

Perfect! I have followed your step and successfully realized this function. Thank you very much!