Skip to content

Commit

Permalink
Checked values for howell factor and added it to deposition growth term
Browse files Browse the repository at this point in the history
  • Loading branch information
tluettm committed Dec 11, 2024
1 parent 211f1f0 commit 0e839c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PySDM/backends/impl_numba/methods/deposition_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ def body(
thermal_conductivity = formulae.diffusion_ice_kinetics__K(Ka_const, radius, lambdaK, temperature, rho)


howell_factor = 1. / ((latent_heat_sub / Rv / temperature - 1.) * latent_heat_sub * diffusion_coefficient / temperature / thermal_conductivity + Rv * temperature / pvs_ice)
# print( f" {howell_factor=}, {latent_heat_sub= }, {Rv=}, {Dv_const=}, {diffusion_coefficient=}, {Ka_const=}, {thermal_conductivity=}, {pvs_ice=}")
howell_factor = 1. / ( (latent_heat_sub / Rv / temperature - 1.) * latent_heat_sub * diffusion_coefficient / temperature / thermal_conductivity + Rv * temperature / pvs_ice)

saturation_ratio_ice = (
ambient_humidity[cid] / ambient_water_activity[cid]
Expand All @@ -86,6 +85,7 @@ def body(
* np.pi
* capacity
* diffusion_coefficient
* howell_factor
* (saturation_ratio_ice - 1)
) * rho_vs_ice

Expand Down

0 comments on commit 0e839c4

Please sign in to comment.