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, J
61 my_real
62 . RXAVT(MVSIZ), RX13T(MVSIZ), RX24T(MVSIZ), RY13T(MVSIZ),
63 . RYAVT(MVSIZ), RY24T(MVSIZ),
64 . RXAVTA,RX13TA,RX24TA,RY13TA,RYAVTA,RY24TA
65C=======================================================================
66 DO i=jft,jlt
67 rx1(i)=e1x(i)*vrl1(i,1)+e1y(i)*vrl1(i,2)+e1z(i)*vrl1(i,3)
68 rx2(i)=e1x(i)*vrl2(i,1)+e1y(i)*vrl2(i,2)+e1z(i)*vrl2(i,3)
69 rx3(i)=e1x(i)*vrl3(i,1)+e1y(i)*vrl3(i,2)+e1z(i)*vrl3(i,3)
70 rx4(i)=e1x(i)*vrl4(i,1)+e1y(i)*vrl4(i,2)+e1z(i)*vrl4(i,3)
71 ry1(i)=e2x(i)*vrl1(i,1)+e2y(i)*vrl1(i,2)+e2z(i)*vrl1(i,3)
72 ry2(i)=e2x(i)*vrl2(i,1)+e2y(i)*vrl2(i,2)+e2z(i)*vrl2(i,3)
73 ry3(i)=e2x(i)*vrl3(i,1)+e2y(i)*vrl3(i,2)+e2z(i)*vrl3(i,3)
74 ry4(i)=e2x(i)*vrl4(i,1)+e2y(i)*vrl4(i,2)+e2z(i)*vrl4(i,3)
75 ENDDO
76C
77 DO i=jft,jlt
78 rx13ta =rx1(i)-rx3(i)
79 rxavta =rx1(i)+rx2(i)+rx3(i)+rx4(i)
80 rx24ta =rx2(i)-rx4(i)
81C
82 kyy(i)=-py1(i)*rx13ta-py2(i)*rx24ta
83 kxy(i)= px1(i)*rx13ta+px2(i)*rx24ta
84C
85 ry13ta = ry1(i)-ry3(i)
86 ryavta = ry1(i)+ry2(i)+ry3(i)+ry4(i)
87 ry24ta = ry2(i)-ry4(i)
88C
89 kxx(i)= px1(i)*ry13ta+px2(i)*ry24ta
90 kxy(i)= py1(i)*ry13ta+py2(i)*ry24ta
91 + -kxy(i)
92C
93 exz(i)=exz(i)+ryavta*(.25*area(i))
94 eyz(i)=eyz(i)-rxavta*(.25*area(i))
95 ENDDO
96C
97C
98 IF (ismstr==10) THEN
99 DO i=jft,jlt
100 rx13ta =rx1(i)-rx3(i)
101 rx24ta =rx2(i)-rx4(i)
102C
103 ry13ta = ry1(i)-ry3(i)
104 ry24ta = ry2(i)-ry4(i)
105C
106 wxy(i) = py1(i)*ry13ta+py2(i)*ry24ta +
107 + px1(i)*rx13ta+px2(i)*rx24ta
108 ENDDO
109 ENDIF
110c-----------
111 RETURN
112 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)