34 SUBROUTINE i9grd3(IERR ,AREA ,TSTIF ,T ,VOL ,
36 3 IPARG ,PM ,ELBUF_TAB,IGROU ,IELN )
42 use element_mod ,
only : nixs
46#include "implicit_f.inc"
56 INTEGER II, IGROU, IELN , IERR, IX(4), IXS(NIXS),IPARG(NPARG,NGROUP)
58 .
area, tstif, t, vol, x(3,numnod), pm(npropm,nummat)
59 TYPE (ELBUF_STRUCT_),
DIMENSION(NGROUP) :: ELBUF_TAB
63 INTEGER I, N1, N2, N3, N4, NG,MAT
65 . x1, x2, x3, x4, y1, y2, y3, y4, z1, z2, z3, z4,
66 . nx, ny, nz, dx, dy, dz,
norm, dist, cond
67 INTEGER :: LLT ,NFT ,MTN ,IAD ,ITY ,NPT ,JALE ,ISMSTR ,JEUL ,JTUR ,JTHE ,JLAG ,JMULT ,JHBE
68 INTEGER :: JIVF, NVAUX, JPOR, JCVT, JCLOSE, JPLASOL, IREP, IINT, IGTYP
69 INTEGER :: ISORTH, ISORTHG, ISRAT, ISROT, ICSEN, IFAILURE, JSMS
76 DO 200 ng=ii/nvsiz+1,ngroup
78 2 mtn ,llt ,nft ,iad ,ity ,
79 3 npt ,jale ,ismstr ,jeul ,jtur ,
80 4 jthe ,jlag ,jmult ,jhbe ,jivf ,
81 5 nvaux ,jpor ,jcvt ,jclose ,jplasol ,
82 6 irep ,iint ,igtyp ,israt ,isrot ,
83 7 icsen ,isorth ,isorthg ,ifailure,jsms )
85 IF(ii>nft+llt)
GO TO 200
86 IF(iparg(8,ng)==1.OR.jthe/=1)
THEN
99 vol = elbuf_tab(ng)%GBUF%VOL(i)
126 nx=(y1-y3)*(z2-z4) - (z1-z3)*(y2-y4)
127 ny=(z1-z3)*(x2-x4) - (x1-x3)*(z2-z4)
128 nz=(x1-x3)*(y2-y4) - (y1-y3)*(x2-x4)
129 norm = sqrt(nx**2 + ny**2 + nz**2)
133 dx = two*(x1 + x2 + x3 + x4)
134 . -x(1,ixs(2))-x(1,ixs(3))
135 . -x(1,ixs(4))-x(1,ixs(5))
136 . -x(1,ixs(6))-x(1,ixs(7))
137 . -x(1,ixs(8))-x(1,ixs(9))
139 dy = two*(y1 + y2 + y3 + y4)
140 . -x(2,ixs(2))-x(2,ixs(3))
141 . -x(2,ixs(4))-x(2,ixs(5))
142 . -x(2,ixs(6))-x(2,ixs(7))
143 . -x(2,ixs(8))-x(2,ixs(9))
145 dz = two*(z1 + z2 + z3 + z4)
146 . -x(3,ixs(2))-x(3,ixs(3))
147 . -x(3,ixs(4))-x(3,ixs(5))
148 . -x(3,ixs(6))-x(3,ixs(7))
149 . -x(3,ixs(8))-x(3,ixs(9))
154 dist = one_over_8*(dx*nx+dy*ny+dz*nz) /
max(em15,
norm)
159 t = elbuf_tab(ng)%GBUF%TEMP(i)
161 IF(t<=pm(80,mat))
THEN
162 cond=pm(75,mat)+pm(76,mat)*t
164 cond=pm(77,mat)+pm(78,mat)*t
subroutine initbuf(iparg, ng, mtn, llt, nft, iad, ity, npt, jale, ismstr, jeul, jtur, jthe, jlag, jmult, jhbe, jivf, mid, jpor, jcvt, jclose, jpla, irep, iint, igtyp, israt, isrot, icsen, isorth, isorthg, ifailure, jsms)