Connect a rod vertically to a horizontal pipe
I have made a geometry in which a cylindrical column is kept horizontally inside a sand box. I want to connect a rod vertically to the pipe, such that inside the box, the rod and column make an inverted T shaped figure.
So, far I have written the code for placing the column inside the sand box. I can create a vertical rod, but how to connect the two?
Here's my code:
from yade import pack
from yade import ymport
from yade import plot
from yade import qt
young=5e6
mColumn = O.materials.
def createSandBox(
boxpred = pack.inAlignedB
packing = pack.randomDens
return O.bodies.
def createStoneColu
cylpred = pack.inCylinder
packing = pack.randomDens
return O.bodies.
idBox = createSandBox(
idStone = createStoneColu
Regards
Hashir
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Hashir Ahmad for more information if necessary.