Télécharger cli163.eso

Retour à la liste

Numérotation des lignes :

cli163
  1. C CLI163 SOURCE OF166741 24/12/13 21:15:23 12097
  2. SUBROUTINE CLI163(MELEMF,MELEMC,MELECB,MELEFC,MELRES,INORM,ICHPVO,
  3. & ICHPSU,IROC,IVITC,IPC,IGAMC,ICHLIM,ILIINC,ILIINP,IJAC,IJACO)
  4. C************************************************************************
  5. C
  6. C PROJET : CASTEM 2000
  7. C
  8. C NOM : CLI163
  9. C
  10. C DESCRIPTION : Subroutine appellée par CLIM11
  11. C
  12. C LANGAGE : FORTRAN 77 + ESOPE 2000 (avec estensions CISI)
  13. C
  14. C AUTEUR : A. BECCANTINI, DRN/DMT/SEMT/LTMF
  15. C
  16. C************************************************************************
  17. C
  18. C APPELES (Calcul) :
  19. C
  20. C************************************************************************
  21. C
  22. C HISTORIQUE (Anomalies et modifications éventuelles)
  23. C
  24. C HISTORIQUE :
  25. C
  26. C************************************************************************
  27. C
  28. IMPLICIT INTEGER(I-N)
  29.  
  30. -INC PPARAM
  31. -INC CCOPTIO
  32. -INC SMLMOTS
  33. -INC SMELEME
  34. POINTEUR MELEFC.MELEME
  35. -INC SMLENTI
  36. POINTEUR MLEMC.MLENTI, MLEMCB.MLENTI,MLEMF.MLENTI
  37. -INC SMCHPOI
  38. POINTEUR MPNORM.MPOVAL, MPVOL.MPOVAL, MPSURF.MPOVAL, MPRC.MPOVAL,
  39. & MPVC.MPOVAL, MPPC.MPOVAL, MPGAMC.MPOVAL, MPLIM.MPOVAL
  40. POINTEUR RR.IZAFM, RUX.IZAFM, RUY.IZAFM, RRET.IZAFM,
  41. & UXR.IZAFM, UXUX.IZAFM, UXUY.IZAFM, UXRET.IZAFM,
  42. & UYR.IZAFM, UYUX.IZAFM, UYUY.IZAFM, UYRET.IZAFM,
  43. & RETR.IZAFM, RETUX.IZAFM, RETUY.IZAFM, RETRET.IZAFM,
  44. & RUZ.IZAFM, UXUZ.IZAFM, UYUZ.IZAFM, RETUZ.IZAFM,
  45. & UZR.IZAFM, UZUX.IZAFM, UZUY.IZAFM, UZRET.IZAFM,
  46. & UZUZ.IZAFM
  47. C
  48. INTEGER MELEMF,MELEMC,MELECB,INORM,ICHPVO,ICHPSU, IROC,IVITC,IPC
  49. & ,IGAMC,ICHLIM,ICEL,NFAC,IFAC,MELRES,IJACO
  50. & ,NGF,NGC,NLF,NLC,NLCB
  51. & ,ILIINC,ILIINP,IJAC
  52. & ,MP, NBEL, NBME, NBSOUS, NKID, NKMT, NMATRI, NP, NRIGE
  53. REAL*8 VOLU,SURF,RC,PC,UXC,UYC,GAMC,CNX,CNY,CTX,CTY
  54. & ,HTF,SF,UTF,RF,PF,UXF,UYF,GM1,USGM1
  55. & ,UNC,UNF,ECIN,PSRF,DPSRUN,DRDUN,DPDUN,DUNDUX,DUNDUY
  56. C & ,CACCA,EPS,CACCA1,CACCA2
  57. & ,VECG(5),VECD(5),NVEC(3),TVEC(3),TVEC2(3)
  58. & ,DFDUG(5,5),DFDUD(5,5)
  59. & ,DUXDUN,DUYDUN,COEF5,COEF
  60. & ,DRORO,DROUX,DROUY,DROP
  61. & ,DUXRO,DUXUX,DUXUY,DUXP
  62. & ,DUYRO,DUYUX,DUYUY,DUYP
  63. & ,DPRO,DPUX,DPUY,DPP
  64. & ,COEF1,COEF2,COEF3
  65. & ,CNZ,CTZ,CT2X,CT2Y,CT2Z,UZC,UT2F,UZF,DUZDUN,DUNDUZ
  66. & ,DROUZ,DPUZ,DUXUZ,DUYUZ
  67. & ,DUZRO,DUZUX,DUZUY,DUZUZ,DUZP,COEF4
  68. CHARACTER*(8) TYPE
  69. C
  70. C
  71. C**** KRIPAD pour la correspondance global/local
  72. C
  73. CALL KRIPAD(MELEMC,MLEMC)
  74. C SEGINI MLEMC
  75. CALL KRIPAD(MELECB,MLEMCB)
  76. C SEGINI MLEMCB
  77. CALL KRIPAD(MELEMF,MLEMF)
  78. C SEGINI MLEMF
  79. C
  80. C**** CHPOINTs de la table DOMAINE
  81. C
  82. CALL LICHT(INORM,MPNORM,TYPE,ICEL)
  83. CALL LICHT(ICHPVO,MPVOL,TYPE,ICEL)
  84. CALL LICHT(ICHPSU,MPSURF,TYPE,ICEL)
  85. C
  86. C**** LICHT active les MPOVALs en *MOD
  87. C
  88. C SEGACT MPNORM*MOD
  89. C SEGACT MPOVSU*MOD
  90. C SEGACT MPOVOL*MOD
  91. C
  92. C
  93. C**** CHPOINTs des variables
  94. C
  95. CALL LICHT(IROC,MPRC,TYPE,ICEL)
  96. CALL LICHT(IVITC,MPVC,TYPE,ICEL)
  97. CALL LICHT(IPC,MPPC,TYPE,ICEL)
  98. CALL LICHT(IGAMC,MPGAMC,TYPE,ICEL)
  99. CALL LICHT(ICHLIM,MPLIM,TYPE,ICEL)
  100. C
  101. C SEGACT *MOD
  102. C SEGACT *MOD
  103. C SEGACT *MOD
  104. C SEGACT *MOD
  105. C SEGACT *MOD
  106. C
  107. C
  108. C**** Boucle sur le face pour le calcul des invariants de
  109. C Riemann et du flux
  110. C
  111. SEGACT MELEFC
  112. NFAC=MELEFC.NUM(/2)
  113. C
  114. C**** Objet MATRIK
  115. C
  116. NRIGE = 7
  117. NMATRI = 1
  118. NKID = 9
  119. NKMT = 7
  120. C
  121. SEGINI MATRIK
  122. IJACO = MATRIK
  123. MATRIK.IRIGEL(1,1) = MELRES
  124. MATRIK.IRIGEL(2,1) = MELRES
  125. C
  126. C**** Matrice non symetrique
  127. C
  128. MATRIK.IRIGEL(7,1) = 2
  129. C
  130. NBME = 25
  131. NBSOUS = 1
  132. SEGINI IMATRI
  133. IF(IJAC.EQ.1)THEN
  134. MLMOTS=ILIINC
  135. ELSEIF(IJAC.EQ.2)THEN
  136. MLMOTS=ILIINP
  137. ENDIF
  138. SEGACT MLMOTS
  139. MATRIK.IRIGEL(4,1) = IMATRI
  140. C
  141. IMATRI.LISPRI(1) = MLMOTS.MOTS(1)
  142. IMATRI.LISPRI(2) = MLMOTS.MOTS(2)
  143. IMATRI.LISPRI(3) = MLMOTS.MOTS(3)
  144. IMATRI.LISPRI(4) = MLMOTS.MOTS(4)
  145. IMATRI.LISPRI(5) = MLMOTS.MOTS(5)
  146. C
  147. IMATRI.LISPRI(6) = MLMOTS.MOTS(1)
  148. IMATRI.LISPRI(7) = MLMOTS.MOTS(2)
  149. IMATRI.LISPRI(8) = MLMOTS.MOTS(3)
  150. IMATRI.LISPRI(9) = MLMOTS.MOTS(4)
  151. IMATRI.LISPRI(10) = MLMOTS.MOTS(5)
  152. C
  153. IMATRI.LISPRI(11) = MLMOTS.MOTS(1)
  154. IMATRI.LISPRI(12) = MLMOTS.MOTS(2)
  155. IMATRI.LISPRI(13) = MLMOTS.MOTS(3)
  156. IMATRI.LISPRI(14) = MLMOTS.MOTS(4)
  157. IMATRI.LISPRI(15) = MLMOTS.MOTS(5)
  158. C
  159. IMATRI.LISPRI(16) = MLMOTS.MOTS(1)
  160. IMATRI.LISPRI(17) = MLMOTS.MOTS(2)
  161. IMATRI.LISPRI(18) = MLMOTS.MOTS(3)
  162. IMATRI.LISPRI(19) = MLMOTS.MOTS(4)
  163. IMATRI.LISPRI(20) = MLMOTS.MOTS(5)
  164. C
  165. IMATRI.LISPRI(21) = MLMOTS.MOTS(1)
  166. IMATRI.LISPRI(22) = MLMOTS.MOTS(2)
  167. IMATRI.LISPRI(23) = MLMOTS.MOTS(3)
  168. IMATRI.LISPRI(24) = MLMOTS.MOTS(4)
  169. IMATRI.LISPRI(25) = MLMOTS.MOTS(5)
  170. C
  171. SEGDES MLMOTS
  172. MLMOTS=ILIINC
  173. SEGACT MLMOTS
  174. C
  175. C
  176. IMATRI.LISDUA(1) = MLMOTS.MOTS(1)
  177. IMATRI.LISDUA(2) = MLMOTS.MOTS(1)
  178. IMATRI.LISDUA(3) = MLMOTS.MOTS(1)
  179. IMATRI.LISDUA(4) = MLMOTS.MOTS(1)
  180. IMATRI.LISDUA(5) = MLMOTS.MOTS(1)
  181. C
  182. IMATRI.LISDUA(6) = MLMOTS.MOTS(2)
  183. IMATRI.LISDUA(7) = MLMOTS.MOTS(2)
  184. IMATRI.LISDUA(8) = MLMOTS.MOTS(2)
  185. IMATRI.LISDUA(9) = MLMOTS.MOTS(2)
  186. IMATRI.LISDUA(10) = MLMOTS.MOTS(2)
  187. C
  188. IMATRI.LISDUA(11) = MLMOTS.MOTS(3)
  189. IMATRI.LISDUA(12) = MLMOTS.MOTS(3)
  190. IMATRI.LISDUA(13) = MLMOTS.MOTS(3)
  191. IMATRI.LISDUA(14) = MLMOTS.MOTS(3)
  192. IMATRI.LISDUA(15) = MLMOTS.MOTS(3)
  193. C
  194. IMATRI.LISDUA(16) = MLMOTS.MOTS(4)
  195. IMATRI.LISDUA(17) = MLMOTS.MOTS(4)
  196. IMATRI.LISDUA(18) = MLMOTS.MOTS(4)
  197. IMATRI.LISDUA(19) = MLMOTS.MOTS(4)
  198. IMATRI.LISDUA(20) = MLMOTS.MOTS(4)
  199. C
  200. IMATRI.LISDUA(21) = MLMOTS.MOTS(5)
  201. IMATRI.LISDUA(22) = MLMOTS.MOTS(5)
  202. IMATRI.LISDUA(23) = MLMOTS.MOTS(5)
  203. IMATRI.LISDUA(24) = MLMOTS.MOTS(5)
  204. IMATRI.LISDUA(25) = MLMOTS.MOTS(5)
  205. C
  206. SEGDES MLMOTS
  207. NBEL = NFAC
  208. NBSOUS = 1
  209. NP = 1
  210. MP = 1
  211. SEGINI RR , RUX , RUY , RUZ ,RRET ,
  212. & UXR , UXUX , UXUY , UXUZ ,UXRET ,
  213. & UYR , UYUX , UYUY , UYUZ , UYRET ,
  214. & UZR , UZUX , UZUY , UZUZ , UZRET ,
  215. & RETR , RETUX , RETUY, RETUZ , RETRET
  216. C
  217. C**** Duale = IMATRI.LISDUA(1) = 'RN'
  218. C Primale = IMATRI.LISPRI(1) = 'RN'
  219. C -> IMATRI.LIZAFM(1,1) = RR
  220. C
  221. IMATRI.LIZAFM(1,1) = RR
  222. IMATRI.LIZAFM(1,2) = RUX
  223. IMATRI.LIZAFM(1,3) = RUY
  224. IMATRI.LIZAFM(1,4) = RUZ
  225. IMATRI.LIZAFM(1,5) = RRET
  226. C
  227. IMATRI.LIZAFM(1,6) = UXR
  228. IMATRI.LIZAFM(1,7) = UXUX
  229. IMATRI.LIZAFM(1,8) = UXUY
  230. IMATRI.LIZAFM(1,9) = UXUZ
  231. IMATRI.LIZAFM(1,10) = UXRET
  232. C
  233. IMATRI.LIZAFM(1,11) = UYR
  234. IMATRI.LIZAFM(1,12) = UYUX
  235. IMATRI.LIZAFM(1,13) = UYUY
  236. IMATRI.LIZAFM(1,14) = UYUZ
  237. IMATRI.LIZAFM(1,15) = UYRET
  238. C
  239. IMATRI.LIZAFM(1,16) = UZR
  240. IMATRI.LIZAFM(1,17) = UZUX
  241. IMATRI.LIZAFM(1,18) = UZUY
  242. IMATRI.LIZAFM(1,19) = UZUZ
  243. IMATRI.LIZAFM(1,20) = UZRET
  244. C
  245. IMATRI.LIZAFM(1,21) = RETR
  246. IMATRI.LIZAFM(1,22) = RETUX
  247. IMATRI.LIZAFM(1,23) = RETUY
  248. IMATRI.LIZAFM(1,24) = RETUZ
  249. IMATRI.LIZAFM(1,25) = RETRET
  250. C
  251. SEGDES MATRIK
  252. SEGDES IMATRI
  253. C
  254. C**** Fin definition MATRIK
  255. C
  256. DO IFAC=1,NFAC,1
  257. NGF=MELEFC.NUM(1,IFAC)
  258. NGC=MELEFC.NUM(2,IFAC)
  259. NLF=MLEMF.LECT(NGF)
  260. NLC=MLEMC.LECT(NGC)
  261. NLCB=MLEMCB.LECT(NGF)
  262. VOLU=MPVOL.VPOCHA(NLC,1)
  263. SURF=MPSURF.VPOCHA(NLF,1)
  264. C In CASTEM les normales sont sortantes
  265. CNX=-1*MPNORM.VPOCHA(NLF,1)
  266. CNY=-1*MPNORM.VPOCHA(NLF,2)
  267. CNZ=-1*MPNORM.VPOCHA(NLF,3)
  268. CTX=-1*MPNORM.VPOCHA(NLF,4)
  269. CTY=-1*MPNORM.VPOCHA(NLF,5)
  270. CTZ=-1*MPNORM.VPOCHA(NLF,6)
  271. CT2X=-1*MPNORM.VPOCHA(NLF,7)
  272. CT2Y=-1*MPNORM.VPOCHA(NLF,8)
  273. CT2Z=-1*MPNORM.VPOCHA(NLF,9)
  274. C Variables au centre
  275. RC=MPRC.VPOCHA(NLC,1)
  276. PC=MPPC.VPOCHA(NLC,1)
  277. UXC=MPVC.VPOCHA(NLC,1)
  278. UYC=MPVC.VPOCHA(NLC,2)
  279. UZC=MPVC.VPOCHA(NLC,3)
  280. GAMC=MPGAMC.VPOCHA(NLC,1)
  281. GM1=GAMC-1.0D0
  282. USGM1=1.0D0/GM1
  283. C Variables à la face
  284. HTF=MPLIM.VPOCHA(NLCB,1)
  285. SF=MPLIM.VPOCHA(NLCB,2)
  286. UTF=0.0D0
  287. UT2F=0.0D0
  288. C
  289. UNC=(UXC*CNX)+(UYC*CNY)+(UZC*CNZ)
  290. UNF=UNC
  291. C
  292. UXF=UNF*CNX+UTF*CTX+UT2F*CT2X
  293. UYF=UNF*CNY+UTF*CTY+UT2F*CT2Y
  294. UZF=UNF*CNZ+UTF*CTZ+UT2F*CT2Z
  295. C
  296. ECIN=0.5D0*((UXF*UXF)+(UYF*UYF)+(UZF*UZF))
  297. PSRF=(GM1/GAMC)*(HTF-ECIN)
  298. RF=PSRF/SF
  299. RF=RF**(1.0D0/GM1)
  300. PF=SF*(RF**GAMC)
  301. C
  302. C******* Derivative of PF/RF,PF,RF,UXF,UYF with respect to UN
  303. C
  304. DPSRUN=-1*(GM1/GAMC)*UNC
  305. DRDUN=USGM1*RF/PSRF*DPSRUN
  306. DPDUN=GAMC*PSRF*DRDUN
  307. DUXDUN=CNX
  308. DUYDUN=CNY
  309. DUZDUN=CNZ
  310. C
  311. DUNDUX=CNX
  312. DUNDUY=CNY
  313. DUNDUZ=CNZ
  314. C
  315. C******* Jacobian with respect to primitive variables
  316. C
  317. VECG(1)=RF
  318. VECG(2)=UXF
  319. VECG(3)=UYF
  320. VECG(4)=UZF
  321. VECG(5)=PF
  322. C
  323. VECD(1)=RC
  324. VECD(2)=UXC
  325. VECD(3)=UYC
  326. VECD(4)=UZC
  327. VECD(5)=PC
  328. C
  329. NVEC(1)=CNX
  330. NVEC(2)=CNY
  331. NVEC(3)=CNZ
  332. TVEC(1)=CTX
  333. TVEC(2)=CTY
  334. TVEC(3)=CTZ
  335. TVEC2(1)=CT2X
  336. TVEC2(2)=CT2Y
  337. TVEC2(3)=CT2Z
  338. C
  339. CALL CONJP4(DFDUG,DFDUD,VECG,VECD,NVEC,TVEC,TVEC2,GAMC)
  340. C
  341. COEF=SURF/VOLU
  342. DRORO=DFDUD(1,1)*COEF
  343. COEF5=(DFDUG(1,1)*DRDUN)+(DFDUG(1,2)*DUXDUN)+
  344. & (DFDUG(1,3)*DUYDUN)+(DFDUG(1,4)*DUZDUN)+
  345. & (DFDUG(1,5)*DPDUN)
  346. DROUX=(COEF5*DUNDUX+DFDUD(1,2))*COEF
  347. DROUY=(COEF5*DUNDUY+DFDUD(1,3))*COEF
  348. DROUZ=(COEF5*DUNDUZ+DFDUD(1,4))*COEF
  349. DROP=DFDUD(1,5)*COEF
  350. C
  351. DPRO=DFDUD(5,1)*COEF
  352. COEF5=(DFDUG(5,1)*DRDUN)+(DFDUG(5,2)*DUXDUN)+
  353. & (DFDUG(5,3)*DUYDUN)+(DFDUG(5,4)*DUZDUN)+
  354. & (DFDUG(5,5)*DPDUN)
  355. DPUX=(COEF5*DUNDUX+DFDUD(5,2))*COEF
  356. DPUY=(COEF5*DUNDUY+DFDUD(5,3))*COEF
  357. DPUZ=(COEF5*DUNDUZ+DFDUD(5,4))*COEF
  358. DPP=DFDUD(5,5)*COEF
  359. C
  360. DUXRO=DFDUD(2,1)*COEF
  361. COEF5=(DFDUG(2,1)*DRDUN)+(DFDUG(2,2)*DUXDUN)+
  362. & (DFDUG(2,3)*DUYDUN)+(DFDUG(2,4)*DUZDUN)+
  363. & (DFDUG(2,5)*DPDUN)
  364. DUXUX=(COEF5*DUNDUX+DFDUD(2,2))*COEF
  365. DUXUY=(COEF5*DUNDUY+DFDUD(2,3))*COEF
  366. DUXUZ=(COEF5*DUNDUZ+DFDUD(2,4))*COEF
  367. DUXP =DFDUD(2,5)*COEF
  368. C
  369. DUYRO=DFDUD(3,1)*COEF
  370. COEF5=(DFDUG(3,1)*DRDUN)+(DFDUG(3,2)*DUXDUN)+
  371. & (DFDUG(3,3)*DUYDUN)+(DFDUG(3,4)*DUZDUN)+
  372. & (DFDUG(3,5)*DPDUN)
  373. DUYUX=(COEF5*DUNDUX+DFDUD(3,2))*COEF
  374. DUYUY=(COEF5*DUNDUY+DFDUD(3,3))*COEF
  375. DUYUZ=(COEF5*DUNDUZ+DFDUD(3,4))*COEF
  376. DUYP =DFDUD(3,5)*COEF
  377. C
  378. DUZRO=DFDUD(4,1)*COEF
  379. COEF5=(DFDUG(4,1)*DRDUN)+(DFDUG(4,2)*DUXDUN)+
  380. & (DFDUG(4,3)*DUYDUN)+(DFDUG(4,4)*DUZDUN)+
  381. & (DFDUG(4,5)*DPDUN)
  382. DUZUX=(COEF5*DUNDUX+DFDUD(4,2))*COEF
  383. DUZUY=(COEF5*DUNDUY+DFDUD(4,3))*COEF
  384. DUZUZ=(COEF5*DUNDUZ+DFDUD(4,4))*COEF
  385. DUZP =DFDUD(4,5)*COEF
  386. C
  387. C
  388. C******* Jacobian with respect to conservative variables
  389. C
  390. IF(IJAC.EQ.1)THEN
  391. GM1=GAMC-1.0D0
  392. C
  393. COEF1=-1.0D0*UXC/RC
  394. COEF2=-1.0D0*UYC/RC
  395. COEF3=-1.0D0*UZC/RC
  396. COEF4=0.5D0*GM1*((UXC*UXC)+(UYC*UYC)+(UZC*UZC))
  397. C
  398. RR.AM(IFAC,1,1)=DRORO+(DROUX*COEF1)+(DROUY*COEF2)+(DROUZ
  399. $ *COEF3)+(DROP*COEF4)
  400. RUX.AM(IFAC,1,1)=(DROUX/RC)-((UXC*GM1)*DROP)
  401. RUY.AM(IFAC,1,1)=(DROUY/RC)-((UYC*GM1)*DROP)
  402. RUZ.AM(IFAC,1,1)=(DROUZ/RC)-((UZC*GM1)*DROP)
  403. RRET.AM(IFAC,1,1)=GM1*DROP
  404. C
  405. UXR.AM(IFAC,1,1)=DUXRO+(DUXUX*COEF1)+(DUXUY*COEF2)+(DUXUZ
  406. $ *COEF3)+(DUXP*COEF4)
  407. UXUX.AM(IFAC,1,1)=(DUXUX/RC)-((UXC*GM1)*DUXP)
  408. UXUY.AM(IFAC,1,1)=(DUXUY/RC)-((UYC*GM1)*DUXP)
  409. UXUZ.AM(IFAC,1,1)=(DUXUZ/RC)-((UZC*GM1)*DUXP)
  410. UXRET.AM(IFAC,1,1)=GM1*DUXP
  411. C
  412. UYR.AM(IFAC,1,1)=DUYRO+(DUYUX*COEF1)+(DUYUY*COEF2)+(DUYUZ
  413. $ *COEF3)+(DUYP*COEF4)
  414. UYUX.AM(IFAC,1,1)=(DUYUX/RC)-((UXC*GM1)*DUYP)
  415. UYUY.AM(IFAC,1,1)=(DUYUY/RC)-((UYC*GM1)*DUYP)
  416. UYUZ.AM(IFAC,1,1)=(DUYUZ/RC)-((UZC*GM1)*DUYP)
  417. UYRET.AM(IFAC,1,1)=GM1*DUYP
  418. C
  419. UZR.AM(IFAC,1,1)=DUZRO+(DUZUX*COEF1)+(DUZUY*COEF2)+(DUZUZ
  420. $ *COEF3)+(DUZP*COEF4)
  421. UZUX.AM(IFAC,1,1)=(DUZUX/RC)-((UXC*GM1)*DUZP)
  422. UZUY.AM(IFAC,1,1)=(DUZUY/RC)-((UYC*GM1)*DUZP)
  423. UZUZ.AM(IFAC,1,1)=(DUZUZ/RC)-((UZC*GM1)*DUZP)
  424. UZRET.AM(IFAC,1,1)=GM1*DUZP
  425. C
  426. RETR.AM(IFAC,1,1)=DPRO+(DPUX*COEF1)+(DPUY*COEF2)+(DPUZ
  427. $ *COEF3)+(DPP*COEF4)
  428. RETUX.AM(IFAC,1,1)=(DPUX/RC)-((UXC*GM1)*DPP)
  429. RETUY.AM(IFAC,1,1)=(DPUY/RC)-((UYC*GM1)*DPP)
  430. RETUZ.AM(IFAC,1,1)=(DPUZ/RC)-((UZC*GM1)*DPP)
  431. RETRET.AM(IFAC,1,1)=GM1*DPP
  432. C
  433. ELSEIF(IJAC.EQ.2)THEN
  434. RR.AM(IFAC,1,1)=DRORO
  435. RUX.AM(IFAC,1,1)=DROUX
  436. RUY.AM(IFAC,1,1)=DROUY
  437. RUZ.AM(IFAC,1,1)=DROUZ
  438. RRET.AM(IFAC,1,1)=DROP
  439. C
  440. UXR.AM(IFAC,1,1)=DUXRO
  441. UXUX.AM(IFAC,1,1)=DUXUX
  442. UXUY.AM(IFAC,1,1)=DUXUY
  443. UXUZ.AM(IFAC,1,1)=DUXUZ
  444. UXRET.AM(IFAC,1,1)=DUXP
  445. C
  446. UYR.AM(IFAC,1,1)=DUYRO
  447. UYUX.AM(IFAC,1,1)=DUYUX
  448. UYUY.AM(IFAC,1,1)=DUYUY
  449. UYUZ.AM(IFAC,1,1)=DUYUZ
  450. UYRET.AM(IFAC,1,1)=DUYP
  451. C
  452. UZR.AM(IFAC,1,1)=DUZRO
  453. UZUX.AM(IFAC,1,1)=DUZUX
  454. UZUY.AM(IFAC,1,1)=DUZUY
  455. UZUZ.AM(IFAC,1,1)=DUZUZ
  456. UZRET.AM(IFAC,1,1)=DUZP
  457. C
  458. RETR.AM(IFAC,1,1)=DPRO
  459. RETUX.AM(IFAC,1,1)=DPUX
  460. RETUY.AM(IFAC,1,1)=DPUY
  461. RETUZ.AM(IFAC,1,1)=DPUZ
  462. RETRET.AM(IFAC,1,1)=DPP
  463. ENDIF
  464. ENDDO
  465. C
  466. SEGDES MELEFC
  467. C
  468. SEGSUP MLEMC
  469. SEGSUP MLEMCB
  470. SEGSUP MLEMF
  471. C
  472. SEGDES MPNORM
  473. SEGDES MPVOL
  474. SEGDES MPSURF
  475. SEGDES MPRC
  476. SEGDES MPPC
  477. SEGDES MPVC
  478. SEGDES MPGAMC
  479. SEGDES MPLIM
  480. C
  481. SEGDES RR , RUX , RUY , RUZ ,RRET ,
  482. & UXR , UXUX , UXUY , UXUZ ,UXRET ,
  483. & UYR , UYUX , UYUY , UYUZ , UYRET ,
  484. & UZR , UZUX , UZUY , UZUZ , UZRET ,
  485. & RETR , RETUX , RETUY, RETUZ , RETRET
  486. C
  487. 9999 CONTINUE
  488. RETURN
  489. END
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  

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