zhuminjie / OpenSeesPyDoc

OpenSeesPy Documentation
http://openseespydoc.readthedocs.io
Other
146 stars 106 forks source link

Getting error in TwoNodeLink element in paralle processing. #311

Open bahugunaashish opened 1 month ago

bahugunaashish commented 1 month ago

I am using Openseespy for my simulations. I came across this error while running parallel processing in an HPC. However, the python script works perfectly fine in my local Linux and Windows machine with parallel processing and single core. Could you please help me with this issue?

Error prompt " WARNING TwoNodeLink::setUp() - element: 40001 ignoring nodes and using specified local x vector to determine orientation TwoNodeLink::setUp() - element: 40001 "

mhscott commented 1 month ago

Can you provide more information, like what versions of OpenSeesPy you are using on HPC and local?

Also, please show the input command line for element 40001.

bahugunaashish commented 1 month ago

Dr Scott thank you for your prompt response, I appreciate the help. In local machine i have V3.4.0.8 and in HPC I have V3.7.0.4. Could that be the problem for this error?

I changed my HPC openseespy version, similar to my local machine version, but error persist.

my global horizontal plane is X and Y, and my global vertical axis is Z. Using the "twonodelink" element, I am modeling the bearing of a bridge and connecting it with girder nodes.

input command for element op.element('twoNodeLink', BearingEleTag, rigidTag, BearingTag, '-mat', [IDElastomer, IDElastomer, IDElastomer, IDdowel_F, IDdowel_F, IDdowel_F], '-dir', [1, 2, 3, 4, 5, 6], '-pDelta', [0.5, 0.5, 0.5, 0.5],'-shearDist', [0.5, 0.5], '-orient', -1, 0, 0)

Thanks, Ashish

mhscott commented 1 month ago

Thanks for the information. Should be fixed now https://github.com/OpenSees/OpenSees/pull/1513. Let me know if the issue remains.

bahugunaashish commented 1 month ago

Thank you Dr Scott for the response and help. I reinstalled the openseespy and ran the simulation again but the issue still persists, please see the error prompt " WARNING TwoNodeLink::setUp() - element: 40001 ignoring nodes and using specified local x vector to determine orientation TwoNodeLink::setUp() - element: 40001 invalid orientation vectors "

Thanks Ashish

mhscott commented 1 month ago

Sorry for the confusion. You either have to compile the source code or wait for the next update to openseespy pip package. In the mean time, you may be able to make it work by specifying both x and y vectors with the -orient option.

...,'-orient',x1,x2,x3,y1,y2,y3)
bahugunaashish commented 1 month ago

Thank you, Dr. Scott, for the suggestion; I'll try that.


Thanks Ashish