OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cm1inif.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!|| cm1inif ../starter/source/elements/shell/coque/cm1inif.F
25!||--- called by ------------------------------------------------------
26!|| fsigcini ../starter/source/constraints/fxbody/fsigcini.F
27!|| fsigtini ../starter/source/constraints/fxbody/fsigtini.F
28!||====================================================================
29 SUBROUTINE cm1inif(JFT ,JLT ,FOR ,MOM ,ITHK ,
30 . THK ,EINT ,NU ,G ,A1 ,
31 . A2 ,GS ,KXX ,KYY ,KXY ,
32 . EXX ,EYY ,EXY ,EYZ ,EXZ ,
33 . AREA )
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C G l o b a l P a r a m e t e r s
40C-----------------------------------------------
41#include "mvsiz_p.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER JFT, JLT, ITHK
46 my_real
47 . EXX(MVSIZ) , EYY(MVSIZ) , EXY(MVSIZ) ,
48 . EXZ(MVSIZ) , EYZ(MVSIZ) , KXX(MVSIZ) ,
49 . kyy(mvsiz) , kxy(mvsiz) , area(mvsiz)
50 my_real
51 . for(5,*) ,mom(3,*), thk(*), eint(2,*), nu(*),
52 . g(*), a1(*), a2(*), gs(*)
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER I
57 my_real THK08, EZZ,
58 . DEGMB(MVSIZ), DEGFX(MVSIZ), B1(MVSIZ), B2(MVSIZ), B3(MVSIZ)
59C=======================================================================
60 DO i=jft,jlt
61 thk08 =thk(i)*one_over_12
62 b1(i) =a1(i)*thk08
63 b2(i) =a2(i)*thk08
64 b3(i) =g(i) *thk08
65 ENDDO
66C
67 DO i=jft,jlt
68 for(1,i)=a1(i)*exx(i)+a2(i)*eyy(i)
69 for(2,i)=a1(i)*eyy(i)+a2(i)*exx(i)
70 for(3,i)=g(i) *exy(i)
71 for(4,i)=gs(i)*eyz(i)
72 for(5,i)=gs(i)*exz(i)
73C
74 mom(1,i)=b1(i)*kxx(i)+b2(i)*kyy(i)
75 mom(2,i)=b1(i)*kyy(i)+b2(i)*kxx(i)
76 mom(3,i)=b3(i)*kxy(i)
77 ENDDO
78C
79 DO i=jft,jlt
80 degmb(i) = for(1,i)*exx(i)+for(2,i)*eyy(i)+for(3,i)*exy(i)
81 degfx(i) = mom(1,i)*kxx(i)+mom(2,i)*kyy(i)
82 + +mom(3,i)*kxy(i)
83 eint(1,i) = degmb(i)*half*thk(i)*area(i)
84 eint(2,i) = degfx(i)*half*thk(i)*thk(i)*area(i)
85 ENDDO
86 IF(ithk==1) THEN
87 DO i=jft,jlt
88 ezz = -nu(i) * (exx(i) + eyy(i)) / (one-nu(i))
89 thk(i) = thk(i) * (one + ezz)
90 ENDDO
91 ENDIF
92C-----------
93 RETURN
94 END
95
96
97
subroutine cm1inif(jft, jlt, for, mom, ithk, thk, eint, nu, g, a1, a2, gs, kxx, kyy, kxy, exx, eyy, exy, eyz, exz, area)
Definition cm1inif.F:34
subroutine area(d1, x, x2, y, y2, eint, stif0)
for(i8=*sizetab-1;i8 >=0;i8--)