Changeset 2827 for trunk/LMDZ.MARS/libf
- Timestamp:
- Nov 23, 2022, 11:13:18 AM (2 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars/dyn1d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/read_profile_mod.F90
r2355 r2827 110 110 if (ierr.eq.0) then 111 111 read(91,*)qsurf(iq) 112 if (trim(name_tracer(iq)) == 'co2' .and. qsurf(iq).ne.0) then 113 call abort_physic("read_profile","The value of co2 profile on surface must be 0. It's value must be specified in the run.def as co2ice=XX",1) 114 endif 112 115 do ilayer = 1, nb_layer 113 116 read(91,*)q(ilayer,iq) -
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r2823 r2827 16 16 use geometry_mod, only: init_geometry 17 17 use watersat_mod, only: watersat 18 use tracer_mod, only: igcm_h2o_vap,igcm_h2o_ice 18 use tracer_mod, only: igcm_h2o_vap,igcm_h2o_ice,igcm_co2 19 19 use planete_h, only: year_day, periheli, aphelie, peri_day, 20 20 & obliquit, emin_turb, lmixmin … … 95 95 REAL,ALLOCATABLE :: qsurf(:) ! tracer surface budget (e.g. kg.m-2) 96 96 REAL tsoil(nsoilmx) ! subsurface soik temperature (K) 97 REAL co2ice(1) ! co2ice layer (kg.m-2)98 97 REAL emis(1) ! surface layer 99 98 REAL albedo(1,1) ! surface albedo … … 547 546 c CO2 ice on the surface 548 547 c ------------------- 549 co2ice(1)=0.E+0 ! default value for co2ice 548 print *, "RVVV: igcm_co2", igcm_co2 549 qsurf(igcm_co2)=0.E+0 ! default value for co2ice 550 550 PRINT *,'Initial CO2 ice on the surface (kg.m-2)' 551 call getin("co2ice", co2ice)552 write(*,*) " co2ice = ", co2ice551 call getin("co2ice",qsurf(igcm_co2)) 552 write(*,*) " co2ice = ",qsurf(igcm_co2) 553 553 554 554 c … … 556 556 c ---------- 557 557 emis=emissiv 558 IF ( co2ice(1).eq.1.E+0) THEN558 IF (qsurf(igcm_co2).eq.1.E+0) THEN 559 559 emis=emisice(1) ! northern hemisphere 560 560 IF(latitude(1).LT.0) emis=emisice(2) ! southern hemisphere … … 704 704 call physdem1("startfi.nc",nsoilmx,ngrid,llm,nq, 705 705 & dtphys,time, 706 & tsurf,tsoil, co2ice,albedo,emis,q2,qsurf,tauscaling,706 & tsurf,tsoil,albedo,emis,q2,qsurf,tauscaling, 707 707 & totcloudfrac,wstar,watercap) 708 708
Note: See TracChangeset
for help on using the changeset viewer.