OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cdkfint3.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!|| cdkfint3 ../engine/source/elements/sh3n/coquedk/cdkfint3.F
25!||--- called by ------------------------------------------------------
26!|| cdkforc3 ../engine/source/elements/sh3n/coquedk/cdkforc3.F
27!||====================================================================
28 SUBROUTINE cdkfint3(JFT,JLT,VOL,THK0,FOR,MOM,
29 1 PX2,PY2,PX3,PY3,
30 2 BZ1,BZ2,BZ3,
31 3 BRX1,BRX2,BRX3,BRY1,BRY2,BRY3,
32 4 F11,F12,F13,F21,F22,F23,F32,F33,
33 5 M11,M12,M13,M21,M22,M23,
34 6 NEL)
35C--------------------------------------------------------------------------------------------------
36C-----------------------------------------------
37C I M P L I C I T T Y P E S
38C-----------------------------------------------
39#include "implicit_f.inc"
40#include "mvsiz_p.inc"
41C-----------------------------------------------
42C D U M M Y A R G U M E N T S
43C-----------------------------------------------
44 INTEGER JFT,JLT,NG,NEL
45 MY_REAL
46 . FOR(NEL,5),MOM(NEL,3),
47 . PX2(*), PY2(*), PX3(*), PY3(*),
48 . BRX1(MVSIZ,3),BRX2(MVSIZ,3),BRX3(MVSIZ,3),BRY1(MVSIZ,3),BRY2(MVSIZ,3),BRY3(MVSIZ,3),
49 . BZ1(MVSIZ,2),BZ2(MVSIZ,2),BZ3(MVSIZ,2),
50 . f11(*), f12(*), f13(*),
51 . f21(*), f22(*), f23(*), f32(*), f33(*),
52 . m11(*), m12(*), m13(*),
53 . m21(*), m22(*), m23(*),
54 . thk0(*),vol(*)
55C-----------------------------------------------
56C L O C A L V A R I A B L E S
57C-----------------------------------------------
58 INTEGER I
59 MY_REAL
60 . C2,FX2,FX3,FY2,FY3
61C--------------------------------------------------------------------------------------------------
62 DO I=jft,jlt
63 c2=vol(i)
64 fx2 =c2*(px2(i)*for(i,1)+py2(i)*for(i,3))
65 fy2 =c2*(py2(i)*for(i,2)+px2(i)*for(i,3))
66 fx3 =c2*(px3(i)*for(i,1)+py3(i)*for(i,3))
67 fy3 =c2*(py3(i)*for(i,2)+px3(i)*for(i,3))
68 f12(i)=f12(i)+fx2
69 f22(i)=f22(i)+fy2
70 f13(i)=f13(i)+fx3
71 f23(i)=f23(i)+fy3
72C F11(I)=F11(I)-FX2-FX3
73C F21(I)=F21(I)-FY2-FY3
74 ENDDO
75 DO i=jft,jlt
76 c2=vol(i)*thk0(i)
77 f32(i)=f32(i)+c2*(bz1(i,1)*mom(i,1)+bz2(i,1)*mom(i,2)+
78 . bz3(i,1)*mom(i,3))
79 f33(i)=f33(i)+c2*(bz1(i,2)*mom(i,1)+bz2(i,2)*mom(i,2)+
80 . bz3(i,2)*mom(i,3))
81 m11(i)=m11(i)+c2*(brx1(i,1)*mom(i,1)+brx2(i,1)*mom(i,2)+
82 . brx3(i,1)*mom(i,3))
83 m21(i)=m21(i)+c2*(bry1(i,1)*mom(i,1)+bry2(i,1)*mom(i,2)+
84 . bry3(i,1)*mom(i,3))
85 m12(i)=m12(i)+c2*(brx1(i,2)*mom(i,1)+brx2(i,2)*mom(i,2)+
86 . brx3(i,2)*mom(i,3))
87 m22(i)=m22(i)+c2*(bry1(i,2)*mom(i,1)+bry2(i,2)*mom(i,2)+
88 . bry3(i,2)*mom(i,3))
89 m13(i)=m13(i)+c2*(brx1(i,3)*mom(i,1)+brx2(i,3)*mom(i,2)+
90 . brx3(i,3)*mom(i,3))
91 m23(i)=m23(i)+c2*(bry1(i,3)*mom(i,1)+bry2(i,3)*mom(i,2)+
92 . bry3(i,3)*mom(i,3))
93 ENDDO
94C
95 RETURN
96 END
subroutine cdkfint3(jft, jlt, vol, thk0, for, mom, px2, py2, px3, py3, bz1, bz2, bz3, brx1, brx2, brx3, bry1, bry2, bry3, f11, f12, f13, f21, f22, f23, f32, f33, m11, m12, m13, m21, m22, m23, nel)
Definition cdkfint3.F:35