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 : * 24 : * called by : 25 : * 26 : * 27 : ************************************************************************* 28 : * 29 : ***** input 30 : * 31 : * pc, gam = properties of the gas 32 : * 33 : * p = pressure in the left side of the right 34 : * entropy respecing curve 35 : * 36 : * rho_r, p_r, u_r 37 : * = density, pressure, velocity on the right 38 : * 39 : * logdeb = debugging ? 40 : * 41 : ***** output 42 : * 43 : * u, rho = velocity and density in the left side of the 44 : * entropy respecing curve 45 : * 46 : * d = wave speed 47 : * 48 : * logan = anomaly ? 49 : * 50 : ************************************************************************* 51 : * 52 : * 26/11/2009 created 53 : * 25/05/2011 evolution in CAST3M 54 : * 55 : ************************************************************************* 56 : * 57 : * n.b.: all variables are declared 58 : * 59 : C IMPLICIT NONE 60 : IMPLICIT INTEGER(I-N) 61 : REAL*8 62 : & PC, GAM, 63 : & P, RHO_R, P_R, U_R, 64 : & U, RHO, D 65 : * 66 : REAL*8 VAR 67 : * 68 : LOGICAL LOGDEB, LOGAN 69 : * 70 : VAR = -1.0D0 * U_R 70 : CALL FSTERL(PC, GAM, P, RHO_R, P_R, VAR, 71 : & U, RHO, D, 72 : & LOGDEB, LOGAN) 73 : * 74 : U = -1.0D0 * U 75 : D = -1.0D0 * D 76 : * 77 : IF (LOGAN) THEN 78 : WRITE(*,*) 'SUBROUTINE FSTERR.F' 79 : WRITE(*,*) 'ANOMALY DETECTED.' 80 : GOTO 9999 81 : ENDIF 82 : * 83 : 9999 RETURN 84 : END 85 :
© Cast3M 2003 - All rights reserved.
Disclaimer