← Back to team overview

yade-dev team mailing list archive

Re: Sign convention getCapillaryStress - fCap

 

Hi Jérôme,
The sign convention for fCap is weird, indeed.
It would be good to revert it.
Bruno


On 27/10/14 20:37, Jerome Duriez wrote:
> 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
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp


-- 
_______________
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53
38041 Grenoble cedex 9
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43
________________


References