Step time dependent material

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
Ashok
Posts: 46
Joined: Tue Feb 19, 2019 8:59 pm
Location: IITM

Step time dependent material

Post by Ashok » Thu Feb 11, 2021 8:57 pm

Hi,
I am writing a new material - it's response depends on the step time. How can we give material class - an access to step time and time increment ?
Currently the only way I can think of is - using "strainRate" in "setTrailStrain()" method i.e. (deltastrain)/strainRate = time increment .
Any alternatives please...?


Thank you,
Ashok.

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

Re: Step time dependent material

Post by mhscott » Fri Feb 12, 2021 5:29 am

You can get the time step from ops_Dt, a global variable. Search the source code for it. You can see an example in BilinearOilDamper.cpp.

Ashok
Posts: 46
Joined: Tue Feb 19, 2019 8:59 pm
Location: IITM

Re: Step time dependent material

Post by Ashok » Fri Feb 12, 2021 9:57 pm

Thanks a lot. It worked.

Ashok
Posts: 46
Joined: Tue Feb 19, 2019 8:59 pm
Location: IITM

Re: Step time dependent material

Post by Ashok » Mon Feb 15, 2021 1:17 am

Dear Prof. Scott,
One more question. After formulating the material and running the test analysis(https://opensees.berkeley.edu/OpenSees/ ... U8yPeZbHdU) - I am getting a plot like shown in the figure. Everything is fine - except one point goes somewhere astray... Can you guess the reason behind this ??
Image

Thank you,
Ashok

Ashok
Posts: 46
Joined: Tue Feb 19, 2019 8:59 pm
Location: IITM

Re: Step time dependent material

Post by Ashok » Mon Feb 15, 2021 1:19 am


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

Re: Step time dependent material

Post by mhscott » Mon Feb 15, 2021 6:59 am

It could be an error in the material state determination, or in how you set up the testing script. I can't really tell.

Post Reply