the meaning of vtu.file parameters

Asked by ytang

hi all,

I use this command: VTKRecorder(fileName='george-triaxial-',recorders=['all'],iterPeriod=10000).
from the document (the generic recorders), it's said that this command can export a vtu.file which contains the stress, bstresses, and some other variables. when I import the vtu.file (for sphere) into ParaView. from the properties, I found there are some parameters called: SPH-press, SPH-Neigh, SPH-Rho, normal stress, normalstressnorm, and shear stress.

Is there anyone can tell me in Paraview, which item represents the bstresses and which item represents stress for the recorded data.

thanks,
yong

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jérôme Duriez
Solved:
Last query:
Last reply:
Revision history for this message
Robert Caulk (rcaulk) said :
#1
Revision history for this message
Best Jérôme Duriez (jduriez) said :
#2

Hi,

As for bstresses, there is a current inconsistency between the doc and source code: 'all' does not include bstresses, sorry about that

It should be fixed soon. In the meantime, you just have to ask for recorders=['all','bstresses'] in your VTKRecorder definition, and you will get the principal directions and principal stress of per-particle stress tensor as new items dirI, dirII, dirIII, sigI, sigII, sigIII

(As for "stress", I can not help)

Revision history for this message
ytang (ytang116) said :
#3

Thanks Jérôme Duriez, that solved my question.

Revision history for this message
ytang (ytang116) said :
#4

Hi Robert,
yeah, I know the recorders. what I want to mention is that, under the generic recorders, there are stress and bstresses. when I export all to a vtu.file and then import into the Paraview, there are properties named, normal stress and shear stress.

In my opinion, these names should be consistent with each other. But they are not the same, so I just curious about which one is which one.

best,
yong