OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
iqela3.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!|| iqela3 ../engine/source/ale/inter/iqela3.F
25!||--- called by ------------------------------------------------------
26!|| int12w ../engine/source/ale/inter/int12w.F
27!|| intal4 ../engine/source/ale/inter/intal4.F
28!||--- calls -----------------------------------------------------
29!|| shapeh ../engine/source/ale/inter/shapeh.F
30!||====================================================================
31 SUBROUTINE iqela3(
32 1 V ,W ,IRECT ,CRST ,NSV ,
33 2 IRTL ,
34 3 MSR ,NSN
35 . )
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C C o m m o n B l o c k s
42C-----------------------------------------------
43#include "com01_c.inc"
44#include "com04_c.inc"
45#include "scr08_a_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER,INTENT(IN) :: IRECT(4,*), NSV(*), IRTL(*), MSR(*)
50 my_real,INTENT(IN) :: V(3,NUMNOD), CRST(2,*)
51 INTEGER, INTENT(IN) :: NSN
52 my_real,INTENT(INOUT) :: W(3,NUMNOD)
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER :: NIR, II, N, L, JJ, NN
57 my_real :: H(4), SS, TT, VMX, VMY, VMZ
58C-----------------------------------------------
59C S o u r c e L i n e s
60C-----------------------------------------------
61 nir=2
62 IF(n2d == 0)nir=4
63 DO ii=1,nsn
64 n = nsv(ii)
65 l = irtl(ii)
66 DO jj=1,nir
67 nn = irect(jj,l)
68 ix(jj) = msr(nn)
69 ENDDO
70 ss = crst(1,ii)
71 tt = crst(2,ii)
72 CALL shapeh(h,ss,tt)
73 vmx = zero
74 vmy = zero
75 vmz = zero
76 DO jj=1,nir
77 vmx = vmx+v(1,ix(jj))*h(jj)
78 vmy = vmy+v(2,ix(jj))*h(jj)
79 vmz = vmz+v(3,ix(jj))*h(jj)
80 ENDDO
81 !GRID VELOCITY
82 w(1,n) = vmx
83 w(2,n) = vmy
84 w(3,n) = vmz
85 ENDDO ! NEXT II
86C-----------------------------------------------
87 RETURN
88 END
subroutine iqela3(v, w, irect, crst, nsv, irtl, msr, nsn)
Definition iqela3.F:36
subroutine shapeh(h, s, t)
Definition shapeh.F:34