← Back to team overview

yade-dev team mailing list archive

Sign convention getCapillaryStress - fCap

 

Hi,

The sign convention in Yade being (yet, maybe) not so firmly established, again a question / remark in this field.
It seems to me that getStress() and getCapillaryStress() obey to two different sign conventions. Because both consider the branch vector, as from 2 to 1.
And, for the force vector, getStress considers "i.phys.force" which is generally (always ?) the force sustained by 2 (because of 1)
While, getCapillaryStress() consideres i.phys.fCap, which is the force sustained by 1 (*)

Do you agree this needs to be corrected ? If yes, what do you vote for ? Adding a minus sign in getCapillaryStress(), or change directly the convention for fCap, so that it is (hopefully) consistent with "global yade framework" ?

Jerome


(*) : https://github.com/yade/trunk/blob/master/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity.cpp#L204

Follow ups