Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ConductivityTensor.f90
Go to the documentation of this file.
1 !-----------------------------------------------------GET_MAT_CONDUCTION
2 SUBROUTINE conductivitytensor(NumMatVol,k,dmat)
3 ! *--------------------------------------------------------------------*
4 ! | |
5 ! | Returns the material thermal conduction matrx, given |
6 ! | the material properties. Currently written for a material |
7 ! | with isotropic thermal properties. |
8 ! | |
9 ! | <NumMatVol> : number of materials in the model |
10 ! | <k> : isotropic thermal conduction coefficient |
11 ! | <dmat> : 3 x 3 matrix of the conduction tensor |
12 ! | |
13 ! *--------------------------------------------------------------------*
14 
15  IMPLICIT NONE
16 
17  REAL*8 , DIMENSION(NumMatVol,1:3,1:3) :: dmat
18  REAL*8 :: k
19  REAL*8 :: d1111,d1122,d1212
20  INTEGER :: nummatvol, i
21 
22 
23  dmat(:,:,:) = 0.d0
24 
25  DO i = 1,nummatvol
26  dmat(i,1,1) = k*1.d0
27  dmat(i,2,2) = k*1.d0
28  dmat(i,3,3) = k*1.d0
29  ENDDO
30 
31 END SUBROUTINE conductivitytensor
subroutine conductivitytensor(NumMatVol, k, dmat)
j indices k indices k
Definition: Indexing.h:6
blockLoc i
Definition: read.cpp:79