Changeset 34 for branches


Ignore:
Timestamp:
10/18/16 18:07:44 (8 years ago)
Author:
vancop
Message:

bug in ice_th_dh.f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_v3.20_2016_platelet/SOURCES/source_3.20/ice_th_dh.f

    r27 r34  
    328328     &                 - cpw*(tmelts-tpw) )  
    329329 
    330          zE1 = - cpw * t_bo_b(ji) ! specific enthalpy of sea water 
    331          zE2 = q_i_b(ji,nlay_i+1) ! specific enthalpy of new sea ice 
    332  
    333          zdE = zE2 - zE1 
    334  
    335          dh_i_bott(ji)    =  - ddtb*(fc_bo_i(ji) + fbbqb(ji) ) 
    336      &                    / zdE 
     330         zE1 = - cpw * ( t_bo_b(ji) - tpw )          ! specific enthalpy of sea water  <0 
     331         zE2 = - q_i_b(ji,nlay_i+1) / rhog ! specific enthalpy of new sea ice  <0 
     332 
     333         WRITE(numout,*) ' zE1 : ', zE1 
     334         WRITE(numout,*) ' zE2 : ', zE2 
     335 
     336         zdE = zE2 - zE1 ! <0 
     337 
     338         WRITE(numout,*) ' zdE : ', zdE 
     339 
     340         dh_i_bott(ji)    =  ddtb*(fc_bo_i(ji) + fbbqb(ji) ) 
     341     &                    / ( zdE * rhog ) 
    337342   
    338343         ! salt flux due to initial salt entrapment (keep ?) 
Note: See TracChangeset for help on using the changeset viewer.