Télécharger ottest.eso

Retour à la liste

Numérotation des lignes :

ottest
  1. C OTTEST SOURCE CHAT 05/01/13 02:06:57 5004
  2. SUBROUTINE OTTEST(XINVL,W,WMAX,SMAX,SIGMA,XLTR,PRECIZ,
  3. & BTR,WRUPT,
  4. & IB,IGAU,ICAS,KERRE)
  5. *
  6. IMPLICIT INTEGER(I-N)
  7. IMPLICIT REAL*8(A-H,O-Z)
  8.  
  9. -INC PPARAM
  10. -INC CCOPTIO
  11. C
  12. C
  13. DIMENSION SIGMA(6)
  14. C
  15. DIMENSION WMAX(3),SMAX(7),W(3),
  16. & XLTR(3),XINVL(3),WRUPT(3)
  17. C
  18. DIMENSION WREOUV(3)
  19.  
  20. C
  21. C ICAS = 1 EN ENTREE
  22. C ICAS = 2 EN SORTIE
  23. C
  24. XZER=0.D0
  25. KERRE=0
  26. C
  27. C------------------------------------------------------------------------
  28. C ON PASSE EN REVUE LES 3 DIRECTIONS POTENTIELLES
  29. C DE FISSURATION
  30. C------------------------------------------------------------------------
  31. C
  32. DO 88 I=1,3
  33.  
  34. IF(XINVL(I).NE.0.D0) THEN
  35.  
  36. WREOUV(I)=BTR*MIN(WMAX(I),WRUPT(I))
  37. *
  38. * TEST SUR OUVERTURE MINIMALE
  39. *
  40. IF(W(I).LT.WREOUV(I)-1.D-10*WRUPT(I)) THEN
  41. KERRE=70
  42. WRITE(IOIMP,60000) ICAS
  43. 60000 FORMAT (/2X, ' PROBLEME - ICAS =',I3 //)
  44. WRITE(IOIMP,67675) I,W(I), WREOUV(I),WMAX(I)
  45. 67675 FORMAT(2X,'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$' /
  46. & 4X,'ATTENTION W < WREOUV '/
  47. & 2X, ' I=',I4,2X,'W=',1PE12.5,2X,'WREOUV=',1PE12.5,
  48. & 2X,'WMAX=',1PE12.5/
  49. & 2X,'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$'/)
  50. ENDIF
  51. *
  52. * TEST SUR DEPASSEMENT DE LA LIMITE EN TRACTION
  53. *
  54. IF(SIGMA(I)-XLTR(I).GT.PRECIZ) THEN
  55. KERRE=70
  56. WRITE(IOIMP,60000) ICAS
  57. WRITE(IOIMP,77058) I,SIGMA(I)
  58. 77058 FORMAT(2X,'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$' /
  59. & 4X,'ATTENTION DEPASSEMENT DE RT ' /
  60. & 2X, ' I=',I4,2X,'SIGMA=',1PE12.5 /
  61. & 2X,'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$'/)
  62. ENDIF
  63.  
  64. *
  65. * TEST SUR SECANTE
  66. *
  67. IF(BTR.NE.1.D0) THEN
  68. IF(WMAX(I).LT.WRUPT(I).AND.W(I).GT.WREOUV(I)) THEN
  69. PPP = SMAX(I)/( WMAX(I)-WREOUV(I))
  70. ZZOB = W(I) -WREOUV(I)
  71. SSS = ZZOB*PPP
  72. IF(SIGMA(I).GT.PRECIZ.AND.
  73. & ABS(SIGMA(I)-SSS).GT.PRECIZ) THEN
  74.  
  75. KERRE=70
  76. WRITE(IOIMP,60000) ICAS
  77. WRITE(IOIMP,79912) I,SIGMA(I),SSS,WMAX(I),
  78. & W(I),WREOUV(I),ZZOB,SMAX(I)
  79. 79912 FORMAT(2X,' ################################### '/
  80. & 2X,'I=',I4,2X,'SIGMA=',1PE12.5,
  81. & 2X,'SSS=',1PE12.5/2X,'WMAX=',1PE12.5/
  82. & 2X,'W=',1PE12.5,2X,'WREOUV=',1PE12.5,
  83. & 2X,'W-WREOUV = ',1PE12.5,2X,'SMAX= ',1PE12.5/
  84. & 2X,' ################################### '/)
  85. PRINT *,'SIGMA=',SIGMA(I)
  86. PRINT *,'SSS =',SSS
  87. PRINT *,'WMAX =',WMAX(I)
  88. PRINT *,'W =',W(I)
  89. PRINT *,'WREOUV=',WREOUV(I)
  90. PRINT *,'W - WREOUV=',ZZOB
  91. PRINT *,'SMAX =',SMAX(I)
  92.  
  93. ENDIF
  94. ENDIF
  95. ENDIF
  96.  
  97. ENDIF
  98. 88 CONTINUE
  99.  
  100. IF(KERRE.NE.0) THEN
  101. WRITE(IOIMP,70902) IB,IGAU
  102. 70902 FORMAT(2X,'SORTIE OTTEST IB=',I6,2X,'IGAU=',I3////)
  103. ENDIF
  104. C
  105. RETURN
  106. END
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  

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