Changeset 2086 for trunk/MESOSCALE


Ignore:
Timestamp:
Feb 1, 2019, 12:21:21 PM (6 years ago)
Author:
mlefevre
Message:

Delete redifinition of atmospheric constant for ideal case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/dyn_em/module_initialize_quarter_ss.F

    r1848 r2086  
    974974! local data
    975975
    976       real p1000mb,cv,cp,r,cvpm,g
     976      !real p1000mb,cv,cp,r,cvpm,g
    977977!****Mars
    978978!      parameter (p1000mb = 1.e+05, r = 287, cp = 1003., cv = cp-r, cvpm = -cv/cp, g=9.81 )
     
    10211021      p_surf = 100.*p_surf  ! convert to pascals
    10221022      qvf = 1. + rvovrd*qv_input(1)
    1023       rho_surf = 1./((r/p1000mb)*th_surf*qvf*((p_surf/p1000mb)**cvpm))
     1023      rho_surf = 1./((r_d/p1000mb)*th_surf*qvf*((p_surf/p1000mb)**cvpm))
    10241024      pi_surf = (p_surf/p1000mb)**(rcp)
    10251025          !!!!!! rcp variable
     
    10471047!                    - dz*(0.25*rho_surf+0.75*rho_input(1))*g*qvf1  !!! BEURK
    10481048!                    - 0.5*dz*(rho_surf+rho_input(1))*g*qvf1  !! parce que couche 1 tres proche
    1049             rho_input(1) = 1./((r/p1000mb)*th_input(1)*qvf*((pm_input(1)/p1000mb)**cvpm))
     1049            rho_input(1) = 1./((r_d/p1000mb)*th_input(1)*qvf*((pm_input(1)/p1000mb)**cvpm))
    10501050               !!!!!!! rcp variable
    10511051               !rho_input(1) = 1./((r_input(1)/p1000mb)*th_input(1)*qvf*((pm_input(1)/p1000mb)**cvpm_input(1)))
Note: See TracChangeset for help on using the changeset viewer.