28 logical nodeprint_flag
30 character*1 total,nodesys,inpc(*)
32 character*80 amname(*),timepointsname
33 character*81 set(*),prset(*),noset
34 character*132 textpart(16)
36 integer istartset(*),iendset(*),ialset(*),ii,i,nam,itpamp,
37 & jout(2),joutl,ithermal,nset,nset_,nalset,nprint,nprint_,istep,
38 & istat,n,key,ipos,iline,ipol,inl,ipoinp(2,*),inp(3,*),idrct,
43 &
'*ERROR reading *NODE PRINT: *NODE PRINT should only be' 44 write(*,*)
' used within a *STEP definition' 53 if(.not.nodeprint_flag)
then 56 if((prlab(i)(1:4).eq.
'U ').or.
57 & (prlab(i)(1:4).eq.
'NT ').or.
58 & (prlab(i)(1:4).eq.
'TS ').or.
59 & (prlab(i)(1:4).eq.
'RF ').or.
60 & (prlab(i)(1:4).eq.
'RFL ').or.
61 & (prlab(i)(1:4).eq.
'PS ').or.
62 & (prlab(i)(1:4).eq.
'PN ').or.
63 & (prlab(i)(1:4).eq.
'MF ').or.
64 & (prlab(i)(1:4).eq.
'VF ').or.
65 & (prlab(i)(1:4).eq.
'PSF ').or.
66 & (prlab(i)(1:4).eq.
'TSF ').or.
67 & (prlab(i)(1:4).eq.
'MACH').or.
68 & (prlab(i)(1:4).eq.
'TTF ').or.
69 & (prlab(i)(1:4).eq.
'PTF ').or.
70 & (prlab(i)(1:4).eq.
'CP ').or.
71 & (prlab(i)(1:4).eq.
'TURB').or.
72 & (prlab(i)(1:4).eq.
'V ')) cycle
87 if(textpart(ii)(1:5).eq.
'NSET=')
then 88 noset(1:80)=textpart(ii)(6:85)
92 if(set(i).eq.noset)
exit 95 write(*,*)
'*WARNING reading *NODE PRINT: node set ',
96 & noset(1:ipos-1),
' does not exist' 97 call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
101 elseif(textpart(ii)(1:10).eq.
'FREQUENCY=')
then 102 read(textpart(ii)(11:20),
'(i10)',iostat=istat) joutl
103 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
107 call getnewline(inpc,textpart,istat,n,key,iline,ipol,
108 & inl,ipoinp,inp,ipoinpc)
109 if((key.eq.1).or.(istat.lt.0))
return 116 elseif(textpart(ii)(1:11).eq.
'FREQUENCYF=')
then 117 read(textpart(ii)(12:21),
'(i10)',iostat=istat) joutl
118 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
122 call getnewline(inpc,textpart,istat,n,key,iline,ipol,
123 & inl,ipoinp,inp,ipoinpc)
124 if((key.eq.1).or.(istat.lt.0))
return 131 elseif(textpart(ii)(1:10).eq.
'TOTALS=YES')
then 133 elseif(textpart(ii)(1:11).eq.
'TOTALS=ONLY')
then 135 elseif(textpart(ii)(1:10).eq.
'GLOBAL=YES')
then 137 elseif(textpart(ii)(1:9).eq.
'GLOBAL=NO')
then 139 elseif(textpart(ii)(1:11).eq.
'TIMEPOINTS=')
then 140 timepointsname=textpart(ii)(12:91)
142 if(amname(i).eq.timepointsname)
then 148 ipos=index(timepointsname,
' ')
150 &
'*ERROR reading *NODE PRINT: time points definition ' 151 & ,timepointsname(1:ipos-1),
' is unknown or empty' 155 write(*,*)
'*ERROR reading *NODE PRINT: the DIRECT option' 156 write(*,*)
' collides with a TIME POINTS ' 157 write(*,*)
' specification' 164 &
'*WARNING in modaldynamics: parameter not recognized:' 166 & textpart(ii)(1:index(textpart(ii),
' ')-1)
174 if(noset(1:1).eq.
' ')
then 175 write(*,*)
'*WARNING reading *NODE PRINT: no set was defined' 176 call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
177 & ipoinp,inp,ipoinpc)
182 call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
183 & ipoinp,inp,ipoinpc)
186 if((textpart(ii)(1:4).ne.
'U ').and.
187 & (textpart(ii)(1:4).ne.
'NT ').and.
188 & (textpart(ii)(1:4).ne.
'TS ').and.
189 & (textpart(ii)(1:4).ne.
'RF ').and.
190 & (textpart(ii)(1:4).ne.
'RFL ').and.
191 & (textpart(ii)(1:4).ne.
'PS ').and.
192 & (textpart(ii)(1:4).ne.
'PN ').and.
193 & (textpart(ii)(1:4).ne.
'MF ').and.
194 & (textpart(ii)(1:4).ne.
'V ').and.
195 & (textpart(ii)(1:4).ne.
'VF ').and.
196 & (textpart(ii)(1:4).ne.
'PSF ').and.
197 & (textpart(ii)(1:4).ne.
'TSF ').and.
198 & (textpart(ii)(1:4).ne.
'MACH').and.
199 & (textpart(ii)(1:4).ne.
'TTF ').and.
200 & (textpart(ii)(1:4).ne.
'PTF ').and.
201 & (textpart(ii)(1:4).ne.
'CP ').and.
202 & (textpart(ii)(1:4).ne.
'TURB'))
then 204 &
'*WARNING reading *NODE PRINT: label not applicable' 205 write(*,*)
' or unknown; ' 210 if(textpart(ii)(1:4).eq.
'RFL ')
then 211 if(ithermal.lt.2)
then 213 &
'*WARNING reading *NODE PRINT: RFL only makes ' 214 write(*,*)
' sense for heat transfer ' 215 write(*,*)
' calculations' 218 elseif((textpart(ii)(1:4).eq.
'VF ').or.
219 & (textpart(ii)(1:4).eq.
'PSF ').or.
220 & (textpart(ii)(1:4).eq.
'TSF ').or.
221 & (textpart(ii)(1:4).eq.
'MACH').or.
222 & (textpart(ii)(1:4).eq.
'TTF ').or.
223 & (textpart(ii)(1:4).eq.
'PTF ').or.
224 & (textpart(ii)(1:4).eq.
'CP ').or.
225 & (textpart(ii)(1:4).eq.
'TURB'))
then 228 &
'*WARNING reading *NODE PRINT: VF, PSF, TSF,' 229 write(*,*)
' MACH, TTF, PTF, CP or TURB ' 230 write(*,*)
' only make sense for 3D-fluid' 231 write(*,*)
' calculations' 236 if(nprint.gt.nprint_)
then 237 write(*,*)
'*ERROR reading *NODE PRINT: increase nprint_' 241 prlab(nprint)(1:4)=textpart(ii)(1:4)
242 prlab(nprint)(5:5)=total
243 prlab(nprint)(6:6)=nodesys
subroutine getnewline(inpc, textpart, istat, n, key, iline, ipol, inl, ipoinp, inp, ipoinpc)
Definition: getnewline.f:21