Changeset 2919 for trunk/LMDZ.MARS
- Timestamp:
- Mar 22, 2023, 5:37:37 PM (20 months ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/comsoil_h.F90
r2909 r2919 25 25 real,save,allocatable :: beta(:,:,:) ! beta_k coefficients 26 26 real,save :: mu 27 real,save,allocatable :: flux_geo(: ) ! Geothermal Flux (W/m^2)27 real,save,allocatable :: flux_geo(:,:) ! Geothermal Flux (W/m^2) 28 28 29 29 !$OMP THREADPRIVATE(tsoil,mthermdiff,thermdiff,coefq,coefd,alph,beta,mu,flux_geo) … … 48 48 allocate(alph(ngrid,nsoilmx-1,nslope)) 49 49 allocate(beta(ngrid,nsoilmx-1,nslope)) 50 allocate(flux_geo(ngrid ))50 allocate(flux_geo(ngrid,nslope)) 51 51 52 52 end subroutine ini_comsoil_h -
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r2917 r2919 6 6 use mod_grid_phy_lmdz, only : regular_lonlat 7 7 use infotrac, only: nqtot, tname, nqperes,nqfils 8 use comsoil_h, only: volcapa, layer, mlayer, inertiedat, nsoilmx 8 use comsoil_h, only: volcapa, layer, mlayer, inertiedat, nsoilmx,flux_geo 9 9 use comgeomfi_h, only: sinlat, ini_fillgeom 10 10 use surfdat_h, only: albedodat, z0_default, emissiv, emisice, … … 144 144 logical :: present 145 145 146 c LL: Subsurface geothermal flux 147 real :: flux_geo_tmp 146 148 c======================================================================= 147 149 … … 626 628 627 629 630 628 631 ! Initialize soil properties and temperature 629 632 ! ------------------------------------------ … … 634 637 ENDDO 635 638 639 call getin("flux_geo",flux_geo_tmp) 640 flux_geo(:,:) = flux_geo_tmp 641 642 643 644 645 flux_geo 636 646 ! Initialize depths 637 647 ! ----------------- -
trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90
r2913 r2919 732 732 call soil_settings(nid_start,ngrid,nsoil,tsurf,tsoil,indextime) 733 733 else 734 flux_geo(: ) = 0.734 flux_geo(:,:) = 0. 735 735 endif ! of if (startphy_file) 736 736 -
trunk/LMDZ.MARS/libf/phymars/soil.F
r2900 r2919 161 161 beta(ig,nsoil-1,islope)=coefq(nsoil-1)*tsoil(ig,nsoil,islope) 162 162 & /(coefq(nsoil-1)+coefd(ig,nsoil-1,islope)) 163 & +flux_geo(ig)/(coefq(nsoil-1) + coefd(ig,nsoil-1,islope)) 163 & +flux_geo(ig,islope)/ 164 & (coefq(nsoil-1) + coefd(ig,nsoil-1,islope)) 164 165 enddo 165 166 -
trunk/LMDZ.MARS/libf/phymars/soil_settings.F
r2913 r2919 454 454 write(*,*) "soil_settings: Failed loading <flux_geo>" 455 455 write(*,*) "soil_settings: Will put <flux_geo> to 0." 456 flux_geo(: ) = 0.456 flux_geo(:,:) = 0. 457 457 endif 458 458
Note: See TracChangeset
for help on using the changeset viewer.