New question #694667 on Yade: https://answers.launchpad.net/yade/+question/694667
Hi, I use pfacetCreator3 to generate PFacet in a triaxial test then " 'ScGeom' object has no attribute 'connectionBody' " was printed in terminal. My specimen was consisted of spheres and cylinderConnections and PFacet is the triaxial boundary as cylinderConnections can only contact with Pfacet. my yade version is 2018.02b and I use ubuntu 18.04. ##################code may concern############# O.materials.append( CohFrictMat( young=3e6,poisson=0.15,density=910e0,frictionAngle=20,normalCohesion=3e100,shearCohesion=3e100,momentRotationLaw=True,label='gridNodeMat' ) )#for gridNodes #O.materials.append(CohFrictMat(young=3e9,poisson=.15,density=910e6,frictionAngle=20,normalCohesion=1e40,shearCohesion=1e40,momentRotationLaw=True,label='gridNodeMat'))#for gridNodes O.materials.append(FrictMat(young=4e6,poisson=0.3,density=1000,frictionAngle=20,label='pFacetMat')) #for pfacet #=======================Pfacet====================== O.materials.append(CohFrictMat(young=1e7,poisson=1,density=1e2,frictionAngle=radians(30),normalCohesion=3e7,shearCohesion=3e7,momentRotationLaw=True,label='gridNodeMat')) O.materials.append(FrictMat(young=1e7,poisson=1,density=1e2,frictionAngle=radians(30),label='gridConnectionMat')) R=0.00002 color=[255./255.,102./255.,0./255.] aa = O.bodies.append(gridNode([-100e-3, 100e-3, 0],1e-5,wire=False,fixed=fixed,material='gridNodeMat',color=color)) bb = O.bodies.append(gridNode([ 100e-3, 100e-3, 0],1e-5,wire=False,fixed=fixed,material='gridNodeMat',color=color)) cc = O.bodies.append(gridNode([ 100e-3,-100e-3, 0],1e-5,wire=False,fixed=fixed,material='gridNodeMat',color=color)) dd = O.bodies.append(gridNode([-100e-3,-100e-3, 0],1e-5,wire=False,fixed=fixed,material='gridNodeMat',color=color)) pfacetCreator3(aa,bb,cc,cylIds=[],pfIds=[],wire=False,material='pFacetMat',color=color) pfacetCreator3(aa,cc,dd,cylIds=[],pfIds=[],wire=False,material='pFacetMat',color=color) ############################################## thanks!!!!!!!!!!! -- 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 : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

