Skip to content

Commit ceb2c4d

Browse files
committed
Differentiate namelists
1 parent b10a359 commit ceb2c4d

File tree

4 files changed

+28
-23
lines changed

4 files changed

+28
-23
lines changed

compass/ocean/tests/turbulence_closure/forward.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ def __init__(self, test_case, resolution, name='forward', subdir=None,
5050
ntasks=ntasks, min_tasks=min_tasks, openmp_threads=openmp_threads)
5151
self.add_namelist_file('compass.ocean.tests.turbulence_closure',
5252
'namelist.forward')
53+
if resolution < 500:
54+
self.add_namelist_file('compass.ocean.tests.turbulence_closure',
55+
'namelist.les.forward')
56+
if resolution < 100:
57+
self.add_namelist_file('compass.ocean.tests.turbulence_closure',
58+
'namelist.nonhydro.forward')
5359

5460
# make sure output is double precision
5561
self.add_streams_file('compass.ocean.streams', 'streams.output')
Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,18 @@
11
config_write_output_on_startup = .false.
22
config_time_integrator = 'split_implicit'
3+
config_btr_si_partition_match_mode = .false.
34
config_run_duration = '0004_00:00:00'
4-
config_dt = '00:00:00.1'
55
config_use_implicit_bottom_drag = .false.
66
config_zonal_ssh_grad = 0.0
77
config_meridional_ssh_grad = 0.0
8-
config_aust_scale_factor = 0.70710678
98
config_use_mom_div2 = .true.
109
config_mom_div2 = .00002
1110
config_use_mom_div4 = .false.
1211
config_mom_div4 = 1.0e12
13-
config_enable_nonhydrostatic_mode = .true.
14-
config_triskCV = .false.
15-
config_nonhydrostatic_preconditioner = 'bjacobi'
16-
config_nonhydrostatic_solver_type = 'cg'
17-
config_nonhydrostatic_solve_surface_boundary_condition = 'pressureTopGradientBottom'
18-
config_use_constant_forced_pgf = .false.
19-
config_use_two_equation_turbulence_model = .true.
20-
config_two_equation_model_choice = 'omega'
2112
config_use_activeTracers_surface_bulk_forcing = .true.
22-
config_LES_mode = .true.
2313
config_vertMom_del2 = 2e-6
2414
config_tracer_del2 = 2e-6
2515
config_mom_del2 = .true.
2616
config_mom_del2 = 2e-6
27-
config_use_cvmix = .false.
2817
config_cvmix_background_diffusion = 1.0e-2
2918
config_cvmix_background_viscosity = 1.0e-2
30-
config_btr_si_partition_match_mode = .false.
31-
config_two_equation_length_min = 0.1
32-
config_two_equation_tke_min = 1e-10
33-
config_two_equation_psi_min = 1e-10
34-
config_tke_ini = 1.0e-30
35-
config_thickness_flux_type = 'upwind'
36-
config_LES_noise_enable = .true.
37-
config_LES_noise_max_time = 150
38-
config_LES_noise_min_level = 5
39-
config_LES_noise_max_level = 45
40-
config_LES_noise_perturbation_magnitude = 1e-4
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
config_LES_mode = .true.
2+
config_use_two_equation_turbulence_model = .true.
3+
config_two_equation_model_choice = 'omega'
4+
config_use_cvmix = .false.
5+
config_two_equation_length_min = 0.1
6+
config_two_equation_tke_min = 1e-10
7+
config_two_equation_psi_min = 1e-10
8+
config_tke_ini = 1.0e-30
9+
config_LES_noise_enable = .true.
10+
config_LES_noise_max_time = 150
11+
config_LES_noise_min_level = 5
12+
config_LES_noise_max_level = 45
13+
config_LES_noise_perturbation_magnitude = 1e-4
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
config_enable_nonhydrostatic_mode = .true.
2+
config_triskCV = .false.
3+
config_nonhydrostatic_preconditioner = 'bjacobi'
4+
config_nonhydrostatic_solver_type = 'cg'
5+
config_nonhydrostatic_solve_surface_boundary_condition = 'pressureTopGradientBottom'
6+
config_use_constant_forced_pgf = .false.
7+
config_thickness_flux_type = 'upwind'
8+
config_aust_scale_factor = 0.70710678

0 commit comments

Comments
 (0)