Issue 501: Computation of specific heat in divg.f90
http://code.google.com/p/fds-smv/issues/detail?id=501

Comment #5 by [EMAIL PROTECTED]:
The second C_P computation is still wrong (I think) because  
CP_MF=CP_SUM+... should
come after ENDDO

             Z_VECTOR = YY(I,J,K,I_Z_MIN:I_Z_MAX)
             CALL GET_CP(Z_VECTOR,Y_SUM(I,J,K),CP_MF,ITMP)
             IF (N_SPECIES > (I_Z_MAX-I_Z_MIN+1)) THEN
                CP_SUM = 0._EB
                DO N=1,N_SPECIES
                   IF (SPECIES(N)%MODE/=MIXTURE_FRACTION_SPECIES) &
                   CP_SUM = CP_SUM +  
YYP(I,J,K,N)*(SPECIES(N)%CP(ITMP)-SPECIES(0)%CP
(ITMP))
                   CP_MF = CP_SUM+(1._EB-Y_SUM(I,J,K))*CP_MF
                END DO
             ENDIF




-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You are subscribed to the "fds-smv-issues" group.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at:
http://groups.google.com/group/fds-smv-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to