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

New issue report by [EMAIL PROTECTED]:
Please complete the following lines...

Application Version: 5.2.3
SVN Revision Number: 2521


Gas phase specific heat in the mixture fraction formulation is computed in
two locations in divg.f90. Lines 294-303 read

CALL GET_CP(Z_VECTOR,Y_SUM(I,J,K),CP_MF,ITMP)
IF (N_SPECIES > 3) 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))
         END DO
      CP_MF = CP_SUM+(1._EB-Y_SUM(I,J,K))*CP_MF
      ENDIF

However lines 409-417 look a little different, and to my understanding the
lines there do not appear in a correct order resulting in a wrong CP_MF.

Also, I don't understand the IF (N_SPECIES > 3) ... ENDIF structure. Is
there an implicit assumption that the first three SPECies are MIXTURE
FRACTION SPECies ? I tested the attached case with an extra SPEC (say
Argon) and found that SPECIES(1)%ID was 'ARGON'. If you specify mixture
fraction with no CO production, you will have three SPECies in the
calculation, SPECIES(1) being the extra species, and spec nos 2-3 being
the two mixture fraction species. The extra species will be omitted in the
CP_MF computation because the GET_CP subroutine (func.f90) only handles
mixture fraction in a background gas but no extra diluents.



Attachments:
        CP_test.fds  533 bytes


Issue attributes:
        Status: New
        Owner: ----
        Labels: Type-Defect Priority-Medium

-- 
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