Sending non-standard types of data (interaction adhesions, etc.) to ParaView

Asked by Christopher Stanbridge

Hi guys,

I went through the documentation for the VTKRecorder class here: https://yade-dem.org/doc/yade.wrapper.html#VTKRecorder and noticed that there was no recorder that saved the adhesion values for CohFrictMat interactions to ParaView. I was wondering if there was any way I could edit the behaviour of the VTKRecorders such that these values get transmitted to ParaView. Currently, the only way I could think of to do this would be by editing the raw C++ code.

Cheers,
CS

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Best Jan Stránský (honzik) said :
#1

Hi Christopher,

there are several options:
- modify c++ code
- use some of python functions from python export module, e.g.
export.VTKExporter(...).exportInteractions(what=[('whatever','i.phys.whatever')])
[1]
- export the data manually
- ...

cheers
Jan

[1]
http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/examples/test/vtk-exporter/vtkExporter.py#L31

2014-11-27 19:51 GMT+01:00 Christopher Stanbridge <
<email address hidden>>:

> New question #258348 on Yade:
> https://answers.launchpad.net/yade/+question/258348
>
> Hi guys,
>
> I went through the documentation for the VTKRecorder class here:
> https://yade-dem.org/doc/yade.wrapper.html#VTKRecorder and noticed that
> there was no recorder that saved the adhesion values for CohFrictMat
> interactions to ParaView. I was wondering if there was any way I could edit
> the behaviour of the VTKRecorders such that these values get transmitted to
> ParaView. Currently, the only way I could think of to do this would be by
> editing the raw C++ code.
>
> Cheers,
> CS
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Christopher Stanbridge (cws105) said :
#2

Thanks Jan Stránský, that solved my question.