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
Attachment | Size |
---|---|
![]() | 377.76 KB |
lumblab227 | Tue, 01/02/2018 - 05:06
I meet the same problem
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
Use the calculator filter
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
Thanks Andrés
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
AndresMM | Wed, 01/24/2018 - 09:17
check this https://www.cfdem
check this https://www.cfdem.com/forums/formatting-force-chains-so-their-thickness-...
Zheng Hu | Wed, 01/24/2018 - 19:37
Thanks for your help
Perfect! I have followed your step and successfully realized this function. Thank you very much!
TrustinT | Mon, 05/03/2021 - 13:10
Thanks Andrés,
It works as a charm. Thank you so much.