OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cdk6defo3.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/.
23C---+----1----+----2----+----3----+----4----+----5----+----6----+----7--
24!||====================================================================
25!|| cdk6defo3 ../engine/source/elements/sh3n/coquedk6/cdk6defo3.F
26!||--- called by ------------------------------------------------------
27!|| cdk6forc3 ../engine/source/elements/sh3n/coquedk6/cdk6forc3.F
28!||====================================================================
29 SUBROUTINE cdk6defo3(JFT,JLT,VLX,VLY,VLZ,VZ4,VZ5,VZ6,
30 1 PX2,PY2,PX3,PY3,PB1,PB2,PB3,VDEF)
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 D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER JFT, JLT
44 . px2(*),py2(*),px3(*),py3(*),pb1(mvsiz,3,3),pb2(mvsiz,3,3),pb3(mvsiz,3,6),
45 . vlx(mvsiz,2),vly(mvsiz,2),vlz(mvsiz,6),vz4(mvsiz,3),vz5(mvsiz,3),vz6(mvsiz,3),vdef(mvsiz,8)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER I
50 my_real a5,a6,a4
51C-----------------------------------------------
52C
53 DO i=jft,jlt
54 vdef(i,1)=px2(i)*vlx(i,1)+px3(i)*vlx(i,2)
55 vdef(i,2)=py2(i)*vly(i,1)+py3(i)*vly(i,2)
56 vdef(i,3)=px2(i)*vly(i,1)+px3(i)*vly(i,2)
57 . +py2(i)*vlx(i,1)+py3(i)*vlx(i,2)
58 vdef(i,4)=zero
59 vdef(i,5)=zero
60 ENDDO
61C
62 DO i=jft,jlt
63 a5 = pb3(i,1,4)*vz5(i,1)+pb3(i,1,5)*vz5(i,2)
64 . +pb3(i,1,6)*vz5(i,3)
65 a6 = pb3(i,2,4)*vz6(i,1)+pb3(i,2,5)*vz6(i,2)
66 . +pb3(i,2,6)*vz6(i,3)
67 a4 = pb3(i,3,4)*vz4(i,1)+pb3(i,3,5)*vz4(i,2)
68 . +pb3(i,3,6)*vz4(i,3)
69 vdef(i,6)=pb1(i,1,1)*vlz(i,1)+pb1(i,1,2)*vlz(i,2)
70 . +pb1(i,1,3)*vlz(i,3)+pb2(i,1,1)*vlz(i,4)
71 . +pb2(i,1,2)*vlz(i,5)+pb2(i,1,3)*vlz(i,6)
72 . +pb3(i,1,1)*a5+pb3(i,1,2)*a6+pb3(i,1,3)*a4
73 vdef(i,7)=pb1(i,2,1)*vlz(i,1)+pb1(i,2,2)*vlz(i,2)
74 . +pb1(i,2,3)*vlz(i,3)+pb2(i,2,1)*vlz(i,4)
75 . +pb2(i,2,2)*vlz(i,5)+pb2(i,2,3)*vlz(i,6)
76 . +pb3(i,2,1)*a5+pb3(i,2,2)*a6+pb3(i,2,3)*a4
77 vdef(i,8)=pb1(i,3,1)*vlz(i,1)+pb1(i,3,2)*vlz(i,2)
78 . +pb1(i,3,3)*vlz(i,3)+pb2(i,3,1)*vlz(i,4)
79 . +pb2(i,3,2)*vlz(i,5)+pb2(i,3,3)*vlz(i,6)
80 . +pb3(i,3,1)*a5+pb3(i,3,2)*a6+pb3(i,3,3)*a4
81 ENDDO
82C
83 RETURN
84 END
subroutine cdk6defo3(jft, jlt, vlx, vly, vlz, vz4, vz5, vz6, px2, py2, px3, py3, pb1, pb2, pb3, vdef)
Definition cdk6defo3.F:31
#define my_real
Definition cppsort.cpp:32