CstateFlag

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

Moderators: silvia, selimgunay, Moderators

Post Reply
xantis85
Posts: 18
Joined: Tue Sep 06, 2011 7:54 am
Location: FedericoII

CstateFlag

Post by xantis85 »

Hello,
I would like to know the "state flag" for the Limit State Material in real-time during a Nonlinear Time History analysis (i.e. if the limit state curve has been reached for the element considered).
The "print" command allow to plot at each step something similar:

Element: 1111 type: ZeroLength iNode: 11 jNode: 111
Material1d, tag: 3111, dir: 0
LimitState Material, tag: 3111
mom1p: 25
rot1p: 0.014706
E1p: 1699.99
mom2p: 30
rot2p: 0.017647
E2p: 1700.1
mom3p: 45
rot3p: 0.026471
E3p: 1699.91
mom1n: -25
rot1n: -0.0147059
E1n: 1700
mom2n: -30
rot2n: -0.017647
E2n: 1700.04
mom3n: -45
rot3n: -0.026471
E3n: 1699.91
pinchX: 0.5
pinchY: 0.4
damfc1: 0
damfc2: 0
energyA: 0.832953
beta: 0
CstateFlag: 0
Cstress: -0.389064
Cstrain: -0.000228861
Material1d, tag: 4411, dir: 1
LimitState Material, tag: 4411
mom1p: 25
rot1p: 2.9e-005
E1p: 862069
mom2p: 50
rot2p: 5.79e-005
E2p: 865052
mom3p: 75
rot3p: 8.69e-005
E3p: 862069
mom1n: -25
rot1n: -2.9e-005
E1n: 862069
mom2n: -50
rot2n: -5.79e-005
E2n: 865052
mom3n: -75
rot3n: -8.69e-005
E3n: 862069
pinchX: 0.5
pinchY: 0.4
damfc1: 0
damfc2: 0
energyA: 0.00362518
beta: 0
CstateFlag: 0
Cstress: -79.0042
Cstrain: -9.15449e-005
Material1d, tag: 1111, dir: 5
Elastic tag: 1111
Epos: 9.9e+009 Eneg: 9.9e+009 eta: 0

I'm only interested in the "CstateFlag" for the "LimitState Material, tag: 3111", but i need this variable step-by-step in order to stop the analysis when a particular condition has been reached.
Is that possible to record in each step of the analysis the CstateFlag?


Thank you in advance for your help.
Marco
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: CstateFlag

Post by fmk »

i made a slight mod to the code .. if you download the current version you should be able to ask for "stateFlag" from the limitstate material
xantis85
Posts: 18
Joined: Tue Sep 06, 2011 7:54 am
Location: FedericoII

Re: CstateFlag

Post by xantis85 »

Could you please write which command sintax I have to use to ask for stateFlag?

Thank you in advance for your help.
Marco
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: CstateFlag

Post by fmk »

normal element recorder and instead of strain or stress at the end of the command put stateFlag
xantis85
Posts: 18
Joined: Tue Sep 06, 2011 7:54 am
Location: FedericoII

Re: CstateFlag

Post by xantis85 »

I'm trying several combinations for the recorder, but I've no output. If I have a zerolength element with tag 1111 and the tag for shear limit state material associated to this element is 3111, in order to record in real time the CstateFlag, have I to write:

set CstFlag [eleResponse 1111 stateFlag] or set CstFlag [eleResponse 1111 material stateFlag] ?
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: CstateFlag

Post by fmk »

neither .. you need the material # in the command (zeroLength can take multiple materials) if only 1 material

set CstFlag [eleResponse 1111 material 1 stateFlag]
Post Reply