Go to the source code of this file.
◆ materialdata_cond()
subroutine materialdata_cond |
( |
integer |
imat, |
|
|
integer |
ntmat_, |
|
|
real*8 |
t1l, |
|
|
real*8, dimension(0:6,ntmat_,*) |
cocon, |
|
|
integer, dimension(2,*) |
ncocon, |
|
|
real*8 |
cond |
|
) |
| |
24 integer imat,ntmat_,id,ncocon(2,*),ncoconst,seven
26 real*8 t1l,cocon(0:6,ntmat_,*),cond
32 ncoconst=ncocon(1,imat)
33 if(ncoconst.eq.0)
then 34 write(*,*)
'*ERROR in materialdata_cond' 36 &
' fluid conductivity is lacking' 38 elseif(ncoconst.gt.1)
then 39 write(*,*)
'*ERROR in materialdata_cond' 41 &
' conductivity for fluids must be isotropic' 45 call ident2(cocon(0,1,imat),t1l,ncocon(2,imat),seven,id)
46 if(ncocon(2,imat).eq.0)
then 49 elseif(ncocon(2,imat).eq.1)
then 53 elseif(id.eq.ncocon(2,imat))
then 56 cond=(cocon(1,id,imat)+
57 & (cocon(1,id+1,imat)-cocon(1,id,imat))*
58 & (t1l-cocon(0,id,imat))/
59 & (cocon(0,id+1,imat)-cocon(0,id,imat)))
subroutine ident2(x, px, n, ninc, id)
Definition: ident2.f:27