OpenSeesPyDoc icon indicating copy to clipboard operation
OpenSeesPyDoc copied to clipboard

TFP_Bearing

Open Mehrshad-Ghorbanzadeh opened this issue 3 years ago • 1 comments

Hi, thanks for your excellent work. I thought I should inform you about this error. There is a problem when optional parameter <$K> is inserted in TFB bearing element. The error message is as follows : ERROR - TFP_Bearing incorrect # args provided, want: element TFP_Bearing tag? iNode? jNode? $R1 $R2 $R3 $R4 $do1 $do2 $do3 $do4 $din1 $din2 $din3 $din4 $mu1 $mu2 $mu3 $mu4 $h1 $h2 $h3 $h4 $H0 <$a> <$K> Traceback (most recent call last): File "C:\Z-Mehrshad\project_OPyN.py", line 332, in ops.element( 'TFP', 27, *[ 1, 31 ], 12.0, 12.0, 88.0, 88.0, 12.0, 12.0, 44.0, 44.0, 8.0, 8.0, 12.5, 12.5, 0.02, 0.02, 0.09, 0.12, 3.0, 3.0, 4.5, 4.5, 12.5, 45.0, 1.0e15 ) # Element_TripleFPBearing[TFP01] If the last parameter is ignored, the element does not give an error. Thank you for your attention.

Mehrshad-Ghorbanzadeh avatar Dec 30 '21 17:12 Mehrshad-Ghorbanzadeh

Please make a PR on the main OpenSees repo with the necessary fixes in the OPS_TFP_Bearing function https://github.com/OpenSees/OpenSees/blob/master/SRC/element/frictionBearing/TFP_Bearing.cpp

mhscott avatar Feb 12 '22 15:02 mhscott