Example from wikipage not working

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
aboufira
Posts: 8
Joined: Wed Jun 07, 2017 9:52 pm

Example from wikipage not working

Post by aboufira »

I would like to use OpenSees for validation of an FE model I am currently working on regarding seismic liquefaction. I am trying to implement the example developed in the following link:

http://opensees.berkeley.edu/wiki/index ... -Example_8

However, I ran into a problem. The element recorder

recorder Element -ele 1 -time -file stress1.out -dT 0.01 material 1 stress

outputs a .out file with only 4 columns. However the plotter.m file loads this as variable s1 and calls index 5 in line 18

qo(i)=(s1(i,2)-s1(i,3))^2 + (s1(i,3)-s1(i,4))^2 +(s1(i,2)-s1(i,4))^2 + 6.0* s1(i,5)^2;

Unfortunately this causes the script to fail and throws an error that the index does not exist.

Please let me know what can be done to fix this error and have the correct output? Why is the quad element only outputting 3 stress values when the matlab file requires 4? Thanks
selimgunay
Posts: 917
Joined: Mon Sep 09, 2013 8:50 pm
Location: University of California, Berkeley

Re: Example from wikipage not working

Post by selimgunay »

Could you contact the developer of the example with the email address provided in the first line about this issue.
aboufira
Posts: 8
Joined: Wed Jun 07, 2017 9:52 pm

Re: Example from wikipage not working

Post by aboufira »

I already did that but have not received a response. That's why I'm asking here.
Post Reply