jgerstmayr / EXUDYN

Multibody Dynamics Simulation: Rigid and flexible multibody systems
https://www.youtube.com/channel/UCsQD2bIPBXB_4J23WtqKkVw/playlists
Other
166 stars 23 forks source link

A data problem in FEM.py #55

Closed Jiang-Cui closed 1 year ago

Jiang-Cui commented 1 year ago

Dear Prof. Gerstmayr,

I have successfully install Exudyn in VS2017 and Python 3.7 in both Windows 10 and 11 with your help.

When I debug NGsolveCraigBampton.py in VS2017, a problem occurs as shown

2881c398ef6bebd8e14698c4f512f3c

I use the old-version FEM.py to replace the latest FEM.py, this problem is solved. Dose the latest FEM.py not suitable to the netgenBrick.npy and netgenHinge.npy generated by ngsolve?

jgerstmayr commented 1 year ago

As stated in the error message, if loading an old .npy file, you should set forceVersion=0. Alternatively, you can save the .npy file in the new format. Future versions of .npy files include a version and thus will not have this problem.