Télécharger fsterl.eso

Retour à la liste

Numérotation des lignes :

  1. C FSTERL SOURCE BECC 11/05/26 21:15:26 6981
  2. SUBROUTINE FSTERL(
  3. & PC, GAM,
  4. & P, RHO_L, P_L, U_L,
  5. & U, RHO, D,
  6. & LOGDEB, LOGAN)
  7. *
  8. *************************************************************************
  9. *
  10. * project : CAST3M, EUROPLEXUS...
  11. *
  12. * name : fsterl
  13. *
  14. * description : euler equations for a mixture of stiffened gases
  15. * flux in the non-reactive case.
  16. *
  17. * left entropy-respecing curve as function of p
  18. *
  19. * language : fortran 77
  20. *
  21. * author : a. beccantini den/dm2s/sfme/ltmf
  22. *
  23. *************************************************************************
  24. *
  25. * called by :
  26. *
  27. *
  28. *************************************************************************
  29. *
  30. ***** input
  31. *
  32. * pc, gam = properties of the gas
  33. *
  34. * p = pressure in the right side of the left
  35. * entropy respecing curve
  36. *
  37. * rho_l, p_l, u_l
  38. * = density, pressure, velocity on the left
  39. *
  40. * logdeb = debugging ?
  41. *
  42. ***** output
  43. *
  44. * u, rho = velocity and density in the right side of the
  45. * entropy respecing curve
  46. *
  47. * d = wave speed
  48. *
  49. * logan = anomaly ?
  50. *
  51. *************************************************************************
  52. *
  53. * 26/11/2009 created
  54. * 25/05/2011 evolution in CAST3M
  55. *
  56. *************************************************************************
  57. *
  58. * n.b.: all variables are declared
  59. *
  60. C IMPLICIT NONE
  61. IMPLICIT INTEGER(I-N)
  62. REAL*8
  63. & PC, GAM,
  64. & P, RHO_L, P_L, U_L,
  65. & U, D
  66. *
  67. REAL*8 RHO
  68. *
  69. LOGICAL LOGDEB, LOGAN
  70. *
  71. IF (P .LE. P_L) THEN
  72. CALL FSTRAL(PC, GAM, P, RHO_L, P_L, U_L,
  73. & U, RHO, D,
  74. & LOGDEB, LOGAN)
  75. ELSE
  76. CALL FSTSHL(PC, GAM, P, RHO_L, P_L, U_L,
  77. & U, RHO, D,
  78. & LOGDEB, LOGAN)
  79. ENDIF
  80. *
  81. IF (LOGAN) THEN
  82. WRITE(*,*) 'SUBROUTINE FSTERL.F'
  83. WRITE(*,*) 'ANOMALY DETECTED.'
  84. GOTO 9999
  85. ENDIF
  86. *
  87. 9999 RETURN
  88. END
  89.  
  90.  

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