Télécharger a1re3d.eso

Retour à la liste

Numérotation des lignes :

a1re3d
  1. C A1RE3D SOURCE FD218221 24/02/07 21:15:02 11834
  2. subroutine a1re3d(NBRINC,NDIMG,NDIMA,NGF,AA,AK,BK,AM,JEA,
  3. # AFFICHE,ERR1)
  4.  
  5. c calcul du syteme d equations pour le retour avec une inclusion
  6.  
  7. implicit real*8 (a-h,o-z)
  8. implicit integer (i-n)
  9.  
  10. c nbre d inc max et numero de la contrainte du critere actif de traction
  11. integer NBRINC,ERR1,NDIMG
  12. c integer NBRACT
  13. c liste ordonnee des criteres (numa base generalisee lnumcrt(nordre))
  14. c nordre=1,NBRACT <=NDIMG
  15. c integer LNUMCRT(NDIMG)
  16. c Jacobienne dVe/dVA
  17. real*8 JEA(NDIMG,NDIMA)
  18. c fluage
  19. real*8 ak(NDIMG),bk(NDIMG),am(NDIMG)
  20.  
  21. c systeme lineaire
  22. integer ngf
  23. real*8 aa(ngf,ngf+1)
  24. c controle de l affichage
  25. logical affiche,affiche_local
  26.  
  27.  
  28.  
  29. c test taille matrice de couplage
  30. if((ngf.lt.ndimg).or.(NDIMG.ne.(9*NBRINC+3))) then
  31. print*,'Pb de dimension dans a1re3d'
  32. print*,'Redimensionner ngf>=14 dans incl3d pour a1ti3d'
  33. print*,'ou NDIMG ne 9*NBRINC+3'
  34. err1=1
  35. return
  36. end if
  37.  
  38. c option d affichage
  39. affiche_local=affiche
  40. c affiche_local=.true.
  41.  
  42.  
  43. if(affiche_local) then
  44. print*,'Dans a1re3d, AK BK AM'
  45. do i=1,NDIMG
  46. write(*,'(3E10.3)') AK(i),BK(i),AM(i)
  47. end do
  48. print*,'Dans a1re3d, JEA pour une inclusion'
  49. do i=1,NDIMG
  50. write (*,11) (JEA(i,j),j=1,24)
  51. 11 format (24E10.3)
  52. end do
  53. end if
  54.  
  55.  
  56. c -----traction-refermeture et cisaillement couples ----------------
  57.  
  58. t2 = ak(1) + am(1) / 0.2D1
  59. t6 = ak(2) + am(2) / 0.2D1
  60. t9 = ak(3) + am(3) / 0.2D1
  61. t12 = ak(4) + am(4) / 0.2D1
  62. t15 = ak(5) + am(5) / 0.2D1
  63. t18 = ak(6) + am(6) / 0.2D1
  64. t21 = ak(7) + am(7) / 0.2D1
  65. t24 = ak(8) + am(8) / 0.2D1
  66. t27 = ak(9) + am(9) / 0.2D1
  67. t30 = ak(10) + am(10) / 0.2D1
  68. t33 = ak(11) + am(11) / 0.2D1
  69. t36 = ak(12) + am(12) / 0.2D1
  70. AA(1,1) = -t2 * JEA(1,1) + 0.1D1
  71. AA(1,2) = -t6 * JEA(1,2)
  72. AA(1,3) = -t9 * JEA(1,3)
  73. AA(1,4) = -t12 * JEA(1,4)
  74. AA(1,5) = -t15 * JEA(1,5)
  75. AA(1,6) = -t18 * JEA(1,6)
  76. AA(1,7) = -t21 * JEA(1,7)
  77. AA(1,8) = -t24 * JEA(1,8)
  78. AA(1,9) = -t27 * JEA(1,9)
  79. AA(1,10) = -t30 * JEA(1,10)
  80. AA(1,11) = -t33 * JEA(1,11)
  81. AA(1,12) = -t36 * JEA(1,12)
  82. AA(2,1) = -t2 * JEA(2,1)
  83. AA(2,2) = -t6 * JEA(2,2) + 0.1D1
  84. AA(2,3) = -t9 * JEA(2,3)
  85. AA(2,4) = -t12 * JEA(2,4)
  86. AA(2,5) = -t15 * JEA(2,5)
  87. AA(2,6) = -t18 * JEA(2,6)
  88. AA(2,7) = -t21 * JEA(2,7)
  89. AA(2,8) = -t24 * JEA(2,8)
  90. AA(2,9) = -t27 * JEA(2,9)
  91. AA(2,10) = -t30 * JEA(2,10)
  92. AA(2,11) = -t33 * JEA(2,11)
  93. AA(2,12) = -t36 * JEA(2,12)
  94. AA(3,1) = -t2 * JEA(3,1)
  95. AA(3,2) = -t6 * JEA(3,2)
  96. AA(3,3) = -t9 * JEA(3,3) + 0.1D1
  97. AA(3,4) = -t12 * JEA(3,4)
  98. AA(3,5) = -t15 * JEA(3,5)
  99. AA(3,6) = -t18 * JEA(3,6)
  100. AA(3,7) = -t21 * JEA(3,7)
  101. AA(3,8) = -t24 * JEA(3,8)
  102. AA(3,9) = -t27 * JEA(3,9)
  103. AA(3,10) = -t30 * JEA(3,10)
  104. AA(3,11) = -t33 * JEA(3,11)
  105. AA(3,12) = -t36 * JEA(3,12)
  106. AA(4,1) = -t2 * JEA(4,1)
  107. AA(4,2) = -t6 * JEA(4,2)
  108. AA(4,3) = -t9 * JEA(4,3)
  109. AA(4,4) = -t12 * JEA(4,4) + 0.1D1
  110. AA(4,5) = -t15 * JEA(4,5)
  111. AA(4,6) = -t18 * JEA(4,6)
  112. AA(4,7) = -t21 * JEA(4,7)
  113. AA(4,8) = -t24 * JEA(4,8)
  114. AA(4,9) = -t27 * JEA(4,9)
  115. AA(4,10) = -t30 * JEA(4,10)
  116. AA(4,11) = -t33 * JEA(4,11)
  117. AA(4,12) = -t36 * JEA(4,12)
  118. AA(5,1) = -t2 * JEA(5,1)
  119. AA(5,2) = -t6 * JEA(5,2)
  120. AA(5,3) = -t9 * JEA(5,3)
  121. AA(5,4) = -t12 * JEA(5,4)
  122. AA(5,5) = -t15 * JEA(5,5) + 0.1D1
  123. AA(5,6) = -t18 * JEA(5,6)
  124. AA(5,7) = -t21 * JEA(5,7)
  125. AA(5,8) = -t24 * JEA(5,8)
  126. AA(5,9) = -t27 * JEA(5,9)
  127. AA(5,10) = -t30 * JEA(5,10)
  128. AA(5,11) = -t33 * JEA(5,11)
  129. AA(5,12) = -t36 * JEA(5,12)
  130. AA(6,1) = -t2 * JEA(6,1)
  131. AA(6,2) = -t6 * JEA(6,2)
  132. AA(6,3) = -t9 * JEA(6,3)
  133. AA(6,4) = -t12 * JEA(6,4)
  134. AA(6,5) = -t15 * JEA(6,5)
  135. AA(6,6) = -t18 * JEA(6,6) + 0.1D1
  136. AA(6,7) = -t21 * JEA(6,7)
  137. AA(6,8) = -t24 * JEA(6,8)
  138. AA(6,9) = -t27 * JEA(6,9)
  139. AA(6,10) = -t30 * JEA(6,10)
  140. AA(6,11) = -t33 * JEA(6,11)
  141. AA(6,12) = -t36 * JEA(6,12)
  142. AA(7,1) = -t2 * JEA(7,1)
  143. AA(7,2) = -t6 * JEA(7,2)
  144. AA(7,3) = -t9 * JEA(7,3)
  145. AA(7,4) = -t12 * JEA(7,4)
  146. AA(7,5) = -t15 * JEA(7,5)
  147. AA(7,6) = -t18 * JEA(7,6)
  148. AA(7,7) = -t21 * JEA(7,7) + 0.1D1
  149. AA(7,8) = -t24 * JEA(7,8)
  150. AA(7,9) = -t27 * JEA(7,9)
  151. AA(7,10) = -t30 * JEA(7,10)
  152. AA(7,11) = -t33 * JEA(7,11)
  153. AA(7,12) = -t36 * JEA(7,12)
  154. AA(8,1) = -t2 * JEA(8,1)
  155. AA(8,2) = -t6 * JEA(8,2)
  156. AA(8,3) = -t9 * JEA(8,3)
  157. AA(8,4) = -t12 * JEA(8,4)
  158. AA(8,5) = -t15 * JEA(8,5)
  159. AA(8,6) = -t18 * JEA(8,6)
  160. AA(8,7) = -t21 * JEA(8,7)
  161. AA(8,8) = -t24 * JEA(8,8) + 0.1D1
  162. AA(8,9) = -t27 * JEA(8,9)
  163. AA(8,10) = -t30 * JEA(8,10)
  164. AA(8,11) = -t33 * JEA(8,11)
  165. AA(8,12) = -t36 * JEA(8,12)
  166. AA(9,1) = -t2 * JEA(9,1)
  167. AA(9,2) = -t6 * JEA(9,2)
  168. AA(9,3) = -t9 * JEA(9,3)
  169. AA(9,4) = -t12 * JEA(9,4)
  170. AA(9,5) = -t15 * JEA(9,5)
  171. AA(9,6) = -t18 * JEA(9,6)
  172. AA(9,7) = -t21 * JEA(9,7)
  173. AA(9,8) = -t24 * JEA(9,8)
  174. AA(9,9) = -t27 * JEA(9,9) + 0.1D1
  175. AA(9,10) = -t30 * JEA(9,10)
  176. AA(9,11) = -t33 * JEA(9,11)
  177. AA(9,12) = -t36 * JEA(9,12)
  178. AA(10,1) = -t2 * JEA(10,1)
  179. AA(10,2) = -t6 * JEA(10,2)
  180. AA(10,3) = -t9 * JEA(10,3)
  181. AA(10,4) = -t12 * JEA(10,4)
  182. AA(10,5) = -t15 * JEA(10,5)
  183. AA(10,6) = -t18 * JEA(10,6)
  184. AA(10,7) = -t21 * JEA(10,7)
  185. AA(10,8) = -t24 * JEA(10,8)
  186. AA(10,9) = -t27 * JEA(10,9)
  187. AA(10,10) = -t30 * JEA(10,10) + 0.1D1
  188. AA(10,11) = -t33 * JEA(10,11)
  189. AA(10,12) = -t36 * JEA(10,12)
  190. AA(11,1) = -t2 * JEA(11,1)
  191. AA(11,2) = -t6 * JEA(11,2)
  192. AA(11,3) = -t9 * JEA(11,3)
  193. AA(11,4) = -t12 * JEA(11,4)
  194. AA(11,5) = -t15 * JEA(11,5)
  195. AA(11,6) = -t18 * JEA(11,6)
  196. AA(11,7) = -t21 * JEA(11,7)
  197. AA(11,8) = -t24 * JEA(11,8)
  198. AA(11,9) = -t27 * JEA(11,9)
  199. AA(11,10) = -t30 * JEA(11,10)
  200. AA(11,11) = -t33 * JEA(11,11) + 0.1D1
  201. AA(11,12) = -t36 * JEA(11,12)
  202. AA(12,1) = -t2 * JEA(12,1)
  203. AA(12,2) = -t6 * JEA(12,2)
  204. AA(12,3) = -t9 * JEA(12,3)
  205. AA(12,4) = -t12 * JEA(12,4)
  206. AA(12,5) = -t15 * JEA(12,5)
  207. AA(12,6) = -t18 * JEA(12,6)
  208. AA(12,7) = -t21 * JEA(12,7)
  209. AA(12,8) = -t24 * JEA(12,8)
  210. AA(12,9) = -t27 * JEA(12,9)
  211. AA(12,10) = -t30 * JEA(12,10)
  212. AA(12,11) = -t33 * JEA(12,11)
  213. AA(12,12) = -t36 * JEA(12,12) + 0.1D1
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220. if(affiche_local) then
  221. print*, 'Dans a1re3d : matrice de couplage'
  222. do i=1,ndimg
  223. write (*,'(12E10.3)') (AA(i,j),j=1,12)
  224. end do
  225. end if
  226.  
  227. return
  228. end
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  

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