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