Algorithm modifiedNewton with initial stiffness can't work?

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

Moderators: silvia, selimgunay, Moderators

Post Reply
liuzelong
Posts: 1
Joined: Sun Apr 15, 2018 7:44 pm
Location: Hunan University

Algorithm modifiedNewton with initial stiffness can't work?

Post by liuzelong »

Hi all,
I've built a OpenseesPy model with Algorithm modifiedNewton. When I try to use the argument of initial stiffness(bool value) in the algorithem command, the analysis failed and it showed an error message, the command I used and the error message as follow:
Command:
algorithm('ModifiedNewton',initial)
Error message:
NameError: name 'initial' is not defined

I also try another kind of command:
algorithm('ModifiedNewton',initial=True)
The error message shows:
TypeError: algorithm() takes no keyword arguments

Can anyone kindly help me!

Thanks in advance,
Roy Liu
zhum
Posts: 11
Joined: Fri Apr 01, 2016 3:03 pm

Re: Algorithm modifiedNewton with initial stiffness can't work?

Post by zhum »

the command should be

algorithm('ModifiedNewton','-initial')

the document is wrong, I will fix it.
Post Reply