OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
r4ke3.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!|| r4ke3 ../engine/source/elements/spring/r4ke3.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_p ../engine/source/implicit/assem_p.F
30!|| peoff ../engine/source/elements/beam/peoff.F
31!|| r1coork3 ../engine/source/elements/spring/r1coork3.F
32!|| r4mat3 ../engine/source/elements/spring/r4mat3.F
33!|| r4sumg3 ../engine/source/elements/spring/r4sumg3.F
34!|| tkeg3 ../engine/source/elements/truss/tkeg3.F
35!||--- uses -----------------------------------------------------
36!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
37!||====================================================================
38 SUBROUTINE r4ke3(JFT ,JLT ,NEL ,MTN ,PM ,
39 1 GEO ,IXR ,X ,ELBUF_TAB,NPF ,
40 2 TF ,SKEW ,OFFSET,FR_WAVE,
41 3 IKGEO ,IGEO ,
42 4 ETAG , IDDL ,NDOF ,K_DIAG ,K_LT ,
43 5 IADK ,JDIK )
44C-----------------------------------------------
45C M o d u l e s
46C-----------------------------------------------
47 USE elbufdef_mod
48C-----------------------------------------------
49C I m p l i c i t T y p e s
50C-----------------------------------------------
51#include "implicit_f.inc"
52C-----------------------------------------------
53C G l o b a l P a r a m e t e r s
54C-----------------------------------------------
55#include "mvsiz_p.inc"
56C-----------------------------------------------
57C C o m m o n B l o c k s
58C-----------------------------------------------
59#include "com04_c.inc"
60#include "param_c.inc"
61C-----------------------------------------------
62C D u m m y A r g u m e n t s
63C-----------------------------------------------
64 INTEGER IXR(NIXR,*), NPF(*),JFT,JLT,OFFSET,NEL,MTN,IKGEO
65 INTEGER IGEO(*),
66 . ETAG(*),IDDL(*) ,NDOF(*) ,IADK(*) ,JDIK(*)
67
68C REAL
69 my_real dt2t ,
70 . geo(npropg,*),x(*),tf(*),skew(lskew,*),
71 . fr_wave(*),pm(*),ke11(9,mvsiz),ke12(9,mvsiz),ke22(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 . al(mvsiz),kx(mvsiz),ex(mvsiz),ey(mvsiz),ez(mvsiz)
81 INTEGER PID(MVSIZ),NGL(MVSIZ)
82 INTEGER NB1, NB2, NB3, NB4, NB5, NB6, NB7, NB8, NB9, NB10,
83 . NB11, NB12, NEL3, NEL4,NB15, NB16,NBFI
84C
85 TYPE(g_bufel_) ,POINTER :: GBUF
86C-----------------------------------------------
87 gbuf => elbuf_tab%GBUF
88C
89C I0 = IXR(1,1)
90C IGTYP = NINT(GEO(12,I0))
91c NB1 =1
92c NB2 =NB1 + NEL
93c NB1 =NB1 + OFFSET
94c NEL3 = 3 * NEL
95c NEL4 = 4 * NEL
96C
97C=======================================================================
98c NB3 =NB2 + NEL
99c NB4 =NB3 + NEL
100c NB5 =NB4 + NEL
101c IF (SCODVER<101) THEN
102c NB6 =NB5 + NEL
103c ELSE
104c NB6 =NB5 + 2*NEL
105c ENDIF
106c NB7 =NB6 + NEL
107c NB8 =NB7 + NEL
108c NB15 =NB8 + NEL
109c NBFI=NB15 + NEL4
110cC......EVENTUELS SUPER-GROUPES OFFSETTING
111c NB2 =NB2 + OFFSET
112c NB3 =NB3 + OFFSET
113c NB4 =NB4 + OFFSET
114c NB5 =NB5 + OFFSET
115c NB6 =NB6 + OFFSET
116c NB7 =NB7 + OFFSET
117c NB8 =NB8 + OFFSET
118c NB15 =NB15 + 4 * OFFSET
119 CALL r1coork3(jft ,jlt ,x ,ixr ,pid ,
120 1 ngl ,al ,ex ,ey ,ez ,
121 2 gbuf%OFF,off )
122 CALL r4mat3(jft ,jlt ,geo ,kx ,pid ,
123 1 gbuf%LENGTH,gbuf%FOR,gbuf%TOTDEPL,tf ,npf ,
124 2 gbuf%POSX,igeo )
125C-------------------------
126C MATRICE de RIGIDITE
127C-------------------------
128 CALL r4sumg3(jft ,jlt ,al ,kx ,ex ,
129 1 ey ,ez ,ke11 ,ke12 ,ke22 )
130 IF (ikgeo==1) CALL tkeg3(jft ,jlt ,
131 1 gbuf%FOR ,al ,ke11 ,ke12 ,ke22 )
132
133
134 IF (neig>0) CALL peoff(
135 1 nixr, jft, jlt, ixr , etag,
136 2 off )
137 CALL assem_p(nixr,3 ,
138 1 ixr ,nel ,iddl ,ndof ,k_diag ,
139 2 k_lt ,iadk ,jdik ,ke11 ,ke12 ,
140 3 ke22 ,off )
141C-----------------------------------------------
142 RETURN
143 END
subroutine assem_p(nixpl, nd, ixp, nel, iddl, ndof, k_diag, k_lt, iadk, jdik, kc11, kc12, kc22, off)
Definition assem_p.F:40
#define my_real
Definition cppsort.cpp:32
subroutine peoff(nixpl, jft, jlt, ixp, etag, off)
Definition peoff.F:35
subroutine r1coork3(jft, jlt, x, ncc, pid, ngl, al, r11, r21, r31, offg, off)
Definition r1coork3.F:32
subroutine r4ke3(jft, jlt, nel, mtn, pm, geo, ixr, x, elbuf_tab, npf, tf, skew, offset, fr_wave, ikgeo, igeo, etag, iddl, ndof, k_diag, k_lt, iadk, jdik)
Definition r4ke3.F:44
subroutine r4mat3(jft, jlt, geo, kx, mgn, al0, fx, dx, tf, npf, pos, igeo)
Definition r4mat3.F:33
subroutine r4sumg3(jft, jlt, al, kx, r11, r21, r31, ke11, ke12, ke22)
Definition r4sumg3.F:32
subroutine tkeg3(jft, jlt, fx, al, ke11, ke12, ke22)
Definition tkeg3.F:32