← Back to team overview

yade-users team mailing list archive

Re: [Question #697545]: How to create a cylinder model with hard and soft interlayer

 

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

Liu Changdong posted a new comment:
Hi Jan:
I'm sorry I didn't make my question clear.   My question is as follows:

1. How to select particles representing soft rock (different thickness
and dip angle).

2.About changing the material, can i use the following method:

sofeMat=O.materials.append(JCFpmMat(....))
hardMat=O.materials.append(JCFpmMat(....))

pred=pack.inCylinder()
sp=pack.randomDensePack(pred,...)
sp.toSimulation()

'select the soft rock particles'

for i in 'softrock':
   O.bodies[i].mat.cohesion=softMat.cohesion
   ....


Thanks 

changdong Liu

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