Changeset 2963 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- May 11, 2023, 5:40:03 PM (20 months ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/call_dayperi.F
r2448 r2963 17 17 c Lsperi solar longitude (Ls) of perohelion (rad) 18 18 c e_elips Excentricity 19 c real year_day ! number of sols per Mars yar 19 20 c 20 21 c output 21 22 c ------ 22 23 c dayperi Martian date at perihelion (sol) 23 c real year_day ! number of sols per Mars yar 24 24 25 c----------------------------------------------------------------------- 25 26 -
trunk/LMDZ.MARS/libf/phymars/iniorbit.F
r1382 r2963 68 68 69 69 timeperi=2.*atan(sqrt((1.+e_elips)/(1.-e_elips))*tan(zx0/2.)) 70 if(timeperi.lt.0) timeperi=-timeperi 70 71 PRINT*,'iniorbit: Perihelion solar long. Ls (deg)=', 71 72 & 360.-timeperi*180./pi -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2953 r2963 545 545 logical :: write_restart 546 546 547 ! Variable for ice table 548 REAL :: rhowater_surf(ngrid,nslope) 549 REAL :: rhowater_surf_sat(ngrid,nslope) 550 REAL :: rhowater_soil(ngrid,nsoilmx,nslope) 551 REAL,PARAMETER :: alph_clap = -6143.7 552 REAL,PARAMETER :: beta_clap = 28.9074 553 REAL :: pvap_surf(ngrid) 554 REAL,PARAMETER :: m_co2 = 44.01E-3 ! CO2 molecular mass (kg/mol) 555 REAL,PARAMETER :: m_noco2 = 33.37E-3 ! Non condensible mol mass (kg/mol) 556 REAL :: ztmp1,ztmp2 557 547 558 c======================================================================= 548 559 pdq(:,:,:) = 0. … … 789 800 call update_xios_timestep 790 801 #endif 802 803 791 804 792 805 … … 1498 1511 dwatercap(ig,:)=dwatercap(ig,:)+dwatercap_dif(ig,:) 1499 1512 ENDDO 1513 1500 1514 call compute_meshgridavg(ngrid,nq,albedo,emis,tsurf,zdqsdif, 1501 1515 & albedo_meshavg,emis_meshavg,tsurf_meshavg,zdqsdif_meshavg_tmp) … … 1559 1573 ENDDO 1560 1574 ENDDO 1575 1561 1576 IF (turb_resolved) THEN 1562 1577 write(*,*) 'Turbulent-resolving mode !' … … 2160 2175 endif ! of if (callthermos) 2161 2176 #endif 2177 2162 2178 c----------------------------------------------------------------------- 2163 2179 c 11. Carbon dioxide condensation-sublimation: … … 3822 3838 endif !not.scavenging 3823 3839 ENDIF ! of IF (water) 3840 3841 ! Output needed by the PEM 3842 DO ig = 1,ngrid 3843 ztmp1 =(1/m_co2 - 1/m_noco2) 3844 ztmp2=1/m_noco2 3845 pvap_surf(ig) = 1/(ztmp1*zq(ig,1,igcm_co2)+ztmp2) 3846 & * zq(ig,1,igcm_h2o_vap)/(mmol(igcm_h2o_vap)*1.e-3)*ps(ig) 3847 3848 DO islope = 1,nslope 3849 rhowater_surf_sat(ig,islope) = 3850 & exp(alph_clap/tsurf(ig,islope)+beta_clap) 3851 & / tsurf(ig,islope) 3852 3853 if(qsurf(ig,igcm_h2o_ice,islope).gt.(1.e-4)) then 3854 rhowater_surf(ig,islope) = 3855 & exp(alph_clap/tsurf(ig,islope)+beta_clap) 3856 & / tsurf(ig,islope) 3857 else 3858 rhowater_surf(ig,islope) = pvap_surf(ig) 3859 & / tsurf(ig,islope) 3860 endif 3861 DO isoil = 1,nsoilmx 3862 rhowater_soil(ig,isoil,islope) = 3863 & exp(alph_clap/tsoil(ig,isoil,islope)+beta_clap) 3864 & / tsoil(ig,isoil,islope) 3865 ENDDO 3866 ENDDO 3867 ENDDO 3868 3869 DO islope = 1,nslope 3870 write(str2(1:2),'(i2.2)') islope 3871 CALL send_xios_field("Waterdensity_soil_slope"//str2, 3872 & rhowater_soil(:,:,islope)) 3873 CALL send_xios_field("Waterdensity_surface"//str2, 3874 & rhowater_surf(:,islope)) 3875 ENDDO 3876 3877 CALL send_xios_field("h2o_layer1",zq(:,1,igcm_h2o_vap)) 3878 CALL send_xios_field("co2_layer1",zq(:,1,igcm_co2)) 3879 3824 3880 !PREVIOUSLY IN 1D ONLY 3825 3881 -
trunk/LMDZ.MARS/libf/phymars/rocketduststorm_mod.F90
r2953 r2963 532 532 'lapse rate in the rocket dust storm', & 533 533 'K/m',lapserate(:,:)) 534 call write_output('rds_deltahr', &535 'extra heating rate in the rocket dust storm', &536 'K/s',deltahr(:,:))534 ! call write_output('rds_deltahr', & 535 ! 'extra heating rate in the rocket dust storm', & 536 ! 'K/s',deltahr(:,:)) 537 537 ! call write_output('scheme','which scheme',& 538 538 ! ' ',real(scheme(:)))
Note: See TracChangeset
for help on using the changeset viewer.