visualization of the values of event magnitudes for a JCF-DEM model in paraview

Asked by Li Zeng

Dear all,

I want to mark the values of event magnitudes for a JCF-DEM model in paraview as it has been shown in paper [1] (see fig12 a). In paraview I have already got the similar figure but without the values of magnitude. I want to ask if this can be automatically generated on paraview? Or do we have to enter it manually? I think it is not easy to find the corresponding points, If they need to be manually entered.

[1] https://opengeomechanics.centre-mersenne.org/item/OGEO_2020__2__A2_0/

best regards,
Li Zeng

Question information

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

Hello,

I guess it is a paraview question ;-) but I am happy to answer it for them.

View>Selection Display Inspector>then choose which Point labels or Cell labels you want

Then select the points whose labels you want to show.

Cheers,

Robert

Revision history for this message
Li Zeng (lilly0303) said :
#2

Hi Robert,

Thank you very much for answering my question. I know this is a question about paraview. But if I use recorder, I need to use paraview to interpret the .vtu file. I haven't used paraview before. I read a lot of tutorials on the Internet. There are many introductions about paraview on the Internet. But I feel that there is very little about this part alone. Many are mixed together. Thank you again for helping me!

Then I have another question. That is, the number of labels I got has many digits. How to change the format of numbers in paraview?

regards,
Lili

Revision history for this message
Best Robert Caulk (rcaulk) said :
#3

Selection display inspector > Edit selection label properties > Label Format

Use a printf style format string according to the type of number representation you desire.

>But I feel that there is very little about this part alone

Just a tip for using google and _paraview or other open source softwares_, try googling "label points paraview." It brings you to the necessary page describing how to add labels to points[1]. And if you can't find it, paraview has the mailing list (same link) for finding help with paraview.

[1]https://public.kitware.com/pipermail/paraview/2007-November/006188.html

Revision history for this message
Li Zeng (lilly0303) said :
#4

Thanks Robert Caulk, that solved my question.