28 character*132 textpart(16)
30 integer nelcon(2,*),nmat,ntmat_,ntmat,npmat_,npmat,istep,
31 & n,key,i,nplkcon(0:ntmat_,*),
33 & irstrt,iline,ipol,inl,ipoinp(2,*),inp(3,*),ipoinpc(0:*)
35 real*8 plkcon(0:2*npmat_,ntmat_,*),
41 if((istep.gt.0).and.(irstrt.ge.0))
then 42 write(*,*)
'*ERROR reading *GAP CONDUCTANCE:' 43 write(*,*)
' *GAP CONDUCTANCE should' 44 write(*,*)
' be placed before all step definitions' 49 write(*,*)
'*ERROR reading *GAP CONDUCTANCE:' 50 write(*,*)
' *GAP CONDUCTANCE should' 51 write(*,*)
' be preceded by a *SURFACE INTERACTION card' 55 if(nelcon(1,nmat).eq.0)
then 56 write(*,*)
'*ERROR reading *GAP CONDUCTANCE:' 57 write(*,*)
' *GAP CONDUCTANCE should' 58 write(*,*)
' be preceeded by a *SURFACE BEHAVIOR card' 64 write(*,*)
'*INFO reading *GAP CONDUCTANCE: nonlinear geometric' 65 write(*,*)
' effects are turned on' 71 if(textpart(i)(1:4).eq.
'USER')
then 72 call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
77 &
'*WARNING reading *GAP CONDUCTANCE:' 78 write(*,*)
' parameter not recognized:' 80 & textpart(i)(1:index(textpart(i),
' ')-1)
87 call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
89 if((istat.lt.0).or.(key.eq.1))
exit 90 read(textpart(3)(1:20),
'(f20.0)',iostat=istat) temperature
91 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
99 if(ntmat.gt.ntmat_)
then 100 write(*,*)
'*ERROR reading *GAP CONDUCTANCE:' 101 write(*,*)
' increase ntmat_' 104 nplkcon(0,nmat)=ntmat
105 plkcon(0,ntmat,nmat)=temperature
109 elseif(plkcon(0,ntmat,nmat).ne.temperature)
then 112 if(ntmat.gt.ntmat_)
then 113 write(*,*)
'*ERROR reading *GAP CONDUCTANCE:' 114 write(*,*)
' increase ntmat_' 117 nplkcon(0,nmat)=ntmat
118 plkcon(0,ntmat,nmat)=temperature
121 read(textpart(i)(1:20),
'(f20.0)',iostat=istat)
122 & plkcon(2*npmat+i,ntmat,nmat)
123 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
124 &
"*GAP CONDUCTANCE%")
127 if(npmat.gt.npmat_)
then 128 write(*,*)
'*ERROR reading *GAP CONDUCTANCE:' 129 write(*,*)
' increase npmat_' 132 nplkcon(ntmat,nmat)=npmat
136 write(*,*)
'*ERROR reading *GAP CONDUCTANCE:' 137 write(*,*)
' *GAP CONDUCTANCE card' 138 write(*,*)
' without data'
subroutine getnewline(inpc, textpart, istat, n, key, iline, ipol, inl, ipoinp, inp, ipoinpc)
Definition: getnewline.f:21