54 numnp,numcstet,numat_vol,nstart,nend)
88 REAL*8,
DIMENSION(1:numat_vol) :: rho, cp
90 REAL*8,
DIMENSION(1:numnp) :: capct
92 INTEGER,
DIMENSION(1:numcstet) :: matcstet
94 INTEGER,
DIMENSION(1:4,1:numcstet) :: lmcstet
96 REAL*8,
DIMENSION(1:3,1:numnp) :: coor
101 INTEGER :: n1,n2,n3,n4,n5,n6
102 INTEGER :: n7,n8,n9,n10
103 INTEGER ::
i,nstart,nend
105 REAL*8 :: x1,x2,x3,x4,y1,y2,y3,y4,z1,z2,z3,z4
107 REAL*8 :: x14, x24, x34, y14, y24, y34, z14, z24, z34
109 REAL*8 :: c11, c21, c31
144 c11 = y24*z34 - z24*y34
145 c21 = -( x24*z34 - z24*x34 )
146 c31 = x24*y34 - y24*x34
148 vx6 = -( x14*c11 + y14*c21 + z14*c31 )
156 x = rho(
m)*cp(
m)*vx6/24.d0
159 print*,
'ROCFRAC: ERROR'
160 print*,
'ROCFRAC: NEG, Volume... STOPPING'
161 print*,
'ROCFRAC: ELEMENT =',
i
162 print*,
'ROCFRAC: NODES=',n1,n2,n3,n4
163 print*,
'ROCFRAC: x-Coordinates:',x1,x2,x3,x4
164 print*,
'ROCFRAC: y-Coordinates:',y1,y2,y3,y4
165 print*,
'ROCFRAC: z-Coordinates:',z1,z2,z3,z4
169 capct(n1) = capct(n1) +
x
170 capct(n2) = capct(n2) +
x
171 capct(n3) = capct(n3) +
x
172 capct(n4) = capct(n4) +
x
int volume(const block *b)
subroutine v3d4_capacitance(coor, lmcstet, matcstet, Rho, Cp, Capct, numnp, numcstet, numat_vol, nstart, nend)