OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cdkdefo3.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!|| cdkdefo3 ../engine/source/elements/sh3n/coquedk/cdkdefo3.F
25!||--- called by ------------------------------------------------------
26!|| cdkforc3 ../engine/source/elements/sh3n/coquedk/cdkforc3.F
27!||====================================================================
28 SUBROUTINE cdkdefo3(JFT,JLT,VLX,VLY,PX2,PY2,PX3,PY3,
29 1 EXX,EYY,EXY,EXZ,EYZ,DT1,EPSDOT,NFT,
30 2 ISTRAIN,GSTR,VDEF,NEL)
31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C G l o b a l P a r a m e t e r s
37C-----------------------------------------------
38#include "mvsiz_p.inc"
39C-----------------------------------------------
40C C o m m o n B l o c k s
41C-----------------------------------------------
42#include "scr14_c.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46C ds007 18/2/00 +1
47 INTEGER JFT, JLT,NFT,ISTRAIN,NEL
48C REAL
50 . px2(*), py2(*), px3(*), py3(*),
51 . vlx(mvsiz,2),vly(mvsiz,2),exx(*),eyy(*),exy(*),exz(*),eyz(*),
52 . gstr(nel,8),epsdot(6,*),vdef(mvsiz,8),dt1
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER I, J
57C REAL
58C my_real
59C . DT1V4, TMP1, TMP2, TMP3,
60C . DT1V4B,TMP11,TMP22,VX10,VX20,VX30
61C-----------------------------------------------
62C
63 DO i=jft,jlt
64 vdef(i,1)=px2(i)*vlx(i,1)+px3(i)*vlx(i,2)
65 vdef(i,2)=py2(i)*vly(i,1)+py3(i)*vly(i,2)
66C
67 vdef(i,3)=px2(i)*vly(i,1)+px3(i)*vly(i,2)+
68 . py2(i)*vlx(i,1)+py3(i)*vlx(i,2)
69 exz(i)=zero
70 eyz(i)=zero
71 ENDDO
72C
73 IF(iepsdot/=0)THEN
74 DO i=jft,jlt
75 j = i + nft
76 epsdot(1,j)=vdef(i,1)
77 epsdot(2,j)=vdef(i,2)
78 epsdot(3,j)=vdef(i,3)
79 ENDDO
80 ENDIF
81C
82 DO i=jft,jlt
83 exx(i)=vdef(i,1)*dt1
84 eyy(i)=vdef(i,2)*dt1
85 exy(i)=vdef(i,3)*dt1
86 ENDDO
87C
88 IF(istrain/=0)THEN
89 DO i=jft,jlt
90 gstr(i,1)=gstr(i,1)+exx(i)
91 gstr(i,2)=gstr(i,2)+eyy(i)
92 gstr(i,3)=gstr(i,3)+exy(i)
93 ENDDO
94 ENDIF
95C
96 RETURN
97 END
98!||====================================================================
99!|| cdkcurv3 ../engine/source/elements/sh3n/coquedk/cdkdefo3.F
100!||--- called by ------------------------------------------------------
101!|| cdkforc3 ../engine/source/elements/sh3n/coquedk/cdkforc3.F
102!||====================================================================
103 SUBROUTINE cdkcurv3(JFT,JLT,BZ1,BZ2,BZ3,BRX1,BRX2,BRX3,BRY1,
104 1 BRY2,BRY3,VLZ,RLX,RLY,KXX, KYY, KXY)
105C-----------------------------------------------
106C I m p l i c i t T y p e s
107C-----------------------------------------------
108#include "implicit_f.inc"
109C-----------------------------------------------
110C G l o b a l P a r a m e t e r s
111C-----------------------------------------------
112#include "mvsiz_p.inc"
113C-----------------------------------------------
114C D u m m y A r g u m e n t s
115C-----------------------------------------------
116 INTEGER JFT, JLT
117 my_real
118 . BZ1(MVSIZ,2),BZ2(MVSIZ,2),BZ3(MVSIZ,2), BRX1(MVSIZ,3),
119 . brx2(mvsiz,3),brx3(mvsiz,3),bry1(mvsiz,3),bry2(mvsiz,3),bry3(mvsiz,3),
120 . vlz(mvsiz,2),rlx(mvsiz,3),rly(mvsiz,3),kxx(*),kyy(*),kxy(*)
121C-----------------------------------------------
122C L o c a l V a r i a b l e s
123C-----------------------------------------------
124 INTEGER I
125C-----------------------------------------------
126C
127 DO i=jft,jlt
128 kxx(i)=bz1(i,1)*vlz(i,1)+bz1(i,2)*vlz(i,2)+
129 . brx1(i,1)*rlx(i,1)+brx1(i,2)*rlx(i,2)+brx1(i,3)*rlx(i,3)+
130 . bry1(i,1)*rly(i,1)+bry1(i,2)*rly(i,2)+bry1(i,3)*rly(i,3)
131C
132 kyy(i)=bz2(i,1)*vlz(i,1)+bz2(i,2)*vlz(i,2)+
133 . brx2(i,1)*rlx(i,1)+brx2(i,2)*rlx(i,2)+brx2(i,3)*rlx(i,3)+
134 . bry2(i,1)*rly(i,1)+bry2(i,2)*rly(i,2)+bry2(i,3)*rly(i,3)
135C
136 kxy(i)=bz3(i,1)*vlz(i,1)+bz3(i,2)*vlz(i,2)+
137 . brx3(i,1)*rlx(i,1)+brx3(i,2)*rlx(i,2)+brx3(i,3)*rlx(i,3)+
138 . bry3(i,1)*rly(i,1)+bry3(i,2)*rly(i,2)+bry3(i,3)*rly(i,3)
139 ENDDO
140C
141 RETURN
142 END
subroutine cdkdefo3(jft, jlt, vlx, vly, px2, py2, px3, py3, exx, eyy, exy, exz, eyz, dt1, epsdot, nft, istrain, gstr, vdef, nel)
Definition cdkdefo3.F:31
subroutine cdkcurv3(jft, jlt, bz1, bz2, bz3, brx1, brx2, brx3, bry1, bry2, bry3, vlz, rlx, rly, kxx, kyy, kxy)
Definition cdkdefo3.F:105
#define my_real
Definition cppsort.cpp:32