Changeset 4087


Ignore:
Timestamp:
Feb 27, 2026, 8:22:38 AM (2 weeks ago)
Author:
streel
Message:

First follow-up of the microphysics scheme commit :

  • Removal of wsa_new_bis.f90 (was not used)
  • Correction of change_wsa call in mad_muphy + cleaner definition of the r_merge
  • Correction of the nucleation variable status
  • Correction of a bug in physiq_mod concerning the non-activated CCN + cleaning

NS

Location:
trunk/LMDZ.VENUS/libf/phyvenus
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/cloudvenus/mad_muphy.f90

    r4085 r4087  
    204204  write(*,*)'RHOpi et RHOeqi', RHOSAp, RHOSA   
    205205  ENDIF
    206   call change_wsa(TAIR,PAIR,MRSAv,MRSAss,WSAv)
     206  call change_wsa(TAIR,PAIR,MRSAv,MRSAss)
    207207 
    208208  IF (dbg_glob) then
     
    854854     !Computation of the 9th decile
    855855
    856      r_merge = exp(r2 + sigma2 * -1.2816)
     856     r_merge = exp(r2 - sigma2 * 1.2816)
    857857
    858858     !Mode merging 2->1 
  • trunk/LMDZ.VENUS/libf/phyvenus/cloudvenus/nucleations.f90

    r4080 r4087  
    134134
    135135!*****************************************************************************
    136 SUBROUTINE newnuklefit(t,p,rhoa,jnuc,rc,ntotal)
     136SUBROUTINE newnuklefit(temp,p,rhoacid,jnuc,rc,ntotal)
    137137
    138138  !    Fortran 90 subroutine binapara
     
    165165
    166166  ! Inputs
    167   real,intent(inout) :: t        ! temperature in K (165-400 K)
    168   real,intent(inout) :: p        ! pressure in Pa
    169   real,intent(inout) :: rhoa     ! sulfuric acid concentration in #/m3 (10^10 - 10^19)
     167  real, intent(in) :: temp     ! temperature in K (165-400 K)
     168  real, intent(in) :: p        ! pressure in Pa
     169  real, intent(in) :: rhoacid  ! sulfuric acid concentration in #/m3 (10^10 - 10^19)
    170170
    171171  ! Outputs
     
    177177  real :: x          ! mole fraction of H2SO4 in the critical cluster     
    178178  real :: nac        ! local variable for number of acid molecules
     179  real :: t          ! local variable for temperature
     180  real :: rhoa       ! local variable for acid concentration
    179181
    180182  ! Initialization
     183  rhoa = rhoacid
     184  t = temp
    181185  jnuc = 0.e0
    182186  ntotal = 0.e0
  • trunk/LMDZ.VENUS/libf/phyvenus/physiq_mod.F

    r4086 r4087  
    11941194!        mode 2
    11951195
    1196                d_tr_sed(:,:,:) = 0.
    11971196               call sedim_mad_m2(klon, klev, zctime, pplay, paprs,
    11981197     $                           rho,zzlev,t_seri,d_tr_sed(:,:,1:5),
     
    12791278               do i = 1, klon
    12801279                  if (tr_seri(i,k,i_m3_mode1sa) < 1e-18) then
    1281                      tr_seri(:,:,i_m0_aer) = tr_seri(:,:,i_m0_aer)
     1280                     tr_seri(i,k,i_m0_aer) = tr_seri(i,k,i_m0_aer)
    12821281     $                                     + tr_seri(i,k,i_m0_mode1ccn)
    12831282
    1284                      tr_seri(:,:,i_m3_aer) = tr_seri(:,:,i_m3_aer)
     1283                     tr_seri(i,k,i_m3_aer) = tr_seri(i,k,i_m3_aer)
    12851284     $                                     + tr_seri(i,k,i_m3_mode1ccn)
    12861285
     
    12931292       
    12941293                  if (tr_seri(i,k,i_m3_mode2sa) < 1e-18) then
    1295                      tr_seri(:,:,i_m0_aer) = tr_seri(:,:,i_m0_aer)
     1294                     tr_seri(i,k,i_m0_aer) = tr_seri(i,k,i_m0_aer)
    12961295     $                                     + tr_seri(i,k,i_m0_mode2ccn)
    12971296
    1298                      tr_seri(:,:,i_m3_aer) = tr_seri(:,:,i_m3_aer)
     1297                     tr_seri(i,k,i_m3_aer) = tr_seri(i,k,i_m3_aer)
    12991298     $                                     + tr_seri(i,k,i_m3_mode2ccn)
    13001299
Note: See TracChangeset for help on using the changeset viewer.