Visualise forcechain in paraview

Asked by Leonard

Hi,

I'd like to visualise force chain in paraveiw, referring to [1], I can visualise the force chain in tube shape, but the tubes are in constant radius as mentioned in [1]. I would like to know how to make the tube sizes scaled by the force magnitude.

Thanks.
Leonard

[1]https://yade-dev.gitlab.io/trunk/user.html?highlight=micro%20stress#rendering-interactions-as-force-chain

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Karol Brzezinski
Solved:
Last query:
Last reply:
Revision history for this message
Karol Brzezinski (kbrzezinski) said :
#1

Hi Leonard,

If you follow the instructions it should be OK. Try to play with Radous and Radius Factor parameters.

Cheers,
Karol

Revision history for this message
Leonard (z2521899293) said :
#2

Hi Karol,

Thank you for your reply.

Sorry I still couldn't make it.

I followed the instructions and played with Radius and Radius factors, but the force chain with red color (which means it has a high force) shows the same tube size as those force chains in blue color (blue represents low force). Actually, it doesn't change anything when I adjust Radius factors.

May I invite you to have a look at my settings in paraview (together with an example vtk file)? Which can be found in [2].

Thanks
Leonard

[2]https://we.tl/t-IbGkg81hM5

Revision history for this message
Karol Brzezinski (kbrzezinski) said :
#3

Hi Leonard,

Please select 'forceN' from 'Scalar' list at the top of the tubę filter settings.

Cheers,
Karol

Revision history for this message
Karol Brzezinski (kbrzezinski) said :
#4

I noticed that instructions don't mention this part, but it is usually selected automatically (e.g., I didn't have to do this in my Paraview).

Karol

Revision history for this message
Leonard (z2521899293) said :
#5

Hi Karol,

Do you mean that your paraview automatically shows the force chain scaled with its magnitude?
May I ask that what version of paraview you use? The one I use is 5.9.1.

Thanks.
Leonard

Revision history for this message
Karol Brzezinski (kbrzezinski) said :
#6

I mean that you should have selected the 'forceN' from the drop-down list at the top of the 'tube' filter settings (it is not selected on the screen that you attached). This point is not mentioned in the instructions because Paraview usually does this part automatically (I tested it on versions 5.7.0 and 5.10.1).

Cheers,
Karol

Revision history for this message
Leonard (z2521899293) said :
#7

Hi Karol,

Many thanks for your reply.

I updated my paraview version to 5.10.1. But it has the same problem.

Which drop-down list do you mean? I add a new picture in [3] to illustrate the drop-down list I understood from you. But I couldn't open that drop-down list (it is empty).

Does it work well using your paraview to visualise the example.vtk file I shared in #2? I am asking this because I wonder if it is the problem of the example.vtk file or the problem with my paraview settings.

Thanks very much.
Leonard

[3]https://we.tl/t-5wFdBniP3j

Revision history for this message
Karol Brzezinski (kbrzezinski) said :
#8

Hi Leonard,

Exactly, it is the list that you pointed to in [3]. Your example file [2] works well on my computer. Maybe there is something wrong with the previous filter... so you don't see the proper data. Generally, external links are not recommended... but we are discussing some already. So, could you save and upload the Paraview state file as well?

Cheers,
Karol

Revision history for this message
Leonard (z2521899293) said :
#9

Hi Karol

Thanks very much. I will try to avoid external links next time.

The state file can be found here:

https://we.tl/t-6NtnmZ6IR0

Thanks.
Leonard

Revision history for this message
Best Karol Brzezinski (kbrzezinski) said :
#10

Hi Leonard,

OK, I get it. You need to apply the 'tube' filter to the "CellDatatoPointData1', not directly to the 'example.vtk'.

Cheers,
Karol

Revision history for this message
Leonard (z2521899293) said :
#11

Thanks Karol Brzezinski, that solved my question.