Skip to content

Commit 3d37f13

Browse files
herrwang0adcroft
authored andcommitted
Change default of USE_POROUS_BARRIER to false
* subroutine initialize_MOM * MOM_input in test cases
1 parent e189e05 commit 3d37f13

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed

.testing/tc0/MOM_input

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ ADIABATIC = True ! [Boolean] default = False
1313
! true. This assumes that KD = KDML = 0.0 and that
1414
! there is no buoyancy forcing, but makes the model
1515
! faster by eliminating subroutine calls.
16+
USE_POROUS_BARRIER = False ! [Boolean] default = False
17+
! If true, use porous barrier to constrain the widths and face areas at the
18+
! edges of the grid cells.
1619
DT = 8.64E+04 ! [s]
1720
! The (baroclinic) dynamics time step. The time-step that
1821
! is actually used will be an integer fraction of the

.testing/tc1/MOM_input

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ MIXEDLAYER_RESTRAT = True ! [Boolean] default = False
7272
! If true, a density-gradient dependent re-stratifying
7373
! flow is imposed in the mixed layer.
7474
! This is only used if BULKMIXEDLAYER is true.
75+
USE_POROUS_BARRIER = False ! [Boolean] default = False
76+
! If true, use porous barrier to constrain the widths and face areas at the
77+
! edges of the grid cells.
7578
DT = 900.0 ! [s]
7679
! The (baroclinic) dynamics time step. The time-step that
7780
! is actually used will be an integer fraction of the

.testing/tc2/MOM_input

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ MIXEDLAYER_RESTRAT = True ! [Boolean] default = False
7575
! If true, a density-gradient dependent re-stratifying
7676
! flow is imposed in the mixed layer.
7777
! This is only used if BULKMIXEDLAYER is true.
78+
USE_POROUS_BARRIER = False ! [Boolean] default = False
79+
! If true, use porous barrier to constrain the widths and face areas at the
80+
! edges of the grid cells.
7881
DT = 3600.0 ! [s]
7982
! The (baroclinic) dynamics time step. The time-step that
8083
! is actually used will be an integer fraction of the

.testing/tc3/MOM_input

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ NK = 10 ! [nondim]
7272
ENABLE_THERMODYNAMICS = False ! [Boolean] default = True
7373
! If true, Temperature and salinity are used as state
7474
! variables.
75+
USE_POROUS_BARRIER = False ! [Boolean] default = False
76+
! If true, use porous barrier to constrain the widths and face areas at the
77+
! edges of the grid cells.
7578
DT = 120.0 ! [s]
7679
! The (baroclinic) dynamics time step. The time-step that
7780
! is actually used will be an integer fraction of the

.testing/tc4/MOM_input

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
USE_REGRIDDING = True ! [Boolean] default = False
55
! If True, use the ALE algorithm (regridding/remapping). If False, use the
66
! layered isopycnal algorithm.
7+
USE_POROUS_BARRIER = False ! [Boolean] default = False
8+
! If true, use porous barrier to constrain the widths and face areas at the
9+
! edges of the grid cells.
710
DT = 1200.0 ! [s]
811
! The (baroclinic) dynamics time step. The time-step that is actually used will
912
! be an integer fraction of the forcing time-step (DT_FORCING in ocean-only mode

src/core/MOM.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2313,7 +2313,7 @@ subroutine initialize_MOM(Time, Time_init, param_file, dirs, CS, &
23132313
call get_param(param_file, "MOM", "USE_POROUS_BARRIER", CS%use_porbar, &
23142314
"If true, use porous barrier to constrain the widths "//&
23152315
"and face areas at the edges of the grid cells. ", &
2316-
default=.true.) ! The default should be false after tests.
2316+
default=.false.)
23172317
call get_param(param_file, "MOM", "BATHYMETRY_AT_VEL", bathy_at_vel, &
23182318
"If true, there are separate values for the basin depths "//&
23192319
"at velocity points. Otherwise the effects of topography "//&

0 commit comments

Comments
 (0)