SPEED
PERFECTLY_PLASTIC.f90
Go to the documentation of this file.
1
! Copyright (C) 2012 The SPEED FOUNDATION
2
! Author: Ilario Mazzieri
3
!
4
! This file is part of SPEED.
5
!
6
! SPEED is free software; you can redistribute it and/or modify it
7
! under the terms of the GNU Affero General Public License as
8
! published by the Free Software Foundation, either version 3 of the
9
! License, or (at your option) any later version.
10
!
11
! SPEED is distributed in the hope that it will be useful, but
12
! WITHOUT ANY WARRANTY; without even the implied warranty of
13
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
! Affero General Public License for more details.
15
!
16
! You should have received a copy of the GNU Affero General Public License
17
! along with SPEED. If not, see <http://www.gnu.org/licenses/>.
18
19
!---------------------Elastic - Perfecty Plastic---------------------------
28
29
subroutine
perfectly_plastic
(E0, s, de, fy)
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
48
end subroutine
perfectly_plastic
perfectly_plastic
subroutine perfectly_plastic(e0, s, de, fy)
Defines stress-strain relation for EPP SDOF oscillator.
Definition
PERFECTLY_PLASTIC.f90:30
speed
PERFECTLY_PLASTIC.f90
Generated by
1.9.8