- Timestamp:
- Mar 4, 2024, 8:23:10 AM (9 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3248 r3249 4535 4535 evolution without adsorption 4536 4536 4537 4538 == 04/03/2024 == LL 4539 Fixing bug in initestphys: the soil depth were initialized using the old grid 4540 (but with 57 layers). It was not detected in soil_settings -to be investigated 4541 - and therefore soil thermal inertia, when adding subsurface ice, were 4542 completely wrong -
trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90
r3208 r3249 661 661 ! Initialize depths 662 662 ! ----------------- 663 do isoil = 1,nsoil664 layer(isoil) = 2.e-4*(2.**(isoil - 1)) !layer depth663 do isoil = 0,nsoil - 1 664 mlayer(isoil) = 2.e-4*(1 + isoil**2.9*(1 - exp(-real(isoil)/20.))) ! mid layer depth 665 665 enddo 666 do isoil = 1,nsoil - 1 667 layer(isoil) = (mlayer(isoil) + mlayer(isoil - 1))/2 668 enddo 669 layer(nsoil) = 2*mlayer(nsoil - 1) - mlayer(nsoil - 2) 666 670 667 671 ! Creating the new soil inertia table if there is subsurface ice: … … 706 710 if (.not. therestartfi) qsoil = 0. 707 711 708 ! Initialize depths709 ! -----------------710 do isoil = 0,nsoil - 1711 mlayer(isoil) = 2.e-4*(1 + isoil**2.9*(1 - exp(-real(isoil)/20.))) ! mid layer depth712 enddo713 do isoil = 1,nsoil - 1714 layer(isoil) = (mlayer(isoil) + mlayer(isoil - 1))/2715 enddo716 layer(nsoil) = 2*mlayer(nsoil - 1) - mlayer(nsoil - 2)717 718 712 ! Initialize traceurs 719 713 ! -------------------
Note: See TracChangeset
for help on using the changeset viewer.