Error in 'ReinforcingSteel' material model command

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

Moderators: silvia, selimgunay, Moderators

Post Reply
husayn
Posts: 6
Joined: Wed Aug 30, 2023 9:36 am

Error in 'ReinforcingSteel' material model command

Post by husayn »

Hi everyone,

I have defined a function to create steel material models and I run into "OpenSeesError: See stderr output" error in the 1st version of my code, while in the 2nd one the analysis runs successfully. In the 1st version I give it my customized values for the parameters of "ReinforcingSteel" and in the 2nd version I have omitted the optional parameters from the command. I wonder why the 2nd one works out fine but the 1st one doesn't. Can anyone tell me where I have made a mistake?

##########################################################################################################################
1st:

import openseespy.opensees as ops

b = 0.15
Es = 29000
Fy = 50
Esh = Es/30
Fu = 65
epsy = Fy/Es
eps_sh = 10 * epsy
eps_ult = 0.15
lsr = 0
beta = 2.0
r = 0.0
gamma = 0.5
alpha = 0.506
Cf = 0.26
Cd = 0.389
a1 = 4.3
limit = 1.0
R1 = 0.333
R2 = 18.0
R3 = 4.0

ops.uniaxialMaterial('ReinforcingSteel', 1, Fy, Fu, Es, Esh, eps_sh, eps_ult, '-GABuck', lsr, beta, r, gamma, '-CMFatigue', Cf, alpha, Cd, '-IsoHard', a1, limit,'-MPCurveParams', R1, R2, R3)



##########################################################################################################################
2nd:

.
.
.
ops.uniaxialMaterial('ReinforcingSteel', 1, Fy, Fu, Es, Esh, eps_sh, eps_ult)
Last edited by husayn on Thu Aug 31, 2023 12:18 am, edited 2 times in total.
husayn
Posts: 6
Joined: Wed Aug 30, 2023 9:36 am

Re: Error in 'ReinforcingSteel' material model command

Post by husayn »

No need to wory guys. I fixed it up. The following code worked out just well. :D

ops.uniaxialMaterial(*['ReinforcingSteel', 1,
Fy, Fu, Es, Esh, eps_sh, eps_ult,
'-GABuck', lsr, beta, r, gamma,
'-CMFatigue', Cf, alpha, Cd,
'-IsoHard', a1, limit,
'-MPCurveParams', R1, R2, R3
])
Post Reply