← Back to team overview

yade-users team mailing list archive

Re: [Question #643878]: Uniaxial strainer source

 

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.