OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ccurv3.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!|| ccurv3 ../engine/source/elements/shell/coque/ccurv3.F
25!||--- called by ------------------------------------------------------
26!|| cforc3 ../engine/source/elements/shell/coque/cforc3.F
27!|| cforc3_crk ../engine/source/elements/xfem/cforc3_crk.F
28!||====================================================================
29 SUBROUTINE ccurv3(JFT,JLT,VRL1,VRL2,VRL3,VRL4,
30 1 PX1,PX2 ,PY1 ,PY2 ,AREA,
31 2 RX1 ,RX2 ,RX3 ,RX4 ,RY1 ,RY2 ,RY3 ,RY4,
32 3 E1X ,E1Y ,E1Z ,E2X ,E2Y ,E2Z ,E3X ,E3Y,
33 4 E3Z ,KXX ,KYY ,KXY ,EXZ,EYZ,
34 5 WXY ,ISMSTR)
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C G l o b a l P a r a m e t e r s
41C-----------------------------------------------
42#include "mvsiz_p.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 INTEGER JFT, JLT, ISMSTR
47 my_real
48 . RX1(MVSIZ), RX2(MVSIZ), RX3(MVSIZ), RX4(MVSIZ),
49 . RY1(MVSIZ), RY2(MVSIZ), RY3(MVSIZ), RY4(MVSIZ),
50 . PX1(MVSIZ), PX2(MVSIZ), PY1(MVSIZ), PY2(MVSIZ),
51 . e1x(mvsiz), e1y(mvsiz), e1z(mvsiz), e2x(mvsiz),
52 . e2y(mvsiz), e2z(mvsiz), e3x(mvsiz), e3y(mvsiz),
53 . e3z(mvsiz),
54 . vrl1(mvsiz,3), vrl2(mvsiz,3), vrl3(mvsiz,3), vrl4(mvsiz,3),
55 . kxx(mvsiz), kyy(mvsiz),
56 . kxy(mvsiz), area(mvsiz), exz(mvsiz), eyz(mvsiz),wxy(*)
57C-----------------------------------------------
58C L o c a l V a r i a b l e s
59C-----------------------------------------------
60 INTEGER I
61 my_real
62 . RXAVTA,RX13TA,RX24TA,RY13TA,RYAVTA,RY24TA
63C=======================================================================
64 DO I=jft,jlt
65 rx1(i)=e1x(i)*vrl1(i,1)+e1y(i)*vrl1(i,2)+e1z(i)*vrl1(i,3)
66 rx2(i)=e1x(i)*vrl2(i,1)+e1y(i)*vrl2(i,2)+e1z(i)*vrl2(i,3)
67 rx3(i)=e1x(i)*vrl3(i,1)+e1y(i)*vrl3(i,2)+e1z(i)*vrl3(i,3)
68 rx4(i)=e1x(i)*vrl4(i,1)+e1y(i)*vrl4(i,2)+e1z(i)*vrl4(i,3)
69 ry1(i)=e2x(i)*vrl1(i,1)+e2y(i)*vrl1(i,2)+e2z(i)*vrl1(i,3)
70 ry2(i)=e2x(i)*vrl2(i,1)+e2y(i)*vrl2(i,2)+e2z(i)*vrl2(i,3)
71 ry3(i)=e2x(i)*vrl3(i,1)+e2y(i)*vrl3(i,2)+e2z(i)*vrl3(i,3)
72 ry4(i)=e2x(i)*vrl4(i,1)+e2y(i)*vrl4(i,2)+e2z(i)*vrl4(i,3)
73 ENDDO
74C
75 DO i=jft,jlt
76 rx13ta =rx1(i)-rx3(i)
77 rxavta =rx1(i)+rx2(i)+rx3(i)+rx4(i)
78 rx24ta =rx2(i)-rx4(i)
79C
80 kyy(i)=-py1(i)*rx13ta-py2(i)*rx24ta
81 kxy(i)= px1(i)*rx13ta+px2(i)*rx24ta
82C
83 ry13ta = ry1(i)-ry3(i)
84 ryavta = ry1(i)+ry2(i)+ry3(i)+ry4(i)
85 ry24ta = ry2(i)-ry4(i)
86C
87 kxx(i)= px1(i)*ry13ta+px2(i)*ry24ta
88 kxy(i)= py1(i)*ry13ta+py2(i)*ry24ta
89 + -kxy(i)
90C
91 exz(i)=exz(i)+ryavta*(.25*area(i))
92 eyz(i)=eyz(i)-rxavta*(.25*area(i))
93 ENDDO
94C
95C
96 IF (ismstr==10) THEN
97 DO i=jft,jlt
98 rx13ta =rx1(i)-rx3(i)
99 rx24ta =rx2(i)-rx4(i)
100C
101 ry13ta = ry1(i)-ry3(i)
102 ry24ta = ry2(i)-ry4(i)
103C
104 wxy(i) = py1(i)*ry13ta+py2(i)*ry24ta +
105 + px1(i)*rx13ta+px2(i)*rx24ta
106 ENDDO
107 ENDIF
108c-----------
109 RETURN
110 END
subroutine ccurv3(jft, jlt, vrl1, vrl2, vrl3, vrl4, px1, px2, py1, py2, area, rx1, rx2, rx3, rx4, ry1, ry2, ry3, ry4, e1x, e1y, e1z, e2x, e2y, e2z, e3x, e3y, e3z, kxx, kyy, kxy, exz, eyz, wxy, ismstr)
Definition ccurv3.F:35
subroutine area(d1, x, x2, y, y2, eint, stif0)