← Back to team overview

yade-dev team mailing list archive

Re: [Yade-users] [Question #251712]: Two problems for post-processing

 


Le 16/07/2014 19:58, Bruno Chareyre a écrit :
Yade must be be consistent and the convention for strain/stress is
traction positive. If python says -1 then paraview should also say -1,
not +1.
I'm learning it... For me there was still different conventions among the different contact laws, with sometimes (in usual cases, at least for me) positiv compression states

E.g :
O.bodies.append(sphere([0,0,2],1.1))
O.bodies.append(sphere([0,0,0],1.1)) # 2 spheres with an existing overlap => compression
O.step()
numpy.dot(O.interactions[0,1].phys.normalForce,O.interactions[0,1].geom.normal)
    => Returns a positiv value.


Are you speaking here strictly about strain and stress (and not contact forces/relative displacements) ? (probably yes..)



Follow ups

References