Ignore:
Timestamp:
Mar 1, 2012, 6:17:09 PM (13 years ago)
Author:
acolaitis
Message:

Added a fail-safe in inifis to avoid wrong configurations with callrichsl and calladj without calltherm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/inifis.F

    r544 r551  
    249249     $              "1-> new correction",
    250250     $              "(matters only if callnirco2=T)"
     251         nircorr=0
    251252         call getin("nircorr",nircorr)
    252253         write(*,*) " nircorr = ",nircorr
     
    287288          print*,'you use the new surface layer scheme '
    288289          print*,'by setting callrichsl=T '
     290         endif
     291
     292         if (calladj .and. callrichsl) then
     293          print*,'You should not be calling the convective adjustment
     294     & scheme with the Richardson surface-layer. This approach is not
     295     & physically consistent and can lead to unrealistic friction
     296     & values.'
     297          print*,'If you want to use the Ri. surface-layer, either
     298     & activate thermals OR de-activate the convective adjustment.'
     299          stop
    289300         endif
    290301
Note: See TracChangeset for help on using the changeset viewer.