From f7f067f43e767a7d33983547d68a67b8985e9b2f Mon Sep 17 00:00:00 2001 From: "Gregory L. Wagner" Date: Fri, 23 May 2025 07:13:57 -0600 Subject: [PATCH 1/4] Update roughness_lengths.jl --- .../InterfaceComputations/roughness_lengths.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OceanSeaIceModels/InterfaceComputations/roughness_lengths.jl b/src/OceanSeaIceModels/InterfaceComputations/roughness_lengths.jl index d7ce2eb65..23e59261f 100644 --- a/src/OceanSeaIceModels/InterfaceComputations/roughness_lengths.jl +++ b/src/OceanSeaIceModels/InterfaceComputations/roughness_lengths.jl @@ -88,7 +88,7 @@ function MomentumRoughnessLength(FT=Oceananigans.defaults.FloatType; gravitational_acceleration = default_gravitational_acceleration, maximum_roughness_length = 1, air_kinematic_viscosity = 1.5e-5, - wave_formulation = 0.02, + wave_formulation = 0.04, smooth_wall_parameter = 0.11) if wave_formulation isa Number From 517c43d971b663e8bebffa6a88a9a303a8061f50 Mon Sep 17 00:00:00 2001 From: "Gregory L. Wagner" Date: Fri, 23 May 2025 14:59:30 -0600 Subject: [PATCH 2/4] Update roughness_lengths.jl --- .../InterfaceComputations/roughness_lengths.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OceanSeaIceModels/InterfaceComputations/roughness_lengths.jl b/src/OceanSeaIceModels/InterfaceComputations/roughness_lengths.jl index 23e59261f..cc1acd709 100644 --- a/src/OceanSeaIceModels/InterfaceComputations/roughness_lengths.jl +++ b/src/OceanSeaIceModels/InterfaceComputations/roughness_lengths.jl @@ -209,7 +209,7 @@ ReynoldsScalingFunction(FT = Oceananigans.defaults.FloatType; A = 5.85e-5, b = 0 # Clip ℓ_max = ℓ.maximum_roughness_length - return min(ℓs, ℓ_max) + ℓu #return min(ℓs, ℓ_max) end # Convenience for users From 8104f355e36af38e54873d888e6fa9aad4d88db6 Mon Sep 17 00:00:00 2001 From: "Gregory L. Wagner" Date: Sat, 24 May 2025 11:09:28 -0600 Subject: [PATCH 3/4] Update ocean_simulation.jl --- src/OceanSimulations/ocean_simulation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OceanSimulations/ocean_simulation.jl b/src/OceanSimulations/ocean_simulation.jl index 666f9b682..cc94773dd 100644 --- a/src/OceanSimulations/ocean_simulation.jl +++ b/src/OceanSimulations/ocean_simulation.jl @@ -95,7 +95,7 @@ default_tracer_advection() = FluxFormAdvection(WENO(order=7), Centered()) function default_radiative_forcing(grid) - ϵʳ = 0.6 # red fraction + ϵʳ = 0.0 # red fraction λʳ = 1 # red decay scale λᵇ = 16 # blue decay scale forcing = TwoColorRadiation(grid; From 8b982b3ed94dfb18fe7ba7deb618ee6df0079d06 Mon Sep 17 00:00:00 2001 From: "Gregory L. Wagner" Date: Thu, 5 Jun 2025 07:57:02 -0600 Subject: [PATCH 4/4] Update one_degree_simulation.jl --- examples/one_degree_simulation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/one_degree_simulation.jl b/examples/one_degree_simulation.jl index 9170dc45b..9ab565fcc 100644 --- a/examples/one_degree_simulation.jl +++ b/examples/one_degree_simulation.jl @@ -164,7 +164,7 @@ ocean.output_writers[:surface] = JLD2Writer(ocean.model, outputs; run!(simulation) simulation.Δt = 20minutes -simulation.stop_time = 365days +simulation.stop_time = 5 * 365days run!(simulation) # ### A pretty movie