← Back to team overview

yade-users team mailing list archive

Re: [yade-users] problem with VTK files

 

I didn't test it but i looked for something like this too.
If it seems to work I agree too

cheers

Benoit


Anton Gladky a écrit :
I agree.



2010/4/27 luc scholtes <lscholtes63@xxxxxxxxx <mailto:lscholtes63@xxxxxxxxx>>

    Hi,

    I just gave a better look into the VTKrecorder sources files, and
    it seems that everything was ok. As Anton said, the code saves the
    interactions into the VTK file as a "line", but there is nothing
    in relation with the normal  Fn and shear forces Fs associated.

    Actually, Fn and Fs are recorded, but they are not written into
    the VTK file. So, maybe it would be interesting to have these
    quantities saved just as they are in the case of the CP model. The
    change would consist of deleting the test for cpm on line 250 of
    VTKrecorder.cpp:

            -if (recActive[REC_CPM]){
                 intrUg->GetCellData()->AddArray(intrForceN);
                 intrUg->GetCellData()->AddArray(intrAbsForceT);
           - }

    If everyone agrees, I can do that (I tested it, and it seems to work).

    cheers

      Luc



    2010/4/27 Václav Šmilauer <eudoxos@xxxxxxxx
    <mailto:eudoxos@xxxxxxxx>>

        > I just needed to show, whether an interaction exists between
        spheres
        > or not, to see the "cohesive picture".
        > Nothing more.
        I added documentation to VTKRecorder
        https://www.yade-dem.org/sphinx/yade.wrapper.html#yade.wrapper.VTKRecorder.recorders
        in last commit. Please complete specification of what is saved
        for ``intrs`` if not used in conjunction with ``cpm`` (the
        [TODO] at the end).

        Cheers, v.




        _______________________________________________
        Mailing list: https://launchpad.net/~yade-users
        <https://launchpad.net/%7Eyade-users>
        Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
        <mailto:yade-users@xxxxxxxxxxxxxxxxxxx>
        Unsubscribe : https://launchpad.net/~yade-users
        <https://launchpad.net/%7Eyade-users>
        More help   : https://help.launchpad.net/ListHelp



    _______________________________________________
    Mailing list: https://launchpad.net/~yade-users
    <https://launchpad.net/%7Eyade-users>
    Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
    <mailto:yade-users@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~yade-users
    <https://launchpad.net/%7Eyade-users>
    More help   : https://help.launchpad.net/ListHelp


------------------------------------------------------------------------

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


References