Changeset 3250
- Timestamp:
- Mar 4, 2024, 11:03:35 AM (9 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3249 r3250 4535 4535 evolution without adsorption 4536 4536 4537 4538 4537 == 04/03/2024 == LL 4539 Fixing bug in initestphys: the soil depth were initialized using the old grid4538 *Fixing bug in initestphys: the soil depth were initialized using the old grid 4540 4539 (but with 57 layers). It was not detected in soil_settings -to be investigated 4541 4540 - and therefore soil thermal inertia, when adding subsurface ice, were 4542 4541 completely wrong 4542 * Fixing bug in initestphys and waterice_tifeedback: when changing the soil 4543 thermal properties to account for the high thermal inertia of subsurface ice, 4544 the wrong layer was considered as 'mixed' (it was the layer after the correct 4545 one which was modified). -
trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90
r3249 r3250 678 678 do isoil = 1,nsoil 679 679 if ((ice_depth >= layer(isoil)) .and. (ice_depth < layer(isoil + 1))) then 680 iref = isoil + 1680 iref = isoil 681 681 exit 682 682 endif … … 685 685 inertiedat(1,:iref - 1) = inertiedat(1,1) 686 686 ! We compute the transition in layer(iref) 687 inertiedat(1,iref) = sqrt((layer(iref ) - layer(iref - 1))/(((ice_depth - layer(iref - 1))/inertiedat(1,1)**2) + ((layer(iref) - ice_depth)/inertieice**2)))687 inertiedat(1,iref) = sqrt((layer(iref+1) - layer(iref))/(((ice_depth - layer(iref))/inertiedat(1,1)**2) + ((layer(iref+1) - ice_depth)/inertieice**2))) 688 688 ! Finally, we compute the underlying ice: 689 689 inertiedat(1,iref + 1:) = inertieice -
trunk/LMDZ.MARS/libf/phymars/waterice_tifeedback_mod.F90
r3230 r3250 107 107 DO ik=1,nsoil-1 108 108 IF ((icedepth.ge.layer(ik)).and.icedepth.lt.layer(ik+1)) THEN 109 iref=ik +1109 iref=ik 110 110 EXIT 111 111 ENDIF … … 116 116 ENDDO 117 117 ! Transition (based on the equations of thermal conduction): 118 newtherm_i(ig,iref,islope)=sqrt( (layer(iref )-layer(iref-1))/(((icedepth-layer(iref-1))/inert_h2o_ice**2) + &119 ((layer(iref )-icedepth)/inertiedat(ig,ik)**2) ) )118 newtherm_i(ig,iref,islope)=sqrt( (layer(iref+1)-layer(iref))/(((icedepth-layer(iref))/inert_h2o_ice**2) + & 119 ((layer(iref+1)-icedepth)/inertiedat(ig,ik)**2) ) ) 120 120 ! Underlying regolith: 121 121 DO ik=iref+1,nsoil
Note: See TracChangeset
for help on using the changeset viewer.