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!||--- uses -----------------------------------------------------
32!||====================================================================
33 SUBROUTINE qcoor2(X,IXQ,NGL,MXT,
34 . PID, IX1, IX2, IX3, IX4,
35 . Y1, Y2, Y3, Y4,
36 . Z1, Z2, Z3, Z4,
37 . SY, SZ, TY, TZ)
38 use element_mod , only : nixq
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C G l o b a l P a r a m e t e r s
45C-----------------------------------------------
46#include "mvsiz_p.inc"
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50#include "vect01_c.inc"
51C-----------------------------------------------
52C D u m m y A r g u m e n t s
53C-----------------------------------------------
54 INTEGER IXQ(NIXQ,*), NGL(*),MXT(*)
55 INTEGER PID(*), IX1(*), IX2(*), IX3(*), IX4(*)
56 my_real
57 . X(3,*), Y1(*), Y2(*), Y3(*), Y4(*), Z1(*), Z2(*), Z3(*), Z4(*)
58 my_real
59 . sy(mvsiz),sz(mvsiz),
60 . ty(mvsiz),tz(mvsiz)
61 my_real
62 . suma
63C-----------------------------------------------
64C L o c a l V a r i a b l e s
65C-----------------------------------------------
66 INTEGER I
67C--------------------------------------------------
68C connectivities and material
69C--------------------------------------------------
70 DO i=lft,llt
71 mxt(i)=ixq(1,i)
72 ix1(i)=ixq(2,i)
73 ix2(i)=ixq(3,i)
74 ix3(i)=ixq(4,i)
75 ix4(i)=ixq(5,i)
76 pid(i)=ixq(6,i)
77 ngl(i)=ixq(nixq,i)
78 END DO
79
80C----------------------------
81C NODE COORDINATES |
82C----------------------------
83 DO i=lft,llt
84 y1(i)=x(2,ix1(i))
85 z1(i)=x(3,ix1(i))
86 y2(i)=x(2,ix2(i))
87 z2(i)=x(3,ix2(i))
88 y3(i)=x(2,ix3(i))
89 z3(i)=x(3,ix3(i))
90 y4(i)=x(2,ix4(i))
91 z4(i)=x(3,ix4(i))
92 END DO
93C---------------------------------------
94C LOCAL REFERENCE FRAME (ISOPARAMETRIC)
95C---------------------------------------
96 DO i=lft,llt
97 sy(i)=half*(y2(i)+y3(i)-y1(i)-y4(i))
98 sz(i)=half*(z2(i)+z3(i)-z1(i)-z4(i))
99 ty(i)=half*(y3(i)+y4(i)-y1(i)-y2(i))
100 tz(i)=half*(z3(i)+z4(i)-z1(i)-z2(i))
101 END DO
102c
103 RETURN
104 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:38
program starter
Definition starter.F:39