Skip to content

Commit 22931d4

Browse files
authored
ERF Release (#1606)
* ERF release. * Add Chandru's fixes for bomex case.
1 parent 7ed2e8f commit 22931d4

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed

CHANGES

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1+
# 24.05
2+
-- AMReX submodule set to 24.05 release hash (76d09f5)
3+
4+
-- Explict MOST as runtime option (#1605)
5+
6+
-- High order extrapolation (#1602)
7+
8+
-- Various radiation module fixes (#1601 etc)
9+
10+
-- Correct FITCH (#1595)
11+
12+
-- Read entire Lat/Lon data from netcdf (#1589)
13+
114
# 24.04
2-
-- AMReX submodule set to 24.03 release hash (bb7d5cf)
15+
-- AMReX submodule set to 24.04 release hash (bb7d5cf)
316

417
-- Start of EB functionality (#1541)
518

Exec/DevTests/Bomex/input_SAM

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ prob.advection_moisture_rate = -1.2E-8
8282
prob.moisture_source_cutoff = 300.0
8383
prob.moisture_source_cutoff_transition = 200.0
8484

85-
prob.wbar_sub_max = -0.65
85+
prob.wbar_sub_max = -0.0065
8686
prob.wbar_cutoff_max = 1500.0
8787
prob.wbar_cutoff_min = 2100.0
8888

Source/SourceTerms/ERF_make_mom_sources.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,12 @@ void make_mom_sources (int /*level*/,
280280
if (solverChoice.custom_w_subsidence) {
281281
ParallelFor(tbx, [=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
282282
{
283-
xmom_src_arr(i, j, k) += dptr_wbar_sub[k] *
283+
xmom_src_arr(i, j, k) -= dptr_wbar_sub[k] *
284284
0.5 * (dptr_u_plane(k+1) - dptr_u_plane(k-1)) * dxInv[2];
285285
});
286286
ParallelFor(tby, [=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
287287
{
288-
ymom_src_arr(i, j, k) += dptr_wbar_sub[k] *
288+
ymom_src_arr(i, j, k) -= dptr_wbar_sub[k] *
289289
0.5 * (dptr_v_plane(k+1) - dptr_v_plane(k-1)) * dxInv[2];
290290
});
291291
}

Source/SourceTerms/ERF_make_sources.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ void make_sources (int level,
219219
const int n = RhoTheta_comp;
220220
ParallelFor(bx, [=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
221221
{
222-
cell_src(i, j, k, n) += dptr_wbar_sub[k] *
222+
cell_src(i, j, k, n) -= dptr_wbar_sub[k] *
223223
0.5 * (dptr_t_plane(k+1) - dptr_t_plane(k-1)) * dxInv[2];
224224

225225
});
@@ -232,7 +232,7 @@ void make_sources (int level,
232232
const int n = RhoQ1_comp;
233233
ParallelFor(bx, [=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
234234
{
235-
cell_src(i,j,k,n) += dptr_wbar_sub[k] *
235+
cell_src(i,j,k,n) -= dptr_wbar_sub[k] *
236236
0.5 * (dptr_q_plane(k+1) - dptr_q_plane(k-1)) * dxInv[2];
237237
});
238238
}

Submodules/AMReX

Submodule AMReX updated 90 files

0 commit comments

Comments
 (0)