From 57c094c9b9e33e60908cf8c6f85f25a0aa0eb2e1 Mon Sep 17 00:00:00 2001 From: "Gregory L. Wagner" Date: Tue, 7 Jan 2025 22:45:26 -0700 Subject: [PATCH 1/3] Update arctic_night.jl --- examples/arctic_night.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/arctic_night.jl b/examples/arctic_night.jl index caeb34f6..ae336793 100644 --- a/examples/arctic_night.jl +++ b/examples/arctic_night.jl @@ -29,8 +29,8 @@ parent(atmosphere.downwelling_radiation.shortwave) .= Qℓ # W grid = RectilinearGrid(size=400, z=(-400, 0), topology=(Flat, Flat, Bounded)) ocean = ocean_simulation(grid, coriolis=FPlane(; f)) -eos = ocean.model.buoyancy.model.equation_of_state -g = ocean.model.buoyancy.model.gravitational_acceleration +eos = ocean.model.buoyancy.formulation.equation_of_state +g = ocean.model.buoyancy.formulation.gravitational_acceleration α = SeawaterPolynomials.thermal_expansion(T₀, S₀, 0, eos) dTdz = N² / (α * g) Tᵢ(z) = max(-1.8, T₀ + dTdz * z) From b1158db4f014fa2137a0d405361f47d6d8b6c1ca Mon Sep 17 00:00:00 2001 From: "Gregory L. Wagner" Date: Wed, 8 Jan 2025 14:37:44 -0700 Subject: [PATCH 2/3] Update idealized_single_column_simulation.jl --- examples/idealized_single_column_simulation.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/idealized_single_column_simulation.jl b/examples/idealized_single_column_simulation.jl index 3d11a552..e0b65734 100644 --- a/examples/idealized_single_column_simulation.jl +++ b/examples/idealized_single_column_simulation.jl @@ -29,8 +29,8 @@ parent(atmosphere.downwelling_radiation.shortwave) .= Qℓ # W grid = RectilinearGrid(size=100, z=(-400, 0), topology=(Flat, Flat, Bounded)) ocean = ocean_simulation(grid, coriolis=FPlane(; f)) -eos = ocean.model.buoyancy.model.equation_of_state -g = ocean.model.buoyancy.model.gravitational_acceleration +eos = ocean.model.buoyancy.formulation.equation_of_state +g = ocean.model.buoyancy.formulation.gravitational_acceleration α = SeawaterPolynomials.thermal_expansion(T₀, S₀, 0, eos) dTdz = N² / (α * g) Tᵢ(z) = T₀ + dTdz * z From 2ee52beb788a41143a353be3b6ecabac83fe4770 Mon Sep 17 00:00:00 2001 From: "Navid C. Constantinou" Date: Mon, 27 Jan 2025 21:24:30 +1100 Subject: [PATCH 3/3] Update idealized_single_column_simulation.jl --- examples/idealized_single_column_simulation.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/idealized_single_column_simulation.jl b/examples/idealized_single_column_simulation.jl index e0b65734..700e7eac 100644 --- a/examples/idealized_single_column_simulation.jl +++ b/examples/idealized_single_column_simulation.jl @@ -115,4 +115,3 @@ record(fig, "idealized_atmosphere.mp4", 1:Nt, framerate=24) do nn @info "Drawing frame $nn of $Nt..." n[] = nn end -