Ignore:
Timestamp:
Apr 21, 2020 10:57:45 AM (4 years ago)
Author:
schwenkel
Message:

Use magnus formula for liquid water temperature

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/bulk_cloud_model_mod.f90

    r4502 r4506  
    2525! -----------------
    2626! $Id$
     27! Use correct magnus formula for liquid water temperature
     28!
     29! 4502 2020-04-17 16:14:16Z schwenkel
    2730! Implementation of ice microphysics
    2831!
     
    134137
    135138    USE basic_constants_and_equations_mod,                                     &
    136         ONLY:  c_p, g, lv_d_cp, lv_d_rd, l_v, magnus, magnus_ice,              &
     139        ONLY:  c_p, g, lv_d_cp, lv_d_rd, l_v, magnus, magnus_ice, magnus_tl,   &
    137140               molecular_weight_of_solute,                                     &
    138141               molecular_weight_of_water, pi, rho_l, rho_s, r_d, r_v, vanthoff,&
     
    12801283             d_exner = exner_function_invers(hyp)
    12811284             exner = 1.0_wp / exner_function_invers(hyp)
    1282              hyrho  = ideal_gas_law_rho_pt(hyp, pt(:, nys, nxl) )
     1285             hyrho  = ideal_gas_law_rho_pt(hyp, pt_init)
    12831286!
    12841287!--          Compute reference density
     
    13961399             d_exner = exner_function_invers(hyp)
    13971400             exner = 1.0_wp / exner_function_invers(hyp)
    1398              hyrho  = ideal_gas_law_rho_pt(hyp, pt(:, nys, nxl) )
     1401             hyrho  = ideal_gas_law_rho_pt(hyp, pt_init)
    13991402!
    14001403!--          Compute reference density
     
    64346437!
    64356438!--    Calculate water vapor saturation pressure
    6436        e_s = magnus( t_l )
     6439       e_s = magnus_tl( t_l )
    64376440!
    64386441!--    Computation of saturation mixing ratio:
Note: See TracChangeset for help on using the changeset viewer.