SPEED
PERFECTLY_PLASTIC.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine perfectly_plastic (e0, s, de, fy)
 Defines stress-strain relation for EPP SDOF oscillator.
 

Function/Subroutine Documentation

◆ perfectly_plastic()

subroutine perfectly_plastic ( real*8  e0,
real*8  s,
real*8  de,
real*8  fy 
)

Defines stress-strain relation for EPP SDOF oscillator.

Author
Aline Herlin
Date
January, 2021
Version
1.0
Parameters
[out]sforce developed in the SDOF system
[in]devariation of the displacement wrt previous time step
[in]E0stiffness (force-displ ratio)
[in]fyyield strength

Definition at line 29 of file PERFECTLY_PLASTIC.f90.

30
31 implicit none
32
33 real*8 :: e0, de, s, s0, fy, temp
34
35 s0 = s
36 if (s0.ge.-fy .and. s0.le.fy) then
37 temp = s0 + e0 * de
38 if ((temp.ge.-fy).and.(temp.le.fy)) then
39 s = temp
40 elseif (temp.lt.-fy) then
41 s = -fy
42 elseif (temp.gt.fy) then
43 s = fy
44 endif
45 endif
46
47 return

Referenced by sdof_shear_model().

Here is the caller graph for this function: