OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
mdama24.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!|| mdama24 ../engine/source/elements/solid/solidez/mdama24.F
25!||--- called by ------------------------------------------------------
26!|| szhour3 ../engine/source/elements/solid/solidez/szhour3.F
27!|| szhour3_or ../engine/source/elements/solid/solidez/szhour3_or.F
28!||--- calls -----------------------------------------------------
29!|| cbatran3v ../engine/source/elements/solid/solidez/cbatran3v.F
30!|| gettransv ../engine/source/elements/solid/solidez/gettransv.F
31!|| mmodul24c ../engine/source/elements/solid/solidez/mmodul24c.F
32!||--- uses -----------------------------------------------------
33!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
34!||====================================================================
35 SUBROUTINE mdama24(ELBUF_STR,JFT ,JLT ,PM ,MAT ,
36 . DAMA_G )
37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE elbufdef_mod
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C G l o b a l P a r a m e t e r s
47C-----------------------------------------------
48#include "mvsiz_p.inc"
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52#include "param_c.inc"
53C-----------------------------------------------
54C D u m m y A r g u m e n t s
55C-----------------------------------------------
56 INTEGER JFT, JLT
57 INTEGER MAT(*)
58C REAL
60 . pm(npropm,*),dama_g(mvsiz,3)
61 TYPE (ELBUF_STRUCT_), TARGET :: ELBUF_STR
62C-----------------------------------------------
63C L o c a l V a r i a b l e s
64C-----------------------------------------------
65 INTEGER I,MX,IAD,J,K,ipr,NBDAMA,ISYM
66C REAL
68 . cc(mvsiz,3,3),b(mvsiz,3,3),g33(mvsiz,3,3)
70 . nu,lamda,gg,c1,qc(mvsiz,9),qcg(mvsiz,9),qg(mvsiz,9),
71 . qgc(mvsiz,9),g3(mvsiz,3),dam
73 . c3(mvsiz,3),damang(mvsiz,6)
74 TYPE(l_bufel_) ,POINTER :: LBUF
75C-----------------------------------------------
76 lbuf => elbuf_str%BUFLY(1)%LBUF(1,1,1)
77 mx = mat(1)
78C-------get concrete part (CC,G3) and ANG in damage system
79 CALL mmodul24c(jlt ,pm(1,mx),lbuf%DAM,lbuf%CRAK ,
80 . cc ,g3 ,lbuf%ANG,damang ,nbdama)
81 IF (nbdama==0) THEN
82 dama_g(jft:jlt,1:3)= zero
83 ELSE
84 c3(jft:jlt,1:3)=pm(24,mx)
85C-----
86 CALL gettransv(jft,jlt,damang ,qc,qcg,qgc,qg)
87 b(jft:jlt,1:3,1:3)=zero
88C
89 DO j= 1,3
90 DO i=jft,jlt
91 b(i,j,j)=g3(i,j)
92 ENDDO
93 ENDDO
94 isym = 1
95 CALL cbatran3v(jft ,jlt ,qc ,cc ,qc ,isym)
96 CALL cbatran3v(jft ,jlt ,qgc ,b ,qgc,isym)
97C
98 DO j= 1,3
99 DO i=jft,jlt
100 cc(i,j,j)=cc(i,j,j)+four*b(i,j,j)
101 ENDDO
102 ENDDO
103C
104 DO j= 1,3
105 DO i=jft,jlt
106 dam = one-cc(i,j,j)/c3(i,j)
107 dama_g(i,j)=max(zero,dam)
108 ENDDO
109 ENDDO
110 END IF !(NBDAMA==0) THEN
111C
112 RETURN
113 END
subroutine cbatran3v(jft, jlt, vqi, kk, vqj, isym)
Definition cbatran3v.F:31
#define my_real
Definition cppsort.cpp:32
subroutine gettransv(jft, jlt, gama, qc, qcg, qgc, qg)
Definition gettransv.F:31
#define max(a, b)
Definition macros.h:21
subroutine mdama24(elbuf_str, jft, jlt, pm, mat, dama_g)
Definition mdama24.F:37
subroutine mmodul24c(nel, pm, dam, crak, cdam, g3, ang, damang, nbdama)
Definition mmodul24c.F:30