OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sigeps34t.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| sigeps34t ../engine/source/materials/mat/mat034/sigeps34t.F
25!||--- called by ------------------------------------------------------
26!|| tforc3 ../engine/source/elements/truss/tforc3.F
27!||====================================================================
28 SUBROUTINE sigeps34t(NEL ,NGL ,MAT ,PID ,UPARAM ,
29 . IPM ,GEO ,OFF ,FOR ,STI ,
30 . EINT ,AREA ,AL0 ,AL ,EPSP ,
31 . NUVAR ,UVAR )
32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C C o m m o n B l o c k s
38C-----------------------------------------------
39#include "param_c.inc"
40#include "com04_c.inc"
41#include "com08_c.inc"
42#include "comlock.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 INTEGER ,INTENT(IN) :: NEL,NUVAR
47 INTEGER ,DIMENSION(NEL) ,INTENT(IN) :: MAT,PID,NGL
48 INTEGER ,DIMENSION(NPROPMI,NUMMAT) ,INTENT(IN) :: IPM
49 my_real ,DIMENSION(NPROPG ,NUMGEO) ,INTENT(IN) :: geo
50 my_real ,DIMENSION(*) ,INTENT(IN) :: uparam
51 my_real ,DIMENSION(NEL) :: off,for,eint,area,al0,al,sti,epsp
52 my_real ,DIMENSION(NEL,NUVAR) :: uvar
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER :: I,J,IADBUF,NINDX
57 INTEGER ,DIMENSION(NEL) :: INDX,ICC,ISRATE,VFLAG
58 my_real :: K3,NU2,DSIG,H01,H02,H1,H2,SV,DDEXX,DEPSDXX,
59 . dexx,depsvxx,dp
60 my_real, DIMENSION(NEL) :: bulk,g_ins,g_inf,ge,ge2,gv,gv2,beta,
61 . deps,gap,eps,c1,c2
62c=======================================================================
63 DO i=1,nel
64 iadbuf = ipm(7,mat(i))-1
65 bulk(i) = uparam(iadbuf+1)
66 g_ins(i) = uparam(iadbuf+2)
67 g_inf(i) = uparam(iadbuf+3)
68 beta(i) = uparam(iadbuf+4)
69 gap(i) = geo(2,pid(i))
70 ENDDO
71c
72 ge(1:nel) = g_inf(1:nel) ! elastic part of shear modulus
73 gv(1:nel) = g_ins(1:nel)-g_inf(1:nel) ! viscous part of shear modulus
74 ge2(1:nel) = ge(1:nel) * two
75 gv2(1:nel) = gv(1:nel) * two
76 c1(1:nel) = one - exp(-beta(1:nel)*dt1)
77 c2(1:nel) =-c1(1:nel) / beta(1:nel)
78c
79 deps(1:nel) = epsp(1:nel) * dt1 ! strain increment
80 eps(1:nel) = uvar(1:nel,2) + deps(1:nel) ! total normal strain
81 uvar(1:nel,2) = eps(1:nel)
82c
83 DO i=1,nel
84 IF (gap(i) > zero .AND. al(i) <= (al0(i)-gap(i))) off(i)=one
85 ENDDO
86c
87 DO i=1,nel
88 k3 = bulk(i)*three
89 nu2 = (k3 - ge2(i)) / (k3 + ge(i))
90 nu2 = max(nu2, one)
91 eint(i) = eint(i) + for(i)*deps(i)*al(i)*half
92 area(i) = area(i)*(one - nu2*deps(i)*off(i))
93 sti(i) = k3
94 ENDDO
95c
96 DO i=1,nel
97 ddexx = deps(i)*two_third ! strain increment deviator
98 depsdxx = two_third*epsp(i)
99 dexx = two_third*eps(i)
100 !
101 depsvxx = c1(i)*(dexx - uvar(i,1)) + c2(i)*depsdxx
102 dp = bulk(i)*deps(i)
103 !!
104 dsig = ge2(i)*ddexx - gv2(i)*depsvxx + dp
105 for(i) = for(i) + dsig * area(i)
106 sti(i) = max(sti(i), abs(dsig / max(ddexx,em20)))
107 sti(i) = sti(i)*off(i)
108 for(i) = for(i)*off(i)
109 uvar(i,1) = uvar(i,1) + depsvxx + ddexx
110 END DO
111c
112 DO i=1,nel
113 eint(i) = eint(i) + for(i)*deps(i)*al(i)*half
114 ENDDO
115c-----------
116 RETURN
117 END
#define my_real
Definition cppsort.cpp:32
subroutine area(d1, x, x2, y, y2, eint, stif0)
#define max(a, b)
Definition macros.h:21
for(i8=*sizetab-1;i8 >=0;i8--)
subroutine sigeps34t(nel, ngl, mat, pid, uparam, ipm, geo, off, for, sti, eint, area, al0, al, epsp, nuvar, uvar)
Definition sigeps34t.F:32