File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ y_elem: 2
3131z_elem : 100
3232z_stretch : false
3333perturb_initstate : false
34- dt : " 100secs "
34+ dt : " 60secs "
3535t_end : " 24hours"
3636dt_save_state_to_disk : " 60mins"
3737toml : [toml/prognostic_edmfx_1M.toml]
Original file line number Diff line number Diff line change @@ -154,17 +154,10 @@ function buoyancy_gradients(
154154
155155 t_sat = get_t_sat (thermo_params, bg_model)
156156 phase_part = TD. PhasePartition (thermo_params, ts_sat)
157+ λ = TD. liquid_fraction (thermo_params, ts_sat)
157158 lh =
158- (
159- get_ql_sat (thermo_params, bg_model) *
160- TD. latent_heat_vapor (thermo_params, t_sat) +
161- get_qi_sat (thermo_params, bg_model) *
162- TD. latent_heat_sublim (thermo_params, t_sat)
163- ) /
164- (
165- get_ql_sat (thermo_params, bg_model) +
166- get_qi_sat (thermo_params, bg_model) + sqrt (eps (FT))
167- )
159+ λ * TD. latent_heat_vapor (thermo_params, t_sat) +
160+ (1 - λ) * TD. latent_heat_sublim (thermo_params, t_sat)
168161 cp_m = TD. cp_m (thermo_params, ts_sat)
169162 qv_sat = get_qv_sat (thermo_params, bg_model)
170163 ∂b∂θli_sat = (
You can’t perform that action at this time.
0 commit comments