Changeset 2621 for trunk/LMDZ.GENERIC/libf/phystd/dyn1d
- Timestamp:
- Jan 19, 2022, 6:12:03 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F
r2618 r2621 137 137 real pctsrf_sic(1) 138 138 139 logical fixed_temperature, accelerate_temperature 139 ! added by BC to accelerate convergence 140 logical accelerate_temperature 141 real factor_acceleration 140 142 141 143 ! added by AS to avoid the use of adv trac common … … 596 598 write(*,*)" accelerate_temperature = ",accelerate_temperature 597 599 598 write(*,*)"no thermal evolution?" 599 fixed_temperature=.false. 600 call getin("fixed_temperature",fixed_temperature) 601 write(*,*)" fixed_temperature = ",fixed_temperature 600 write(*,*)"factor for temperature acceleration" 601 factor_acceleration=1.0 602 call getin("factor_acceleration",factor_acceleration) 603 write(*,*)" factor_acceleration = ",factor_acceleration 604 605 602 606 603 607 c … … 1027 1031 u(ilayer)=u(ilayer)+dtphys*du(ilayer) 1028 1032 v(ilayer)=v(ilayer)+dtphys*dv(ilayer) 1029 temp(ilayer)=temp(ilayer)+dtphys*dtemp(ilayer) 1030 if(fixed_temperature) then 1031 temp(ilayer)=temp(ilayer) 1032 elseif(accelerate_temperature) then 1033 temp(ilayer)=temp(ilayer)+ 1034 & dtphys*dtemp(ilayer)*max(1.0,play(ilayer)*1e-5)**1.8 1033 if(accelerate_temperature) then 1034 temp(ilayer)=temp(ilayer)+dtphys*dtemp(ilayer) * 1035 & max(1.0,play(ilayer)*1e-5)**factor_acceleration 1035 1036 else 1036 1037 temp(ilayer)=temp(ilayer)+dtphys*dtemp(ilayer)
Note: See TracChangeset
for help on using the changeset viewer.