- Timestamp:
- Oct 9, 2024, 2:06:37 PM (7 weeks ago)
- Location:
- trunk/LMDZ.PLUTO/libf/phypluto
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90
r3452 r3453 57 57 carbox, methane,condmetsurf,condcosurf,& 58 58 oldplutovdifc,oldplutocorrk,oldplutosedim, & 59 aerohaze,haze_proffix, source_haze, tsurfmax,&60 albmin_ch4, &59 aerohaze,haze_proffix,haze_radproffix,& 60 source_haze, tsurfmax, albmin_ch4, & 61 61 season, sedimentation,generic_condensation, & 62 62 specOLR, & … … 2255 2255 call writediagfi(ngrid,"tsurf","Surface temperature","K",2,tsurf) 2256 2256 call writediagfi(ngrid,"ps","Surface pressure","Pa",2,ps) 2257 call writediagfi(ngrid,"emis","Emissivity","",2,emis) 2257 2258 2258 2259 !! Pluto outputs 2259 ! call writediagfi(ngrid,"rice_ch4","ch4 ice mass mean radius","m",3,rice_ch4)2260 2260 call writediagfi(ngrid,"dist_star","dist_star","AU",0,dist_star) 2261 2261 2262 2262 if (fast) then 2263 2263 call writediagfi(ngrid,"globave","surf press","Pa",0,globave) 2264 !AF: TODO which outputs? 2264 call writediagfi(ngrid,"fluxrad","fluxrad","W m-2",2,fluxrad) 2265 call writediagfi(ngrid,"fluxgrd","fluxgrd","W m-2",2,fluxgrd) 2266 call writediagfi(ngrid,"capcal","capcal","W.s m-2 K-1",2,capcal) 2267 ! call writediagfi(ngrid,"dplanck","dplanck","W.s m-2 K-1",2,dplanck) 2268 call writediagfi(ngrid,"tsoil","tsoil","K",3,tsoil) 2265 2269 else 2266 2270 if (check_physics_outputs) then … … 2269 2273 endif 2270 2274 2271 call writediagfi(ngrid,"emis","Emissivity","",2,emis) 2272 call writediagfi(ngrid,"temp","temperature","K",3,zt) 2273 call writediagfi(ngrid,"teta","potential temperature","K",3,zh) 2274 call writediagfi(ngrid,"u","Zonal wind","m.s-1",3,zu) 2275 call writediagfi(ngrid,"v","Meridional wind","m.s-1",3,zv) 2276 call writediagfi(ngrid,"w","Vertical wind","m.s-1",3,pw) 2277 call writediagfi(ngrid,"p","Pressure","Pa",3,pplay) 2275 call writediagfi(ngrid,"temp","temperature","K",3,zt) 2276 call writediagfi(ngrid,"teta","potential temperature","K",3,zh) 2277 call writediagfi(ngrid,"u","Zonal wind","m.s-1",3,zu) 2278 call writediagfi(ngrid,"v","Meridional wind","m.s-1",3,zv) 2279 call writediagfi(ngrid,"w","Vertical wind","m.s-1",3,pw) 2280 call writediagfi(ngrid,"p","Pressure","Pa",3,pplay) 2278 2281 endif 2279 2282 … … 2281 2284 ! call writediagsoil(ngrid,"tsurf","Surface temperature","K",2,tsurf) 2282 2285 ! call writediagsoil(ngrid,"temp","temperature","K",3,tsoil) 2283 2284 ! ! Oceanic layers !AF24: removed2285 ! ! Thermal plume model !AF24: removed2286 ! GW non-oro outputs !AF24: removed2287 2286 2288 2287 ! Total energy balance diagnostics … … 2296 2295 call writediagfi(ngrid,"shad","rings"," ", 2, fract) 2297 2296 2298 ! call writediagfi(ngrid,"ASRcs","absorbed stellar rad (cs).","W m-2",2,fluxabs_sw1)2299 ! call writediagfi(ngrid,"OLRcs","outgoing longwave rad (cs).","W m-2",2,fluxtop_lw1)2300 2297 ! call writediagfi(ngrid,"fluxsurfsw","sw surface flux.","W m-2",2,fluxsurf_sw) 2301 2298 ! call writediagfi(ngrid,"fluxsurflw","lw back radiation.","W m-2",2,fluxsurf_lw) 2302 ! call writediagfi(ngrid,"fluxsurfswcs","sw surface flux (cs).","W m-2",2,fluxsurf_sw1)2303 ! call writediagfi(ngrid,"fluxsurflwcs","lw back radiation (cs).","W m-2",2,fluxsurf_lw1)2304 2299 2305 2300 call writediagfi(ngrid,"GND","heat flux from ground","W m-2",2,fluxgrd) … … 2311 2306 2312 2307 if(enertest) then 2313 2314 2308 if (calldifv) then 2315 2309 … … 2328 2322 endif 2329 2323 2330 ! if(watercond) then !AF24: removed2331 2332 2324 if (generic_condensation) then 2333 2334 2325 call writediagfi(ngrid,"genericconddE","heat from generic condensation","W m-2",2,genericconddE) 2335 2326 call writediagfi(ngrid,"dt_generic_condensation","heating from generic condensation","K s-1",3,dt_generic_condensation) 2336 2337 2327 endif 2338 2328 … … 2352 2342 endif 2353 2343 2354 2355 2344 ! Temporary inclusions for heating diagnostics. 2356 2345 call writediagfi(ngrid,"zdtsw","SW heating","T s-1",3,zdtsw) … … 2359 2348 call writediagfi(ngrid,"zdtdyn","Dyn. heating","T s-1",3,zdtdyn) 2360 2349 2361 !Pluto specific2362 ! call writediagfi(ngrid,"zdtc","tendancy T cond N2","K",3,zdtc)2363 ! call writediagfi(ngrid,"zdtch4cloud","tendancy T ch4cloud","K",3,zdtch4cloud)2364 ! call writediagfi(ngrid,"zdtcocloud","tendancy T cocloud","K",3,zdtcocloud)2365 ! call writediagfi(ngrid,"zq1temp_ch4"," "," ",2,zq1temp_ch4)2366 ! call writediagfi(ngrid,"qsat_ch4"," "," ",2,qsat_ch4)2367 ! call writediagfi(ngrid,"qsat_ch4_l1"," "," ",2,qsat_ch4_l1)2368 ! call writediagfi(ngrid,"senshf1","senshf1"," ",2,sensiblehf1)2369 ! call writediagfi(ngrid,"senshf2","senshf2"," ",2,sensiblehf2)2370 2371 2372 2350 ! For Debugging. 2373 2351 !call writediagfi(ngrid,'rnat','Terrain type',' ',2,real(rnat)) 2374 2352 !call writediagfi(ngrid,'pphi','Geopotential',' ',3,pphi) 2375 2353 2376 2377 ! Output aerosols.!AF: TODO: write haze aerosols2378 ! if (igcm_n2_ice.ne.0.and.iaero_haze.ne.0) &2379 ! call writediagfi(ngrid,'N2ice_reff','N2ice_reff','m',3,reffrad(1,1,iaero_haze))2380 ! if (igcm_n2_ice.ne.0.and.iaero_haze.ne.0) &2381 ! call writediagfi(ngrid,'N2ice_reffcol','N2ice_reffcol','um kg m^-2',2,reffcol(1,iaero_haze))2382 ! if (igcm_h2o_ice.ne.0.and.iaero_h2o.ne.0) & !AF24: removed2383 2384 2354 ! Output tracers. 2385 2355 if (tracer) then 2356 ! call writediagfi(ngrid,"zdtc","tendancy T cond N2","K",3,zdtc) 2386 2357 2387 2358 do iq=1,nq 2388 call writediagfi(ngrid,noms(iq),noms(iq),'kg/kg',3,zq(1,1,iq))2389 !call writediagfi(ngrid,trim(noms(iq))//'_surf',trim(noms(iq))//'_surf', &2359 call writediagfi(ngrid,noms(iq),noms(iq),'kg/kg',3,zq(1,1,iq)) 2360 ! call writediagfi(ngrid,trim(noms(iq))//'_surf',trim(noms(iq))//'_surf', & 2390 2361 ! 'kg m^-2',2,qsurf_hist(1,iq) ) 2391 2362 call writediagfi(ngrid,trim(noms(iq))//'_col',trim(noms(iq))//'_col', & 2392 2363 'kg m^-2',2,qcol(1,iq) ) 2393 call writediagfi(ngrid,trim(noms(iq))//'_surf',trim(noms(iq))//'_surf', &2364 call writediagfi(ngrid,trim(noms(iq))//'_surf',trim(noms(iq))//'_surf', & 2394 2365 'kg m^-2',2,qsurf(1,iq) ) 2395 2396 ! if(watercond.or.CLFvarying)then !AF24: removed2397 2366 2398 2367 if(generic_condensation)then … … 2401 2370 call writediagfi(ngrid,"RH_generic","GCS relative humidity"," ",3,RH_generic) 2402 2371 endif 2403 2404 ! if(generic_rain)then !AF24: removed2405 ! if((hydrology).and.(.not.ok_slab_ocean))then !AF24: removed2406 2407 2372 ! call writediagfi(ngrid,"tau_col","Total aerosol optical depth","[]",2,tau_col) 2408 2409 2373 enddo ! end of 'nq' loop 2410 2374 2411 2375 !Pluto specific 2412 2376 call writediagfi(ngrid,'n2_iceflux','n2_iceflux',"kg m^-2 s^-1",2,flusurf(1,igcm_n2) ) 2413 if ( aerohaze)then2377 if (haze_radproffix)then 2414 2378 call writediagfi(ngrid,'haze_reff','haze_reff','m',3,reffrad(1,1,1)) 2415 2379 end if 2416 2380 if (methane) then 2381 ! call writediagfi(ngrid,"rice_ch4","ch4 ice mass mean radius","m",3,rice_ch4) 2382 ! call writediagfi(ngrid,"zq1temp_ch4"," "," ",2,zq1temp_ch4) 2383 ! call writediagfi(ngrid,"qsat_ch4"," "," ",2,qsat_ch4) 2384 ! call writediagfi(ngrid,"qsat_ch4_l1"," "," ",2,qsat_ch4_l1) 2385 2417 2386 call writediagfi(ngrid,'ch4_iceflux','ch4_iceflux',& 2418 2387 "kg m^-2 s^-1",2,flusurf(1,igcm_ch4_ice) ) … … 2423 2392 2424 2393 ! Tendancies 2425 !call writediagfi(ngrid,"zdqch4cloud","ch4 cloud","T s-1",& 2426 ! 3,zdqch4cloud(1,1,igcm_ch4_gas)) 2427 ! call writediagfi(ngrid,"zdqcn2_ch4","zdq condn2 ch4","",& 2428 ! 3,zdqc(:,:,igcm_ch4_gas)) 2429 ! call writediagfi(ngrid,"zdqdif_ch4","zdqdif ch4","",& 2430 ! 3,zdqdif(:,:,igcm_ch4_gas)) 2431 ! call writediagfi(ngrid,"zdqsdif_ch4_ice","zdqsdif ch4","",& 2432 ! 2,zdqsdif(:,igcm_ch4_ice)) 2433 ! call writediagfi(ngrid,"zdqadj_ch4","zdqadj ch4","",& 2434 ! 3,zdqadj(:,:,igcm_ch4_gas)) 2394 call writediagfi(ngrid,"zdqcn2_ch4","zdq condn2 ch4","",& 2395 3,zdqc(:,:,igcm_ch4_gas)) 2396 call writediagfi(ngrid,"zdqdif_ch4","zdqdif ch4","",& 2397 3,zdqdif(:,:,igcm_ch4_gas)) 2398 call writediagfi(ngrid,"zdqsdif_ch4_ice","zdqsdif ch4","",& 2399 2,zdqsdif(:,igcm_ch4_ice)) 2400 call writediagfi(ngrid,"zdqadj_ch4","zdqadj ch4","",& 2401 3,zdqadj(:,:,igcm_ch4_gas)) 2435 2402 if (sedimentation) then 2436 2403 call writediagfi(ngrid,"zdqsed_ch4","zdqsed ch4","",& … … 2449 2416 2450 2417 if (carbox) then 2418 ! call writediagfi(ngrid,"zdtcocloud","tendancy T cocloud","K",3,zdtcocloud) 2451 2419 call writediagfi(ngrid,'co_iceflux','co_iceflux',& 2452 2420 "kg m^-2 s^-1",2,flusurf(1,igcm_co_ice) ) … … 2503 2471 comm_ALBEQ(1:ngrid)=albedo_equivalent(1:ngrid) 2504 2472 if (.not.calldifv) comm_LATENT_HF(:)=0.0 2505 ! if ((tracer).and.(water)) then !AF24: removed2506 2473 2507 2474 if ((tracer).and.(generic_condensation)) then 2508 ! .and.(.not. water)2509 2475 2510 2476 ! If you have set generic_condensation (and not water) and you have set several GCS … … 2557 2523 sensibFlux(1:ngrid) = zflubid(1:ngrid) - capcal(1:ngrid)*zdtsdif(1:ngrid) !!! ???? 2558 2524 comm_HR_DYN(1:ngrid,1:nlayer) = zdtdyn(1:ngrid,1:nlayer) 2559 2560 ! if (turb_resolved) then2561 ! open(17,file='lsf.txt',form='formatted',status='old')2562 ! rewind(17)2563 ! DO l=1,nlayer2564 ! read(17,*) lsf_dt(l),lsf_dq(l)2565 ! ENDDO2566 ! close(17)2567 ! do ig=1,ngrid2568 ! if ((tracer).and.(water)) then2569 ! pdq(ig,:,igcm_h2o_gas) = pdq(ig,:,igcm_h2o_gas) + lsf_dq(:)2570 ! endif2571 ! pdt(ig,:) = pdt(ig,:) + lsf_dt(:)2572 ! comm_HR_DYN(ig,:) = lsf_dt(:)2573 ! enddo2574 ! endif2575 2525 #endif 2576 2526 … … 2587 2537 CALL send_xios_field("u",zu) 2588 2538 CALL send_xios_field("v",zv) 2589 CALL send_xios_field("omega",omega) 2590 2591 ! IF (calltherm) THEN !AF24: removed 2592 ! IF (water) THEN !AF24: removed 2539 call send_xios_field("w",pw) 2593 2540 2594 2541 CALL send_xios_field("ISR",fluxtop_dn) -
trunk/LMDZ.PLUTO/libf/phypluto/tabfi_mod.F90
r3184 r3453 192 192 ! boundary layer and turbulence 193 193 z0 = tab_cntrl(tab0+19) 194 lmixmin = tab_cntrl(tab0+20) 195 emin_turb = tab_cntrl(tab0+21) 194 ! for paleoclimate 195 tpal = tab_cntrl(tab0+20) 196 adjust = tab_cntrl(tab0+21) ! for Triton albedo adjustment 197 ! lmixmin = tab_cntrl(tab0+20) 198 ! emin_turb = tab_cntrl(tab0+21) 199 200 !!! AF24: parameters below are not used? 196 201 ! optical properties of polar caps and ground emissivity 197 202 emisice(1) = tab_cntrl(tab0+24)
Note: See TracChangeset
for help on using the changeset viewer.