Skip to content

Commit

Permalink
decrease init randomness
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Jan 5, 2024
1 parent cfaa7c6 commit d74a0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiments/ClimaCore/sea_breeze/atmos_rhs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function init_sea_breeze_2d(x, z)
γ = cp_d / cv_d
z_c = 100.0
θ_b = atm_T_ini
θ_p = z < z_c ? rand() - 0.5 : 0.0 # potential temperature perturbation
θ_p = z < z_c ? (rand() - 0.5) / 2.0 : 0.0 # potential temperature perturbation
θ = θ_b + θ_p # potential temperature
π_exn = 1.0 - g * z / cp_d / θ # exner function
T = π_exn * θ # temperature
Expand Down

0 comments on commit d74a0cb

Please sign in to comment.