Ignore:
Timestamp:
Jan 2, 2019, 7:44:20 PM (5 years ago)
Author:
lguez
Message:

Create subdirectory Ocean_skin in libf. For now, Ocean_skin is under
control of git, not subversion.

Add variable eps_w to common YOMCST.

For now, continue to read ocean skin parameters from a namelist in
config_ocean_skin.

The parameterisation is called from procedure surf_ocean.

Add two prognostic variables for the parameterisation: dt_ns and
ds_ns. Add eight diagnostic variables: t_int, s_int, dter, dser, tkt,
tks, rf, taur. The ten variables are only defined on ocean surface,
elsewhere they are set to nf90_fill_real. In pbl_surface, we can
initialize the eight diagnostic variables to nf90_fill_real before the
loop on sub-surfaces, but we need to keep the old values of dt_ns and
ds_ns as input of the parameterisation so we set dt_ns and ds_ns to
nf90_fill_real after the call to surf_ocean. Define ten corresponding
compressed variables in pbl_surface. Define ten corresponding NetCDF
output variables in phys_output_ctrlout_mod.

In procedure pbl_surface_newfrac, for an appearing ocean sub-surface,
dt_ns and ds_ns are set to 0. In phyetat0, also set initial dt_ns and
ds_ns to 0 if they are not in start file.

In procedure surf_ocean, for now, we use a constant specific latent
heat of vaporization, as elsewhere in LMDZ, and a constant bulk
salinity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin/libf/phylmd/phys_output_write_mod.F90

    r3381 r3429  
    196196! Tropopause
    197197         o_p_tropopause, o_z_tropopause, o_t_tropopause,  &
    198          o_col_O3_strato, o_col_O3_tropo               ! Added ThL
    199 
     198         o_col_O3_strato, o_col_O3_tropo, &               ! Added ThL
     199         o_t_int, o_s_int, o_ds_ns, o_dt_ns, o_dter, o_dser, o_tkt, o_tks, &
     200         o_rf, o_taur
    200201
    201202#ifdef CPP_StratAer
     
    240241         ulevSTD, vlevSTD, wlevSTD, philevSTD, qlevSTD, tlevSTD, &
    241242         rhlevSTD, O3STD, O3daySTD, uvSTD, vqSTD, vTSTD, wqSTD, &
    242          vphiSTD, wTSTD, u2STD, v2STD, T2STD, missing_val_nf90
     243         vphiSTD, wTSTD, u2STD, v2STD, T2STD, missing_val_nf90, ds_ns, dt_ns
    243244
    244245    USE phys_local_var_mod, ONLY: zxfluxlat, slp, ptstar, pt0, zxtsol, zt2m, &
     
    348349         alt_tropo, &
    349350!Ionela
    350          ok_4xCO2atm
     351         ok_4xCO2atm, t_int, s_int, dter, dser, tkt, tks, rf, taur
    351352
    352353    USE ocean_slab_mod, ONLY: nslay, tslab, slab_bilg, tice, seaice, &
     
    21102111       ENDIF   !(iflag_phytrac==1)
    21112112
     2113       CALL histwrite_phy(o_t_int, t_int)
     2114       CALL histwrite_phy(o_s_int, s_int)
     2115       CALL histwrite_phy(o_ds_ns, ds_ns)
     2116       CALL histwrite_phy(o_dt_ns, dt_ns)
     2117       CALL histwrite_phy(o_dter, dter)
     2118       CALL histwrite_phy(o_dser, dser)
     2119       CALL histwrite_phy(o_tkt, tkt)
     2120       CALL histwrite_phy(o_tks, tks)
     2121       CALL histwrite_phy(o_rf, rf)
     2122       CALL histwrite_phy(o_taur, taur)
    21122123
    21132124       IF (.NOT.vars_defined) THEN
Note: See TracChangeset for help on using the changeset viewer.