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: 50
Joined: Tue Feb 19, 2019 8:59 pm
Location: IITM

Step time dependent material

Post by Ashok »

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: 880
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: Step time dependent material

Post by mhscott »

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: 50
Joined: Tue Feb 19, 2019 8:59 pm
Location: IITM

Re: Step time dependent material

Post by Ashok »

Thanks a lot. It worked.
Ashok
Posts: 50
Joined: Tue Feb 19, 2019 8:59 pm
Location: IITM

Re: Step time dependent material

Post by Ashok »

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: 50
Joined: Tue Feb 19, 2019 8:59 pm
Location: IITM

Re: Step time dependent material

Post by Ashok »

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

Re: Step time dependent material

Post by mhscott »

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