Changeset 1746 for trunk/MESOSCALE/LMD_MM_MARS/SIMU
- Timestamp:
- Jul 24, 2017, 5:06:29 PM (7 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS/SIMU
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SIMU/RUN/vert_level_python/levspe.py
r1606 r1746 14 14 #psurf=92.e5 # Venus 15 15 psurf=1.212862e6 16 17 hache = 10. 18 psurf = 610. 19 20 16 21 print hache, psurf 17 22 #read paramlevspe 23 24 25 26 18 27 param=np.loadtxt('paramlevspe') 19 28 nlev=param[0] … … 52 61 #print ptop 53 62 etas=(pressions-ptop)/(psurf-ptop) 54 etas[ nlev-1]=0.63 etas[int(nlev)-1]=0. 55 64 #print etas 56 65 press=etas*(psurf-ptop)+ptop … … 68 77 np.savetxt('levels',etas) 69 78 70 plt.figure(figsize=(1 5, 15))79 plt.figure(figsize=(12, 6)) 71 80 plt.subplot(221) 72 plt.plot(x, etas )81 plt.plot(x, etas, 'b.') 73 82 plt.xlabel('levels') 74 83 plt.ylabel('etas') … … 76 85 #plt.title('a) NINO3 Sea Surface Temperature (seasonal)') 77 86 #plt.hold(False) 87 axes = plt.gca() 88 axes.set_ylim([0,1]) 78 89 79 90 plt.subplot(222) 80 plt.plot(x, pseudo )91 plt.plot(x, pseudo, 'b.') 81 92 plt.xlabel('levels') 82 93 plt.grid() 83 94 plt.ylabel('pseudo-altitude (km)') 95 plt.semilogy() 96 axes = plt.gca() 97 axes.set_ylim([0,60]) 98 84 99 85 100 plt3 = plt.subplot(223) 86 plt.semilogy(x, press )101 plt.semilogy(x, press, 'b.') 87 102 plt.xlabel('levels') 88 103 plt.grid() 89 plt.ylabel('press ion(Pa)')104 plt.ylabel('pressure (Pa)') 90 105 91 106 plt4 = plt.subplot(224) 92 plt.plot(x, res )107 plt.plot(x, res, 'b.') 93 108 plt.xlabel('levels') 94 109 plt.grid() -
trunk/MESOSCALE/LMD_MM_MARS/SIMU/RUN/vert_level_python/paramlevspe
r1606 r1746 3 3 #epsilon augmentation totale en pourcentage de l'ecart max (modifie inflexion). epsilon = 0 : point d'inflexion parfaitement plat. epsilon = 100 : pas de point d'inflexion 4 4 #elong_cos plus petit rapproche l'inflexion du sol ;; 2/3 parfait pour un nlev divisible par 3 5 2016 280.7 08 0.000000044 5 61 6 60. 7 100 8 1.75 -
trunk/MESOSCALE/LMD_MM_MARS/SIMU/namelist.input_full
r1044 r1746 88 88 h_sca_adv_order = 5, !! (*d) Horizontal scalar advection order 89 89 v_sca_adv_order = 3, !! (*d) Vertical scalar advection order 90 khdif = 10., !! ** direct diffusion for tests (km_opt=1). horizontal diffusion constant (m^2/s) 91 kvdif = 10., !! ** direct diffusion for tests (km_opt=1). vertical diffusion constant (m^2/s) 90 92 / 91 93
Note: See TracChangeset
for help on using the changeset viewer.