From e8de2eb5680fa0775e3f40b7b35e47a43973355a Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Wed, 16 Oct 2024 12:12:29 -0700 Subject: [PATCH] fix typo (#1887) --- .../DensityCurrent/inputs_crse_outflow | 64 ------------------- .../DensityCurrent/inputs_crse_periodic | 60 ----------------- Source/BoundaryConditions/ERF_FillPatch.cpp | 2 +- 3 files changed, 1 insertion(+), 125 deletions(-) delete mode 100644 Exec/RegTests/DensityCurrent/inputs_crse_outflow delete mode 100644 Exec/RegTests/DensityCurrent/inputs_crse_periodic diff --git a/Exec/RegTests/DensityCurrent/inputs_crse_outflow b/Exec/RegTests/DensityCurrent/inputs_crse_outflow deleted file mode 100644 index d94b3bb2a..000000000 --- a/Exec/RegTests/DensityCurrent/inputs_crse_outflow +++ /dev/null @@ -1,64 +0,0 @@ -# ------------------ INPUTS TO MAIN PROGRAM ------------------- -max_step = 999999 -stop_time = 900.0 - -amrex.fpe_trap_invalid = 1 - -fabarray.mfiter_tile_size = 1024 1024 1024 - -# PROBLEM SIZE & GEOMETRY -geometry.prob_lo = -25600. 0. 0. -geometry.prob_hi = 25600. 400. 6400. - -amr.n_cell = 2048 4 256 # dx=dy=dz=25 m, Straka et al 1993 / Xue et al 2000 -amr.n_cell = 512 4 64 # dx=dy=dz=100 m, Straka et al 1993 / Xue et al 2000 - -# periodic in x to match WRF setup -# - as an alternative, could use symmetry at x=0 and outflow at x=25600 -geometry.is_periodic = 0 1 0 - -xlo.type = "Outflow" -xhi.type = "Outflow" - -zlo.type = "SlipWall" -zhi.type = "SlipWall" - -# TIME STEP CONTROL -erf.fixed_dt = 1.0 # fixed time step [s] -- Straka et al 1993 -erf.fixed_fast_dt = 0.25 # fixed time step [s] -- Straka et al 1993 - -# DIAGNOSTICS & VERBOSITY -erf.sum_interval = 1 # timesteps between computing mass -erf.v = 1 # verbosity in ERF.cpp -amr.v = 1 # verbosity in Amr.cpp - -# REFINEMENT / REGRIDDING -amr.max_level = 0 # maximum level number allowed - -# CHECKPOINT FILES -erf.check_file = chk # root name of checkpoint file -erf.check_int = -57600 # number of timesteps between checkpoints - -# PLOTFILES -erf.plot_file_1 = plt # prefix of plotfile name -erf.plot_int_1 = 1000 # number of timesteps between plotfiles -erf.plot_vars_1 = density x_velocity y_velocity z_velocity pressure theta pres_hse dens_hse pert_pres pert_dens - -# SOLVER CHOICE -erf.use_gravity = true -erf.use_coriolis = false - -erf.les_type = "None" -# -# Diffusion coefficient from Straka, K = 75 m^2/s -# -erf.molec_diff_type = "ConstantAlpha" # where alpha == "K" in Straka et al 1993 -erf.rho0_trans = 1.0 # [kg/m^3], used to convert input diffusivities -erf.dynamicViscosity = 75.0 # [kg/(m-s)] ==> alpha = 75.0 m^2/s -erf.alpha_T = 75.0 # [m^2/s] - -erf.c_p = 1004.0 - -# PROBLEM PARAMETERS (optional) -prob.T_0 = 300.0 -prob.U_0 = 0.0 diff --git a/Exec/RegTests/DensityCurrent/inputs_crse_periodic b/Exec/RegTests/DensityCurrent/inputs_crse_periodic deleted file mode 100644 index 776f36d0c..000000000 --- a/Exec/RegTests/DensityCurrent/inputs_crse_periodic +++ /dev/null @@ -1,60 +0,0 @@ -# ------------------ INPUTS TO MAIN PROGRAM ------------------- -max_step = 999999 -stop_time = 900.0 - -amrex.fpe_trap_invalid = 1 - -fabarray.mfiter_tile_size = 1024 1024 1024 - -# PROBLEM SIZE & GEOMETRY -geometry.prob_lo = -25600. 0. 0. -geometry.prob_hi = 25600. 400. 6400. - -amr.n_cell = 2048 4 256 # dx=dy=dz=25 m, Straka et al 1993 / Xue et al 2000 -amr.n_cell = 512 4 64 # dx=dy=dz=100 m, Straka et al 1993 / Xue et al 2000 - -# periodic in x to match WRF setup -# - as an alternative, could use symmetry at x=0 and outflow at x=25600 -geometry.is_periodic = 1 1 0 -zlo.type = "SlipWall" -zhi.type = "SlipWall" - -# TIME STEP CONTROL -erf.fixed_dt = 1.0 # fixed time step [s] -- Straka et al 1993 -erf.fixed_fast_dt = 0.25 # fixed time step [s] -- Straka et al 1993 - -# DIAGNOSTICS & VERBOSITY -erf.sum_interval = 1 # timesteps between computing mass -erf.v = 1 # verbosity in ERF.cpp -amr.v = 1 # verbosity in Amr.cpp - -# REFINEMENT / REGRIDDING -amr.max_level = 0 # maximum level number allowed - -# CHECKPOINT FILES -erf.check_file = chk # root name of checkpoint file -erf.check_int = -57600 # number of timesteps between checkpoints - -# PLOTFILES -erf.plot_file_1 = plt # prefix of plotfile name -erf.plot_int_1 = 1000 # number of timesteps between plotfiles -erf.plot_vars_1 = density x_velocity y_velocity z_velocity pressure theta pres_hse dens_hse pert_pres pert_dens - -# SOLVER CHOICE -erf.use_gravity = true -erf.use_coriolis = false - -erf.les_type = "None" -# -# Diffusion coefficient from Straka, K = 75 m^2/s -# -erf.molec_diff_type = "ConstantAlpha" # where alpha == "K" in Straka et al 1993 -erf.rho0_trans = 1.0 # [kg/m^3], used to convert input diffusivities -erf.dynamicViscosity = 75.0 # [kg/(m-s)] ==> alpha = 75.0 m^2/s -erf.alpha_T = 75.0 # [m^2/s] - -erf.c_p = 1004.0 - -# PROBLEM PARAMETERS (optional) -prob.T_0 = 300.0 -prob.U_0 = 0.0 diff --git a/Source/BoundaryConditions/ERF_FillPatch.cpp b/Source/BoundaryConditions/ERF_FillPatch.cpp index d8e86b166..cce4a2977 100644 --- a/Source/BoundaryConditions/ERF_FillPatch.cpp +++ b/Source/BoundaryConditions/ERF_FillPatch.cpp @@ -352,7 +352,7 @@ ERF::FillIntermediatePatch (int lev, Real time, // Call FillPatchTwoLevels which ASSUMES that all ghost cells have already been filled FillPatchTwoLevels(mfu, IntVect{ng_vel}, IntVect(0,0,0), time, cmf, ctime, fmf, ftime, - 0, 0, ncomp_cons, geom[lev-1], geom[lev], + 0, 0, 1, geom[lev-1], geom[lev], refRatio(lev-1), mapper, domain_bcs_type, BCVars::xvel_bc);