Télécharger eplc3d.eso

Retour à la liste

Numérotation des lignes :

eplc3d
  1. C EPLC3D SOURCE PV090527 23/02/13 21:15:06 11592
  2. SUBROUTINE EPLC3D(pt0,pc0,M,s1,s2,s3,lcc,Vdep)
  3. c Ecoulement plastique plastique CamCaly (A.Sellier 2021/04/22)
  4. implicit real*8 (a-h,o-z)
  5. implicit integer (i-n)
  6.  
  7. real*8 pt0,pc0,M,s1,s2,s3,lcc,Vdep(3)
  8.  
  9. C t1 = M ** 2
  10. C t2 = pc0 ** 2
  11. C t5 = t2 * pc0 * t1 / 0.12D2
  12. C t6 = pt0 * t1
  13. C t7 = 0.9D1 * t6
  14. C t8 = s1 + s2 + s3
  15. C t9 = 0.2D1 * t1 * t8
  16. C t11 = 0.3D1 * s2
  17. C t12 = 0.3D1 * s3
  18. C t16 = 0.4D1 / 0.9D1 * t1 * t8
  19. C t18 = 0.2D1 / 0.3D1 * s2
  20. C t19 = 0.2D1 / 0.3D1 * s3
  21. C t24 = pt0 ** 2
  22. C t25 = 0.2D1 / 0.3D1 * t1 * t8
  23. C t32 = 0.3D1 * s1
  24. C t37 = 0.2D1 / 0.3D1 * s1
  25. C Vdep(1) = (t5 + t2 * (t7 + t9 + 0.6D1 * s1 - t11 - t12) / 0.36D2 +
  26. C # pc0 * (t6 + t16 - 0.4D1 / 0.3D1 * s1 + t18 + t19) * pt0 / 0.4D1 +
  27. C # (t6 + t25 + 0.2D1 * s1 - s2 - s3) * t24 / 0.12D2) * lcc
  28. C Vdep(2) = (t5 + t2 * (t7 + t9 - t32 + 0.6D1 * s2 - t12) / 0.36D2 +
  29. C # pc0 * (t6 + t16 + t37 - 0.4D1 / 0.3D1 * s2 + t19) * pt0 / 0.4D1 +
  30. C # t24 * (t6 + t25 - s1 + 0.2D1 * s2 - s3) / 0.12D2) * lcc
  31. C Vdep(3) = (t5 + t2 * (t7 + t9 - t32 - t11 + 0.6D1 * s3) / 0.36D2 +
  32. C # pc0 * (t6 + t16 + t37 + t18 - 0.4D1 / 0.3D1 * s3) * pt0 / 0.4D1 +
  33. C # (t6 + t25 - s1 - s2 + 0.2D1 * s3) * t24 / 0.12D2) * lcc
  34.  
  35. t1 = sqrt(0.3D1)
  36. t3 = sqrt(0.4D1)
  37. t4 = t3 * t1 * lcc
  38. t6 = (pc0 - pt0) ** 2
  39. t7 = t6 ** 2
  40. t10 = s1 + s2 + s3 + 0.3D1 / 0.2D1 * pc0 + 0.3D1 / 0.2D1 * pt0
  41. t11 = t10 ** 2
  42. t12 = M ** 2
  43. t13 = t12 ** 2
  44. t15 = s1 ** 2
  45. t19 = s2 ** 2
  46. t23 = s3 ** 2
  47. t27 = sqrt((t13 * t11 + 0.81D2 / 0.2D1 * t15 + 0.81D2 / 0.2D1 * (-
  48. #s2 - s3) * s1 + 0.81D2 / 0.2D1 * t19 - 0.81D2 / 0.2D1 * s2 * s3 +
  49. #0.81D2 / 0.2D1 * t23) * t7)
  50. t28 = 0.1D1 / t27
  51. t29 = t6 * t28
  52. t30 = t12 * t10
  53. t32 = 0.9D1 / 0.2D1 * s2
  54. t33 = 0.9D1 / 0.2D1 * s3
  55. t38 = 0.9D1 / 0.2D1 * s1
  56. Vdep(1) = (t30 + 0.9D1 * s1 - t32 - t33) * t29 * t4 / 0.6D1
  57. Vdep(2) = t6 * (t30 - t38 + 0.9D1 * s2 - t33) * t28 * t4 / 0.6D1
  58. Vdep(3) = (t30 - t38 - t32 + 0.9D1 * s3) * t29 * t4 / 0.6D1
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. if(Vdep(1).ne.vdep(1)) then
  68. print*,'Pb dans eplc3d'
  69. print*,'pt0,pc0,M,s1,s2,s3,lcc,Vdep'
  70. print*,pt0,pc0,M,s1,s2,s3,lcc,Vdep
  71. end if
  72.  
  73.  
  74. return
  75. end
  76.  
  77.  
  78.  

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