← Back to team overview

yade-users team mailing list archive

Re: [Question #703717]: How to select the BCs in the uniax example

 

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

    Status: Answered => Open

Mahmoud Ashour is still having a problem:
Hello,
 thanks for your response. it is actually one question. I mean in the concrete uniax example. I can't understand the following code when he selected the specimen faces

bb=uniaxialTestFeatures()
negIds,posIds,axis,crossSectionArea=bb['negIds'],bb['posIds'],bb['axis'],bb['area']

mm,mx=[pt[axis] for pt in aabbExtrema()]
coord_25,coord_50,coord_75=mm+.25*(mx-mm),mm+.5*(mx-mm),mm+.75*(mx-mm)
area_25,area_50,area_75=approxSectionArea(coord_25,axis),approxSectionArea(coord_50,axis),approxSectionArea(coord_75,axis)

can you explain how to use uniaxialTestFeatures with an more simple
example if it is possible?

Best regards,
Mahmoud

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