Télécharger fsterr.eso

Retour à la liste

Numérotation des lignes :

  1. C FSTERR SOURCE BECC 11/05/26 21:15:27 6981
  2. SUBROUTINE FSTERR(
  3. & PC, GAM,
  4. & P, RHO_R, P_R, U_R,
  5. & U, RHO, D,
  6. & LOGDEB, LOGAN)
  7. *
  8. *************************************************************************
  9. *
  10. * project : CAST3M, EUROPLEXUS...
  11. *
  12. * name : fsterr
  13. *
  14. * description : euler equations for a mixture of stiffened gases
  15. * flux in the non-reactive case.
  16. *
  17. * right entropy-respecting 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 left side of the right
  35. * entropy respecing curve
  36. *
  37. * rho_r, p_r, u_r
  38. * = density, pressure, velocity on the right
  39. *
  40. * logdeb = debugging ?
  41. *
  42. ***** output
  43. *
  44. * u, rho = velocity and density in the left 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_R, P_R, U_R,
  65. & U, RHO, D
  66. *
  67. REAL*8 VAR
  68. *
  69. LOGICAL LOGDEB, LOGAN
  70. *
  71. VAR = -1.0D0 * U_R
  72. CALL FSTERL(PC, GAM, P, RHO_R, P_R, VAR,
  73. & U, RHO, D,
  74. & LOGDEB, LOGAN)
  75. *
  76. U = -1.0D0 * U
  77. D = -1.0D0 * D
  78. *
  79. IF (LOGAN) THEN
  80. WRITE(*,*) 'SUBROUTINE FSTERR.F'
  81. WRITE(*,*) 'ANOMALY DETECTED.'
  82. GOTO 9999
  83. ENDIF
  84. *
  85. 9999 RETURN
  86. END
  87.  
  88.  

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