total strain increment

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
kyonten
Posts: 29
Joined: Thu Jan 29, 2009 7:11 pm
Location: George Washington University

total strain increment

Post by kyonten »

It seems the strain that is passed to the material user subroutine/interface is the Total Strains. Is there a way to access the Total Strain Increments? One approach could be to save the previous total strain as state variables, and then subtract it from the current total strain to get the increment. If the total strain increment can be directly passed to the material user interface, I would prefer that option.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

OpenSees does not return strain increments .. however you can calculate it in the script using two variables:


set strain1 ...
analyze 1
set strain2 ..
set strainIncrement [$strain2 - $strain1]
kyonten
Posts: 29
Joined: Thu Jan 29, 2009 7:11 pm
Location: George Washington University

Post by kyonten »

Thanks, Frank! I needed strain increments for the user material implementation. I don't think I can pass the strain increments to the material model via the script you mentioned.
rjaeger
Posts: 102
Joined: Thu Aug 31, 2006 9:57 pm
Location: UC Davis

Post by rjaeger »

Hi,

Depending on which type of material you have, you can do something like this:

strain_incr = input_strain - commit_strain which would be the strain increment from the last committed step.

Robbie
kyonten
Posts: 29
Joined: Thu Jan 29, 2009 7:11 pm
Location: George Washington University

Post by kyonten »

Thanks. Actually, that's what I'm doing since I have access to the "committed" strain.
Post Reply