Changeset 4204


Ignore:
Timestamp:
Apr 29, 2026, 9:05:26 AM (8 days ago)
Author:
emillour
Message:

Generic PCM:
Import correction (from Mars PCM, r4183) on computation of Cp for a mixture.
Note that there is still some work to do about Cp which is defined twice
(in pcm_thermodynamics_mod and conc_mod)...
EM

Location:
trunk/LMDZ.GENERIC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/changelog.txt

    r4202 r4204  
    22912291dyn1d subdirectory and renamed it parameters_kcm1d.F90
    22922292
     2293== 29/04/2026 == EM
     2294Import correction (from Mars PCM, r4183) on computation of Cp for a mixture.
     2295Note that there is still some work to do about Cp which is defined twice
     2296(in pcm_thermodynamics_mod and conc_mod)...
  • trunk/LMDZ.GENERIC/libf/aeronogeneric/concentrations.F

    r2542 r4204  
    8787            do iq = 1,nq
    8888               ni(iq) = ntot*zq(ig,l,iq)*mmean(ig,l)/mmol(iq)
    89                cpnew(ig,l)  = cpnew(ig,l) + ni(iq)*cpi(iq)
     89               cpnew(ig,l)  = cpnew(ig,l) + zq(ig,l,iq)*cpi(iq)
    9090               akknew(ig,l) = akknew(ig,l) + ni(iq)*aki(iq)
    9191            end do
    92             cpnew(ig,l)  = cpnew(ig,l)/ntot
    9392            akknew(ig,l) = akknew(ig,l)/ntot
    9493         end do
Note: See TracChangeset for help on using the changeset viewer.