Question #643878 on Yade changed:
https://answers.launchpad.net/yade/+question/643878

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Manon,

> I have another question related to the calculation of average stress :
is it possible to obtain the cross section used by uniaxial strainer for
the calculation ? I mean it's location.

Cross section area is a parameter for UniaxialStrainer at initialization:
O.engines = [ ..., UniaxialStrainer(...,crossSectionArea=whatewer, 
label="uniax"), ...]

you can get / set the value any time
cs = uniax.crossSectionArea
uniax.crossSectionArea = pi*pow(r,2)

but is is computed outside UniaxialStrainer and UniaxialStrainer knows nothing 
but its value (no position, method of computation...)
have a look at UniaxialStrainer source codes and search for crossSectionArea

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to