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!||====================================================================
37 SUBROUTINE r12ke3(JFT ,JLT ,NEL ,MTN ,PM ,
38 1 GEO ,IXR ,X ,ELBUF_TAB,NPF ,
39 2 TF ,SKEW ,OFFSET,FR_WAVE ,IGEO ,
40 3 ETAG , IDDL ,NDOF ,K_DIAG ,K_LT ,
41 4 IADK ,JDIK )
42
43C-----------------------------------------------
44C M o d u l e s
45C-----------------------------------------------
46 USE elbufdef_mod
47C-----------------------------------------------
48C I m p l i c i t T y p e s
49C-----------------------------------------------
50#include "implicit_f.inc"
51C-----------------------------------------------
52C G l o b a l P a r a m e t e r s
53C-----------------------------------------------
54#include "mvsiz_p.inc"
55C-----------------------------------------------
56C C o m m o n B l o c k s
57C-----------------------------------------------
58#include "com04_c.inc"
59#include "param_c.inc"
60C-----------------------------------------------
61C D u m m y A r g u m e n t s
62C-----------------------------------------------
63 INTEGER IXR(NIXR,*), NPF(*),JFT,JLT,OFFSET,NEL ,MTN
64 INTEGER IGEO(*),
65 . ETAG(*),IDDL(*) ,NDOF(*) ,IADK(*) ,JDIK(*)
66
67C REAL
68 my_real dt2t ,
69 . geo(npropg,*),x(*),tf(*),skew(lskew,*),
70 . fr_wave(*),pm(*),ke11(9,mvsiz),ke12(9,mvsiz),ke22(9,mvsiz),
71 . ke33(9,mvsiz),ke13(9,mvsiz),ke23(9,mvsiz),
72 . off(mvsiz),k_diag(*) ,k_lt(*)
73C
74 TYPE (ELBUF_STRUCT_), TARGET:: ELBUF_TAB
75C-----------------------------------------------
76C L o c a l V a r i a b l e s
77C-----------------------------------------------
78C REAL
80 . kx(mvsiz),dkx(mvsiz),ex(mvsiz),ey(mvsiz),ez(mvsiz),
81 . ex2(mvsiz),ey2(mvsiz),ez2(mvsiz),beta(mvsiz)
82 INTEGER PID(MVSIZ),NGL(MVSIZ)
83 INTEGER NB1, NB2, NB3, NB4, NB5, NB6, NB7, NB8, NB9, NB10,
84 . NB11, NB12, NEL3, NEL4,NB15, NB16,NBFI
85C
86 TYPE(g_bufel_) ,POINTER :: GBUF
87C-----------------------------------------------
88 gbuf => elbuf_tab%GBUF
89C
90c NB1 =1
91c NB2 =NB1 + NEL
92c NB1 =NB1 + OFFSET
93c NEL3 = 3 * NEL
94c NEL4 = 4 * NEL
95C
96C=======================================================================
97c NB3 =NB2 + NEL
98c NB4 =NB3 + NEL
99c NB5 =NB4 + NEL
100c IF (SCODVER<101) THEN
101c NB6 =NB5 + NEL
102c ELSE
103c NB6 =NB5 + 2*NEL
104c END IF
105c NB7 =NB6 + NEL
106c NB8 =NB7 + NEL
107c NB15 =NB8 + NEL
108c NBFI=NB15 + NEL4
109C......EVENTUELS SUPER-GROUPES OFFSETTING
110c NB2 =NB2 + OFFSET
111c NB3 =NB3 + OFFSET
112c NB4 =NB4 + OFFSET
113c NB5 =NB5 + OFFSET
114c NB6 =NB6 + OFFSET
115c NB7 =NB7 + OFFSET
116c NB8 =NB8 + OFFSET
117c NB15 =NB15 + 4 * OFFSET
118 CALL r3coork3(jft ,jlt ,x ,ixr ,pid ,
119 1 ngl ,ex ,ey ,ez ,ex2 ,
120 2 ey2 ,ez2 ,beta ,gbuf%OFF,off )
121 CALL r12mat3(jft ,jlt ,geo ,kx ,pid ,
122 1 dkx ,beta ,gbuf%LENGTH,gbuf%FOR,gbuf%TOTDEPL,
123 2 tf ,npf ,gbuf%POSX,igeo )
124C-------------------------
125C MATRICE de RIGIDITE
126C-------------------------
127 CALL r12sumg3(jft ,jlt ,kx ,dkx ,ex ,
128 1 ey ,ez ,ex2 ,ey2 ,ez2 ,
129 2 ke11 ,ke12 ,ke13 ,ke22 ,ke23 ,
130 3 ke33 )
131C-----------------------------------------------\
132
133 IF (neig>0) CALL eleoff(
134 1 jft, jlt, ixr,nixr ,3 , etag, off)
135 CALL assem_r3(nixr ,3 ,
136 1 ixr ,nel ,iddl ,ndof ,k_diag ,
137 2 k_lt ,iadk ,jdik ,ke11 ,ke12 ,
138 3 ke13 ,ke22 ,ke23 ,ke33 ,off )
139
140 RETURN
141 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:42
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:31