← Back to team overview

yade-users team mailing list archive

Re: [Question #632670]: a problem about approxSectionArea

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

coord_25 = mm+.25*(mx-mm)
# mx - mm = length of the sample along given axis
# mm + .25*(mx-mm) = mm+.25*length
# coord_25 ... coordinate at 25% length of the sample (the same meaning is for 50=50% and 75=75%)
# in the script the shape is hyperboloid, so the cross section vary along the sample

approxSectionArea [1] approximates cross section perpendicular to axis
(0=x,1=y,2=z) at given coordinate (25% of length for coord_25)

cheers
Jan

[1] https://yade-
dem.org/doc/yade.utils.html#yade._utils.approxSectionArea

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