Ignore:
Timestamp:
Oct 9, 2023, 5:33:07 PM (12 months ago)
Author:
Laurent Fairhead
Message:

Modification by O. Torres to the cdrag routines to include different bulk formulae
to calculate cdrag coefficients over ocean as well as an iteration of that
calculation.
The iteration is controlled by flag ok_cdrag_iter which if set to FALSE by default
to converge with previous results.
The choice of bulk formulae is set with the choix_bulk parameter
The number of iterations to run is set with nit_bulk
OT, PB, CD, LF

Location:
LMDZ6/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk

  • LMDZ6/trunk/libf/phylmd/conf_phys_m.F90

    r4707 r4722  
    243243    LOGICAL, SAVE :: ok_new_lscp_omp
    244244    LOGICAL, SAVE :: ok_icefra_lscp_omp
     245    !rajout de choix_bulk et nit_bulk par Olivier Torres
     246    INTEGER,SAVE  :: choix_bulk_omp
     247    INTEGER,SAVE  :: nit_bulk_omp
     248    INTEGER,SAVE  :: kz0_omp
    245249    LOGICAL, SAVE :: ok_bs_omp, ok_rad_bs_omp
    246250
     
    936940    nbapp_rad_omp = 12
    937941    CALL getin('nbapp_rad',nbapp_rad_omp)
     942
     943    !rajout Olivier Torres
     944    !Config  Key  = choix_bulk
     945    !Config  Desc = choix de la formulation bulk a prendre dans clcdrag au-dessus de l'ocean
     946    !Config  Def  = 0
     947    !Config         0 -> originale (lmdz/Louis 79)
     948    !Config         1 -> COARE
     949    !Config         2 -> CORE-"pure" (cf. Large)
     950    !Config         3 -> CORE-"mixte" (avec z_0 et C_T^N donnees par Smith 88)
     951    choix_bulk_omp = 0
     952    CALL getin('choix_bulk',choix_bulk_omp)
     953
     954    !Config  Key  = nit_bulk
     955    !Config  Desc = choix du nombre d'it de pt fixe dans la bulk
     956    !Config  Def  = 5
     957    nit_bulk_omp = 1
     958    CALL getin('nit_bulk',nit_bulk_omp)
     959
     960    !Config  Key  = kz0
     961    !Config  Desc = choix de la formulation z0 pour la bulk ECUME
     962    !Config  Def  = 1
     963    !Config         0 -> ARPEGE formulation
     964    !Config         1 -> Smith Formulation
     965    !Config         2 -> Direct computation using the stability functions
     966    kz0_omp = 0
     967    CALL getin('kz0',kz0_omp)
     968
    938969
    939970    !Config  Key  = iflag_con
     
    24962527    var_fco2_land_cor = var_fco2_land_cor_omp
    24972528    dms_cycle_cpl = dms_cycle_cpl_omp
     2529    !rajout Olivier Torres
     2530    kz0=kz0_omp
     2531    choix_bulk = choix_bulk_omp
     2532    nit_bulk = nit_bulk_omp
    24982533
    24992534    ! Test of coherence between type_ocean and version_ocean
     
    28472882    WRITE(lunout,*) ' buf_sph_pol = ', buf_sph_pol
    28482883    WRITE(lunout,*) ' buf_siz_pol= ', buf_siz_pol
     2884    !rajout Olivier Torres
     2885    write(lunout,*) 'choix_bulk = ', choix_bulk
     2886    write(lunout,*) 'nit_bulk = ', nit_bulk
     2887    write(lunout,*) 'kz0 = ', kz0
    28492888
    28502889    !$OMP END MASTER
Note: See TracChangeset for help on using the changeset viewer.