Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TFP_Bearing #253

Open
Mehrshad-Ghorbanzadeh opened this issue Dec 30, 2021 · 1 comment
Open

TFP_Bearing #253

Mehrshad-Ghorbanzadeh opened this issue Dec 30, 2021 · 1 comment

Comments

@Mehrshad-Ghorbanzadeh
Copy link

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.

@mhscott
Copy link
Collaborator

mhscott commented Feb 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants