Re: [Yade-dev] Stress tensor of periodic cell and interactions

2012-05-27 Thread Jan Stránský
Hi Bruno, Hi Jan, I just added a getStress function because we needed it urgently with Donia (and there was no function to get the simplest Sum(fi*lj) for anything but Dem3Dof). You may have a look at it (it's in fact just a copy of the code in PeriTriax, and will replace it eventualy). Feel

Re: [Yade-dev] Stress tensor of periodic cell and interactions

2012-05-27 Thread Chiara Modenese
On 27/05/2012 16:03, Jan Stránský wrote: Hi Bruno, Hi Jan, I just added a getStress function because we needed it urgently with Donia (and there was no function to get the simplest Sum(fi*lj) for anything but Dem3Dof). You may have a look at it (it's in fact just a copy of the code in

Re: [Yade-dev] Stress tensor of periodic cell and interactions

2012-05-25 Thread Bruno Chareyre
Hi Jan, I just added a getStress function because we needed it urgently with Donia (and there was no function to get the simplest Sum(fi*lj) for anything but Dem3Dof). You may have a look at it (it's in fact just a copy of the code in PeriTriax, and will replace it eventualy). Feel free to

[Yade-dev] Stress tensor of periodic cell and interactions

2012-03-17 Thread Jan Stránsky
Hello, I was thinking about implementation of stressTensorOfPeriodicCell functions (as discussed at https://blueprints.launchpad.net/yade/+spec/stressgetters ), and I would suggest this: - create separate functions for normal and shear contribution (as it is in utils.normalShearStressTensors) -