Defining MinMax material

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

Moderators: silvia, selimgunay, Moderators

Post Reply
oscom
Posts: 13
Joined: Thu Dec 29, 2022 12:55 am

Defining MinMax material

Post by oscom » Wed Jan 11, 2023 9:02 am

Hi everyone,

I'm having issue defining MinMax material with the following code

------------------------------------------------------------
import openseespy.opensees as op
import os
from math import sqrt, pi
op.wipe()
op.model('basic','-ndm',2)

matTag=1
otherTag=2
Fy=3.780 #[T/cm2]
E0=2100.
b=0.00577

op.uniaxialMaterial('Steel01',otherTag,Fy,E0,b)
op.uniaxialMaterial('MinMax', matTag, otherTag, '-min', -0.1, 'max', 0.1)

It returns this error

WARNING invalid option:max uniaxialMaterial MinMax tag: 1
-----------------------------------------------------------
Thank you.

mhscott
Posts: 872
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: Defining MinMax material

Post by mhscott » Wed Jan 11, 2023 12:38 pm

Use '-max' instead of 'max'

oscom
Posts: 13
Joined: Thu Dec 29, 2022 12:55 am

Re: Defining MinMax material

Post by oscom » Thu Jan 12, 2023 5:14 pm

Thank you! I didnt see it at all

Post Reply