zhuminjie / OpenSeesPy

OpenSeesPy versions, doc, and pip
Other
157 stars 66 forks source link

Correct input method (uniaxialMaterial : Hysteretic) #93

Closed Miyauchi33 closed 2 years ago

Miyauchi33 commented 2 years ago

Hello! I get the following this error and cannot analyze it.

Error: Want: uniaxialMaterial Hysteretic tag? mom1p? rot1p? mom2p? rot2p? <mom3p? rot3p?> mom1n? rot1n? mom2n? rot2n? <mom3n? rot3n?> pinchX? pinchY? damfc1? damfc2? <beta?>Traceback (most recent call last): OpenSeesError: See stderr output

And, I'm typing: ops.uniaxialMaterial('Hysteretic',1,'-mom1p',1.60E-03,'-rot1p',5.06E+03,'-mom2p',2.20E-02,'-rot2p',1.14E+04, '-mom1n',1.60E-03,'-rot1n',5.06E+03,'-mom2n',2.20E-02,'-rot2n',1.14E+04, '-px',1,'-py',1,'-d1',0,'-d2',0,'-b',0.5)

I don't understand what this error are and can't resolve them. Please tell me how to enter the correct argument.

u-anurag commented 2 years ago

Just use

ops.uniaxialMaterial('Hysteretic',1, 1.60E-03,5.06E+03,2.20E-02,1.14E+04,1.60E-03,5.06E+03,2.20E-02,1.14E+04,1,1,0,0,0.5)