I'm trying to plot the animation of the deformed shape of my 2D structure, but I always got this error:
Code: Select all
File "D:\Anaconda3\lib\site-packages\openseespy\postprocessing\Get_Rendering.py", line 819, in animate_deformedshape
time, Disp = idbf._readNodeDispData(Model,LoadCase)
File "D:\Anaconda3\lib\site-packages\openseespy\postprocessing\internal_database_functions.py", line 280, in _readNodeDispData
Disp = np.transpose(np.loadtxt(NodeDispFile, dtype=float, delimiter=None, converters=None, unpack=True))
File "D:\Anaconda3\lib\site-packages\numpy\lib\npyio.py", line 1139, in loadtxt
for x in read_data(_loadtxt_chunksize):
File "D:\Anaconda3\lib\site-packages\numpy\lib\npyio.py", line 1063, in read_data
raise ValueError("Wrong number of columns at line %d"
ValueError: Wrong number of columns at line 405
Code: Select all
opsplt.createODB('GA_modeling', 'push')
Code: Select all
ani = opsplt.animate_deformedshape(Model="GA_modeling", LoadCase="push", dt=0.01)