OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
read_rwall.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"
#include "units_c.inc"
#include "scr17_c.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine read_rwall (rwl, nprw, lprw, ifi, ms, v, itab, itabm1, x, ixs, ixq, npc, ikine, igrnod, mfi, imerge, unitab, ikine1lag, iddlevel, lsubmodel, rtrans, nom_opt, itagnd)

Function/Subroutine Documentation

◆ read_rwall()

subroutine read_rwall ( rwl,
integer, dimension(*) nprw,
integer, dimension(*) lprw,
integer ifi,
ms,
v,
integer, dimension(*) itab,
integer, dimension(*) itabm1,
x,
integer, dimension(nixs,*) ixs,
integer, dimension(nixq,*) ixq,
integer, dimension(*) npc,
integer, dimension(*) ikine,
type (group_), dimension(ngrnod), target igrnod,
integer mfi,
integer, dimension(*) imerge,
type (unit_type_), intent(in) unitab,
integer, dimension(*) ikine1lag,
integer iddlevel,
type(submodel_data), dimension(*) lsubmodel,
rtrans,
integer, dimension(lnopt1,*) nom_opt,
integer, dimension(*) itagnd )

Definition at line 42 of file read_rwall.F.

48C-------------------------------------
49C LECTURE MUR RIGIDE
50C-----------------------------------------------
51C M o d u l e s
52C-----------------------------------------------
53 USE my_alloc_mod
54 USE unitab_mod
55 USE submodel_mod
56 USE message_mod
57 USE r2r_mod
58 USE groupdef_mod
60C-----------------------------------------------
61C I m p l i c i t T y p e s
62C-----------------------------------------------
63#include "implicit_f.inc"
64C-----------------------------------------------
65C C o m m o n B l o c k s
66C-----------------------------------------------
67#include "com04_c.inc"
68#include "units_c.inc"
69#include "scr17_c.inc"
70#include "param_c.inc"
71C-----------------------------------------------
72C D u m m y A r g u m e n t s
73C-----------------------------------------------
74 TYPE (UNIT_TYPE_),INTENT(IN) ::UNITAB
75 INTEGER IFI,MFI,IDDLEVEL
76 INTEGER NPRW(*), LPRW(*), ITAB(*), ITABM1(*),IXS(NIXS,*),
77 . IXQ(NIXQ,*), NPC(*), IKINE(*),
78 . IMERGE(*),
79 . IKINE1LAG(*),ITAGND(*)
80 TYPE(SUBMODEL_DATA) LSUBMODEL(*)
81C REAL
83 . rwl(nrwlp,*), ms(*), v(3,*), x(3,*),
84 . rtrans(ntransf,*)
85 INTEGER NOM_OPT(LNOPT1,*)
86C-----------------------------------------------
87 TYPE (GROUP_) ,TARGET, DIMENSION(NGRNOD) :: IGRNOD
88C-----------------------------------------------
89C L o c a l V a r i a b l e s
90C-----------------------------------------------
91 INTEGER,DIMENSION(:),ALLOCATABLE :: IKINE1
92 INTEGER K,I,NCHPLAN,NCHCYL,NCHSPHER,NCHPARAL,
93 . OFFS,NCHLAGM,NCHTHERM
95 . bid
96 CHARACTER MESS*40
97C-----------------------------------------------
98C E x t e r n a l F u n c t i o n s
99C-----------------------------------------------
100 DATA mess/'STANDARD RIGID WALL DEFINITION '/
101C=======================================================================
102C-----------------------------------------------
103C B e g i n n i n g o f s o u r c e
104C-----------------------------------------------
105 CALL my_alloc(ikine1,3*numnod)
106C Beginning of RWALL cards in the IIN file
107 WRITE(iout,1000)
108C
109C Initialization of variable
110 k = 0
111 ! Offset
112 offs = 0
113 ! Flag for therm rigid wall
114 DO i=1,3*numnod
115 ikine1(i) = 0
116 ENDDO
117C
118C-----------------------------------------------
119! ************************** !
120! RWALL read with hm reader !
121! ************************** !
122C-----------------------------------------------
123C Counting RWALL type
124 CALL hm_option_count('/RWALL/PLANE' ,nchplan )
125 CALL hm_option_count('/RWALL/CYL' ,nchcyl )
126 CALL hm_option_count('/RWALL/SPHER' ,nchspher )
127 CALL hm_option_count('/RWALL/PARAL' ,nchparal )
128 CALL hm_option_count('/RWALL/LAGMUL',nchlagm )
129 CALL hm_option_count('/RWALL/THERM' ,nchtherm )
130C
131C /RWALL/PLANE
132 IF (nchplan > 0) THEN
133 CALL hm_read_rwall_plane(rwl ,nprw ,lprw ,ifi ,ms ,
134 . v ,itab ,itabm1 ,x ,ikine ,
135 . igrnod ,mfi ,imerge ,unitab ,iddlevel,
136 . lsubmodel,rtrans ,nom_opt ,itagnd ,nchplan ,
137 . k ,offs ,ikine1 )
138 ENDIF
139C
140C /RWALL/CYL
141 IF (nchcyl > 0) THEN
142 CALL hm_read_rwall_cyl(rwl ,nprw ,lprw ,ifi ,ms ,
143 . v ,itab ,itabm1 ,x ,ikine ,
144 . igrnod ,mfi ,imerge ,unitab ,iddlevel,
145 . lsubmodel,rtrans ,nom_opt ,itagnd ,nchcyl ,
146 . k ,offs ,ikine1 )
147 ENDIF
148C
149C /RWALL/SPHER
150 IF (nchspher > 0) THEN
151 CALL hm_read_rwall_spher(rwl ,nprw ,lprw ,ifi ,ms ,
152 . v ,itab ,itabm1 ,x ,ikine ,
153 . igrnod ,mfi ,imerge ,unitab ,iddlevel,
154 . lsubmodel,rtrans ,nom_opt ,itagnd ,nchspher,
155 . k ,offs ,ikine1 )
156 ENDIF
157C
158C /RWALL/PARAL
159 IF (nchparal > 0) THEN
160 CALL hm_read_rwall_paral(rwl ,nprw ,lprw ,ifi ,ms ,
161 . v ,itab ,itabm1 ,x ,ikine ,
162 . igrnod ,mfi ,imerge ,unitab ,iddlevel,
163 . lsubmodel,rtrans ,nom_opt ,itagnd ,nchparal,
164 . k ,offs ,ikine1 )
165 ENDIF
166C
167C /RWALL/LAGMUL
168 IF (nchlagm > 0) THEN
169 CALL hm_read_rwall_lagmul(rwl ,nprw ,lprw ,ifi ,ms ,
170 . v ,itab ,itabm1 ,x ,ikine ,
171 . igrnod ,mfi ,imerge ,unitab ,iddlevel,
172 . lsubmodel,rtrans ,nom_opt ,itagnd ,nchlagm ,
173 . k ,offs ,ikine1lag)
174 ENDIF
175C
176C /RWALL/THERM
177 IF (nchtherm > 0) THEN
178 CALL hm_read_rwall_therm(rwl ,nprw ,lprw ,ifi ,ms ,
179 . v ,itab ,itabm1 ,x ,ikine ,
180 . igrnod ,mfi ,imerge ,unitab ,iddlevel,
181 . lsubmodel,rtrans ,nom_opt ,itagnd ,nchtherm,
182 . k ,offs ,ikine1 ,ixs ,ixq ,
183 . npc )
184 ENDIF
185C
186C-------------------------------------
187C Recherche des ID doubles
188C-------------------------------------
189 CALL udouble(nom_opt,lnopt1,nrwall,mess,0,bid)
190 DEALLOCATE(ikine1)
191 RETURN
192 1000 FORMAT(
193 . ' RIGID WALL DEFINITIONS '/
194 . ' ---------------------- '/)
#define my_real
Definition cppsort.cpp:32
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_read_rwall_cyl(rwl, nprw, lprw, ifi, ms, v, itab, itabm1, x, ikine, igrnod, mfi, imerge, unitab, iddlevel, lsubmodel, rtrans, nom_opt, itagnd, nchcyl, k, offs, ikine1)
subroutine hm_read_rwall_lagmul(rwl, nprw, lprw, ifi, ms, v, itab, itabm1, x, ikine, igrnod, mfi, imerge, unitab, iddlevel, lsubmodel, rtrans, nom_opt, itagnd, nchlagm, k, offs, ikine1lag)
subroutine hm_read_rwall_paral(rwl, nprw, lprw, ifi, ms, v, itab, itabm1, x, ikine, igrnod, mfi, imerge, unitab, iddlevel, lsubmodel, rtrans, nom_opt, itagnd, nchparal, k, offs, ikine1)
subroutine hm_read_rwall_plane(rwl, nprw, lprw, ifi, ms, v, itab, itabm1, x, ikine, igrnod, mfi, imerge, unitab, iddlevel, lsubmodel, rtrans, nom_opt, itagnd, nchplan, k, offs, ikine1)
subroutine hm_read_rwall_spher(rwl, nprw, lprw, ifi, ms, v, itab, itabm1, x, ikine, igrnod, mfi, imerge, unitab, iddlevel, lsubmodel, rtrans, nom_opt, itagnd, nchspher, k, offs, ikine1)
subroutine hm_read_rwall_therm(rwl, nprw, lprw, ifi, ms, v, itab, itabm1, x, ikine, igrnod, mfi, imerge, unitab, iddlevel, lsubmodel, rtrans, nom_opt, itagnd, nchtherm, k, offs, ikine1, ixs, ixq, npc)
subroutine udouble(list, ilist, nlist, mess, ir, rlist)
Definition sysfus.F:589