Skip to content

Commit e256925

Browse files
Use AdvectiveFormulation for the skew fluxes (#628)
* Update eddy closure to use new import syntax Refactor eddy closure initialization to use imported types. * Update one_degree_simulation.jl * update packages * update packages --------- Co-authored-by: Navid C. Constantinou <[email protected]>
1 parent 2c7ffd9 commit e256925

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ClimaOceanReactantExt = "Reactant"
4646
Adapt = "4"
4747
CFTime = "0.1, 0.2"
4848
CUDA = "4, 5"
49-
ClimaSeaIce = "0.3.5"
49+
ClimaSeaIce = "0.3.7"
5050
CondaPkg = "0.2.28"
5151
CubicSplines = "0.2"
5252
DataDeps = "0.7"

examples/one_degree_simulation.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ grid = ImmersedBoundaryGrid(underlying_grid, GridFittedBottom(bottom_height);
5151
# eddy fluxes. For vertical mixing at the upper-ocean boundary layer we include the CATKE
5252
# parameterization.
5353

54-
eddy_closure = Oceananigans.TurbulenceClosures.IsopycnalSkewSymmetricDiffusivity(κ_skew=1e3, κ_symmetric=1e3)
54+
using Oceananigans.TurbulenceClosures: IsopycnalSkewSymmetricDiffusivity, AdvectiveFormulation
55+
56+
eddy_closure = IsopycnalSkewSymmetricDiffusivity(κ_skew=1e3, κ_symmetric=1e3, skew_flux_formulation=AdvectiveFormulation())
5557
vertical_mixing = ClimaOcean.OceanSimulations.default_ocean_closure()
5658

5759
# ### Ocean simulation

0 commit comments

Comments
 (0)