Télécharger elquoi.eso

Retour à la liste

Numérotation des lignes :

elquoi
  1. C ELQUOI SOURCE OF166741 24/11/18 21:15:02 12081
  2.  
  3. C=======================================================================
  4. C= Sous-programme ELQUOI =
  5. C= --------------------- =
  6. C= =
  7. C= Ce sous programme fournit les caracteristiques des elements finis. =
  8. C= =
  9. C= Entrees : =
  10. C= --------- =
  11. C= NELE : numero de l'element fini =
  12. C= NBPOIN : nombre de points d'integration contraintes =
  13. C= multicouches ( COQ6 - COQ8 ) =
  14. C= INTTYP : type d'integration utilisee par l'operateur =
  15. C= Si l'on desire un segment d'integration pour un champ aux : =
  16. C= 1 = NOEUDS ( appel a RENOEU ) =
  17. C= 2 = points de GAUSS pour centre de GRAVITE et CHAMP CONSTANT =
  18. C= 3 = points de GAUSS pour la RIGIDITE =
  19. C= 4 = points de GAUSS pour la MASSE =
  20. C= 5 = points de GAUSS pour les CONTRAINTES =
  21. C= 6 = on ne calcule pas de segment d'integration =
  22. C= 7 = FACE =
  23. C= 8 = CENTREP1 =
  24. C= 9 = MSOMMET =
  25. C -10= en mecanique on veut calculer les 5 premiers et on les met =
  26. C dans infmod(3 ...) =
  27. C= Dans un autre cas, infell(11) renverra un pointeur sur un segment =
  28. C= d'integration de type RIGIDITE. =
  29. C= IMODEL : pointeur sur une zone elementaire d'un modele =
  30. C= SEGMENT ACTIF en entree et en sortie =
  31. C= Sorties : =
  32. C= --------- =
  33. C= retourne IPTR pointeur sur un segment INFO ACTIF contenant : =
  34. C= La dimension de infell est fixee par NINFOS =
  35. C= infell( 1) numero de l'element fini =
  36. C= infell( 2) nombre de points d'integration en contraintes =
  37. C= multicouche =
  38. C= infell( 3) nombre de points d'integration pour la masse =
  39. C= infell( 4) nombre de points d'integration pour SIGMA =
  40. C= BSIGMA et KSIGMA =
  41. C= infell( 5) nombre de caracteristiques =
  42. C= infell( 6) nombre de points d'integration pour la RIGIDITE =
  43. C= infell( 7) longueur d'un tableau de travail pour l'element =
  44. C= infell( 8) nombre de fonctions de forme =
  45. C= infell( 9) nbre de d.d.l. dans la matrice de RIGIDITE =
  46. C= infell(10) taille de la matrice de Hooke =
  47. C= infell(11) pointeur sur le segment d'integration =
  48. C= infell(12) pointeur sur le 2nd segment d'integration des =
  49. C= elements homogeneises ou fluides (COQ6 ou COQ8) =
  50. C= infell(13) numero de la formulation de l'element fini =
  51. C= = 1 MASSIF =
  52. C= voir aussi = 3 COQUE =
  53. C= NUMMFR.eso = 5 COQUE EPAISSE ( COQ6 , COQ8 ) =
  54. C= = 7 POUTRE =
  55. C= = 9 COQUE AVEC CISAILLEMENT TRANSVERSE =
  56. C= = 11 LIQUIDE =
  57. C= = 13 TUYAU =
  58. C= = 15 LINESPRING =
  59. C= = 17 TUYAU FISSURE =
  60. C= = 19 RACCORD MASSIF =
  61. C= = 21 RACCORD COQUE =
  62. C= = 23 SURFACE LIBRE =
  63. C= = 25 MEMBRANE =
  64. C= = 26 point support MODAL =
  65. C= = 27 UNIAXIALE =
  66. C= = 28 point support STATIQUE =
  67. C= = 29 THERMIQUE =
  68. C= = 31 INCOMPRESSIBLES =
  69. C= = 33 POREUX =
  70. C= = 35 JOINT =
  71. C= = 37 HOMOGENEISE =
  72. C= = 39 TUYO =
  73. C= = 41 TUYAU ACOUSTIQUE PURE =
  74. C= = 43 RACCORD TUYAU FLUIDE =
  75. C= = 45 HYBRIDE =
  76. C= = 47 FIBRE =
  77. C= = 49 BARRE 3D EXCENTREE =
  78. C= = 51 LIASON A 2 NOEUDS =
  79. C= = 53 JOINT CISAILLEMENT (2D) =
  80. C= = 55 JOINT GENERALISE =
  81. C= = 57 POREUX TYPE Q =
  82. C= = 59 POREUX TYPE R =
  83. C= = 61 MACRO ELEMENT =
  84. C= = 63 XFEM meca rupt (2D/3D) =
  85. C= = 65 THERMOHYDRIQUE =
  86. C= = 69 MAGNETODYNAMIQUE =
  87. C= = 71 ELECTROSTATIQUE =
  88. C= = 73 DIFFUSION =
  89. C= = 75 JOINT UNIDIMENSIONNEL =
  90. C= = 77 ZONE COHESIVE =
  91. C= = 79 TUYAU 1D pour advection
  92. C= = 78 COAXIAL
  93. C= = 89 Elements HHO [HHO_MFR_ELEMENT CCHHOPA.INC]=
  94. C=======================================================================
  95. C= infell(14) numero de l'element geometrique associe (NUMGEO) =
  96. C= infell(15) nombre maximal de d.d.l. par noeud =
  97. C= infell(16) nombre de composantes de contraintes ou de deform. =
  98. C=======================================================================
  99.  
  100. SUBROUTINE ELQUOI(NELE,NBPOIN,INTTYP,IPTR,IPMODL)
  101.  
  102. IMPLICIT INTEGER(I-N)
  103. IMPLICIT REAL*8(A-H,O-Z)
  104.  
  105. -INC PPARAM
  106. -INC CCOPTIO
  107. -INC CCGEOME
  108. -INC CCHAMP
  109. C= DEB === Formulation HHO ===== Include specifique ====================
  110. -INC CCHHOPA
  111. C= FIN === Formulation HHO =============================================
  112.  
  113. -INC SMMODEL
  114. -INC SMELEME
  115. -INC SMLMOTS
  116. -INC SMINTE
  117.  
  118. C Segment (type LISTENTI) contenant les informations sur un element
  119. SEGMENT INFO
  120. INTEGER INFELL(JG)
  121. ENDSEGMENT
  122.  
  123. C=======================================================================
  124. C= INTEGR : SAVE local des pointeurs sur les segments d'integration =
  125. C= CAS GENERAL =
  126. C= NELFI : Nombre de types d'element FINI (= LNOMTP de bdata.eso) =
  127. C= NBMODE : Nombre de MODEs de calcul (= nb valeurs possibles IFOMOD) =
  128. C= TYINTE : Type de l'INTEGRATION utilise par le calcul =
  129. C= (correspond a la valeur de INTTYP=infell(11) en entree) =
  130. C= NTYNTE : Nombre de TYPEs de segment D'INTEGRATION possibles =
  131. C= (voir la description de INTTYP ci-dessus) =
  132. C= NINFOS : Dimension (JG) du tableau infell (segment INFO) = 16 =
  133. C= On sauvegarde dans INTEGR(I,J) le pointeur sur un segment d'inte- =
  134. C= gration correspondant a l'element fini de type I et une integration =
  135. C= de type J. =
  136. C=======================================================================
  137. C Valeurs de IFOMOD : -1 0 1 2 3 4 5 6
  138. C PLAN AXIS FOUR TRID UNID UNID UNID FREQ
  139. C PLAN AXIS SPHE
  140. PARAMETER ( NELFI = 300 , NTYNTE = 9 , NBMODE = 8 )
  141. PARAMETER ( NINTEG = NELFI * NTYNTE * NBMODE , NINFOS = 16 )
  142.  
  143. INTEGER INTEGR(NELFI,NTYNTE,NBMODE),TYINTE
  144.  
  145. logical dcmate,dcmat2
  146.  
  147. SAVE INTEGR
  148. DATA INTEGR / NINTEG*0 /
  149.  
  150. IPTR = 0
  151.  
  152. C Tests de verification :
  153. IF (NELFI.LT.LNOMTP) THEN
  154. WRITE(IOIMP,*)
  155. WRITE(IOIMP,*) 'ELQUOI : valeur de NELFI incorrecte !'
  156. WRITE(IOIMP,*) ' NELFI = ',NELFI,LNOMTP
  157. CALL ERREUR(5)
  158. RETURN
  159. ENDIF
  160. C On se place sur la bonne "tranche" du tableau INTEGR :
  161. IBMODE = IFOMOD + 2
  162. IF (NBMODE.LT.IBMODE) THEN
  163. WRITE(IOIMP,*)
  164. WRITE(IOIMP,*) 'ELQUOI : valeur de NBMODE incorrecte !'
  165. WRITE(IOIMP,*) ' IBMODE = ',IBMODE,NBMODE,IFOMOD
  166. CALL ERREUR(5)
  167. RETURN
  168. ENDIF
  169. C Quel(s) type(s) de segment est(sont) a traiter ?
  170. TYINTE = INTTYP
  171. IF (INTTYP.EQ.-10) TYINTE = 0
  172.  
  173. IMODEL = IPMODL
  174. c* write(ioimp,*) 'Entree dans ELQUOI : IMODEL=',imodel,formod(1)
  175.  
  176. IF (imodel.INFMOD(/1).LT.1) THEN
  177. WRITE(IOIMP,*)
  178. WRITE(IOIMP,*) 'ELQUOI : INFMOD(/1) incorrect',INFMOD(/1),' < 1'
  179. CALL ERREUR(5)
  180. ENDIF
  181.  
  182. C Recuperation des donnees de infell en entree
  183. MELE = NELE
  184. NBGS = NBPOIN
  185. IELE = NUMGEO(MELE)
  186. MFR = NUMMFR(MELE)
  187.  
  188. C==== Formulation HHO ===== Appel specifique a HHOELQ ==================
  189. IF (MELE .EQ. HHO_NUM_ELEMENT) THEN
  190. C idem IF (MFR .EQ. HHO_MFR_ELEMENT) THEN
  191. CALL HHOELQ(IPMODL,INTTYP, IPTR)
  192. RETURN
  193. END IF
  194. C==== Formulation HHO ==================================================
  195.  
  196. dcmate = .false.
  197. dcmat2 = .false.
  198. do im = 1, imodel.matmod(/2)
  199. if (imodel.matmod(im).eq.'IMPEDANCE') then
  200. dcmate = .true.
  201. meleme = imodel.imamod
  202. ityp1 = meleme.itypel
  203. mfr = nummfr(mele)
  204. if (ityp1.eq.1) mele = 45
  205. iele = numgeo(mele)
  206. endif
  207. enddo
  208. C Nombre de points d'integration dans l'epaisseur (stocke dans IMODEL)
  209. NPINT = imodel.INFMOD(1)
  210. c IF(MELE.EQ.263) NPINT=0
  211. C Initialisation
  212. IPT2 = 0
  213. JG = NINFOS
  214. SEGINI,INFO
  215.  
  216. C=---------------------------------------------------------------------=
  217. C= REMPLISSAGE DU TABLEAU infell
  218. C=---------------------------------------------------------------------=
  219. C Remplissage de infell(1) : numero de l'element fini
  220. C --------------------------
  221. INFELL(1) = NELE
  222.  
  223. C Remplissage de infell(8) :
  224. C --------------------------
  225. C Sauf cas particuliers, le nombre de fonctions de forme de l'element
  226. C fini est egal au nombre de noeuds de l'element geometrique support.
  227. INFELL(8) = NBNNE(IELE)
  228. C Massifs : TRIx-QUAx 4 a 11, CUxx a PRxx 14 a 17, TExx-PYxx 23 a 26
  229. IF (MELE.GE.4.AND.MELE.LE.11) THEN
  230. INFELL(8) = 3
  231. ELSE IF (MELE.GE.14.AND.MELE.LE.17) THEN
  232. infell(8) = 3
  233. ELSE IF (MELE.GE.23.AND.MELE.LE.26) THEN
  234. infell(8) = 3
  235. C Polygones : POxx 111 a 122
  236. ELSE IF (MELE.GE.111.AND.MELE.LE.122) THEN
  237. IF (MELE.EQ.111) infell(8) = 3
  238. IF (MELE.EQ.112) infell(8) = 4
  239. IF (MELE.EQ.113) infell(8) = 5
  240. IF (MELE.EQ.114) infell(8) = 6
  241. IF (MELE.EQ.115) infell(8) = 7
  242. IF (MELE.EQ.116) infell(8) = 8
  243. IF (MELE.EQ.117) infell(8) = 9
  244. IF (MELE.EQ.118) infell(8) = 10
  245. IF (MELE.EQ.119) infell(8) = 11
  246. IF (MELE.EQ.120) infell(8) = 12
  247. IF (MELE.EQ.121) infell(8) = 13
  248. IF (MELE.EQ.122) infell(8) = 14
  249. C Elements QxRI 183 a 184
  250. ELSE IF (MELE.EQ.183.OR.MELE.EQ.184) THEN
  251. infell(8) = 3
  252. C Elements C20R ET P15R 279 A 280
  253. ELSE IF (MELE.EQ.279.OR.MELE.EQ.280) THEN
  254. infell(8) = 3
  255. CTY Element XQ4R (xfem meca rupture en 2D)
  256. ELSEIF(MELE.eq.263) THEN
  257. infell(8)=40
  258. CTY Element XC8R (xfem meca rupture en 3D)
  259. ELSE IF(MELE.eq.264) THEN
  260. infell(8)=80
  261. ENDIF
  262.  
  263. C Elements Navier Stokes : cas P1CENTRE
  264. IF(TYINTE.EQ.8) THEN
  265. C cas MACRO 2D QUAF 2D --> TRI3
  266. IF(MELE.EQ.217.OR.MELE.EQ.224.OR.MELE.EQ.231
  267. & .OR.MELE.EQ.238.OR.MELE.EQ.245.OR.MELE.EQ.252)
  268. & infell(8) = 3
  269. C cas MACRO 2D QUAF 2D --> QUA4
  270. IF(MELE.EQ.218.OR.MELE.EQ.225.OR.MELE.EQ.232
  271. & .OR.MELE.EQ.239.OR.MELE.EQ.246.OR.MELE.EQ.253)
  272. & infell(8) = 3
  273. C cas MACRO 3D QUAF 3D
  274. C IF((MELE.GE.226.AND.MELE.LE.229).OR.
  275. C & (MELE.GE.247.AND.MELE.LE.250)) infell(8) = 4
  276. ENDIF
  277. C Elements Navier Stokes : cas MSOMMET
  278. IF(TYINTE.EQ.9) THEN
  279. C cas MACRO QUAF 1D --> SEG2
  280. IF(MELE.EQ.216.OR.MELE.EQ.223.OR.MELE.EQ.230
  281. & .OR.MELE.EQ.237.OR.MELE.EQ.244.OR.MELE.EQ.251) IELE = 2
  282. C cas MACRO QUAF 2D --> TRI3
  283. IF(MELE.EQ.217.OR.MELE.EQ.224.OR.MELE.EQ.231
  284. & .OR.MELE.EQ.238.OR.MELE.EQ.245.OR.MELE.EQ.252) IELE = 4
  285. C cas MACRO QUAF 2D --> QUA4
  286. IF(MELE.EQ.218.OR.MELE.EQ.225.OR.MELE.EQ.232
  287. & .OR.MELE.EQ.239.OR.MELE.EQ.246.OR.MELE.EQ.253) IELE = 8
  288. C cas MACRO QUAF 3D --> CUB8
  289. IF(MELE.EQ.233.OR.MELE.EQ.254) IELE = 14
  290. C cas MACRO QUAF 3D --> PRI6
  291. IF(MELE.EQ.234.OR.MELE.EQ.255) IELE = 16
  292. C cas MACRO QUAF 3D --> TET4
  293. IF(MELE.EQ.235.OR.MELE.EQ.256) IELE = 23
  294. C cas MACRO QUAF 3D --> PYR5
  295. IF(MELE.EQ.236.OR.MELE.EQ.257) IELE = 25
  296. infell(8) = NBNNE(IELE)
  297. infell(14)= IELE
  298. ENDIF
  299.  
  300. C Pour les elements xxxP (79 a 83), TUYO (96), JOPx (108 a 110), xxxQ
  301. C (173 a 177), xxxR (178 a 182), JORx (185 a 187) et JOQx(188 a 190),
  302. C infell(8) est affecte lors du remplissage complet de infell.
  303.  
  304. C Remplissage de infell(13) et infell(14) :
  305. C -----------------------------------------
  306. C infell(13) : numero de la FORMULATION - MFR=NUMMFR(NELE)
  307. infell(13) = MFR
  308. if (formod(1).eq.'LIAISON'.and.MFR.eq.27) infell(13) = 24
  309. do im = 1,matmod(/2)
  310. if (MFR.eq.27.and.matmod(im).eq.'MODAL') infell(13) = 26
  311. if (MFR.eq.27.and.matmod(im).eq.'STATIQUE') infell(13) = 28
  312. enddo
  313. IF (FORMOD(1).EQ.'CHARGEMENT') THEN
  314. IF (MFR.EQ.1) INFELL(13) = 72
  315. IF (MFR.EQ.3.OR.MFR.EQ.5.OR.MFR.EQ.7.OR.MFR.EQ.9.OR.
  316. & MFR.EQ.13) INFELL(13) = 74
  317. ENDIF
  318. MFR = infell(13)
  319. mfr3 = nummfr(nele)
  320. C mfr2 non nul en cas de formulation massive non mecanique
  321. mfr2 = 0
  322. if (MFR.EQ.26.OR.MFR.EQ.28) mfr3 = mfr
  323. C Cas particuliers : elements HYxx (99 a 103)
  324. C MFR = NUMMFR(mele) = 45 mais infell(13)=1 (MASSIF)
  325. IF (MELE.GE.99.AND.MELE.LE.103) infell(13)=1
  326.  
  327. C ELECTROSTATIQUE : MFR=71=infell(13) et NUMMFR(mele)=1 (MASSIF)
  328. IF (FORMOD(1).EQ.'ELECTROSTATIQUE') mfr2=71
  329.  
  330. C DIFFUSION : MFR=73=infell(13) et NUMMFR(mele)=1 (MASSIF)
  331. IF (FORMOD(1).EQ.'DIFFUSION') THEN
  332. IF (MFR .EQ. 1) THEN
  333. infell(13)=73
  334. ELSE
  335. infell(13)=MFR
  336. ENDIF
  337. ENDIF
  338.  
  339. IF (mfr2.NE.0) infell(13) = mfr2
  340. C
  341. C infell(14) : numero de l'element GEOMETRIQUE - IELE=NUMGEO(NELE)
  342. infell(14) = IELE
  343.  
  344. C Remplissage de infell(10), infell(15) et infell(16) :
  345. C -----------------------------------------------------
  346. C infell(10) : dimension de la matrice de Hooke
  347. C infell(15) : nombre maximal de ddl par noeud
  348. C infell(16) : nombre de composantes de contraintes et deformations
  349.  
  350. C MASSIFs (2D) : TRIx-QUAx 4 a 11 + POLYgones : POLY 111 a 122 +
  351. C Elements QxRI 183 a 184
  352. IF ((MELE.GE.4.AND.MELE.LE.11).OR.(MELE.GE.111.AND.MELE.LE.122)
  353. . .OR.MELE.EQ.183.OR.MELE.EQ.184) THEN
  354. IF (IFOUR.EQ.1) THEN
  355. infell(10)=6
  356. infell(15)=3
  357. infell(16)=6
  358. ELSE
  359. infell(10)=4
  360. infell(15)=2
  361. infell(16)=4
  362. ENDIF
  363. C MASSIFs (3D) : CUxx-PRxx 14 a 17, TExx-PYxx 23 a 26, C20R et P15R 279 a 280
  364. ELSE IF ((MELE.GE.14.AND.MELE.LE.17).OR.
  365. . (MELE.GE.23.AND.MELE.LE.26).OR.
  366. . MELE.EQ.279.OR.MELE.EQ.280) THEN
  367. infell(10)=6
  368. infell(15)=3
  369. infell(16)=6
  370. C Elements LIQUIDE : Lxxx 35 a 40
  371. ELSE IF (MELE.GE.35.AND.MELE.LE.40) THEN
  372. infell(10)=5
  373. infell(15)=2
  374. infell(16)=0
  375. C Elements de RACCORD FLUIDE-STRUCTURE :
  376. C RAC2 12, LIAx 18 a 19, RACO 47, LICO 55, LIC4 94
  377. ELSE IF (MELE.EQ.12.OR.MELE.EQ.18.OR.MELE.EQ.19.OR.MELE.EQ.47.OR.
  378. . MELE.EQ.55.OR.MELE.EQ.94) THEN
  379. infell(10)=6
  380. C Elements de SURFACE LIBRE : LSU2 48, LSU3 53, LSU4 54
  381. ELSE IF (MELE.EQ.48.OR.MELE.EQ.53.OR.MELE.EQ.54) THEN
  382. infell(10)=6
  383. infell(15)=3
  384. C Elements THERMIQUEs : CVxx 57 a 62, THxx 63 a 68
  385. ELSE IF (MELE.GE.57.AND.MELE.LE.68) THEN
  386. IF (MELE.LE.60) THEN
  387. infell(10)=2
  388. infell(15)=1
  389. infell(16)=2
  390. ELSE IF (MELE.GE.61) THEN
  391. infell(10)=3
  392. infell(15)=1
  393. infell(16)=3
  394. ENDIF
  395. C Elements MASSIFs IMCOMPRESSIBLES : ICxx 69 a 78 et 273(ICY5) et 274(IC13)
  396. ELSE IF ((MELE.GE.69.AND.MELE.LE.78).OR.MELE.EQ.273.OR.
  397. & MELE.EQ.274) THEN
  398. IF (MELE.LE.72) THEN
  399. infell(10)=4
  400. C** IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(10)=4
  401. infell(15)=2
  402. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(15)=3
  403. infell(16)=4
  404. C** IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(16)=4
  405. ELSE IF (MELE.GE.73) THEN
  406. infell(10)=6
  407. infell(15)=3
  408. infell(16)=6
  409. ENDIF
  410. C Elements MASSIFs POREUX : xxxP 79 a 83
  411. ELSE IF (MELE.GE.79.AND.MELE.LE.83) THEN
  412. IF (MELE.LE.80) THEN
  413. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) THEN
  414. infell(10)=6
  415. infell(15)=4
  416. infell(16)=7
  417. ELSE
  418. infell(10)=4
  419. infell(15)=3
  420. infell(16)=5
  421. ENDIF
  422. ELSE IF (MELE.GE.81) THEN
  423. infell(10)=6
  424. infell(15)=4
  425. infell(16)=7
  426. ENDIF
  427. C Elements MASSIFs POREUX de type Q : xxxQ 173 a 177
  428. ELSE IF (MELE.GE.173.AND.MELE.LE.177) THEN
  429. IF (MELE.LE.174) THEN
  430. IF (IFOUR.EQ.1) THEN
  431. infell(10)=8
  432. infell(15)=5
  433. infell(16)=8
  434. ELSE
  435. infell(10)=6
  436. infell(15)=4
  437. infell(16)=6
  438. ENDIF
  439. ELSE IF (MELE.GE.175) THEN
  440. infell(10)=8
  441. infell(15)=5
  442. infell(16)=8
  443. ENDIF
  444. C Elements MASSIFs POREUX de type R : xxxR 178 a 182
  445. ELSE IF(MELE.GE.178.AND.MELE.LE.182) THEN
  446. IF (MELE.LE.179) THEN
  447. IF (IFOUR.EQ.1) THEN
  448. infell(10)=9
  449. infell(15)=6
  450. infell(16)=9
  451. ELSE
  452. infell(10)=7
  453. infell(15)=5
  454. infell(16)=7
  455. ENDIF
  456. ELSE IF (MELE.GE.180) THEN
  457. infell(10)=9
  458. infell(15)=6
  459. infell(16)=9
  460. ENDIF
  461. C Elements JOINTS : JOxx 85 a 90
  462. ELSE IF (MELE.GE.85.AND.MELE.LE.90) THEN
  463. IF (MELE.LE.86) THEN
  464. infell(10)=2
  465. infell(16)=2
  466. ELSE IF (MELE.GE.87) THEN
  467. infell(10)=3
  468. infell(16)=3
  469. ENDIF
  470. C
  471. C MACRO ELEMENT CISAILLEMENT FLEXION
  472. C
  473. ELSE IF(MELE.EQ.191) THEN
  474. infell(5)=3
  475. infell(7)=300
  476. GO TO 258
  477.  
  478. C Elements JOINTs CISAILLEMENT et GENERALISES : JCxx-JGxx 168 a 172
  479. ELSE IF (MELE.GE.168.AND.MELE.LE.172) THEN
  480. infell(7)=300
  481. infell(9)=infell(8)*IDIM
  482. infell(15)=IDIM
  483. IF (MELE.EQ.168.OR.MELE.EQ.169) THEN
  484. infell(10)=2
  485. infell(16)=2
  486. ELSE IF (MELE.EQ.170) THEN
  487. infell(10)=4
  488. infell(16)=4
  489. ELSE
  490. infell(10)=6
  491. infell(16)=6
  492. ENDIF
  493. C Elements HOMOGENEISES : TRIH 92, QUAH 126, CUBH 127, TRH6 157
  494. ELSE IF (MELE.EQ.92.OR.MELE.EQ.126.OR.MELE.EQ.127.OR.
  495. . MELE.EQ.157) THEN
  496. infell(10)=10
  497. infell(16)=0
  498. C Elements JOINTS POREUX : JOPx 108 a 110
  499. ELSE IF (MELE.GE.108.AND.MELE.LE.110) THEN
  500. infell(7)=100
  501. C Elements JOINTS POREUX de type Q : JOQx 185 a 187
  502. ELSE IF (MELE.GE.185.AND.MELE.LE.187) THEN
  503. infell(7)=150
  504. C Elements JOINTS POREUX de type R : JORx 188 a 190
  505. ELSE IF (MELE.GE.188.AND.MELE.LE.190) THEN
  506. infell(7)=200
  507. C Elements MASSIFS THERMIQUE/MECANIQUE en 1D : T1Dx-M1Dx 191 a 194
  508. ELSE IF (MELE.GE.191.AND.MELE.LE.194) THEN
  509. infell(10)=3
  510. infell(15)=1
  511. infell(16)=3
  512. ENDIF
  513. C Cas particuliers des autres formulations massives (mfr2 > 0)
  514. IF (mfr2.NE.0) THEN
  515. infell(10)=IDIM
  516. infell(15)=1
  517. infell(16)=IDIM
  518. ENDIF
  519. C Pour les autres elements, les valeurs de infell(10,15,16) sont
  520. C eventuellement affectees (0 par defaut) lors du branchement (GOTO)
  521. C ci-dessous qui effectue le remplissage complet du tableau infell.
  522.  
  523. C Remplissage complet du tableau infell suivant l'element fini
  524. C --------------------------------------------------------------
  525. IF(MELE.GE.1.AND.MELE.LE.100) THEN
  526. C CABL SEG2 SEG3 TRI3 TRI4 TRI6 TRI7 QUA4 QUA5 QUA8
  527. GOTO ( 300, 2, 3, 4, 300, 6, 7, 8, 300, 10
  528. C QUA9 RAC2 RAC3 CUB8 CU20 PRI6 PR15 LIA3 LIA4 LIA6
  529. 1 , 11, 12, 300, 14, 15, 16, 17, 18, 19, 300
  530. C LIA8 MULT TET4 TE10 PYR5 PY13 COQ3 DKT POUT LISP
  531. 2 , 300, 300, 23, 24, 25, 26, 27, 28, 29, 30
  532. C FAC3 FAC4 FAC6 FAC8 LTR3 LQU4 LCU8 LPR6 LTE4 LPY5
  533. 3 , 31, 32, 33, 34, 35, 36, 37, 38, 39, 40
  534. C COQ8 TUYA TUFI COQ2 POI1 BARR RACO LSU2 COQ4 LISM
  535. 4 , 41, 42, 43, 44, 45, 46, 47, 48, 49, 50
  536. C COF3 RES2 LSU3 LSU4 LICO COQ6 CVS2 CVS3 CVT3 CVT6
  537. 5 , 51, 300, 53, 54, 55, 56, 57, 58, 59, 60
  538. C CVQ4 CVQ8 THP5 TH13 THP6 TH15 THC8 TH20 ICT3 ICQ4
  539. 6 , 61, 62, 63, 64, 65, 66, 67, 68, 69, 70
  540. C ICT6 ICQ8 ICC8 ICT4 ICP6 IC20 IC10 IC15 TRIP QUAP
  541. 7 , 71, 72, 73, 74, 75, 76, 77, 78, 79, 80
  542. C CUBP TETP PRIP TIMO JOI2 JOI3 JOT3 JOI4 JOI6 JOI8
  543. 8 , 81, 82, 83, 84, 85, 86, 87, 88, 89, 90
  544. C LISC TRIH DST LIC4 CERC TUYO LSE2 LITU HYT3 HYQ4
  545. 9 , 91, 92, 93, 94, 95, 96, 97, 98, 4, 8)
  546. c cccccc
  547. . ,MELE
  548. ELSEIF(MELE.GE.101.AND.MELE.LE.200) THEN
  549. C HYT4 HYP6 HYC8 TRIS QUAS POIS FOR3 JOP3 JOP6 JOP8
  550. GOTO ( 23, 16, 14, 104, 105, 106, 300, 108, 109, 110
  551. C POL3 POL4 POL5 POL6 POL7 POL8 POL9 PO10 PO11 PO12
  552. 1 , 111, 111, 111, 111, 111, 111, 111, 111, 111, 111
  553. C PO13 PO14 BAR3 BAEX LIA2 QUAH CUBH ROT3 SEF2 TRF3
  554. 2 , 111, 111, 123, 124, 125, 126, 127, 128, 2, 4
  555. C QUF4 CUF8 PRF6 TEF4 PYF5 MSE3 MTR6 MQU9 MC27 MP18
  556. 3 , 8, 14, 16, 23, 25, 3, 6, 11, 275, 300
  557. C MT10 MP14 SEF3 TRF7 QUF9 CF27 PF21 TF15 PF19 SEG6
  558. 4 , 24, 300, 3, 7, 11, 275, 276, 277, 278, 300
  559. C TR21 QU36 C216 P126 TE56 PY91 TRH6 BSE2 BTR4 BQU5
  560. 5 , 300, 300, 300, 300, 300, 300, 157, 300, 300, 300
  561. C BCU9 BPR7 BTE5 BPY6 FRO4 SEGS POJS JCT3 JCI4 JGI2
  562. 6 , 300, 300, 300, 300, 300, 166, 167, 168, 169, 170
  563. C JGT3 JGI4 TRIQ QUAQ CUBQ TETQ PRIQ TRIR QUAR CUBR
  564. 7 , 171, 172, 173, 174, 175, 176, 177, 178, 179, 180
  565. C TETR PRIR Q4RI Q8RI JOQ3 JOQ6 JOQ8 JOR3 JOR6 JOR8
  566. 8 , 181, 182, 183, 184, 185, 186, 187, 188, 189, 190
  567. C T1D2 T1D3 M1D2 M1D3 LC03 LC07 LC09 LC27 LC21 LC15
  568. 9 , 191, 192, 191, 192, 195, 196, 197, 300, 300, 300)
  569. c cccccc
  570. . ,MELE-100
  571. ELSEIF(MELE.GE.201.AND.MELE.LE.300) THEN
  572. C LC19 LS03 LS07 LS09 LS27 LS21 LS15 LS19 BS03 BS07
  573. GOTO ( 300, 195, 196, 197, 300, 300, 300, 300, 195, 196
  574. C BS09 BS27 BS21 BS15 BS19 MC03 MC07 MC09 MC27 MC21
  575. 1 , 197, 300, 300, 300, 300, 216, 217, 218, 300, 300
  576. C MC15 MC19 M103 M107 M109 M127 M121 M115 M119 MS03
  577. 2 , 300, 300, 223, 224, 225, 300, 300, 300, 300, 223
  578. C MS07 MS09 MS27 MS21 MS15 MS19 QC03 QC07 QC09 QC27
  579. 3 , 224, 225, 300, 300, 300, 300, 237, 238, 239, 300
  580. C QC21 QC15 QC19 Q103 Q107 Q109 Q127 Q121 Q115 Q119
  581. 4 , 300, 300, 300, 237, 238, 239, 300, 300, 300, 300
  582. C QS03 QS07 QS09 QS27 QS21 QS15 QS19 CIFL SURE SHB8
  583. 5 , 237, 238, 239, 300, 300, 300, 300, 300, 300, 260
  584. C CAF2 CAF3 XQ4R XC8R JOI1 ZCO2 ZCO3 ZCO4 TUY2 TUY3
  585. 6 , 300, 300, 263, 264, 265, 266, 267, 268, 269, 270
  586. C COS2 COA2 ICY5 IC13 CU27 PR21 TE15 PY19 C20R P15R
  587. 7 , 271, 272, 25, 26, 275, 276, 277, 278, 279, 280
  588. C HHO .... .... .... .... .... .... .... .... ....
  589. 8 , 999, 999, 999, 999, 999, 999, 999, 999, 999, 999
  590. C .... .... .... .... .... .... .... .... .... ....
  591. 9 , 999, 999, 999, 999, 999, 999, 999, 999, 999, 999)
  592. c cccccc
  593. . ,MELE-200
  594. ENDIF
  595. C Si on arrive ici : probleme
  596. 999 CALL ERREUR(5)
  597. C
  598. C Remplissage de infell pour chaque element
  599. C -------------------------------------------
  600. C Element SEG2
  601. 2 infell(2)=2
  602. infell(4)=2
  603. infell(6)=2
  604. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=3
  605. infell(7)=0
  606. infell(9)=4
  607. IF (IFOUR.EQ.1) infell(9)=6
  608. infell(10)=1
  609. infell(15)=2
  610. IF (IFOUR.EQ.1) infell(15)=3
  611. infell(16)=1
  612. GOTO 300
  613. C Element SEG3
  614. 3 infell(2)=3
  615. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(2)=4
  616. infell(4)=3
  617. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(4)=4
  618. infell(6)=3
  619. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=4
  620. infell(7)=0
  621. infell(9)=6
  622. IF (IFOUR.EQ.1) infell(9)=9
  623. infell(10)=1
  624. infell(15)=2
  625. IF (IFOUR.EQ.1) infell(15)=3
  626. infell(16)=1
  627. if (MELE.EQ.99) goto 99
  628. GOTO 300
  629. C Element TRI3
  630. 4 infell(2)=1
  631. infell(3)=4
  632. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=7
  633. infell(4)=1
  634. infell(6)=1
  635. C IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=4
  636. infell(9)=6
  637. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=9
  638. GOTO 300
  639. C Element TRI6
  640. 6 IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) THEN
  641. infell(2)=7
  642. infell(4)=7
  643. infell(6)=7
  644. ELSE
  645. infell(2)=4
  646. infell(4)=4
  647. infell(6)=4
  648. ENDIF
  649. infell(3)=7
  650. infell(9)=12
  651. IF (IFOUR.EQ.-3) infell(9)=15
  652. IF (IFOUR.EQ.1) infell(9)=18
  653. GOTO 300
  654. C Element TRI7
  655. 7 IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) THEN
  656. infell(2)=7
  657. infell(4)=7
  658. infell(6)=7
  659. ELSE
  660. infell(2)=4
  661. infell(4)=4
  662. infell(6)=4
  663. ENDIF
  664. infell(3)=7
  665. infell(9)=14
  666. IF (IFOUR.EQ.-3) infell(9)=17
  667. IF (IFOUR.EQ.1) infell(9)=21
  668. GOTO 300
  669. C Element QUA4
  670. 8 infell(2)=4
  671. infell(3)=4
  672. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=9
  673. infell(4)=4
  674. C** infell(4)=5 CORRECTION MILL LE 8/8/90
  675. infell(6)=4
  676. C** IF(IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=9
  677. infell(9)=8
  678. IF (IFOUR.EQ.-3) infell(9)=11
  679. IF (IFOUR.EQ.1) infell(9)=12
  680. if (MELE.EQ.100) goto 100
  681. GOTO 300
  682. C Element QUA8
  683. 10 infell(2)=9
  684. infell(3)=9
  685. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=16
  686. infell(4)=9
  687. infell(6)=9
  688. C IF(IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=16
  689. infell(9)=16
  690. IF (IFOUR.EQ.-3) infell(9)=19
  691. IF (IFOUR.EQ.1) infell(9)=24
  692. GOTO 300
  693. C Element QUA9
  694. 11 infell(2)=9
  695. infell(3)=9
  696. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=16
  697. infell(4)=9
  698. infell(6)=9
  699. C IF(IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=16
  700. infell(9)=18
  701. IF (IFOUR.EQ.-3) infell(9)=21
  702. IF (IFOUR.EQ.1) infell(9)=27
  703. GOTO 300
  704. C Element RAC2 (raccord a 4 noeuds en 2 dimensions)
  705. 12 infell(2)=2
  706. infell(4)=2
  707. infell(5)=2
  708. infell(6)=2
  709. infell(9)=8
  710. IF (IFOUR.EQ.1) infell(9)=10
  711. infell(15)=3
  712. GOTO 300
  713. C Element CUB8
  714. 14 infell(2)=8
  715. infell(3)=8
  716. infell(4)=8
  717. infell(6)=8
  718. infell(9)=24
  719. if (MELE.EQ.103) goto 103
  720. GOTO 300
  721. C Element CU20
  722. 15 infell(2)=27
  723. infell(3)=27
  724. infell(4)=27
  725. infell(6)=27
  726. infell(9)=60
  727. GOTO 300
  728. C Element PRI6
  729. 16 infell(2)=6
  730. cbp infell(3)=6
  731. infell(3)=8
  732. infell(4)=6
  733. infell(6)=6
  734. infell(9)=18
  735. if (MELE.EQ.102) goto 102
  736. GOTO 300
  737. C Element PR15
  738. 17 infell(2)=12
  739. cbp infell(3)=12
  740. infell(3)=21
  741. infell(4)=12
  742. infell(6)=12
  743. infell(9)=45
  744. GOTO 300
  745. C Element LIA3 (raccord a 6 noeudes en 3 dimensions)
  746. 18 infell(2)=4
  747. infell(4)=4
  748. infell(5)=3
  749. infell(6)=4
  750. infell(9)=15
  751. infell(13)=19
  752. infell(15)=3
  753. GOTO 300
  754. C Element LIA4 (raccord a 8 noeuds en 3 dimensions)
  755. 19 infell(2)=4
  756. infell(4)=4
  757. infell(5)=3
  758. infell(6)=4
  759. infell(9)=20
  760. infell(15)=3
  761. GOTO 300
  762. C Element TET4
  763. 23 infell(2)=1
  764. infell(3)=4
  765. infell(4)=1
  766. infell(6)=1
  767. infell(9)=12
  768. if (MELE.EQ.101) goto 101
  769. GOTO 300
  770. C Element TE10
  771. 24 infell(2)=5
  772. cbp infell(3)=5
  773. infell(3)=15
  774. infell(4)=5
  775. infell(6)=5
  776. infell(9)=30
  777. GOTO 300
  778. C Element PYR5
  779. 25 infell(2)=5
  780. infell(3)=5
  781. infell(4)=5
  782. infell(6)=5
  783. infell(9)=15
  784. GOTO 300
  785. C Element PY13
  786. cbp 26 infell(2)=27
  787. cbp infell(3)=27
  788. cbp infell(4)=27
  789. cbp infell(6)=27
  790. 26 infell(2)=10
  791. infell(3)=17
  792. infell(4)=10
  793. infell(6)=10
  794. infell(9)=39
  795. GOTO 300
  796. C Element COQ3
  797. 27 infell(2)=3
  798. infell(4)=1
  799. infell(5)=3
  800. infell(6)=1
  801. infell(7)=600
  802. infell(9)=18
  803. IF (FORMOD(1) .EQ. 'DIFFUSION') infell(9)=9
  804. infell(10)=6
  805. infell(15)=6
  806. infell(16)=6
  807. GOTO 300
  808. C Element DKT
  809. 28 infell(2)=3
  810. infell(3)=3
  811. infell(5)=3
  812. infell(7)=600
  813. infell(9)=18
  814. infell(15)=6
  815. IF (NPINT.EQ.0) THEN
  816. C Element DKT COQUE GLOBALE
  817. infell(4)=3
  818. infell(6)=3
  819. infell(10)=6
  820. infell(16)=6
  821. ELSE
  822. C Element DKT COQUE INTEGREE dans l'epaisseur
  823. infell(4)=3*NPINT
  824. infell(6)=3*NPINT
  825. infell(10)=6
  826. infell(16)=4
  827. ENDIF
  828. GOTO 300
  829. C Element POUTRE
  830. 29 infell(2)=2
  831. infell(4)=2
  832. infell(6)=2
  833. infell(7)=200
  834. IF (IFOUR.EQ.-3.OR.IFOUR.EQ.-2.OR.IFOUR.EQ.-1) THEN
  835. C Element POUTRE 2D plan
  836. infell(5)=6
  837. infell(9)=6
  838. infell(10)=3
  839. infell(15)=3
  840. infell(16)=3
  841. ELSE
  842. C Element POUTRE 3D
  843. infell(5)=12
  844. infell(9)=12
  845. infell(10)=6
  846. infell(15)=6
  847. infell(16)=6
  848. ENDIF
  849. GOTO 300
  850. C Element LINE SPRING LISP
  851. 30 infell(2)=3
  852. infell(13)=15
  853. infell(6)=3
  854. infell(4)=3
  855. infell(16)=6
  856. infell(9)=24
  857. infell(7)=100
  858. infell(10)=6
  859. infell(15)=6
  860. infell(5)=5
  861. GOTO 300
  862. C Element FAC3 pour les PRESSIONS uniquement
  863. 31 infell(2)=1
  864. infell(4)=1
  865. infell(6)=1
  866. infell(9)=9
  867. infell(15)=3
  868. GOTO 300
  869. C Element FAC4 pour les PRESSIONS uniquement
  870. 32 infell(2)=4
  871. infell(4)=4
  872. infell(6)=4
  873. infell(9)=12
  874. infell(15)=3
  875. GOTO 300
  876. C Element FAC6 pour les PRESSIONS uniquement
  877. 33 infell(2)=4
  878. infell(4)=4
  879. infell(6)=4
  880. infell(9)=18
  881. infell(15)=3
  882. GOTO 300
  883. C Element FAC8 pour les PRESSIONS uniquement
  884. 34 infell(2)=9
  885. infell(4)=9
  886. infell(6)=9
  887. infell(9)=24
  888. infell(15)=3
  889. GOTO 300
  890. C Element LTR3 : element LIQUIDE triangle a 3 noeuds
  891. 35 infell(2)=4
  892. infell(3)=4
  893. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=7
  894. infell(4)=4
  895. infell(6)=4
  896. infell(9)=6
  897. GOTO 300
  898. C Element LQU4 : element LIQUIDE quadrangle a 4 noeuds
  899. 36 infell(2)=4
  900. infell(3)=4
  901. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=9
  902. infell(4)=4
  903. infell(6)=4
  904. infell(9)=8
  905. GOTO 300
  906. C Element LCU8 : Element LIQUIDE CUBE a 8 noeuds
  907. 37 infell(2)=8
  908. infell(3)=8
  909. infell(4)=8
  910. infell(6)=8
  911. infell(9)=16
  912. GOTO 300
  913. C Element LPR6 : Element LIQUIDE PRISME a 6 noeuds
  914. 38 infell(2)=6
  915. infell(3)=6
  916. infell(4)=6
  917. infell(6)=6
  918. infell(9)=12
  919. GOTO 300
  920. C Element LTE4 : Element LIQUIDE TETRAEDRE a 4 noeuds
  921. 39 infell(2)=4
  922. infell(3)=4
  923. infell(4)=4
  924. infell(6)=4
  925. infell(9)=8
  926. GOTO 300
  927. C Element LPY5 : Element LIQUIDE PYRAMIDE a 5 noeuds
  928. 40 infell(2)=5
  929. infell(3)=5
  930. infell(4)=5
  931. infell(6)=5
  932. infell(9)=10
  933. GOTO 300
  934. C Element COQ8 : Element COQUE EPAISSE a 8 noeuds
  935. 41 infell(2)=NBGS
  936. IF (NBGS.EQ.0) infell(2)=8
  937. infell(3)=8
  938. infell(4)=NBGS
  939. IF (NBGS.EQ.0) infell(4)=8
  940. infell(5)=2
  941. infell(6)=8
  942. infell(7)=1700
  943. infell(9)=48
  944. IF (FORMOD(1) .EQ. 'DIFFUSION') infell(9)=24
  945. infell(10)=5
  946. infell(15)=6
  947. infell(16)=5
  948. GOTO 300
  949. C Element TUYA : Element TUYAU
  950. 42 infell(2)=2
  951. infell(4)=2
  952. infell(5)=7
  953. infell(6)=2
  954. infell(7)=200
  955. infell(9)=12
  956. infell(10)=6
  957. infell(15)=6
  958. infell(16)=6
  959. GOTO 300
  960. C Element TUFI : Element TUYAU FISSURE
  961. 43 infell(2)=1
  962. infell(3)=0
  963. infell(4)=1
  964. infell(5)=9
  965. infell(6)=1
  966. infell(7)=200
  967. infell(9)=12
  968. infell(10)=6
  969. infell(15)=6
  970. infell(16)=8
  971. GOTO 300
  972. C Element COQ2
  973. 44 infell(2)=3
  974. infell(3)=3
  975. infell(4)=3
  976. infell(5)=3
  977. infell(6)=3
  978. infell(7)=368
  979. infell(9)=8
  980. IF (IFOUR.EQ.-2.OR.IFOUR.EQ.-1.OR.IFOUR.EQ.0) infell(9)=6
  981. IF (IFOUR.EQ.-3) infell(9)=9
  982. infell(10)=6
  983. IF (IFOUR.LE.0) infell(10)=4
  984. infell(15)=4
  985. IF (IFOUR.EQ.-2.OR.IFOUR.EQ.-1.OR.IFOUR.EQ.0) infell(15)=3
  986. infell(16)=6
  987. IF (IFOUR.LE.0) infell(16)=4
  988. GOTO 300
  989. C Element POI1 (MODEs en DEFOrmations PLANes GENEralisees)
  990. C Valeurs a adapter pour certains MODE UNID (1D)
  991. 45 infell(2)=1
  992. infell(3)=1
  993. infell(4)=1
  994. infell(5)=1
  995. infell(6)=1
  996. infell(7)=50
  997. infell(15)=2
  998. IF (IFOUR.EQ.11) THEN
  999. infell(9)=3
  1000. infell(10)=2
  1001. infell(16)=2
  1002. ELSE
  1003. infell(9)=5
  1004. IF (IFOUR.GE.3.AND.IFOUR.LE.15) infell(9)=2
  1005. infell(10)=1
  1006. infell(16)=1
  1007. ENDIF
  1008. if (mfr.eq.26.or.mfr.eq.28) infell(9) = 1
  1009. GOTO 300
  1010. C Element BARRE
  1011. 46 infell(2)=2
  1012. infell(4)=2
  1013. infell(5)=1
  1014. infell(6)=2
  1015. infell(7)=200
  1016. infell(9)=6
  1017. IF (IFOUR.EQ.-2.OR.IFOUR.EQ.-1.OR.IFOUR.EQ.0) infell(9)=4
  1018. IF (IFOUR.EQ.-3) infell(9)=7
  1019. IF (FORMOD(1) .EQ. 'DIFFUSION') infell(9)=2
  1020. infell(10)=1
  1021. infell(15)=3
  1022. IF (FORMOD(1) .EQ. 'DIFFUSION') infell(15)=1
  1023. IF (IFOUR.EQ.-2.OR.IFOUR.EQ.-1.OR.IFOUR.EQ.0) infell(15)=2
  1024. infell(16)=1
  1025. GOTO 300
  1026. C Element RACO : Element de RACCORD LIQUIDE-COQUE a 4 noeuds en 2D
  1027. 47 infell(2)=1
  1028. infell(4)=1
  1029. infell(5)=2
  1030. infell(6)=1
  1031. infell(9)=10
  1032. IF (IFOUR.EQ.1) infell(9)=12
  1033. infell(15)=4
  1034. GOTO 300
  1035. C Element LSU2 : Element de SURFACE LIBRE a 2 noeuds en 2D
  1036. 48 infell(2)=2
  1037. infell(4)=2
  1038. infell(6)=2
  1039. infell(9)=6
  1040. GOTO 300
  1041. C Element COQ4
  1042. 49 infell(2)=5
  1043. infell(3)=5
  1044. infell(4)=5
  1045. infell(5)=3
  1046. infell(6)=5
  1047. infell(7)=100
  1048. infell(9)=24
  1049. IF (FORMOD(1) .EQ. 'DIFFUSION') infell(9)=12
  1050. infell(10)=8
  1051. infell(15)=6
  1052. infell(16)=8
  1053. GOTO 300
  1054. C Element LINE SPRING LISM
  1055. 50 infell(2)=1
  1056. infell(4)=1
  1057. infell(5)=5
  1058. infell(6)=3
  1059. infell(7)=100
  1060. infell(9)=24
  1061. infell(10)=6
  1062. infell(15)=6
  1063. infell(16)=6
  1064. GOTO 300
  1065. C Element COF3
  1066. 51 infell(2)=3
  1067. infell(3)=3
  1068. infell(4)=3
  1069. infell(5)=3
  1070. infell(6)=3
  1071. infell(9)=12
  1072. infell(7)=368
  1073. infell(10)=6
  1074. infell(15)=4
  1075. infell(16)=6
  1076. GOTO 300
  1077. C Element LSU3 : Element de SURFACE LIBRE a 3 noeuds en 3D
  1078. 53 infell(2)=4
  1079. infell(4)=4
  1080. infell(6)=4
  1081. infell(9)=9
  1082. GOTO 300
  1083. C Element LSU4 : Element de SURFACE LIBRE a 4 noeuds en 3D
  1084. 54 infell(2)=4
  1085. infell(4)=4
  1086. infell(6)=4
  1087. infell(9)=12
  1088. GOTO 300
  1089. C Element LICO : Element de RACCORD LIQUIDE-COQUE a 6 noeuds en 3D
  1090. 55 infell(2)=3
  1091. infell(4)=3
  1092. infell(5)=3
  1093. infell(6)=3
  1094. infell(9)=24
  1095. infell(15)=6
  1096. GOTO 300
  1097. C Element COQ6 : Element COQUE EPAISSE a 6 noeuds
  1098. 56 infell(2)=NBGS
  1099. IF(NBGS.EQ.0) infell(2)=6
  1100. infell(3)=6
  1101. infell(4)=NBGS
  1102. IF (NBGS.EQ.0) infell(4)=6
  1103. infell(5)=2
  1104. infell(6)=6
  1105. infell(9)=36
  1106. IF (FORMOD(1) .EQ. 'DIFFUSION') infell(9)=18
  1107. infell(7)=1000
  1108. infell(10)=5
  1109. infell(15)=6
  1110. infell(16)=5
  1111. GOTO 300
  1112. C Element THT3 (thermique)
  1113. 57 infell(2)=1
  1114. infell(6)=1
  1115. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=4
  1116. infell(9)=3
  1117. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=9
  1118. GOTO 300
  1119. C Element THT6
  1120. 58 infell(2)=4
  1121. infell(4)=4
  1122. infell(6)=4
  1123. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=7
  1124. infell(9)=6
  1125. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=18
  1126. GOTO 300
  1127. C Element THQ4
  1128. 59 infell(2)=4
  1129. infell(6)=4
  1130. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=9
  1131. infell(9)=4
  1132. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=12
  1133. GOTO 300
  1134. C Element THQ8
  1135. 60 infell(2)=9
  1136. infell(6)=9
  1137. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=16
  1138. infell(9)=8
  1139. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=24
  1140. GOTO 300
  1141. C Element THT4
  1142. 61 infell(2)=1
  1143. infell(6)=1
  1144. infell(9)=4
  1145. GOTO 300
  1146. C Element TH10
  1147. 62 infell(2)=5
  1148. infell(6)=5
  1149. infell(9)=10
  1150. GOTO 300
  1151. C Element THP5
  1152. 63 infell(2)=5
  1153. infell(6)=5
  1154. infell(9)=5
  1155. GOTO 300
  1156. C Element TH13
  1157. 64 infell(2)=27
  1158. infell(6)=27
  1159. infell(9)=13
  1160. GOTO 300
  1161. C Element THP6
  1162. 65 infell(2)=2
  1163. infell(6)=2
  1164. infell(9)=6
  1165. GOTO 300
  1166. C Element TH15
  1167. 66 infell(2)=12
  1168. infell(6)=12
  1169. infell(9)=15
  1170. GOTO 300
  1171. C Element THC8
  1172. 67 infell(2)=8
  1173. infell(6)=8
  1174. infell(9)=8
  1175. GOTO 300
  1176. C Element TH20
  1177. 68 infell(2)=27
  1178. infell(6)=27
  1179. infell(9)=20
  1180. GOTO 300
  1181. C Element ICT3
  1182. 69 infell(2)=1
  1183. infell(3)=4
  1184. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=7
  1185. infell(4)=1
  1186. infell(6)=1
  1187. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=4
  1188. infell(9)=6
  1189. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=9
  1190. GOTO 300
  1191. C Element ICQ4
  1192. 70 infell(2)=4
  1193. infell(3)=4
  1194. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=9
  1195. infell(4)=4
  1196. C** infell(4)=5 CORRECTION MILL LE 8/8/90
  1197. infell(6)=4
  1198. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=9
  1199. infell(9)=8
  1200. IF (IFOUR.EQ.-3) infell(9)=11
  1201. IF (IFOUR.EQ.1) infell(9)=12
  1202. GOTO 300
  1203. C Element ICT6
  1204. 71 IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) THEN
  1205. infell(2)=7
  1206. infell(4)=7
  1207. infell(6)=7
  1208. ELSE
  1209. infell(2)=4
  1210. infell(4)=4
  1211. infell(6)=4
  1212. ENDIF
  1213. infell(3)=7
  1214. infell(9)=12
  1215. IF (IFOUR.EQ.-3) infell(9)=15
  1216. IF (IFOUR.EQ.1) infell(9)=18
  1217. GOTO 300
  1218. C Element ICQ8
  1219. 72 infell(2)=9
  1220. infell(3)=9
  1221. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=16
  1222. infell(4)=9
  1223. infell(6)=9
  1224. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=16
  1225. infell(9)=16
  1226. IF (IFOUR.EQ.-3) infell(9)=19
  1227. IF (IFOUR.EQ.1) infell(9)=24
  1228. GOTO 300
  1229. C Element ICC8
  1230. 73 infell(2)=8
  1231. infell(3)=8
  1232. infell(4)=8
  1233. infell(6)=8
  1234. infell(9)=24
  1235. GOTO 300
  1236. C Element ICT4
  1237. 74 infell(2)=1
  1238. infell(3)=4
  1239. infell(4)=1
  1240. infell(6)=1
  1241. infell(9)=12
  1242. GOTO 300
  1243. C Element ICP6
  1244. 75 infell(2)=6
  1245. infell(3)=8
  1246. infell(4)=6
  1247. infell(6)=6
  1248. infell(9)=18
  1249. GOTO 300
  1250. C Element IC20
  1251. 76 infell(2)=27
  1252. infell(3)=27
  1253. infell(4)=27
  1254. infell(6)=27
  1255. infell(9)=60
  1256. GOTO 300
  1257. C Element IC10
  1258. 77 infell(2)=5
  1259. infell(3)=5
  1260. infell(4)=5
  1261. infell(6)=5
  1262. infell(9)=30
  1263. GOTO 300
  1264. C Element IC15
  1265. 78 infell(2)=12
  1266. infell(3)=21
  1267. infell(4)=12
  1268. infell(6)=12
  1269. infell(9)=45
  1270. GOTO 300
  1271. C Element TRIP
  1272. 79 IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) THEN
  1273. infell(2)=7
  1274. infell(4)=7
  1275. infell(6)=7
  1276. ELSE
  1277. infell(2)=4
  1278. infell(4)=4
  1279. infell(6)=4
  1280. ENDIF
  1281. infell(3)=7
  1282. infell(8)=9
  1283. infell(9)=15
  1284. IF (IFOUR.EQ.-3.OR.IFOUR.EQ.1) infell(9)=21
  1285. GOTO 300
  1286. C Element QUAP
  1287. 80 infell(2)=9
  1288. infell(3)=9
  1289. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=9
  1290. infell(4)=9
  1291. infell(6)=9
  1292. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=16
  1293. infell(8)=12
  1294. infell(9)=20
  1295. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=28
  1296. GOTO 300
  1297. C Element CUBP
  1298. 81 infell(2)=27
  1299. infell(3)=27
  1300. infell(4)=27
  1301. infell(6)=27
  1302. infell(8)=28
  1303. infell(9)=68
  1304. GOTO 300
  1305. C Element TETP
  1306. 82 infell(2)=5
  1307. infell(3)=5
  1308. infell(4)=5
  1309. infell(6)=5
  1310. infell(8)=14
  1311. infell(9)=34
  1312. GOTO 300
  1313. C Element PRIP
  1314. 83 infell(2)=12
  1315. infell(3)=12
  1316. infell(4)=12
  1317. infell(6)=12
  1318. infell(8)=21
  1319. infell(9)=51
  1320. GOTO 300
  1321. C Element TIMO : Element POUTRE de TIMOSHENCKO
  1322. 84 infell(2)=1
  1323. infell(4)=1
  1324. infell(6)=1
  1325. infell(7)=200
  1326. IF (IFOUR.EQ.-3.OR.IFOUR.EQ.-2.OR.IFOUR.EQ.-1) THEN
  1327. C Element TIMO 2D plan
  1328. infell(5)=6
  1329. infell(9)=6
  1330. infell(10)=3
  1331. infell(15)=3
  1332. infell(16)=3
  1333. ELSE
  1334. C Element TIMO 3D
  1335. infell(5)=12
  1336. infell(9)=12
  1337. infell(10)=6
  1338. infell(15)=6
  1339. infell(16)=6
  1340. ENDIF
  1341. GOTO 300
  1342. C Element JOI2
  1343. 85 infell(2)=4
  1344. infell(3)=2
  1345. infell(4)=2
  1346. infell(5)=0
  1347. infell(6)=2
  1348. infell(7)=300
  1349. infell(9)=8
  1350. GOTO 300
  1351. C Element JOI3
  1352. 86 infell(2)=3
  1353. infell(3)=2
  1354. infell(4)=3
  1355. infell(5)=0
  1356. infell(6)=3
  1357. infell(7)=100
  1358. infell(9)=12
  1359. GOTO 300
  1360. C Element JOT3
  1361. 87 infell(2)=3
  1362. infell(3)=3
  1363. infell(4)=3
  1364. infell(5)=0
  1365. infell(6)=3
  1366. infell(7)=100
  1367. infell(9)=18
  1368. GOTO 300
  1369. C Element JOI4
  1370. 88 infell(2)=4
  1371. infell(3)=4
  1372. infell(4)=4
  1373. infell(5)=0
  1374. infell(6)=4
  1375. infell(7)=100
  1376. infell(9)=24
  1377. GOTO 300
  1378. C Element JOI6
  1379. 89 infell(2)=5
  1380. infell(4)=5
  1381. infell(6)=4
  1382. infell(9)=36
  1383. GOTO 300
  1384. C Element JOI8
  1385. 90 infell(2)=9
  1386. infell(4)=9
  1387. infell(6)=9
  1388. infell(9)=48
  1389. GOTO 300
  1390. C Element LINE SPRING LISC
  1391. 91 infell(2)=3
  1392. infell(4)=3
  1393. infell(5)=5
  1394. infell(6)=5
  1395. infell(7)=100
  1396. infell(9)=36
  1397. infell(10)=2
  1398. infell(15)=6
  1399. infell(16)=6
  1400. GOTO 300
  1401. C Element TRIH
  1402. 92 infell(2)=4
  1403. infell(6)=4
  1404. infell(7)= 0
  1405. IF (IFOUR.EQ.1.OR.IFOUR.EQ.0) THEN
  1406. infell(3)=7
  1407. infell(5)=5
  1408. IF (IFOUR.EQ.0) infell(9)=12
  1409. IF (IFOUR.EQ.1) infell(9)=18
  1410. infell(15)=6
  1411. ELSE
  1412. infell(3)=4
  1413. infell(5)=5
  1414. infell(9)=12
  1415. infell(15)=4
  1416. ENDIF
  1417. GOTO 300
  1418. C Element DST
  1419. 93 infell(2)=3
  1420. infell(3)=3
  1421. infell(4)=3
  1422. infell(5)=3
  1423. infell(6)=3
  1424. infell(7)=600
  1425. infell(9)=18
  1426. infell(10)=8
  1427. infell(15)=6
  1428. infell(16)=8
  1429. GOTO 300
  1430. C Element LIC4 : Element de RACCORD LIQUIDE-COQUE a 8 noeuds en 3D
  1431. 94 infell(2)=4
  1432. infell(3)=4
  1433. infell(4)=4
  1434. infell(5)=3
  1435. infell(6)=4
  1436. infell(9)=32
  1437. infell(15)=6
  1438. GOTO 300
  1439. C Element CERCE
  1440. 95 infell(2)=1
  1441. infell(3)=1
  1442. infell(4)=1
  1443. infell(5)=1
  1444. infell(6)=1
  1445. infell(7)=50
  1446. infell(9)=2
  1447. IF (IFOUR.EQ.1) infell(9)=3
  1448. infell(10)=1
  1449. infell(15)=2
  1450. IF (IFOUR.EQ.1) infell(15)=3
  1451. infell(16)=1
  1452. GOTO 300
  1453. C Element TUYO
  1454. 96 NTETA=40
  1455. infell(2)=2*NTETA
  1456. infell(3)=2*NTETA
  1457. infell(4)=2*NTETA
  1458. infell(5)=7
  1459. infell(6)=2*NTETA
  1460. infell(7)=500
  1461. infell(8)=2+4
  1462. infell(9)=12+2*9
  1463. infell(10)=6
  1464. infell(15)=6+9
  1465. infell(16)=6
  1466. GOTO 300
  1467. C Element LSE2 : TUYAU ACOUSTIQUE PURE
  1468. 97 infell(2)=2
  1469. infell(3)=2
  1470. infell(4)=2
  1471. infell(5)=7
  1472. infell(6)=2
  1473. infell(7)=200
  1474. infell(9)=4
  1475. infell(10)=2
  1476. infell(15)=2
  1477. infell(16)=2
  1478. GOTO 300
  1479. C Element LITU : COUPLAGE LIQUIDE TUYAU
  1480. 98 infell(2)=2
  1481. infell(3)=2
  1482. infell(4)=2
  1483. infell(5)=6
  1484. infell(6)=2
  1485. infell(7)=200
  1486. infell(9)=10
  1487. infell(10)=2
  1488. infell(15)=5
  1489. infell(16)=5
  1490. GOTO 300
  1491. C Element HYT3 : Element HYBRIDE TRI3
  1492. 99 infell(3)=4
  1493. infell(6)=4
  1494. GOTO 300
  1495. C Element HYQ4 : Element HYBRIDE QUA4
  1496. 100 infell(3)=4
  1497. infell(6)=4
  1498. GOTO 300
  1499. C Element HYBRIDE TET4
  1500. 101 infell(3)=4
  1501. infell(6)=4
  1502. GOTO 300
  1503. C Element HYBRIDE PRI6
  1504. 102 infell(3)=6
  1505. infell(6)=6
  1506. GOTO 300
  1507. C Element HYBRIDE CUB8
  1508. 103 infell(3)=8
  1509. infell(6)=8
  1510. GOTO 300
  1511. C Element TRIS (TRI3-SECTION)
  1512. 104 infell(2)=4
  1513. infell(3)=4
  1514. infell(4)=4
  1515. infell(5)=2
  1516. infell(6)=4
  1517. IF (IFOUR.EQ.-2.OR.IFOUR.EQ.-1.OR.IFOUR.EQ.-3) THEN
  1518. infell(10)=2
  1519. infell(16)=2
  1520. ELSE IF (IFOUR.EQ.2) THEN
  1521. infell(10)=3
  1522. infell(16)=3
  1523. ENDIF
  1524. GOTO 300
  1525. C Element QUAS (QUA4-SECTION)
  1526. 105 infell(2)=4
  1527. infell(3)=4
  1528. infell(4)=4
  1529. infell(5)=2
  1530. infell(6)=4
  1531. IF (IFOUR.EQ.-2.OR.IFOUR.EQ.-1.OR.IFOUR.EQ.-3) THEN
  1532. infell(10)=2
  1533. infell(16)=2
  1534. ELSE IF (IFOUR.EQ.2) THEN
  1535. infell(10)=3
  1536. infell(16)=3
  1537. ENDIF
  1538. GOTO 300
  1539. C Element POIS (POI1-SECTION)
  1540. 106 infell(2)=1
  1541. infell(3)=1
  1542. infell(4)=1
  1543. infell(5)=1
  1544. CMILL???? infell(5)=3
  1545. infell(6)=1
  1546. infell(10)=1
  1547. infell(16)=1
  1548. GOTO 300
  1549. C Element JOP3 : JOINTS POREUX
  1550. 108 infell(2)=3
  1551. infell(3)=3
  1552. infell(4)=3
  1553. infell(6)=3
  1554. infell(8)=12
  1555. infell(9)=18
  1556. infell(10)=2
  1557. infell(15)=3
  1558. infell(16)=3
  1559. GOTO 300
  1560. C Element JOP6 : JOINTS POREUX
  1561. 109 infell(2)=7
  1562. infell(3)=7
  1563. infell(4)=7
  1564. infell(6)=7
  1565. infell(8)=21
  1566. infell(9)=45
  1567. infell(10)=3
  1568. infell(15)=4
  1569. infell(16)=4
  1570. GOTO 300
  1571. C Element JOP8 : JOINTS POREUX
  1572. 110 infell(2)=9
  1573. infell(3)=9
  1574. infell(4)=9
  1575. infell(6)=9
  1576. infell(8)=28
  1577. infell(9)=60
  1578. infell(10)=3
  1579. infell(15)=4
  1580. infell(16)=4
  1581. GOTO 300
  1582. C Elements POLYGONE a N cotes
  1583. 111 NBSH=infell(8)
  1584. infell(2)=NBSH
  1585. infell(3)=NBSH
  1586. infell(4)=NBSH
  1587. infell(6)=NBSH
  1588. infell(9)=2*NBSH
  1589. IF (IFOUR.EQ.1) infell(9)=3*NBSH
  1590. IF (IFOUR.EQ.-3) infell(9)=2*NBSH+3
  1591. GOTO 300
  1592. C Element BAR3 (barre a 3 noeuds)
  1593. 123 NPOINT=3
  1594. infell(2)=NPOINT
  1595. infell(4)=NPOINT
  1596. infell(5)=1
  1597. infell(6)=NPOINT
  1598. infell(7)=200
  1599. infell(9)=9
  1600. IF (IFOUR.EQ.-1.OR.IFOUR.EQ.-2.OR.IFOUR.EQ.0) infell(9)=6
  1601. infell(10)=1
  1602. infell(15)=3
  1603. IF (IFOUR.EQ.-1.OR.IFOUR.EQ.-2.OR.IFOUR.EQ.0) infell(15)=2
  1604. infell(16)=1
  1605. GOTO 300
  1606. C Element BAEX (barre excentree 3D a 2 noeuds)
  1607. 124 infell(2)=2
  1608. infell(3)=2
  1609. infell(4)=2
  1610. infell(5)=6
  1611. infell(6)=2
  1612. infell(7)=700
  1613. infell(9)=12
  1614. infell(10)=1
  1615. infell(15)=6
  1616. infell(16)=1
  1617. GOTO 300
  1618. C Element LIA2 : element de liaison a 2 noeuds (6 ddl par noeuds)
  1619. 125 infell(2)=2
  1620. infell(4)=2
  1621. infell(5)=9
  1622. infell(6)=2
  1623. infell(7)=200
  1624. infell(9)=12
  1625. infell(10)=6
  1626. infell(15)=6
  1627. infell(16)=6
  1628. GOTO 300
  1629. C Element QUAH
  1630. 126 infell(2)=4
  1631. infell(3)=4
  1632. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=9
  1633. infell(5)=5
  1634. infell(6)=4
  1635. infell(7)=0
  1636. IF (IFOUR.EQ.0) infell(9)=16
  1637. IF (IFOUR.EQ.1) infell(9)=24
  1638. infell(15)=6
  1639. GOTO 300
  1640. C Element CUBH
  1641. 127 infell(2)=8
  1642. infell(3)=27
  1643. infell(5)=5
  1644. infell(6)=27
  1645. infell(7)=0
  1646. infell(9)=48
  1647. infell(15)=6
  1648. GOTO 300
  1649. C Element ROT3 (1 pt GAUSS pr MASSE, 7 pts GAUSS pr RIGIDITE)
  1650. 128 infell(3)=1
  1651. infell(4) = infell(3)
  1652. infell(6)=7
  1653. infell(9)=3
  1654. infell(15)=1
  1655. GOTO 300
  1656. C Element TR6H
  1657. 157 infell(2)=4
  1658. infell(6)=6
  1659. infell(7)=0
  1660. IF (IFOUR.EQ.1.OR.IFOUR.EQ.0) THEN
  1661. infell(3)=7
  1662. infell(5)=5
  1663. IF (IFOUR.EQ.0) infell(9)=12
  1664. IF (IFOUR.EQ.1) infell(9)=18
  1665. infell(15)=6
  1666. ELSE
  1667. infell(3)=6
  1668. infell(5)=5
  1669. infell(9)=24
  1670. infell(15)=4
  1671. ENDIF
  1672. GOTO 300
  1673. C Element SEGS (SEG2-SECTION 2D)
  1674. 166 infell(2)=2
  1675. infell(3)=2
  1676. infell(4)=2
  1677. infell(5)=3
  1678. infell(6)=2
  1679. IF (IFOUR.EQ.-2.OR.IFOUR.EQ.-1.OR.IFOUR.EQ.-3) THEN
  1680. infell(10)=2
  1681. infell(16)=2
  1682. ELSE IF (IFOUR.EQ.2) THEN
  1683. infell(10)=3
  1684. infell(16)=3
  1685. ENDIF
  1686. GOTO 300
  1687. C Element POJS (POI1-SECTION)
  1688. 167 infell(2)=1
  1689. infell(3)=1
  1690. infell(4)=1
  1691. infell(5)=3
  1692. infell(6)=1
  1693. IF (IFOUR.EQ.-2.OR.IFOUR.EQ.-1.OR.IFOUR.EQ.-3) THEN
  1694. infell(10)=2
  1695. infell(16)=2
  1696. ELSE IF (IFOUR.EQ.2) THEN
  1697. infell(10)=3
  1698. infell(16)=3
  1699. ENDIF
  1700. GOTO 300
  1701. C Element JCT3
  1702. 168 infell(2)=3
  1703. infell(3)=3
  1704. infell(4)=3
  1705. infell(6)=3
  1706. GOTO 300
  1707. C Element JCI4
  1708. 169 infell(2)=4
  1709. infell(3)=4
  1710. infell(4)=4
  1711. infell(6)=4
  1712. GOTO 300
  1713. C Element JGI2
  1714. 170 infell(2)=4
  1715. infell(3)=2
  1716. infell(4)=2
  1717. infell(6)=2
  1718. IF (IFOUR.EQ.-3) infell(9)=infell(9)+3
  1719. infell(15)=2
  1720. GOTO 300
  1721. C Element JGT3
  1722. 171 infell(2)=3
  1723. infell(3)=3
  1724. infell(4)=3
  1725. infell(6)=3
  1726. GOTO 300
  1727. C Element JGI4
  1728. 172 infell(2)=4
  1729. infell(3)=4
  1730. infell(4)=4
  1731. infell(6)=4
  1732. GOTO 300
  1733. C Element TRIQ
  1734. 173 infell(3)=7
  1735. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) THEN
  1736. infell(2)=7
  1737. infell(4)=7
  1738. infell(6)=7
  1739. ELSE
  1740. infell(2)=4
  1741. infell(4)=4
  1742. infell(6)=4
  1743. ENDIF
  1744. infell(8)=9
  1745. infell(9)=18
  1746. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=24
  1747. GOTO 300
  1748. C Element QUAQ
  1749. 174 infell(2)=9
  1750. infell(3)=9
  1751. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=9
  1752. infell(4)=9
  1753. infell(6)=9
  1754. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=16
  1755. infell(8)=12
  1756. infell(9)=24
  1757. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=32
  1758. GOTO 300
  1759. C Element CUBQ
  1760. 175 infell(2)=27
  1761. infell(3)=27
  1762. infell(4)=27
  1763. infell(6)=27
  1764. infell(8)=28
  1765. infell(9)=76
  1766. GOTO 300
  1767. C Element TETQ
  1768. 176 infell(2)=5
  1769. infell(3)=5
  1770. infell(4)=5
  1771. infell(6)=5
  1772. infell(8)=14
  1773. infell(9)=38
  1774. GOTO 300
  1775. C Element PRIQ
  1776. 177 infell(2)=12
  1777. infell(3)=12
  1778. infell(4)=12
  1779. infell(6)=12
  1780. infell(8)=21
  1781. infell(9)=57
  1782. GOTO 300
  1783. C Element TRIR
  1784. 178 IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) THEN
  1785. infell(2)=7
  1786. infell(6)=7
  1787. infell(4)=7
  1788. ELSE
  1789. infell(2)=4
  1790. infell(4)=4
  1791. infell(6)=4
  1792. ENDIF
  1793. infell(3)=7
  1794. infell(8)=9
  1795. infell(9)=21
  1796. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=27
  1797. GOTO 300
  1798. C Element QUAR
  1799. 179 infell(2)=9
  1800. infell(3)=9
  1801. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=9
  1802. infell(4)=9
  1803. infell(6)=9
  1804. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=16
  1805. infell(8)=12
  1806. infell(9)=28
  1807. IF (IFOUR.EQ.1.OR.IFOUR.EQ.-3) infell(9)=36
  1808. GOTO 300
  1809. C Element CUBR
  1810. 180 infell(2)=27
  1811. infell(3)=27
  1812. infell(4)=27
  1813. infell(6)=27
  1814. infell(8)=28
  1815. infell(9)=84
  1816. GOTO 300
  1817. C Element TETR
  1818. 181 infell(2)=5
  1819. infell(3)=5
  1820. infell(4)=5
  1821. infell(6)=5
  1822. infell(8)=14
  1823. infell(9)=42
  1824. GOTO 300
  1825. C Element PRIR
  1826. 182 infell(2)=12
  1827. infell(3)=12
  1828. infell(4)=12
  1829. infell(6)=12
  1830. infell(8)=21
  1831. infell(9)=61
  1832. GOTO 300
  1833. C Element Q4RI (QUA4 with 1x1 Gauss points)
  1834. 183 infell(2)=4
  1835. infell(3)=1
  1836. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=9
  1837. infell(4)=1
  1838. C** infell(4)=5 CORRECTION MILL LE 8/8/90
  1839. infell(6)=1
  1840. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=9
  1841. infell(9)=8
  1842. IF (IFOUR.EQ.-3) infell(9)=11
  1843. IF (IFOUR.EQ.1) infell(9)=12
  1844. GOTO 300
  1845. C Element Q8RI (QUA8 with 2x2 Gauss points)
  1846. 184 infell(2)=9
  1847. infell(3)=4
  1848. IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(3)=16
  1849. infell(4)=4
  1850. infell(6)=4
  1851. C** IF (IFOUR.EQ.0.OR.IFOUR.EQ.1) infell(6)=16
  1852. infell(9)=16
  1853. IF (IFOUR.EQ.-3) infell(9)=19
  1854. IF (IFOUR.EQ.1) infell(9)=24
  1855. GOTO 300
  1856. C Element JOQ3
  1857. 185 infell(2)=3
  1858. infell(3)=3
  1859. infell(4)=3
  1860. infell(6)=3
  1861. infell(8)=12
  1862. infell(9)=24
  1863. infell(10)=4
  1864. infell(15)=4
  1865. infell(16)=4
  1866. GOTO 300
  1867. C Element JOQ6
  1868. 186 infell(2)=7
  1869. infell(3)=7
  1870. infell(4)=7
  1871. infell(6)=7
  1872. infell(8)=21
  1873. infell(9)=54
  1874. infell(10)=5
  1875. infell(15)=5
  1876. infell(16)=5
  1877. GOTO 300
  1878. C Element JOQ8
  1879. 187 infell(2)=9
  1880. infell(3)=9
  1881. infell(4)=9
  1882. infell(6)=9
  1883. infell(8)=28
  1884. infell(9)=72
  1885. infell(10)=5
  1886. infell(15)=5
  1887. infell(16)=5
  1888. GOTO 300
  1889. C Element JOR3
  1890. 188 infell(2)=3
  1891. infell(3)=3
  1892. infell(4)=3
  1893. infell(6)=3
  1894. infell(8)=12
  1895. infell(9)=30
  1896. infell(10)=5
  1897. infell(15)=5
  1898. infell(16)=5
  1899. GOTO 300
  1900. C Element JOR6
  1901. 189 infell(2)=7
  1902. infell(3)=7
  1903. infell(4)=7
  1904. infell(6)=7
  1905. infell(8)=21
  1906. infell(9)=63
  1907. infell(10)=6
  1908. infell(15)=6
  1909. infell(16)=6
  1910. GOTO 300
  1911. C Element JOR8
  1912. 190 infell(2)=9
  1913. infell(3)=9
  1914. infell(4)=9
  1915. infell(6)=9
  1916. infell(8)=28
  1917. infell(9)=84
  1918. infell(10)=6
  1919. infell(15)=6
  1920. infell(16)=6
  1921. GOTO 300
  1922. C Element T1D2/M1D2 : Element THERMIQUE/MECANIQUE MASSIF 1D a 2 noeuds
  1923. C On suppose que IFOMOD= 3 ou 4 ou 5 (IDIM=1)
  1924. 191 infell(2)=2
  1925. infell(3)=2
  1926. infell(4)=2
  1927. infell(6)=2
  1928. infell(9)=2
  1929. IF ((IFOUR.GE.7.AND.IFOUR.LE.10).OR.IFOUR.EQ.14) infell(9)=3
  1930. IF (IFOUR.EQ.11) infell(9)=4
  1931. GOTO 300
  1932. C Element T1D3/M1D3 : Element THERMIQUE/MECANIQUE MASSIF 1D a 3 noeuds
  1933. C On suppose que IFOMOD= 3 ou 4 ou 5 (IDIM=1)
  1934. 192 infell(2)=3
  1935. infell(3)=3
  1936. infell(4)=3
  1937. infell(6)=3
  1938. infell(9)=3
  1939. IF ((IFOUR.GE.7.AND.IFOUR.LE.10).OR.IFOUR.EQ.14) infell(9)=4
  1940. IF (IFOUR.EQ.11) infell(9)=5
  1941. GOTO 300
  1942. C Element fluide NAVIER_STOKES
  1943. C LC03 LS03 BS03
  1944. 195 infell(6)=2
  1945. GOTO 300
  1946. C LC07 LS07 BS07
  1947. 196 infell(6)=7
  1948. GOTO 300
  1949. C LC09 LS09 BS09
  1950. 197 infell(6)=4
  1951. GOTO 300
  1952. C MC03
  1953. 216 infell(6)=2
  1954. GOTO 300
  1955. C MC07
  1956. 217 infell(6)=7
  1957. GOTO 300
  1958. C MC09
  1959. 218 infell(6)=4
  1960. GOTO 300
  1961. C M103 MS03
  1962. 223 infell(6)=3
  1963. GOTO 300
  1964. C M107 MS07
  1965. 224 infell(6)=7
  1966. GOTO 300
  1967. C M109 MS09
  1968. 225 infell(6)=16
  1969. GOTO 300
  1970. C QC03 Q103 QS03
  1971. 237 infell(6)=3
  1972. GOTO 300
  1973. C QC07 Q107 QS07
  1974. 238 infell(6)=7
  1975. GOTO 300
  1976. C QC09 Q109 QS09
  1977. 239 infell(6)=16
  1978. GOTO 300
  1979. C
  1980. C CIFL
  1981. C
  1982. 258 CONTINUE
  1983. infell(2)=1
  1984. infell(3)=1
  1985. infell(4)=1
  1986. infell(6)=1
  1987. infell(8)=0
  1988. infell(9)=8
  1989. infell(10)=5
  1990. infell(15)=3
  1991. infell(16)=5
  1992. GO TO 300
  1993. C
  1994. C SHB8
  1995. C
  1996. 260 CONTINUE
  1997. infell(2)=5
  1998. infell(3)=5
  1999. infell(4)=5
  2000. infell(6)=5
  2001. infell(8)=0
  2002. infell(9)=24
  2003. infell(10)=6
  2004. infell(13)= 1
  2005. infell(15)=3
  2006. infell(16)=6
  2007. GO TO 300
  2008. C
  2009. C XQ4R
  2010. C
  2011. 263 INFELl(2)=0
  2012. INFELl(3)=64
  2013. INFELl(4)=64
  2014. INFELl(6)=64
  2015. INFELl(15)=20
  2016. INFELl(16)=4
  2017. INFELl(9) = 4*INFELl(15)
  2018. INFELl(10)=4
  2019. GOTO 300
  2020. C
  2021. C XC8R
  2022. C
  2023. 264 INFELl(2)=0
  2024. INFELl(3)=64
  2025. INFELl(4)=64
  2026. INFELl(6)=64
  2027. INFELl(15)=30
  2028. INFELl(16)=6
  2029. INFELl(9) = 8*INFELl(15)
  2030. INFELl(10)=6
  2031. GOTO 300
  2032. C
  2033. C Element JOI1 : element de liaison a 2 noeuds (6 ddl par noeuds)
  2034. C
  2035. 265 infell(2)=1
  2036. infell(3)=1
  2037. infell(4)=1
  2038. infell(5)=0
  2039. infell(6)=1
  2040. infell(7)=700
  2041. infell(8)=0
  2042. infell(13)=75
  2043. infell(14)=2
  2044. IF(IFOUR.EQ.2) THEN
  2045. infell(9)=12
  2046. infell(10)=6
  2047. infell(15)=6
  2048. infell(16)=6
  2049. ELSE IF(IFOUR.EQ.-2.OR.IFOUR.EQ.-1) THEN
  2050. infell(9)=6
  2051. infell(10)=3
  2052. infell(15)=3
  2053. infell(16)=3
  2054. ENDIF
  2055. GOTO 300
  2056. C
  2057. C Element ZCO2 : zone cohesive a 2 noeuds (2 ddls par noeud)
  2058. C
  2059. 266 infell(2)=2
  2060. infell(4)=2
  2061. infell(6)=2
  2062. infell(7)=100
  2063. infell(9)=4
  2064. infell(10)=2
  2065. infell(15)=2
  2066. infell(16)=2
  2067. GOTO 300
  2068. C
  2069. C Element ZCO3 : zone cohesive a 3 noeuds (2 ddls par noeud)
  2070. C
  2071. 267 infell(2)=1
  2072. infell(4)=1
  2073. infell(6)=1
  2074. infell(7)=100
  2075. infell(9)=9
  2076. infell(10)=3
  2077. infell(15)=3
  2078. infell(16)=3
  2079. GOTO 300
  2080. C
  2081. C Element ZCO4 : zone cohesive a 4 noeuds (2 ddls par noeud)
  2082. C
  2083. 268 infell(2)=4
  2084. infell(4)=4
  2085. infell(6)=4
  2086. infell(7)=100
  2087. infell(9)=12
  2088. infell(10)=3
  2089. infell(15)=3
  2090. infell(16)=3
  2091. GOTO 300
  2092. c
  2093. C Element TUY2 : tuyau pour modele d'advection en thermique
  2094. C
  2095. 269 infell(2)=2
  2096. infell(4)=2
  2097. infell(5)=5
  2098. infell(6)=2
  2099. infell(7)=200
  2100. infell(9)=2
  2101. infell(10)=1
  2102. infell(15)=1
  2103. infell(16)=1
  2104. GOTO 300
  2105. c
  2106. C Element TUY3 : tuyau pour modele d'advection en thermique
  2107. C
  2108. 270 infell(2)=3
  2109. infell(4)=3
  2110. infell(5)=5
  2111. infell(6)=3
  2112. infell(7)=200
  2113. infell(9)=2
  2114. infell(10)=1
  2115. infell(15)=1
  2116. infell(16)=1
  2117. GOTO 300
  2118. c
  2119. c element coaxial COS2 (3D pour liaison acier-beton)
  2120. c
  2121. 271 infell(2)=1
  2122. infell(4)=2
  2123. infell(5)=2
  2124. infell(6)=2
  2125. infell(7)=100
  2126. infell(9)=4*idim
  2127. infell(10)=3
  2128. infell(14)=12
  2129. infell(15)=IDIM
  2130. infell(16)=3
  2131. GOTO 300
  2132. c
  2133. c element coaxial COA2 (3D pour liaison acier-beton)
  2134. c
  2135. 272 infell(2)=1
  2136. infell(4)=2
  2137. infell(5)=2
  2138. infell(6)=2
  2139. infell(7)=100
  2140. infell(9)=4*idim
  2141. infell(10)=3
  2142. infell(14)=12
  2143. infell(15)=IDIM
  2144. infell(16)=3
  2145. GOTO 300
  2146. c sg element CU27, comme le CU20
  2147. 275 continue
  2148. infell(2)=27
  2149. infell(3)=27
  2150. infell(4)=27
  2151. infell(6)=27
  2152. infell(9)=81
  2153. GOTO 300
  2154. c element PR21
  2155. 276 continue
  2156. infell(2)=21
  2157. cbp infell(3)=12
  2158. infell(3)=21
  2159. infell(4)=21
  2160. infell(6)=21
  2161. infell(9)=63
  2162. GOTO 300
  2163. c element TE15
  2164. 277 continue
  2165. infell(2)=15
  2166. cbp infell(3)=5
  2167. infell(3)=15
  2168. infell(4)=15
  2169. infell(6)=15
  2170. infell(9)=45
  2171. GOTO 300
  2172. c element PY19
  2173. 278 continue
  2174. cbp 26 infell(2)=27
  2175. cbp infell(3)=27
  2176. cbp infell(4)=27
  2177. cbp infell(6)=27
  2178. infell(2)=17
  2179. infell(3)=17
  2180. infell(4)=17
  2181. infell(6)=17
  2182. infell(9)=57
  2183. GOTO 300
  2184. C Element C20R
  2185. 279 CONTINUE
  2186. infell(2)=27
  2187. infell(3)=8
  2188. infell(4)=8
  2189. infell(6)=8
  2190. infell(9)=60
  2191. GOTO 300
  2192. C Element P15R
  2193. 280 CONTINUE
  2194. infell(2)=12
  2195. infell(3)=8
  2196. infell(4)=6
  2197. infell(6)=6
  2198. infell(9)=45
  2199. GOTO 300
  2200. C
  2201. 300 IF (IELE.EQ.0) IELE=infell(14)
  2202. NBGST = infell(4)
  2203. NBG = infell(6)
  2204. NBGM = infell(3)
  2205. IF (NBGM.EQ.0) THEN
  2206. NBGM=NBG
  2207. infell(3)=NBGM
  2208. ENDIF
  2209. NBSH = NBNNE(IELE)
  2210. IF (MELE.GE.79.AND.MELE.LE.83 ) NBSH = infell(8)
  2211. IF (MELE.EQ.96) NBSH = infell(8)
  2212. IF (MELE.GE.108.AND.MELE.LE.110) NBSH = infell(8)
  2213. IF (MELE.GE.111.AND.MELE.LE.122) NBSH = infell(8)
  2214. c JK148537 en attendant les fonctions de forme pr18, pr14, py19
  2215. if (mele.eq.140.or.mele.eq.142.or.mele.eq.149) goto 950
  2216. IF (MELE.GE.173.AND.MELE.LE.182) NBSH = infell(8)
  2217. IF (MELE.GE.185.AND.MELE.LE.190) NBSH = infell(8)
  2218. IF (MELE.GE.195.AND.MELE.LE.257) NBSH = infell(8)
  2219. IF (MELE.EQ.263.OR.MELE.EQ.264 ) NBSH = infell(8)
  2220.  
  2221. C Cas particulier des formulations massives (mfr2 > 0)
  2222. C Ici : infell(9) = 1 * nb.noeuds.EF
  2223. IF (mfr2.NE.0) THEN
  2224. infell(9) = NBSH
  2225. ENDIF
  2226.  
  2227. IF (INTTYP.EQ.-10) THEN
  2228. if (formod(1).eq.'THERMIQUE ' .or.
  2229. & formod(1).eq.'EULER ' .or.
  2230. & formod(1).eq.'DARCY ' .or.
  2231. & formod(1).eq.'METALLURGIE ' .or.
  2232. & formod(1).eq.'FISSURE ')
  2233. & goto 950
  2234. if (formod(1).eq.'NAVIER_STOKES ') then
  2235. if (imodel.cmatee.ne.'NLIN ') goto 950
  2236. endif
  2237. ENDIF
  2238.  
  2239. * nombre composante contraintes/defo, materiau IMPEDANCE
  2240. if (dcmate) then
  2241. call idprim(IMODEL,MFR3,IPNOMC,NBROBL,NBRFAC)
  2242. if(tymode(/2).gt.0) then
  2243. if (tymode(1).eq.'LISTMOTS') then
  2244. dcmat2 = .true.
  2245. mlmot5 = ivamod(1)
  2246. segact mlmot5
  2247. nbrobl = mlmot5.mots(/2)*2
  2248. endif
  2249. endif
  2250. if (dcmat2.and.mele.eq.2) then
  2251. infell(9) = nbrobl
  2252. infell(10) = nbrobl/2
  2253. infell(15) = nbrobl/2
  2254. infell(16) = nbrobl/2
  2255. else
  2256. infell(15) = nbrobl
  2257. if (nbrfac.gt.0) infell(15) = infell(15) + nbrfac
  2258. infell(16) = infell(15)
  2259. if (mele.eq.45) infell(9) = nbrobl
  2260. if (mele.eq.2) infell(9) = nbrobl*2
  2261. endif
  2262. endif
  2263.  
  2264. c* write(6,*)'TYINTE',TYINTE
  2265. c* write(6,*)'MELE:',MELE,'IELE:',IELE,'NBSH:',NBSH,'NBG:',NBG
  2266.  
  2267. C Remplissage de infell(12) si MFR=5 cad MELE=41 ou 56 (COQ8 ou COQ6)
  2268. C -------------------------
  2269. IF (MFR.EQ.5.OR.MFR.EQ.74) THEN
  2270. c* write(6,*) ' elquoi appel a renoeu '
  2271. CALL RENOEU(IELE,MELE,NBSH,IPT2,IRT2)
  2272. c* write(6,*) ' elquoi sortie renoeu ipt2 irt2' ,ipt2,irt2
  2273. infell(12) = ipt2
  2274. if (inttyp.eq.-10) infmod(8)=IPT2
  2275. ENDIF
  2276. c
  2277. c cas XFEM : le 2nd segment d integration contient le MINTE de l'EF
  2278. c correspondant non enrichi (avec un nombre reduit de point de Gauss)
  2279. IF (MFR.EQ.63) THEN
  2280. if(MELE.eq.263) then
  2281. MEL2 = 8
  2282. NBG2 = 4
  2283. NBSH2 = 4
  2284. else if(MELE.eq.264) then
  2285. MEL2 = 14
  2286. NBG2 = 8
  2287. NBSH2 = 8
  2288. endif
  2289. c pour l'instant on ne distingue pas les cas selon TYINTE
  2290. CALL RESHPT(NBG2,NBSH2,IELE,MEL2,0,IPT2,IRT2)
  2291. infell(12) = IPT2
  2292. if (inttyp.eq.-10) infmod(8) = IPT2
  2293. ENDIF
  2294.  
  2295. C Remplissage de infell(11) : INTEGRATION DE L'ELEMENT FINI
  2296. C ---------------------------
  2297. IDETYI = 0
  2298. 400 CONTINUE
  2299. IF (INTTYP.EQ.-10) TYINTE = TYINTE + 1
  2300.  
  2301. C Tests de verification :
  2302. IF (MELE.GT.NELFI) THEN
  2303. WRITE(IOIMP,*)
  2304. WRITE(IOIMP,*) 'ELQUOI : incoherence NELFI & MELE ',
  2305. & NELFI,MELE
  2306. CALL ERREUR(5)
  2307. RETURN
  2308. ENDIF
  2309. IF (TYINTE.GT.NTYNTE) THEN
  2310. WRITE(IOIMP,*)
  2311. WRITE(IOIMP,*) 'ELQUOI : incoherence TYINTE & NTYNTE',
  2312. & TYINTE,NTYNTE
  2313. CALL ERREUR(5)
  2314. RETURN
  2315. ENDIF
  2316.  
  2317. C == === ====== ===
  2318. C Si le segment n'a pas deja ete rempli ou si c'est un DKT : iin = 0
  2319. C == === ====== ===
  2320. IF (MELE.EQ.28) THEN
  2321. iin = 0
  2322. ELSE
  2323. iin = INTEGR(MELE,TYINTE,IBMODE)
  2324. ENDIF
  2325. C == ==== ======
  2326. C Si le segment d'integration a deja ete rempli : iin est non nul ici !
  2327. C == ==== ======
  2328.  
  2329. IF (iin.EQ.0) THEN
  2330. IPT1 = 0
  2331. C Cas des elements de MECANIQUE :
  2332. C -------------------------------
  2333. C SI FAUX ? Ne devrait-on pas avoir MELE < 57 OU MELE > 68 ?????
  2334. IF (MELE.LT.57.OR.MELE.GT.64) THEN
  2335. C 1 = Champ aux noeuds
  2336. IF (TYINTE.EQ.1) THEN
  2337. * sg : ici uniquement les éléments fluide en reshpt
  2338. IF(MELE.GE.195.and.mele.LE.257) THEN
  2339. CALL RESHPT(NBG,NBSH,IELE,MELE,0,IPT1,IRT1)
  2340. ELSE
  2341. CALL RENOEU(IELE,MELE,NBSH,IPT1,IRT1)
  2342. ENDIF
  2343. C 2 = Point de Gauss, centre de gravite et champ CONSTANT
  2344. ELSE IF (TYINTE.EQ.2) THEN
  2345. CALL RESHPT(1,NBSH,IELE,MELE,NPINT,IPT1,IRT1)
  2346. C 3 = Point de Gauss pour la rigidite
  2347. ELSE IF (TYINTE.EQ.3) THEN
  2348. if(mele.eq.263.or.mele.eq.264) then
  2349. CALL RESHPX(NBG,NBSH,IELE,MELE,NPINT,IPT1,IRT1)
  2350. else
  2351. CALL RESHPT(NBG,NBSH,IELE,MELE,NPINT,IPT1,IRT1)
  2352. endif
  2353. C 4 = Point de Gauss pour la masse
  2354. ELSE IF (TYINTE.EQ.4) THEN
  2355. if(mele.eq.263.or.mele.eq.264) then
  2356. CALL RESHPX(NBGM,NBSH,IELE,MELE,NPINT,IPT1,IRT1)
  2357. else
  2358. CALL RESHPT(NBGM,NBSH,IELE,MELE,NPINT,IPT1,IRT1)
  2359. endif
  2360. C 5 = Point de Gauss - calcul des contraintes
  2361. ELSE IF (TYINTE.EQ.5) THEN
  2362. if(mele.eq.263.or.mele.eq.264) then
  2363. CALL RESHPX(NBG,NBSH,IELE,MELE,NPINT,IPT1,IRT1)
  2364. elseif((mele.ge.195.and.mele.le.208).or.
  2365. &(mele.ge.216.and.mele.le.236).or.(mele.ge.244.and.mele.le.256))
  2366. & then
  2367. c* jk148537 en attendant mieux
  2368. ipt1 = 0
  2369. else
  2370. CALL RESHPT(NBGST,NBSH,IELE,MELE,NPINT,IPT1,IRT1)
  2371. endif
  2372. C 6 = Pas de segment d'integration
  2373. ELSE IF (TYINTE.EQ.6) THEN
  2374. IPT1 = 0
  2375. C 7 = Champ aux faces
  2376. C 8 = Champ aux CENTREP1
  2377. ELSE IF (TYINTE.EQ.8) THEN
  2378. CALL RESHPT(NBG,NBSH,IELE,MELE,1,IPT1,IRT1)
  2379. C 9 = Champ aux MSOMMET
  2380. ELSE IF (TYINTE.EQ.9) THEN
  2381. CALL RESHPT(NBG,NBSH,IELE,MELE,2,IPT1,IRT1)
  2382. C Autre cas = Point de Gauss pour la rigidite
  2383. ELSE
  2384. CALL RESHPT(NBG,NBSH,IELE,MELE,NPINT,IPT1,IRT1)
  2385. ENDIF
  2386. if (ierr.ne.0) return
  2387. C Cas des elements de THERMIQUE :
  2388. C -------------------------------
  2389. C ELSE
  2390. C CALL TINTR(MELE,IPT1)
  2391. ENDIF
  2392. IF (IPT1.NE.0) CALL SAVSEG(IPT1)
  2393. iin = IPT1
  2394. INTEGR(MELE,TYINTE,IBMODE) = iin
  2395. ENDIF
  2396.  
  2397. IF (INTTYP.EQ.-10) THEN
  2398. imodel.infmod(2+TYINTE+IDETYI) = iin
  2399. IF (TYINTE.LT.5) GOTO 400
  2400. IF (TYINTE.EQ.5.AND.IDETYI.EQ.0) THEN
  2401. IF (mele.EQ.263) THEN
  2402. * pour le XQ4R on recommence pour avoir les fonctions de forme
  2403. * classiques du : qua4
  2404. TYINTE = 0
  2405. IDETYI = 5
  2406. mele = 8
  2407. nbsh = 4
  2408. nbg = 4
  2409. nbgm = 4
  2410. nbgst = 4
  2411. GOTO 400
  2412. ELSE IF (mele.EQ.264) THEN
  2413. * pour le XC8R on recommence pour avoir les fonctions de forme
  2414. * classiques du : cub8
  2415. TYINTE = 0
  2416. IDETYI = 5
  2417. mele = 14
  2418. nbsh = 8
  2419. nbg = 8
  2420. nbgm = 8
  2421. nbgst = 8
  2422. GOTO 400
  2423. ENDIF
  2424. ENDIF
  2425. ENDIF
  2426.  
  2427. MINTE=iin
  2428. IF(MINTE.GT.0) SEGACT,MINTE
  2429. infell(11) = iin
  2430.  
  2431. 950 CONTINUE
  2432. C Sortie de ELQUOI : le segment IPTR=INFO est ACTIF.
  2433. IPTR = INFO
  2434. c* write(ioimp,*)'-> ELQUOI infell',(infell(iou),iou=1,16)
  2435.  
  2436. c return
  2437. END
  2438.  
  2439.  
  2440.  
  2441.  

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