100 character*20 loadtype
103 integer kstep,kinc,noel,npt,jltyp,layer,kspt,konl(20),iscale,
106 real*8 f,time(2),coords(3),vold(0:mi(2),*),co(3,*),rho
108 intent(in) kstep,kinc,time,noel,npt,layer,kspt,
109 & coords,jltyp,loadtype,vold,co,lakonl,konl,
110 & ipompc,nodempc,coefmpc,nmpc,ikmpc,ilmpc,veold,
113 intent(inout) f,iscale
119 integer ifaceq(8,6),ifacet(6,4),ifacew(8,5),ig,nelem,nopes,
120 & iflag,i,j,nope,ipompc(*),nodempc(3,*),nmpc,ikmpc(*),ilmpc(*),
123 real*8 xl2(3,8),pres(8),xi,et,xsj2(3),xs2(3,7),shp2(7,8),
124 & coefmpc(*),veold(0:mi(2),*)
128 ifaceq=reshape((/4,3,2,1,11,10,9,12,
129 & 5,6,7,8,13,14,15,16,
130 & 1,2,6,5,9,18,13,17,
131 & 2,3,7,6,10,19,14,18,
132 & 3,4,8,7,11,20,15,19,
133 & 4,1,5,8,12,17,16,20/),(/8,6/))
134 ifacet=reshape((/1,3,2,7,6,5,
137 & 1,4,3,8,10,7/),(/6,4/))
138 ifacew=reshape((/1,3,2,9,8,7,0,0,
139 & 4,5,6,10,11,12,0,0,
140 & 1,2,5,4,7,14,10,13,
141 & 2,3,6,5,8,15,11,14,
142 & 4,6,3,1,12,15,9,13/),(/8,5/))
148 if(lakonl(4:4).eq.
'2')
then 151 elseif(lakonl(4:4).eq.
'8')
then 154 elseif(lakonl(4:5).eq.
'10')
then 157 elseif(lakonl(4:4).eq.
'4')
then 160 elseif(lakonl(4:5).eq.
'15')
then 162 elseif(lakonl(4:4).eq.
'6')
then 168 if(lakonl(4:4).eq.
'6')
then 175 if(lakonl(4:5).eq.
'15')
then 189 if((nope.eq.20).or.(nope.eq.8))
then 191 node=konl(ifaceq(i,ig))
193 call nident(ikmpc,idof,nmpc,id)
194 if((id.eq.0).or.(ikmpc(id).ne.idof))
then 195 write(*,*)
'*ERROR in dload: node ',node
196 write(*,*)
' is not connected to the oil film' 199 node=nodempc(1,nodempc(3,ipompc(ilmpc(id))))
202 elseif((nope.eq.10).or.(nope.eq.4))
then 204 node=konl(ifacet(i,ig))
205 node=konl(ifaceq(i,ig))
207 call nident(ikmpc,idof,nmpc,id)
208 if((id.eq.0).or.(ikmpc(id).ne.idof))
then 209 write(*,*)
'*ERROR in dload: node ',node
210 write(*,*)
' is not connected to the oil film' 213 node=nodempc(1,nodempc(3,ipompc(ilmpc(id))))
218 node=konl(ifacew(i,ig))
219 node=konl(ifaceq(i,ig))
221 call nident(ikmpc,idof,nmpc,id)
222 if((id.eq.0).or.(ikmpc(id).ne.idof))
then 223 write(*,*)
'*ERROR in dload: node ',node
224 write(*,*)
' is not connected to the oil film' 227 node=nodempc(1,nodempc(3,ipompc(ilmpc(id))))
234 if((lakonl(4:5).eq.
'8R').or.
235 & ((lakonl(4:4).eq.
'6').and.(nopes.eq.4)))
then 238 elseif((lakonl(4:4).eq.
'8').or.
239 & (lakonl(4:6).eq.
'20R').or.
240 & ((lakonl(4:5).eq.
'15').and.(nopes.eq.8)))
then 243 elseif(lakonl(4:4).eq.
'2')
then 246 elseif((lakonl(4:5).eq.
'10').or.
247 & ((lakonl(4:5).eq.
'15').and.(nopes.eq.6)))
then 250 elseif((lakonl(4:4).eq.
'4').or.
251 & ((lakonl(4:4).eq.
'6').and.(nopes.eq.3)))
then 257 call shape8q(xi,et,xl2,xsj2,xs2,shp2,iflag)
258 elseif(nopes.eq.4)
then 259 call shape4q(xi,et,xl2,xsj2,xs2,shp2,iflag)
260 elseif(nopes.eq.6)
then 261 call shape6tri(xi,et,xl2,xsj2,xs2,shp2,iflag)
263 call shape3tri(xi,et,xl2,xsj2,xs2,shp2,iflag)
270 f=f+pres(j)*shp2(4,j)
subroutine shape8q(xi, et, xl, xsj, xs, shp, iflag)
Definition: shape8q.f:20
subroutine shape3tri(xi, et, xl, xsj, xs, shp, iflag)
Definition: shape3tri.f:20
subroutine shape4q(xi, et, xl, xsj, xs, shp, iflag)
Definition: shape4q.f:20
subroutine nident(x, px, n, id)
Definition: nident.f:26
subroutine shape6tri(xi, et, xl, xsj, xs, shp, iflag)
Definition: shape6tri.f:20