OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
q4kep2.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!|| q4kep2 ../engine/source/elements/solid_2d/quad4/q4kep2.F
25!||--- called by ------------------------------------------------------
26!|| q4ke2 ../engine/source/elements/solid_2d/quad4/q4ke2.F
27!||--- calls -----------------------------------------------------
28!|| q4kepij2 ../engine/source/elements/solid_2d/quad4/q4kepij2.F
29!||====================================================================
30 SUBROUTINE q4kep2(
31 1 PY1, PY2, PZ1, PZ2,
32 2 AY, R22, R23, K11,
33 3 K12, K13, K14, K22,
34 4 K23, K24, K33, K34,
35 5 K44, HH, AIR, FAC,
36 6 ICP, OFF, NEL, JCVT)
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C G l o b a l P a r a m e t e r s
43C-----------------------------------------------
44#include "mvsiz_p.inc"
45C-----------------------------------------------
46C C o m m o n B l o c k s
47C-----------------------------------------------
48C-----------------------------------------------
49C D u m m y A r g u m e n t s
50C-----------------------------------------------
51 INTEGER, INTENT(IN) :: JCVT
52 INTEGER, INTENT(IN) :: NEL
53 INTEGER ICP
54 my_real
55 . PY1(*), PY2(*), PZ1(*), PZ2(*), AY(*), R22(*), R23(*),
56 . K11(2,2,*), K12(2,2,*), K13(2,2,*), K14(2,2,*), K22(2,2,*),
57 . k23(2,2,*), k24(2,2,*), k33(2,2,*), k34(2,2,*), k44(2,2,*),
58 . hh(2,*), air(*), fac(*), off(*)
59C-----------------------------------------------
60C L o c a l V a r i a b l e s
61C-----------------------------------------------
62 INTEGER I, J, IS
63 my_real
64 . BH(MVSIZ),
65 . PY3(MVSIZ), PY4(MVSIZ), PZ3(MVSIZ), PZ4(MVSIZ)
66C-----------------------------------------------
67C S o u r c e L i n e s
68C-----------------------------------------------
69 DO i=1,nel
70 py3(i) = -py1(i)
71 py4(i) = -py2(i)
72 pz3(i) = -pz1(i)
73 pz4(i) = -pz2(i)
74 ENDDO
75C
76 IF (icp==1) THEN
77 DO i=1,nel
78 bh(i) = (hh(1,i)+two_third*hh(2,i))*air(i)
79 ENDDO
80 ELSE
81 DO i=1,nel
82 bh(i) = (hh(1,i)*fac(i)+two_third*hh(2,i)*(one-fac(i)))*air(i)
83 ENDDO
84 ENDIF
85C
86 is = 1
87 CALL q4kepij2(
88 1 py1, pz1, py1, pz1,
89 2 ay, r22, r23, bh,
90 3 k11, nel, jcvt)
91 CALL q4kepij2(
92 1 py2, pz2, py2, pz2,
93 2 ay, r22, r23, bh,
94 3 k22, nel, jcvt)
95 CALL q4kepij2(
96 1 py3, pz3, py3, pz3,
97 2 ay, r22, r23, bh,
98 3 k33, nel, jcvt)
99 CALL q4kepij2(
100 1 py4, pz4, py4, pz4,
101 2 ay, r22, r23, bh,
102 3 k44, nel, jcvt)
103 is = 0
104 CALL q4kepij2(
105 1 py1, pz1, py2, pz2,
106 2 ay, r22, r23, bh,
107 3 k12, nel, jcvt)
108 CALL q4kepij2(
109 1 py1, pz1, py3, pz3,
110 2 ay, r22, r23, bh,
111 3 k13, nel, jcvt)
112 CALL q4kepij2(
113 1 py1, pz1, py4, pz4,
114 2 ay, r22, r23, bh,
115 3 k14, nel, jcvt)
116 CALL q4kepij2(
117 1 py2, pz2, py3, pz3,
118 2 ay, r22, r23, bh,
119 3 k23, nel, jcvt)
120 CALL q4kepij2(
121 1 py2, pz2, py4, pz4,
122 2 ay, r22, r23, bh,
123 3 k24, nel, jcvt)
124 CALL q4kepij2(
125 1 py3, pz3, py4, pz4,
126 2 ay, r22, r23, bh,
127 3 k34, nel, jcvt)
128C
129 RETURN
130 END
subroutine q4kep2(py1, py2, pz1, pz2, ay, r22, r23, k11, k12, k13, k14, k22, k23, k24, k33, k34, k44, hh, air, fac, icp, off, nel, jcvt)
Definition q4kep2.F:37
subroutine q4kepij2(pyi, pzi, pyj, pzj, ay, r22, r23, bh, kij, nel, jcvt)
Definition q4kepij2.F:32