OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
qcoor2.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!|| qcoor2 ../starter/source/elements/solid_2d/quad/qcoor2.F
25!||--- called by ------------------------------------------------------
26!|| binit2 ../starter/source/ale/bimat/binit2.F
27!|| inisoldist ../starter/source/initial_conditions/inivol/inisoldist.F
28!|| multifluid_init2 ../starter/source/multifluid/multifluid_init2.f
29!|| q4init2 ../starter/source/elements/solid_2d/quad4/q4init2.F
30!|| qinit2 ../starter/source/elements/solid_2d/quad/qinit2.F
31!||====================================================================
32 SUBROUTINE qcoor2(X,IXQ,NGL,MXT,
33 . PID, IX1, IX2, IX3, IX4,
34 . Y1, Y2, Y3, Y4,
35 . Z1, Z2, Z3, Z4,
36 . SY, SZ, TY, TZ)
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C G l o b a l P a r a m e t e r s
43C-----------------------------------------------
44#include "mvsiz_p.inc"
45C-----------------------------------------------
46C C o m m o n B l o c k s
47C-----------------------------------------------
48#include "vect01_c.inc"
49C-----------------------------------------------
50C D u m m y A r g u m e n t s
51C-----------------------------------------------
52 INTEGER IXQ(NIXQ,*), NGL(*),MXT(*)
53 INTEGER PID(*), IX1(*), IX2(*), IX3(*), IX4(*)
54 my_real
55 . X(3,*), Y1(*), Y2(*), Y3(*), Y4(*), Z1(*), Z2(*), Z3(*), Z4(*)
56 my_real
57 . sy(mvsiz),sz(mvsiz),
58 . ty(mvsiz),tz(mvsiz)
59 my_real
60 . suma
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER I
65C--------------------------------------------------
66C CONNECTIVITES ET MATERIEL
67C--------------------------------------------------
68 DO i=lft,llt
69 mxt(i)=ixq(1,i)
70 ix1(i)=ixq(2,i)
71 ix2(i)=ixq(3,i)
72 ix3(i)=ixq(4,i)
73 ix4(i)=ixq(5,i)
74 pid(i)=ixq(6,i)
75 ngl(i)=ixq(nixq,i)
76 END DO
77
78C----------------------------
79C COORDONNEES NOEUDS |
80C----------------------------
81 DO i=lft,llt
82 y1(i)=x(2,ix1(i))
83 z1(i)=x(3,ix1(i))
84 y2(i)=x(2,ix2(i))
85 z2(i)=x(3,ix2(i))
86 y3(i)=x(2,ix3(i))
87 z3(i)=x(3,ix3(i))
88 y4(i)=x(2,ix4(i))
89 z4(i)=x(3,ix4(i))
90 END DO
91C---------------------------------------
92C REPERE LOCAL (ISOPARAMETRIQUE)
93C---------------------------------------
94 DO i=lft,llt
95 sy(i)=half*(y2(i)+y3(i)-y1(i)-y4(i))
96 sz(i)=half*(z2(i)+z3(i)-z1(i)-z4(i))
97 ty(i)=half*(y3(i)+y4(i)-y1(i)-y2(i))
98 tz(i)=half*(z3(i)+z4(i)-z1(i)-z2(i))
99 END DO
100c
101 RETURN
102 END
subroutine multifluid_init2(nel, nsigs, iparg, ixq, ipm, ale_connectivity, igeo, ipart, ipartq, npf, ptquad, iloadp, x, pm, geo, sigi, skew, tf, bufmat, facload, elbuf_str, error_thrown, detonators, mat_param)
subroutine qcoor2(x, ixq, ngl, mxt, pid, ix1, ix2, ix3, ix4, y1, y2, y3, y4, z1, z2, z3, z4, sy, sz, ty, tz)
Definition qcoor2.F:37
program starter
Definition starter.F:39