← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2234: Force calculation mechanism is changed in VTKRecorder (Thanks to Vaclav). Experimental.

 

2010/5/18 Václav Šmilauer <eudoxos@xxxxxxxx>

> Note also  https://bugs.launchpad.net/yade/+bug/493102
>

Yes, I was thinking about that. It does not really matter in this case.

>
> It would be better to have such function in Shop, anyway, since it can
> be useful in other cases as well.

Ok, I will try,


> VTKRecorder is getting quite crowded.
>

Well, I think I have almost finished it and do not have any plans to add
something else, but.... who knows.



> It woul return array with normal and shear forces.
>
> I think I need to summarize the _lengths_ of all forces, affecting on body,
not the Vectors.
Because I will get the resulting force, what I had from b->force. Right?


> Any reason to have normal and shear force separate?
>
> Probably, not. I will fix it.

Thanks for help.


> v
>
> > +
> > +                       bodyForces[id1].norm+=phys->normalForce;
> > +                       bodyForces[id2].norm-=phys->normalForce;
> > +
> > +                       bodyForces[id1].shear+=phys->shearForce;
> > +                       bodyForces[id2].shear-=phys->shearForce;
> > +               }
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References