Skip to content

Commit c26bd94

Browse files
authored
Merge pull request #3644 from CliMA/as/fix-dyamondic
Bugfix: DYAMOND ic with EDOnly
2 parents 545a385 + 1a2e1c3 commit c26bd94

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

config/gpu_configs/gpu_aquaplanet_dyamond_summer.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ rad: "allskywithclear"
1212
insolation: "timevarying"
1313
dt_rad: "1hours"
1414
dt_cloud_fraction: "1hours"
15-
vert_diff: "DecayWithHeightDiffusion"
15+
turbconv: "edonly_edmfx"
16+
edmfx_sgs_diffusive_flux: true
1617
implicit_diffusion: true
1718
approximate_linear_solve_iters: 2
1819
surface_setup: "DefaultMoninObukhov"

src/initial_conditions/initial_conditions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ function overwrite_initial_conditions!(
487487

488488
if hasproperty(Y.c, :sgs⁰) && hasproperty(Y.c.sgs⁰, :ρatke)
489489
# NOTE: This is not the most consistent, but it is better than NaNs
490-
fill!(Y.c.ρatke, 0)
490+
fill!(Y.c.sgs⁰.ρatke, 0)
491491
end
492492

493493
return nothing

0 commit comments

Comments
 (0)