about coordNumber

Asked by xjin

I see the context about coordNumber in the link:
https://www.yade-dem.org/doc/yade.wrapper.html#yade.wrapper.VTKRecorder

Could you tell me how to write the codes to record the coordNumber?
Thanks very much!

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
Best Jérôme Duriez (jduriez) said :
#1

Hi,

Do you mean "enabling the coordnumber recorder in VTKRecorder" ?

If yes, having VTKRecorder(recorders = ['all']) # plus other attributes such as fileName and iterPeriod
in your O.engines should do (more than) the trick.

This is actually the default behavior, which means you don't even need to touch recorders attribute to have coordNumber in your vtk/vtu files

Revision history for this message
xjin (jpeng22) said :
#2

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