Télécharger elin3d.eso

Retour à la liste

Numérotation des lignes :

elin3d
  1. C ELIN3D SOURCE PV090527 23/01/27 21:15:29 11574
  2. subroutine elin3d(NBRINC,NDIMG,dethi,dephi,dethm,dephm,deh,
  3. # dbwpw,dbgVg,JEA,DEPSE1,affiche,err1)
  4.  
  5. c tir d epse dans le cas d un seul type d inclusion sans le fluage
  6.  
  7. c organisation de la Jacobienne
  8. c ligne : [eie1, eie2, eie3, ere1, ere2, ere3, eoe1, eoe2, eoe3, eme1, eme2, eme3]
  9. c 1 2 3 4 5 6 7 8 9 10 11 12 = NDIMG
  10. c colonne : [eia1, eia2, eia3, era1, era2, era3, eoa1, eoa2, eoa3, e00a1, e00a2, e00a3, eca1, eca2, eca3, eh1, eh2, eh3, bwiPwi, bgiVgi, bgiVdi, bwmPwm, bgmVgm, bgmVdm]
  11. c 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
  12. implicit real*8 (a-h,o-z)
  13. implicit integer (i-n)
  14.  
  15. logical affiche
  16. integer NDIMG,err1
  17. real*8 dethi,dephi,dethm,dephm
  18. real*8 deh(3)
  19. real*8 dbwpw(0:NBRINC),dbgVg(0:NBRINC)
  20. c jacobienne depse/depsimp si un seul type dinclusion
  21. real*8 JEA(NDIMG,NDIMG+12),DEPSE1(NDIMG)
  22.  
  23. if(NDIMG.ne.12) then
  24. print*,'Pb de dimension dans jelc3d'
  25. err1=1
  26. return
  27. end if
  28.  
  29. if (affiche) then
  30. print*,'Chargement ds elin3d'
  31. print*,'dethi',dethi
  32. print*,'dephi',dephi
  33. print*,'dethm',dethm
  34. print*,'dethm',dethm
  35. print*,'deh',deh
  36. print*,'dbwpw',dbwpw
  37. print*,'dbgVg',dbgVg
  38. end if
  39.  
  40. t1 = dethi + dephi
  41. t2 = dethm + dephm
  42. t3 = t1 * (JEA(3,1) + JEA(3,2) + JEA(3,3)) + t2 * (JEA(3,13) + JEA
  43. #(3,14) + JEA(3,15)) + JEA(3,16) * deh(1) + JEA(3,17) * deh(2) + JE
  44. #A(3,18) * deh(3) + JEA(3,19) * dbwPw(1) + JEA(3,20) * dbgVg(1) + J
  45. #EA(3,22) * dbwPw(0) + JEA(3,23) * dbgVg(0)
  46. t4 = t1 * (JEA(4,1) + JEA(4,2) + JEA(4,3)) + t2 * (JEA(4,13) + JEA
  47. #(4,14) + JEA(4,15)) + JEA(4,16) * deh(1) + JEA(4,17) * deh(2) + JE
  48. #A(4,18) * deh(3) + JEA(4,19) * dbwPw(1) + JEA(4,20) * dbgVg(1) + J
  49. #EA(4,22) * dbwPw(0) + JEA(4,23) * dbgVg(0)
  50. t5 = t1 * (JEA(5,1) + JEA(5,2) + JEA(5,3)) + t2 * (JEA(5,13) + JEA
  51. #(5,14) + JEA(5,15)) + JEA(5,16) * deh(1) + JEA(5,17) * deh(2) + JE
  52. #A(5,18) * deh(3) + JEA(5,19) * dbwPw(1) + JEA(5,20) * dbgVg(1) + J
  53. #EA(5,22) * dbwPw(0) + JEA(5,23) * dbgVg(0)
  54. t6 = t1 * (JEA(6,1) + JEA(6,2) + JEA(6,3)) + t2 * (JEA(6,13) + JEA
  55. #(6,14) + JEA(6,15)) + JEA(6,16) * deh(1) + JEA(6,17) * deh(2) + JE
  56. #A(6,18) * deh(3) + JEA(6,19) * dbwPw(1) + JEA(6,20) * dbgVg(1) + J
  57. #EA(6,22) * dbwPw(0) + JEA(6,23) * dbgVg(0)
  58. t7 = t1 * (JEA(7,1) + JEA(7,2) + JEA(7,3)) + t2 * (JEA(7,13) + JEA
  59. #(7,14) + JEA(7,15)) + JEA(7,16) * deh(1) + JEA(7,17) * deh(2) + JE
  60. #A(7,18) * deh(3) + JEA(7,19) * dbwPw(1) + JEA(7,20) * dbgVg(1) + J
  61. #EA(7,22) * dbwPw(0) + JEA(7,23) * dbgVg(0)
  62. t8 = t1 * (JEA(8,1) + JEA(8,2) + JEA(8,3)) + t2 * (JEA(8,13) + JEA
  63. #(8,14) + JEA(8,15)) + JEA(8,16) * deh(1) + JEA(8,17) * deh(2) + JE
  64. #A(8,18) * deh(3) + JEA(8,19) * dbwPw(1) + JEA(8,20) * dbgVg(1) + J
  65. #EA(8,22) * dbwPw(0) + JEA(8,23) * dbgVg(0)
  66. t9 = t1 * (JEA(9,1) + JEA(9,2) + JEA(9,3)) + t2 * (JEA(9,13) + JEA
  67. #(9,14) + JEA(9,15)) + JEA(9,16) * deh(1) + JEA(9,17) * deh(2) + JE
  68. #A(9,18) * deh(3) + JEA(9,19) * dbwPw(1) + JEA(9,20) * dbgVg(1) + J
  69. #EA(9,22) * dbwPw(0) + JEA(9,23) * dbgVg(0)
  70. t10 = t1 * (JEA(10,1) + JEA(10,2) + JEA(10,3)) + t2 * (JEA(10,13)
  71. #+ JEA(10,14) + JEA(10,15)) + JEA(10,16) * deh(1) + JEA(10,17) * de
  72. #h(2) + JEA(10,18) * deh(3) + JEA(10,19) * dbwPw(1) + JEA(10,20) *
  73. #dbgVg(1) + JEA(10,22) * dbwPw(0) + JEA(10,23) * dbgVg(0)
  74. t11 = t1 * (JEA(11,1) + JEA(11,2) + JEA(11,3)) + t2 * (JEA(11,13)
  75. #+ JEA(11,14) + JEA(11,15)) + JEA(11,16) * deh(1) + JEA(11,17) * de
  76. #h(2) + JEA(11,18) * deh(3) + JEA(11,19) * dbwPw(1) + JEA(11,20) *
  77. #dbgVg(1) + JEA(11,22) * dbwPw(0) + JEA(11,23) * dbgVg(0)
  78. t12 = t1 * (JEA(12,1) + JEA(12,2) + JEA(12,3)) + t2 * (JEA(12,13)
  79. #+ JEA(12,14) + JEA(12,15)) + JEA(12,16) * deh(1) + JEA(12,17) * de
  80. #h(2) + JEA(12,18) * deh(3) + JEA(12,19) * dbwPw(1) + JEA(12,20) *
  81. #dbgVg(1) + JEA(12,22) * dbwPw(0) + JEA(12,23) * dbgVg(0)
  82. DEPSE1(1) = t1 * (JEA(1,1) + JEA(1,2) + JEA(1,3)) + t2 * (JEA(1,13
  83. #) + JEA(1,14) + JEA(1,15)) + JEA(1,16) * deh(1) + JEA(1,17) * deh(
  84. #2) + JEA(1,18) * deh(3) + JEA(1,19) * dbwPw(1) + JEA(1,20) * dbgVg
  85. #(1) + JEA(1,22) * dbwPw(0) + JEA(1,23) * dbgVg(0)
  86. DEPSE1(2) = t1 * (JEA(2,1) + JEA(2,2) + JEA(2,3)) + t2 * (JEA(2,13
  87. #) + JEA(2,14) + JEA(2,15)) + JEA(2,16) * deh(1) + JEA(2,17) * deh(
  88. #2) + JEA(2,18) * deh(3) + JEA(2,19) * dbwPw(1) + JEA(2,20) * dbgVg
  89. #(1) + JEA(2,22) * dbwPw(0) + JEA(2,23) * dbgVg(0)
  90. DEPSE1(3) = t3
  91. DEPSE1(4) = t4
  92. DEPSE1(5) = t5
  93. DEPSE1(6) = t6
  94. DEPSE1(7) = t7
  95. DEPSE1(8) = t8
  96. DEPSE1(9) = t9
  97. DEPSE1(10) = t10
  98. DEPSE1(11) = t11
  99. DEPSE1(12) = t12
  100.  
  101.  
  102.  
  103. if(affiche) then
  104. print*,'dans elin3d'
  105. do i=1,NDIMG
  106. print*,'DEPSE1(',i,')=',DEPSE1(i)
  107. end do
  108. end if
  109.  
  110. return
  111. end
  112.  
  113.  
  114.  

© Cast3M 2003 - Tous droits réservés.
Mentions légales