Télécharger pilotage_indirect_2.dgibi

Retour à la liste

Numérotation des lignes :

  1. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2. * Problem description:
  3. *
  4. * In the example below, we study the behaviour of a holed plate under
  5. * tensile loading. The mesh is irregular and the load is applied at
  6. * the right edge under displacement control. At this edge, only the
  7. * direction of the displacement is known a priori. The displacement
  8. * intensity is calculated in such a way to respect the path equation
  9. * specified by the user. Here, the defaut path equation (CMSI) is
  10. * utilised.
  11. *
  12. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  13. 'OPTI' 'ECHO' 0;
  14. 'OPTI' 'DIME' 2 'ELEM' 'TRI3' 'MODE' 'PLAN CONTR';
  15. 'OPTI' 'TRAC' 'PSC';
  16. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  17. * export psc figures
  18. PLT1 = faux;
  19. * export output text
  20. EXP1 = faux;
  21. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  22. *
  23. * DEFINING THE PARAMETRIC GEOMETRY
  24. *
  25. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  26. pig = 3.141592654;
  27. R = 0.5;
  28. e = (pig/80.)*R;
  29. e1 = (pig/80.)*R;
  30. CC = 1. 0.85;
  31.  
  32. DTETA = ((e/R)/pig)*180.;
  33. SINDT = 'SIN'(DTETA);
  34. COSDT = 'COS'(DTETA);
  35.  
  36. DTETA1 = ((e1/R)/pig)*180.;
  37. SINDT1 = 'SIN'(DTETA1);
  38. COSDT1 = 'COS'(DTETA1);
  39.  
  40. dens1 = 1./5.;
  41. dens2 = 1./8.;
  42. dens3 = 2.*R*(SINDT);
  43. dens4 = 2.*R*(SINDT1);
  44.  
  45. PA = 0. 0.;
  46. PB = 2. 0.;
  47. PC = 2. 2.;
  48. PD = 0. 2.;
  49.  
  50. PE = (1.-(R*SINDT)) 0.;
  51. PF = (1.+(R*SINDT)) 0.;
  52. PG = (1.+(R*SINDT1)) 2.;
  53. PH = (1.-(R*SINDT1)) 2.;
  54.  
  55. PI = 2. 0.85;
  56. PL = 0. 0.85;
  57.  
  58. PC1 = (1.+(R*SINDT)) (0.35+(R*(1-COSDT)));
  59. PC2 = 1.5 0.85;
  60. PC3 = (1.+(R*SINDT1)) (1.35-(R*(1-COSDT1)));
  61. PC4 = (1.-(R*SINDT1)) (1.35-(R*(1-COSDT1)));
  62. PC5 = 0.5 0.85;
  63. PC6 = (1.-(R*SINDT)) (0.35+(R*(1-COSDT)));
  64.  
  65. LAE = 'DROI' PA PE 'DINI' dens1 'DFIN' dens3;
  66. LC6E = 'DROI' PE PC6 'DINI' dens3 'DFIN' dens3;
  67. LC5C6 = 'CERC' PC6 CC PC5 'DINI' dens3 'DFIN' dens2;
  68. LC5L = 'DROI' PC5 PL 'DINI' dens2 'DFIN' dens1;
  69. LLA = 'DROI' PL PA 'DINI' dens1 'DFIN' dens1;
  70. LSW = LAE 'ET' LC6E 'ET' LC5C6 'ET' LC5L 'ET' LLA;
  71. SSW = 'SURF' LSW;
  72.  
  73. LEF = 'DROI' 1 PE PF;
  74. LC1F = 'DROI' PF PC1 'DINI' dens3 'DFIN' dens3;
  75. LC6C1 = 'CERC' PC1 CC PC6 'DINI' dens3 'DFIN' dens3;
  76. LS = LEF 'ET' LC1F 'ET' LC6C1 'ET' ('INVE' LC6E);
  77. SS = 'SURF' LS;
  78.  
  79. LFB = 'DROI' PF PB 'DINI' dens3 'DFIN' dens1;
  80. LBI = 'DROI' PB PI 'DINI' dens1 'DFIN' dens1;
  81. LC2I = 'DROI' PI PC2 'DINI' dens1 'DFIN' dens2;
  82. LC2C1 = 'CERC' PC2 CC PC1 'DINI' dens2 'DFIN' dens3;
  83. LSE = LFB 'ET' LBI 'ET' LC2I 'ET' LC2C1 'ET' ('INVE' LC1F);
  84. SSE = 'SURF' LSE;
  85.  
  86. LIC = 'DROI' PI PC 'DINI' dens1 'DFIN' dens1;
  87. LCG = 'DROI' PC PG 'DINI' dens1 'DFIN' dens4;
  88. LGC3 = 'DROI' PG PC3 'DINI' dens4 'DFIN' dens4;
  89. LC3C2 = 'CERC' PC3 CC PC2 'DINI' dens4 'DFIN' dens2;
  90. LNE = ('INVE' LC2I) 'ET' LIC 'ET' LCG 'ET' LGC3 'ET' LC3C2;
  91. SNE = 'SURF' LNE;
  92.  
  93. LC3C4 = 'CERC' PC3 CC PC4 'DINI' dens4 'DFIN' dens4;
  94. LGH = 'DROI' 1 PG PH;
  95. LHC4 = 'DROI' PH PC4 'DINI' dens4 'DFIN' dens4;
  96. LN = LC3C4 'ET' ('INVE' LGC3) 'ET' LGH 'ET' LHC4;
  97. SN = 'SURF' LN;
  98.  
  99. LC4C5 = 'CERC' PC5 CC PC4 'DINI' dens2 'DFIN' dens4;
  100. LHD = 'DROI' PH PD 'DINI' dens4 'DFIN' dens1;
  101. LDL = 'DROI' PD PL 'DINI' dens1 'DFIN' dens1;
  102. LNW = ('INVE' LC5L) 'ET' LC4C5 'ET' ('INVE' LHC4) 'ET' LHD 'ET' LDL;
  103. SNW = 'SURF' LNW;
  104.  
  105. DAMMPART = SS 'ET' SN;
  106. ELASPART = SSW 'ET' SSE 'ET' SNE 'ET' SNW;
  107.  
  108. LAT_E = LDL 'ET' LLA;
  109. LAT_D = LIC 'ET' LBI;
  110.  
  111. ESTRUT = (DAMMPART 'ET' ELASPART);
  112.  
  113. 'SI' PLT1;
  114. 'TRAC' ESTRUT;
  115. 'FINSI';
  116. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  117. *
  118. * END OF PARAMETRIC GEOMETRY
  119. *
  120. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  121.  
  122. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  123. *
  124. * DEFINING MODEL AND MATERIAL
  125. *
  126. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  127. AT=1.0e0;
  128. AC=1.2e0;
  129. BC=1.5e+03;
  130. BT=1.0E4;
  131. epsd0=1.0E-4;
  132. YG=1.0E+9;
  133. BBT=1.06e0;
  134. NNU=0.0;
  135. RO =2.3E+03;
  136.  
  137. MOD1 = 'MODE' ELASPART 'MECANIQUE' 'ELASTIQUE' 'ISOTROPE';
  138. MAT1 = 'MATE' MOD1 'YOUN' YG 'NU' NNU 'RHO' RO;
  139.  
  140. MOD2 = 'MODE' DAMMPART 'MECANIQUE' 'ELASTIQUE' 'ISOTROPE'
  141. 'ENDOMMAGEMENT' 'MAZARS';
  142. MAT2 = 'MATE' MOD2 'YOUN' YG 'NU' NNU 'RHO' RO 'BTRA' BT
  143. 'KTR0' epsd0 'ATRA' AT 'ACOM' AC 'BCOM' BC 'BETA' BBT;
  144.  
  145. MODTOT = MOD1 'ET' MOD2;
  146. MATTOT = MAT1 'ET' MAT2;
  147.  
  148. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  149. *
  150. * END OF MODEL AND MATERIAL
  151. *
  152. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  153.  
  154. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  155. *
  156. * DEFINING BOUNDARY CONDITIONS (known a priori)
  157. *
  158. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  159. CL1 = 'BLOQ' 'UX' LAT_E;
  160. CL2 = 'BLOQ' 'UY' PA;
  161. CLT = CL1 'ET' CL2;
  162.  
  163. LA = ESTRUT 'POIN' 'DROIT' PA PB 0.00001;
  164. CL4 = 'BLOQ' 'UY' LA;
  165. CLT = CLT 'ET' CL4;
  166.  
  167. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  168. *
  169. * END OF BOUNDARY CONDITIONS
  170. *
  171. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  172.  
  173. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  174. *
  175. * PROBLEM SOLUTION
  176. *
  177. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  178. *
  179. * number of time increments
  180. ntincrem = 100;
  181. *
  182. * control parameter
  183. TAU = 1.0E-4;
  184. *
  185. * direction of the applied displacement (u_hat)
  186. CL3 = 'BLOQ' 'UX' LAT_D;
  187. CLT = CLT 'ET' CL3;
  188. uch = 'DEPI' CL3 1.0 ;
  189. *
  190. lis_incr= 'PROG' 0. 'PAS' 1 (ntincrem. * 1) ;
  191. lis_tau = 'PROG' 0. 'PAS' TAU (ntincrem. * TAU) ;
  192. ev1 = 'EVOL' 'MANU' 't' lis_incr 'tau' lis_tau ;
  193. *
  194. **** preparing PASAPAS input table
  195. tab1 = 'TABLE';
  196. tab1 . 'MOVA' = 'D' ;
  197. tab1 . 'BLOCAGES_MECANIQUES' = CLT ;
  198. tab1 . 'CARACTERISTIQUES' = mattot ;
  199. tab1 . 'MODELE' = modtot ;
  200. tab1 . 'TEMPS_CALCULES' = lis_incr ;
  201.  
  202. **** lines to be included for ativating path-following control ******
  203. tab1 . 'PILOTAGE_INDIRECT' = VRAI;
  204. tab1 . 'DEPLACEMENTS_PILOTES' = uch ;
  205. tab1 . 'PARAMETRE_DE_PILOTAGE' = ev1 ;
  206. tab1 . 'PRECISION' = 1.0e-7;
  207.  
  208. PASAPAS tab1;
  209.  
  210. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  211. *
  212. * END OF SOLUTION
  213. *
  214. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  215.  
  216. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  217. *
  218. * BEGIN OF POST-PROCESSING
  219. *
  220. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  221. *
  222. **** procedure @TOTAL adapted
  223. 'DEBPROC' RESFORCE CH1*'CHPOINT' GEO*'MAILLAGE' COMP1*'MOT' ;
  224. CH2 = 'REDU' CH1 GEO ;
  225. CHTOT = 'RESU' CH2 ;
  226. P1 = ('EXTR' CHTOT MAIL) 'POIN' 1 ;
  227. TOT1 = 'EXTR' CHTOT COMP1 P1 ;
  228. 'FINPROC' TOT1 ;
  229. *
  230. *
  231. nn = 'DIME' tab1 . 'TEMPS';
  232. *
  233. PROF = 'PROG' 0.;
  234. PROT = 'PROG' 0.;
  235. PROD = 'PROG' 0.;
  236. *
  237. 'REPE' LAB (nn - 1 ) ;
  238. ii = &LAB ;
  239. TT = tab1 . 'TEMPS' . ii ;
  240. deplac = tab1 . 'DEPLACEMENTS' . ii ;
  241. force_indirect = 'REAC' CL1 deplac ;
  242. FF = RESFORCE force_indirect LAT_E 'FX' ;
  243. DD = 'EXTR' deplac 'UX' PB ;
  244.  
  245. PROT = PROT 'ET' ( 'PROG' TT) ;
  246. PROF = PROF 'ET' ( 'PROG' (-1.*FF)) ;
  247. PROD = PROD 'ET' ( 'PROG' DD) ;
  248. 'FIN' LAB ;
  249.  
  250. 'SI' PLT1;
  251. PROETA = TAB1 . 'COEFFICIENT_DE_PILOTAGE' ;
  252. evo11 = 'EVOL' 'TURQ' 'MANU' 'disp' PROD 'forc' PROF ;
  253. evo12 = 'EVOL' 'ROUG' 'MANU' 'increment' PROT 'eta' PROETA ;
  254. 'DESS' evo11 ;
  255. 'DESS' evo12 ;
  256. 'FINSI';
  257.  
  258. 'SI' EXP1;
  259. @EXCEL1 evo11 'forc_displ_cmsi.txt' ;
  260. 'FINSI';
  261.  
  262. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  263. *
  264. * END OF POST-PROCESSING
  265. *
  266. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  267.  
  268. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  269. *
  270. * BEGIN OF ERROR TESTING
  271. *
  272. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  273.  
  274. refx = 'PROG' 0.;
  275. refx = refx 'ET' ('PROG' 7.25234E-05);
  276. refx = refx 'ET' ('PROG' 9.52043E-05);
  277. refx = refx 'ET' ('PROG' 8.90173E-05);
  278. refx = refx 'ET' ('PROG' 8.23523E-05);
  279. refx = refx 'ET' ('PROG' 7.52624E-05);
  280. refx = refx 'ET' ('PROG' 6.99765E-05);
  281. refx = refx 'ET' ('PROG' 6.64275E-05);
  282. refx = refx 'ET' ('PROG' 6.47229E-05);
  283. refx = refx 'ET' ('PROG' 6.31895E-05);
  284. refx = refx 'ET' ('PROG' 6.25926E-05);
  285. refx = refx 'ET' ('PROG' 6.19542E-05);
  286. refx = refx 'ET' ('PROG' 6.13881E-05);
  287. refx = refx 'ET' ('PROG' 6.11670E-05);
  288. refx = refx 'ET' ('PROG' 6.06850E-05);
  289. refx = refx 'ET' ('PROG' 6.06745E-05);
  290. refx = refx 'ET' ('PROG' 6.05893E-05);
  291. refx = refx 'ET' ('PROG' 6.04648E-05);
  292. refx = refx 'ET' ('PROG' 6.02701E-05);
  293. refx = refx 'ET' ('PROG' 5.98903E-05);
  294. refx = refx 'ET' ('PROG' 6.06235E-05);
  295. refx = refx 'ET' ('PROG' 6.10159E-05);
  296. refx = refx 'ET' ('PROG' 6.09750E-05);
  297. refx = refx 'ET' ('PROG' 6.15300E-05);
  298. refx = refx 'ET' ('PROG' 6.13401E-05);
  299. refx = refx 'ET' ('PROG' 6.16858E-05);
  300. refx = refx 'ET' ('PROG' 6.21556E-05);
  301. refx = refx 'ET' ('PROG' 6.19956E-05);
  302. refx = refx 'ET' ('PROG' 6.23896E-05);
  303. refx = refx 'ET' ('PROG' 6.21802E-05);
  304. refx = refx 'ET' ('PROG' 6.23712E-05);
  305. refx = refx 'ET' ('PROG' 6.20276E-05);
  306. refx = refx 'ET' ('PROG' 6.14528E-05);
  307. refx = refx 'ET' ('PROG' 6.25645E-05);
  308. refx = refx 'ET' ('PROG' 6.24348E-05);
  309. refx = refx 'ET' ('PROG' 6.21010E-05);
  310. refx = refx 'ET' ('PROG' 6.28804E-05);
  311. refx = refx 'ET' ('PROG' 6.19484E-05);
  312. refx = refx 'ET' ('PROG' 6.18783E-05);
  313. refx = refx 'ET' ('PROG' 6.12946E-05);
  314. refx = refx 'ET' ('PROG' 5.94620E-05);
  315. refx = refx 'ET' ('PROG' 5.94464E-05);
  316. refx = refx 'ET' ('PROG' 5.48346E-05);
  317. refx = refx 'ET' ('PROG' 5.00176E-05);
  318. refx = refx 'ET' ('PROG' 3.55282E-05);
  319. refx = refx 'ET' ('PROG' 3.02823E-05);
  320. refx = refx 'ET' ('PROG' 2.82446E-05);
  321. refx = refx 'ET' ('PROG' 2.79204E-05);
  322. refx = refx 'ET' ('PROG' 2.95119E-05);
  323. refx = refx 'ET' ('PROG' 3.21104E-05);
  324. refx = refx 'ET' ('PROG' 3.53427E-05);
  325. refx = refx 'ET' ('PROG' 3.89299E-05);
  326. refx = refx 'ET' ('PROG' 4.26923E-05);
  327. refx = refx 'ET' ('PROG' 4.65366E-05);
  328. refx = refx 'ET' ('PROG' 5.04177E-05);
  329. refx = refx 'ET' ('PROG' 5.43149E-05);
  330. refx = refx 'ET' ('PROG' 5.82192E-05);
  331. refx = refx 'ET' ('PROG' 6.21265E-05);
  332. refx = refx 'ET' ('PROG' 6.60349E-05);
  333. refx = refx 'ET' ('PROG' 6.99438E-05);
  334. refx = refx 'ET' ('PROG' 7.38529E-05);
  335. refx = refx 'ET' ('PROG' 7.77621E-05);
  336. refx = refx 'ET' ('PROG' 8.16713E-05);
  337. refx = refx 'ET' ('PROG' 8.55805E-05);
  338. refx = refx 'ET' ('PROG' 8.94897E-05);
  339. refx = refx 'ET' ('PROG' 9.33989E-05);
  340. refx = refx 'ET' ('PROG' 9.73081E-05);
  341. refx = refx 'ET' ('PROG' 1.01217E-04);
  342. refx = refx 'ET' ('PROG' 1.05127E-04);
  343. refx = refx 'ET' ('PROG' 1.01457E-04);
  344. refx = refx 'ET' ('PROG' 9.27572E-05);
  345. refx = refx 'ET' ('PROG' 8.45790E-05);
  346. refx = refx 'ET' ('PROG' 7.88846E-05);
  347. refx = refx 'ET' ('PROG' 7.51973E-05);
  348. refx = refx 'ET' ('PROG' 7.26282E-05);
  349. refx = refx 'ET' ('PROG' 7.03561E-05);
  350. refx = refx 'ET' ('PROG' 6.88321E-05);
  351. refx = refx 'ET' ('PROG' 6.75941E-05);
  352. refx = refx 'ET' ('PROG' 6.65391E-05);
  353. refx = refx 'ET' ('PROG' 6.60840E-05);
  354. refx = refx 'ET' ('PROG' 6.49857E-05);
  355. refx = refx 'ET' ('PROG' 6.34483E-05);
  356. refx = refx 'ET' ('PROG' 6.19822E-05);
  357. refx = refx 'ET' ('PROG' 6.05333E-05);
  358. refx = refx 'ET' ('PROG' 5.77906E-05);
  359. refx = refx 'ET' ('PROG' 5.31490E-05);
  360. refx = refx 'ET' ('PROG' 4.25939E-05);
  361. refx = refx 'ET' ('PROG' 3.43240E-05);
  362. refx = refx 'ET' ('PROG' 2.93451E-05);
  363. refx = refx 'ET' ('PROG' 2.74954E-05);
  364. refx = refx 'ET' ('PROG' 2.81269E-05);
  365. refx = refx 'ET' ('PROG' 3.02495E-05);
  366. refx = refx 'ET' ('PROG' 3.32799E-05);
  367. refx = refx 'ET' ('PROG' 3.67737E-05);
  368. refx = refx 'ET' ('PROG' 4.04981E-05);
  369. refx = refx 'ET' ('PROG' 4.43358E-05);
  370. refx = refx 'ET' ('PROG' 4.82257E-05);
  371. refx = refx 'ET' ('PROG' 5.21371E-05);
  372. refx = refx 'ET' ('PROG' 5.60573E-05);
  373. refx = refx 'ET' ('PROG' 5.99810E-05);
  374. refx = refx 'ET' ('PROG' 6.39061E-05);
  375.  
  376. refy = 'PROG' 0.;
  377. refy = refy 'ET' ('PROG' 4.45463E+04);
  378. refy = refy 'ET' ('PROG' 5.83719E+04);
  379. refy = refy 'ET' ('PROG' 5.43956E+04);
  380. refy = refy 'ET' ('PROG' 5.00694E+04);
  381. refy = refy 'ET' ('PROG' 4.53975E+04);
  382. refy = refy 'ET' ('PROG' 4.17647E+04);
  383. refy = refy 'ET' ('PROG' 3.92294E+04);
  384. refy = refy 'ET' ('PROG' 3.77753E+04);
  385. refy = refy 'ET' ('PROG' 3.63999E+04);
  386. refy = refy 'ET' ('PROG' 3.56303E+04);
  387. refy = refy 'ET' ('PROG' 3.47410E+04);
  388. refy = refy 'ET' ('PROG' 3.39867E+04);
  389. refy = refy 'ET' ('PROG' 3.33804E+04);
  390. refy = refy 'ET' ('PROG' 3.25917E+04);
  391. refy = refy 'ET' ('PROG' 3.21308E+04);
  392. refy = refy 'ET' ('PROG' 3.15410E+04);
  393. refy = refy 'ET' ('PROG' 3.09996E+04);
  394. refy = refy 'ET' ('PROG' 3.03773E+04);
  395. refy = refy 'ET' ('PROG' 2.96708E+04);
  396. refy = refy 'ET' ('PROG' 2.95883E+04);
  397. refy = refy 'ET' ('PROG' 2.92486E+04);
  398. refy = refy 'ET' ('PROG' 2.87976E+04);
  399. refy = refy 'ET' ('PROG' 2.86039E+04);
  400. refy = refy 'ET' ('PROG' 2.79892E+04);
  401. refy = refy 'ET' ('PROG' 2.77311E+04);
  402. refy = refy 'ET' ('PROG' 2.74429E+04);
  403. refy = refy 'ET' ('PROG' 2.69136E+04);
  404. refy = refy 'ET' ('PROG' 2.66394E+04);
  405. refy = refy 'ET' ('PROG' 2.60137E+04);
  406. refy = refy 'ET' ('PROG' 2.56496E+04);
  407. refy = refy 'ET' ('PROG' 2.49869E+04);
  408. refy = refy 'ET' ('PROG' 2.42949E+04);
  409. refy = refy 'ET' ('PROG' 2.43173E+04);
  410. refy = refy 'ET' ('PROG' 2.37479E+04);
  411. refy = refy 'ET' ('PROG' 2.32228E+04);
  412. refy = refy 'ET' ('PROG' 2.30970E+04);
  413. refy = refy 'ET' ('PROG' 2.22625E+04);
  414. refy = refy 'ET' ('PROG' 2.18520E+04);
  415. refy = refy 'ET' ('PROG' 2.11716E+04);
  416. refy = refy 'ET' ('PROG' 2.00706E+04);
  417. refy = refy 'ET' ('PROG' 1.96542E+04);
  418. refy = refy 'ET' ('PROG' 1.76046E+04);
  419. refy = refy 'ET' ('PROG' 1.56278E+04);
  420. refy = refy 'ET' ('PROG' 1.03518E+04);
  421. refy = refy 'ET' ('PROG' 8.46019E+03);
  422. refy = refy 'ET' ('PROG' 7.54396E+03);
  423. refy = refy 'ET' ('PROG' 7.11231E+03);
  424. refy = refy 'ET' ('PROG' 7.28604E+03);
  425. refy = refy 'ET' ('PROG' 7.77220E+03);
  426. refy = refy 'ET' ('PROG' 8.46328E+03);
  427. refy = refy 'ET' ('PROG' 9.27464E+03);
  428. refy = refy 'ET' ('PROG' 1.01473E+04);
  429. refy = refy 'ET' ('PROG' 1.10496E+04);
  430. refy = refy 'ET' ('PROG' 1.19656E+04);
  431. refy = refy 'ET' ('PROG' 1.28878E+04);
  432. refy = refy 'ET' ('PROG' 1.38130E+04);
  433. refy = refy 'ET' ('PROG' 1.47395E+04);
  434. refy = refy 'ET' ('PROG' 1.56665E+04);
  435. refy = refy 'ET' ('PROG' 1.65938E+04);
  436. refy = refy 'ET' ('PROG' 1.75211E+04);
  437. refy = refy 'ET' ('PROG' 1.84486E+04);
  438. refy = refy 'ET' ('PROG' 1.93760E+04);
  439. refy = refy 'ET' ('PROG' 2.03034E+04);
  440. refy = refy 'ET' ('PROG' 2.12308E+04);
  441. refy = refy 'ET' ('PROG' 2.21583E+04);
  442. refy = refy 'ET' ('PROG' 2.30857E+04);
  443. refy = refy 'ET' ('PROG' 2.40088E+04);
  444. refy = refy 'ET' ('PROG' 2.49235E+04);
  445. refy = refy 'ET' ('PROG' 2.38237E+04);
  446. refy = refy 'ET' ('PROG' 2.15515E+04);
  447. refy = refy 'ET' ('PROG' 1.93316E+04);
  448. refy = refy 'ET' ('PROG' 1.76276E+04);
  449. refy = refy 'ET' ('PROG' 1.64231E+04);
  450. refy = refy 'ET' ('PROG' 1.54226E+04);
  451. refy = refy 'ET' ('PROG' 1.45048E+04);
  452. refy = refy 'ET' ('PROG' 1.37513E+04);
  453. refy = refy 'ET' ('PROG' 1.29944E+04);
  454. refy = refy 'ET' ('PROG' 1.23544E+04);
  455. refy = refy 'ET' ('PROG' 1.17698E+04);
  456. refy = refy 'ET' ('PROG' 1.10863E+04);
  457. refy = refy 'ET' ('PROG' 1.03002E+04);
  458. refy = refy 'ET' ('PROG' 9.53999E+03);
  459. refy = refy 'ET' ('PROG' 8.76775E+03);
  460. refy = refy 'ET' ('PROG' 7.77889E+03);
  461. refy = refy 'ET' ('PROG' 6.50887E+03);
  462. refy = refy 'ET' ('PROG' 4.50567E+03);
  463. refy = refy 'ET' ('PROG' 2.98532E+03);
  464. refy = refy 'ET' ('PROG' 1.85411E+03);
  465. refy = refy 'ET' ('PROG' 1.07094E+03);
  466. refy = refy 'ET' ('PROG' 5.96771E+02);
  467. refy = refy 'ET' ('PROG' 3.10709E+02);
  468. refy = refy 'ET' ('PROG' 1.56888E+02);
  469. refy = refy 'ET' ('PROG' 7.53307E+01);
  470. refy = refy 'ET' ('PROG' 3.32747E+01);
  471. refy = refy 'ET' ('PROG' 1.35795E+01);
  472. refy = refy 'ET' ('PROG' 5.44144E+00);
  473. refy = refy 'ET' ('PROG' 2.16530E+00);
  474. refy = refy 'ET' ('PROG' 8.56639E-01);
  475. refy = refy 'ET' ('PROG' 3.37225E-01);
  476. refy = refy 'ET' ('PROG' 1.32182E-01);
  477.  
  478. tol1 = 1.0e-2;
  479. maxres = 0.;
  480. 'REPE' BTEST (nn - 1 ) ;
  481. V1 = 'EXTR' refx (&BTEST + 1);
  482. V2 = 'EXTR' prod (&BTEST + 1);
  483. res1 = 'ABS' ((V1 - V2)/V1);
  484. 'SI' (res1 > maxres); maxres = res1; 'FINSI';
  485.  
  486. W1 = 'EXTR' refy (&BTEST + 1);
  487. W2 = 'EXTR' prof (&BTEST + 1);
  488. res2 = 'ABS' ((W1 - W2)/W1);
  489. 'SI' (res2 > maxres); maxres = res2; 'FINSI';
  490.  
  491. 'FIN' BTEST ;
  492.  
  493. err1 = maxres > tol1;
  494.  
  495.  
  496. 'SI' err1;
  497. 'ERRE' 5 ;
  498. 'FINSI';
  499.  
  500. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  501. *
  502. * END OF ERROR TESTING
  503. *
  504. *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  505. 'FIN';
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  

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