OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
r12ke3.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!|| r12ke3 ../engine/source/elements/spring/r12ke3.F
25!||--- called by ------------------------------------------------------
26!|| imp_glob_k ../engine/source/implicit/imp_glob_k.F
27!|| imp_glob_k0 ../engine/source/implicit/imp_glob_k.F
28!||--- calls -----------------------------------------------------
29!|| assem_r3 ../engine/source/implicit/assem_r3.F
30!|| eleoff ../engine/source/implicit/imp_glob_k.F
31!|| r12mat3 ../engine/source/elements/spring/r12mat3.F
32!|| r12sumg3 ../engine/source/elements/spring/r12sumg3.F
33!|| r3coork3 ../engine/source/elements/spring/r3coork3.F
34!||--- uses -----------------------------------------------------
35!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
36!|| element_mod ../common_source/modules/elements/element_mod.F90
37!||====================================================================
38 SUBROUTINE r12ke3(JFT ,JLT ,NEL ,MTN ,PM ,
39 1 GEO ,IXR ,X ,ELBUF_TAB,NPF ,
40 2 TF ,SKEW ,OFFSET,FR_WAVE ,IGEO ,
41 3 ETAG , IDDL ,NDOF ,K_DIAG ,K_LT ,
42 4 IADK ,JDIK )
43
44C-----------------------------------------------
45C M o d u l e s
46C-----------------------------------------------
47 USE elbufdef_mod
48 use element_mod , only : nixr
49C-----------------------------------------------
50C I m p l i c i t T y p e s
51C-----------------------------------------------
52#include "implicit_f.inc"
53C-----------------------------------------------
54C G l o b a l P a r a m e t e r s
55C-----------------------------------------------
56#include "mvsiz_p.inc"
57C-----------------------------------------------
58C C o m m o n B l o c k s
59C-----------------------------------------------
60#include "com04_c.inc"
61#include "param_c.inc"
62C-----------------------------------------------
63C D u m m y A r g u m e n t s
64C-----------------------------------------------
65 INTEGER IXR(NIXR,*), NPF(*),JFT,JLT,OFFSET,NEL ,MTN
66 INTEGER IGEO(*),
67 . ETAG(*),IDDL(*) ,NDOF(*) ,IADK(*) ,JDIK(*)
68
69C REAL
71 . geo(npropg,*),x(*),tf(*),skew(lskew,*),
72 . fr_wave(*),pm(*),ke11(9,mvsiz),ke12(9,mvsiz),ke22(9,mvsiz),
73 . ke33(9,mvsiz),ke13(9,mvsiz),ke23(9,mvsiz),
74 . off(mvsiz),k_diag(*) ,k_lt(*)
75C
76 TYPE (ELBUF_STRUCT_), TARGET:: ELBUF_TAB
77C-----------------------------------------------
78C L o c a l V a r i a b l e s
79C-----------------------------------------------
80C REAL
82 . kx(mvsiz),dkx(mvsiz),ex(mvsiz),ey(mvsiz),ez(mvsiz),
83 . ex2(mvsiz),ey2(mvsiz),ez2(mvsiz),beta(mvsiz)
84 INTEGER PID(MVSIZ),NGL(MVSIZ)
85 TYPE(g_bufel_) ,POINTER :: GBUF
86C-----------------------------------------------
87 GBUF => elbuf_tab%GBUF
88C
89c NB1 =1
90c NB2 =NB1 + NEL
91c NB1 =NB1 + OFFSET
92c NEL3 = 3 * NEL
93c NEL4 = 4 * NEL
94C
95C=======================================================================
96c NB3 =NB2 + NEL
97c NB4 =NB3 + NEL
98c NB5 =NB4 + NEL
99c IF (SCODVER<101) THEN
100c NB6 =NB5 + NEL
101c ELSE
102c NB6 =NB5 + 2*NEL
103c END IF
104c NB7 =NB6 + NEL
105c NB8 =NB7 + NEL
106c NB15 =NB8 + NEL
107c NBFI=NB15 + NEL4
108C......EVENTUELS SUPER-GROUPES OFFSETTING
109c NB2 =NB2 + OFFSET
110c NB3 =NB3 + OFFSET
111c NB4 =NB4 + OFFSET
112c NB5 =NB5 + OFFSET
113c NB6 =NB6 + OFFSET
114c NB7 =NB7 + OFFSET
115c NB8 =NB8 + OFFSET
116c NB15 =NB15 + 4 * OFFSET
117 CALL r3coork3(jft ,jlt ,x ,ixr ,pid ,
118 1 ngl ,ex ,ey ,ez ,ex2 ,
119 2 ey2 ,ez2 ,beta ,gbuf%OFF,off )
120 CALL r12mat3(jft ,jlt ,geo ,kx ,pid ,
121 1 dkx ,beta ,gbuf%LENGTH,gbuf%FOR,gbuf%TOTDEPL,
122 2 tf ,npf ,gbuf%POSX,igeo )
123C-------------------------
124C STIFFNESS MATRIX
125C-------------------------
126 CALL r12sumg3(jft ,jlt ,kx ,dkx ,ex ,
127 1 ey ,ez ,ex2 ,ey2 ,ez2 ,
128 2 ke11 ,ke12 ,ke13 ,ke22 ,ke23 ,
129 3 ke33 )
130C-----------------------------------------------\
131
132 IF (neig>0) CALL eleoff(
133 1 jft, jlt, ixr,nixr ,3 , etag, off)
134 CALL assem_r3(nixr ,3 ,
135 1 ixr ,nel ,iddl ,ndof ,k_diag ,
136 2 k_lt ,iadk ,jdik ,ke11 ,ke12 ,
137 3 ke13 ,ke22 ,ke23 ,ke33 ,off )
138
139 RETURN
140 END
subroutine assem_r3(nix, ndl, ix, nel, iddl, ndof, k_diag, k_lt, iadk, jdik, k11, k12, k13, k22, k23, k33, off)
Definition assem_r3.F:35
#define my_real
Definition cppsort.cpp:32
subroutine eleoff(jft, jlt, ix, nix, nn, etag, off)
subroutine r12ke3(jft, jlt, nel, mtn, pm, geo, ixr, x, elbuf_tab, npf, tf, skew, offset, fr_wave, igeo, etag, iddl, ndof, k_diag, k_lt, iadk, jdik)
Definition r12ke3.F:43
subroutine r12mat3(jft, jlt, geo, kx, mgn, dkx, beta, al0, fx, dx, tf, npf, pos, igeo)
Definition r12mat3.F:33
subroutine r12sumg3(jft, jlt, kx, dkx, r11, r21, r31, r12, r22, r32, ke11, ke12, ke13, ke22, ke23, ke33)
Definition r12sumg3.F:32
subroutine r3coork3(jft, jlt, x, ncc, pid, ngl, r11, r21, r31, r12, r22, r32, beta, offg, off)
Definition r3coork3.F:33