SFI MVLEM recorder

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

Moderators: silvia, selimgunay, Moderators

Post Reply
benji0589
Posts: 6
Joined: Sun Apr 15, 2012 12:53 pm
Location: UTP PANAMA

SFI MVLEM recorder

Post by benji0589 » Thu Oct 01, 2020 9:33 pm

Hello, I am a new learner of OpenSees and have started learning it through its Python version. My question is about generating outputs for a SFI_MVLEM strain and stress. I am currently working through the example SFI MVLEM - Cyclic Shear-Flexure Interaction Model for RC Walls, which is available at https://opensees.berkeley.edu/wiki/inde ... r_RC_Walls.

This example is just available in Tcl version, I have developed a Phyton version, and I did some modification in order to run the whole code in just 1 script. The model in Spyder (Python 3.7) runs pretty well if I just record nodes or column or beam elements (including hinge), but when I try to record "RCPanel" outputs for the Shear Walls fibers, the model just starts to run but never finish or converge.

I have tried using op.recorder command by using files outputs:

op.recorder('Element', '-file', "MVLEM_panel_strain.out", '-time', '-ele', 1, 'RCPanel', 1, 'panel_strain')
op.recorder('Element', '-file', "MVLEM_panel_stress.out", '-time', '-ele', 1, 'RCPanel', 1, 'panel_stress')
op.recorder('Element', '-file', "MVLEM_panel_stress_concrete.out", '-time', '-ele', 1, 'RCPanel', 1, 'panel_stress_concrete')
op.recorder('Element', '-file', "MVLEM_panel_stress_steel.out", '-time', '-ele', 1, 'RCPanel', 1, 'panel_stress_steel')

And also by storing in a vector or list:

strain = [0.0];
stress = [0.0];
time = [0.0];
ok = op.analyze(Nsteps, DtAnalysis) # Perform analysis: ok=0 (successful)
strain.append(op.eleResponse(1,'RCPanel', 1, 'panel_strain'));
stress.append(op.eleResponse(1,'RCPanel', 1, 'panel_stress'));
time.append(op.getTime()) ;

Neither option seems to work, and the analysis still running for long time in the same step analysis.

I really appreciate, If anyone can help me to know if this commands are currently available in Python and how to apply it.

Thanks,

Benjamin

mhscott
Posts: 872
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: SFI MVLEM recorder

Post by mhscott » Fri Oct 02, 2020 6:26 am

This could be the issue: https://wp.me/pbejzW-Si

benji0589
Posts: 6
Joined: Sun Apr 15, 2012 12:53 pm
Location: UTP PANAMA

Re: SFI MVLEM recorder

Post by benji0589 » Fri Oct 02, 2020 8:52 am

Thanks Mr. Michael H. Scott, Ph.D.

It was the issue. I fix that in my script and now it works well.

Best regards,

Benjamin

Post Reply