problem in using zeroLengthContact2D

Forum for asking and answering questions related to use of the OpenSeesPy module

Moderators: silvia, selimgunay, Moderators

Post Reply
Rubinsa
Posts: 15
Joined: Mon Feb 13, 2023 3:24 am

problem in using zeroLengthContact2D

Post by Rubinsa »

Hello All, I am trying to model a retaining wall. I construct the model according the cantilever example in the wiki. However, I like to model the base of the wall in a way to consider the friction in x direction(not a roller at the base). A simple example of what I wrote can be seen below.

I fixed a base node and used a zeroLengthContact2D to attach the fixed base to the base of the wall. The results are still show that there is no friction in the model since changing mu doesn't have any effect on the results. Can anyone help me with this issue?

Thank you so much for your help!

################################################################################

ops.model('BasicBuilder','-ndm',2,'-ndf',3)
ops.node(1,0,0)
ops.node(10,0,1)

ops.element('dispBeamColumn', 1 , *[1,10], transfTag, integTag )

ops.model('BasicBuilder','-ndm',2,'-ndf',3)
ops.node(2,0,0)
ops.node(3,0,0)

ops.fix(3,1,1) #base node

ops.equalDOF(1,2,1,2) #coneccting 2DOF node to Wall 3DOF node

ops.element('zeroLengthContact2D', 10, *[2,3], 1e8, 1e8, 0.4, '-normal', 0, 1)
Post Reply