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:10,1:numcstet) :: lmcstet
96 REAL*8,
DIMENSION(1:3,1:numnp) :: coor
100 INTEGER :: n1,n2,n3,n4,n5,n6
101 INTEGER :: n7,n8,n9,n10
102 INTEGER ::
i,nstart,nend
104 REAL*8 :: x1,x2,x3,x4,y1,y2,y3,y4,z1,z2,z3,z4
106 REAL*8 :: x14, x24, x34, y14, y24, y34, z14, z24, z34
107 REAL*8 :: c11,c21,c31
148 c11 = y24*z34 - z24*y34
149 c21 = -( x24*z34 - z24*x34 )
150 c31 = x24*y34 - y24*x34
153 vx6 = -( x14*c11 + y14*c21 + z14*c31 )
161 x = rho(
m)*cp(
m)*vx6/(6.d0*648.d0)
166 print*,
'ROCFRAC: NEG, Volume... STOPPING'
167 print*,
'ROCFRAC: ELEMENT =',
i
171 capct(n1) = capct(n1) +
x*18.d0
172 capct(n2) = capct(n2) +
x*18.d0
173 capct(n3) = capct(n3) +
x*18.d0
174 capct(n4) = capct(n4) +
x*18.d0
175 capct(n5) = capct(n5) +
x*96.d0
176 capct(n6) = capct(n6) +
x*96.d0
177 capct(n7) = capct(n7) +
x*96.d0
178 capct(n8) = capct(n8) +
x*96.d0
179 capct(n9) = capct(n9) +
x*96.d0
180 capct(n10) = capct(n10) +
x*96.d0
subroutine v3d10_capacitance(coor, lmcstet, matcstet, Rho, Cp, Capct, numnp, numcstet, numat_vol, nstart, nend)
int volume(const block *b)