Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isue with updateParameter() #139

Open
bahugunaashish opened this issue Jul 12, 2024 · 2 comments
Open

Isue with updateParameter() #139

bahugunaashish opened this issue Jul 12, 2024 · 2 comments

Comments

@bahugunaashish
Copy link

Getting error with "updateParameter" in openseespy

WARNING: parameter - failed to get parameter tag
Traceback (most recent call last):

File ~.conda\envs\py39\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)

File c:\users\abahugu\onedrive - clemson university\scdot project\openseesbridgemodel\openseesbridgemodel\1element.py:90
ops.updateParameter('-material', 2, '-refB' , G*2/3.0)

OpenSeesError: See stderr output

@mhscott
Copy link
Collaborator

mhscott commented Jul 12, 2024

You have to define a parameter first, e.g.,

ops.parameter(12,'element',1234,'material',2,'-refB')
ops.updateParameter(12,G*2/3.0)

@bahugunaashish
Copy link
Author

thank you @mhscott for your response. I am still getting some error.

Parameter::addComponent 12 -- no objects were able to identify parameter
material 2 -refB

I was trying to replicate the example "PressureDependMultiYield-Example 11" given at https://opensees.berkeley.edu/wiki/index.php?title=PressureDependMultiYield-Example_11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants