yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #04443
Re: [Branch ~yade-dev/yade/trunk] Rev 2234: Force calculation mechanism is changed in VTKRecorder (Thanks to Vaclav). Experimental.
Note also https://bugs.launchpad.net/yade/+bug/493102
It would be better to have such function in Shop, anyway, since it can
be useful in other cases as well. VTKRecorder is getting quite crowded.
It woul return array with normal and shear forces.
Any reason to have normal and shear force separate?
v
> +
> + bodyForces[id1].norm+=phys->normalForce;
> + bodyForces[id2].norm-=phys->normalForce;
> +
> + bodyForces[id1].shear+=phys->shearForce;
> + bodyForces[id2].shear-=phys->shearForce;
> + }
Follow ups
References