Atlantic Ocean over one_degree_simulation #656
Replies: 3 comments
-
|
Hello, are you sure it is not a problem of initial conditions? Your model breaks quite quickly so it suggests that there is some issues with the initial profiles. |
Beta Was this translation helpful? Give feedback.
-
|
Hello; |
Beta Was this translation helpful? Give feedback.
-
|
Can we convert this to a discussion? I am not sure if there is a problem with source code --- instead here we are wrestling with producing a setup that runs stably, if I understand correctly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ;
Thanks for your work!! Excellent.
I have a question that worked in the previous version, but not in this one. I'm referring to the example mediterranean_simulation_with_ecco_restoring.jl
or
one_degree_simulation.jl. If we narrow the domain to the west, keeping it as the Atlantic Ocean, with the North-South narrowing, the same problem doesn't appear.
[ Info: Time: 0 seconds, Iteration 0, Δt 1.500 minutes, max(vel): (5.70e-01, 4.30e-01, 8.36e-02), max(T): 25.11, min(T): 2.43, wtime: 1.723 minutes
[ Info: ... simulation initialization complete (1.374 minutes)
[ Info: Executing initial time step...
[ Info: ... initial time step complete (1.369 minutes).
[ Info: _time = 1000.0, iteration = 100: NaN found in field u_ocean. Stopping simulati_on
The time jumps to 1000 and the same error occurs, and it's not a matter of initial data. Why is this happening now? It didn't happen before, and we could run limited simulations in the Atlantic or Mediterranean.
Thank you, and sorry for the inconvenience.
Unai
using Oceananigans
using Oceananigans.Units
using Dates
using CUDA
import ClimaOcean
arch = GPU()
grid = LatitudeLongitudeGrid(arch,
size = (1440, 560, 10),
halo = (7, 7, 7),
longitude = (180, 360),
latitude = (-70, 70),
z = (-3000, 0))
bathymetry = ClimaOcean.regrid_bathymetry(grid) # builds gridded bathymetry based on ETOPO1
grid = ImmersedBoundaryGrid(grid, GridFittedBottom(bathymetry))
Build an ocean simulation initialized to the ECCO state estimate version 2 on Jan 1, 1993
ocean = ClimaOcean.ocean_simulation(grid)
start_date = DateTime(1993, 1, 1)
set!(ocean.model,
T=ClimaOcean.Metadatum(:temperature; date=start_date, dataset=ClimaOcean.ECCO2Daily()),
S=ClimaOcean.Metadatum(:salinity; date=start_date, dataset=ClimaOcean.ECCO2Daily()))
Build and run an OceanSeaIceModel (with no sea ice component) forced by JRA55 reanalysis
atmosphere = ClimaOcean.JRA55PrescribedAtmosphere(arch)
coupled_model = ClimaOcean.OceanSeaIceModel(ocean; atmosphere)
simulation = Simulation(coupled_model, Δt=5minutes, stop_time=30days)
run!(simulation)
Beta Was this translation helpful? Give feedback.
All reactions