OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
paroi.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!|| paroi ../starter/source/materials/mat/mat006/paroi.F
25!||--- called by ------------------------------------------------------
26!|| lectur ../starter/source/starter/lectur.F
27!||====================================================================
28 SUBROUTINE paroi(PM,IXS,IXQ,ICODE,NALE)
29C
30C TAG LES ELEMENTS DE PAROI POUR LA TURBULENCE
31C SI NOEUD FIXE OU LAGRANGIEN
32C
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "com04_c.inc"
41#include "param_c.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER IXS(NIXS,NUMELS),IXQ(NIXQ,NUMELQ),ICODE(*),NALE(*)
46 my_real pm(npropm,nummat)
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER I, J, MT, MLAW, JTUR,IC,IC1,IC2,IC3,IC4
51C
52 IF(numels>0)THEN
53 DO 10 i=1,numels
54 mt=ixs(1,i)
55 IF(mt>0) THEN
56 mlaw=nint(pm(19,mt))
57 jtur=nint(pm(70,mt))
58C IF(MLAW/=6.OR.JTUR==0) GOTO10
59 IF((mlaw==6.AND.jtur/=0) .OR. mlaw==46) THEN
60 DO 11 j=2,9
61 IF(nale(ixs(j,i))==0)ixs(1,i)=-iabs(ixs(1,i))
62 11 CONTINUE
63 ENDIF
64 ENDIF
65 10 CONTINUE
66 ENDIF
67C
68 IF(numelq>0)THEN
69 DO 20 i=1,numelq
70 mt=ixq(1,i)
71 IF(mt>0) THEN
72 mlaw=nint(pm(19,mt))
73 jtur=nint(pm(70,mt))
74C IF(MLAW/=6.OR.JTUR==0) GOTO20
75 IF((mlaw==6.AND.jtur/=0) .OR. mlaw==46) THEN
76 DO 21 j=2,5
77 IF(nale(ixq(j,i))==0)ixq(1,i)=-iabs(ixq(1,i))
78 21 CONTINUE
79 ENDIF
80 ENDIF
81 20 CONTINUE
82C
83 DO i=1,numelq
84 mt=ixq(1,i)
85 IF(mt < 1)cycle
86 mlaw=nint(pm(19,mt))
87 jtur=nint(pm(70,mt))
88 DO j=2,5
89 IF((mlaw==6.AND.jtur/=0) .OR. mlaw==46)THEN
90 ic=icode(ixq(j,i))
91 ic1=ic/512
92 ic2=(ic-512*ic1)/64
93 ic3=(ic-512*ic1-64*ic2)/8
94 ic4=(ic-512*ic1-64*ic2-8*ic3)
95 IF(ic1==3.OR.ic1==7.OR.ic4==3.OR.ic4==7)
96 . ixq(1,i)=-iabs(ixq(1,i))
97 ENDIF
98 ENDDO
99 ENDDO
100C
101 ENDIF
102C
103 RETURN
104 END
#define my_real
Definition cppsort.cpp:32
subroutine paroi(pm, ixs, ixq, icode, nale)
Definition paroi.F:29