OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sdlen_dege.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!|| sdlen_dege ../engine/source/elements/solid/solide/sdlen_dege.F
25!||--- called by ------------------------------------------------------
26!|| s8cforc3 ../engine/source/elements/thickshell/solide8c/s8cforc3.F
27!|| s8eforc3 ../engine/source/elements/solid/solide8e/s8eforc3.F
28!|| s8sforc3 ../engine/source/elements/solid/solide8s/s8sforc3.f
29!|| s8zforc3 ../engine/source/elements/solid/solide8z/s8zforc3.F
30!|| sdlen8 ../engine/source/elements/solid/solidez/sdlen8.F
31!||--- calls -----------------------------------------------------
32!|| degenes8 ../engine/source/elements/solid/solide/degenes8.F
33!|| deges4v ../engine/source/elements/solid/solide/deges4v.F
34!|| idege8 ../engine/source/elements/solid/solide/idege8.F
35!||--- uses -----------------------------------------------------
36!|| element_mod ../common_source/modules/elements/element_mod.F90
37!||====================================================================
38 SUBROUTINE sdlen_dege(
39 1 VOLG, LAT, X1, X2,
40 2 X3, X4, X5, X6,
41 3 X7, X8, Y1, Y2,
42 4 Y3, Y4, Y5, Y6,
43 5 Y7, Y8, Z1, Z2,
44 6 Z3, Z4, Z5, Z6,
45 7 Z7, Z8, IXS, IDEGE,
46 8 NEL)
47 use element_mod , only : nixs
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-----------------------------------------------
59C-----------------------------------------------
60C D u m m y A r g u m e n t s
61C-----------------------------------------------
62 INTEGER, INTENT(IN) :: NEL
63 INTEGER IXS(NIXS,*), IDEGE(*)
64 my_real
65 . VOLG(*),LAT(*),
66 . X1(*), X2(*), X3(*), X4(*), X5(*), X6(*), X7(*), X8(*),
67 . Y1(*), Y2(*), Y3(*), Y4(*), Y5(*), Y6(*), Y7(*), Y8(*),
68 . Z1(*), Z2(*), Z3(*), Z4(*), Z5(*), Z6(*), Z7(*), Z8(*)
69C-----------------------------------------------
70C L o c a l V a r i a b l e s
71C-----------------------------------------------
72C----------DELTAX crrection for degenerated element
73 INTEGER I,IT
74 my_real
75 . AREAM(MVSIZ),FAC,V_G
76C-----------------------------------------------
77 CALL DEGENES8(
78 1 IXS, IDEGE, NEL)
79C
80 DO I=1,nel
81C-------due to the fact that AREA_Max*L is far from V for Dege---
82 IF(idege(i) > 0) THEN
83 aream(i) =em20
84C----tetra 4 ,pyrami
85 IF (idege(i)>2) THEN
86 fac=one_over_9
87 ELSEIF (idege(i)>1) THEN
88 fac=fourth
89 ELSE
90 fac=one
91 END IF
92 it = 0
93 CALL idege8(x1(i),x2(i),x3(i),x4(i),y1(i),y2(i),y3(i),y4(i),
94 . z1(i),z2(i),z3(i),z4(i),aream(i),fac,it)
95 CALL idege8(x5(i),x6(i),x7(i),x8(i),y5(i),y6(i),y7(i),y8(i),
96 . z5(i),z6(i),z7(i),z8(i),aream(i),fac,it)
97 CALL idege8(x1(i),x2(i),x6(i),x5(i),y1(i),y2(i),y6(i),y5(i),
98 . z1(i),z2(i),z6(i),z5(i),aream(i),fac,it)
99 CALL idege8(x2(i),x3(i),x7(i),x6(i),y2(i),y3(i),y7(i),y6(i),
100 . z2(i),z3(i),z7(i),z6(i),aream(i),fac,it)
101 CALL idege8(x3(i),x4(i),x8(i),x7(i),y3(i),y4(i),y8(i),y7(i),
102 . z3(i),z4(i),z8(i),z7(i),aream(i),fac,it)
103 CALL idege8(x4(i),x1(i),x5(i),x8(i),y4(i),y1(i),y5(i),y8(i),
104 . z4(i),z1(i),z5(i),z8(i),aream(i),fac,it)
105C----tetra 4
106 IF (it ==0 ) aream(i)=fac*aream(i)
107 IF (idege(i)>3 ) THEN
108 aream(i)=aream(i)*fac
109 CALL deges4v(v_g,
110 . x1(i), x2(i), x3(i), x4(i), x5(i), x6(i), x7(i), x8(i),
111 . y1(i), y2(i), y3(i), y4(i), y5(i), y6(i), y7(i), y8(i),
112 . z1(i), z2(i), z3(i), z4(i), z5(i), z6(i), z7(i), z8(i))
113 ELSE
114 v_g=volg(i)
115 END IF
116 lat(i) = four*v_g/sqrt(aream(i))
117
118 ENDIF
119 ENDDO
120C
121 RETURN
122 END
subroutine deges4v(det, x1, x2, x3, x4, x5, x6, x7, x8, y1, y2, y3, y4, y5, y6, y7, y8, z1, z2, z3, z4, z5, z6, z7, z8)
Definition deges4v.F:37
subroutine idege8(x1, x2, x3, x4, y1, y2, y3, y4, z1, z2, z3, z4, amax, fac, it)
Definition idege8.F:30
subroutine s8sforc3(timers, output, elbuf_tab, ng, pm, geo, ixs, x, a, v, ms, w, flux, flu1, veul, fv, ale_connect, iparg, tf, npf, bufmat, partsav, nloc_dmg, dt2t, neltst, ityptst, stifn, fsky, iads, offset, eani, iparts, icp, f11, f21, f31, f12, f22, f32, f13, f23, f33, f14, f24, f34, f15, f25, f35, f16, f26, f36, f17, f27, f37, f18, f28, f38, nel, nvc, ipm, itask, istrain, temp, fthe, fthesky, iexpan, gresav, grth, igrth, mssa, dmels, table, igeo, xdp, voln, condn, condnsky, d, ioutprt, mat_elem, h3d_strain, snpc, stf, sbufmat, svis, nsvois, idtmins, iresp, idtmin, maxfunc, userl_avail, dt, glob_therm, sensors)
Definition s8sforc3.F:99
subroutine sdlen_dege(volg, lat, x1, x2, x3, x4, x5, x6, x7, x8, y1, y2, y3, y4, y5, y6, y7, y8, z1, z2, z3, z4, z5, z6, z7, z8, ixs, idege, nel)
Definition sdlen_dege.F:47