Replies: 5 comments
-
|
A way you could do it with a buoyancy tracer is to manually set the tracers like |
Beta Was this translation helpful? Give feedback.
-
|
I guess we could also make If we changed the model to be discrete form we could just add a parameter like Q_10 = compute_temperature_sensetivity(bgc, fields)and dispatch like compute_temperature_sensetivity(::NPZD{Nothing}, fields) = 1 |
Beta Was this translation helpful? Give feedback.
-
I tried that and it still returns the same error probably because of this line? Example: #--------------- Instantiate Model
forcing = (;
u=mom_sponge, v=mom_sponge, w=mom_sponge,
)
#eventually, try different buoyancy
model = NonhydrostaticModel(grid = grid,
biogeochemistry=biogeochemistry,
advection = WENO(; grid),
coriolis = coriolis,
closure = (horizontal_closure,vertical_closure),
tracers = (:b, :N, :P, :Z, :D),
buoyancy = BuoyancyTracer(),
forcing = forcing,
boundary_conditions = (u=u_bcs, v=v_bcs),
auxiliary_fields = (; T = ConstantField(10))) |
Beta Was this translation helpful? Give feedback.
-
|
@jagoosw OceanBioME.jl/src/Models/AdvectedPopulations/NPZD.jl Lines 216 to 217 in db05016 |
Beta Was this translation helpful? Give feedback.
-
|
This will be solved (kind of) by #355 |
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.
-
The current documentation mention that the temperature sensitivity in the list of equations that are solved for NPZD model. Therefore, the model does not run without
:T.Returning:
On the code:
OceanBioME.jl/src/Models/AdvectedPopulations/NPZD.jl
Line 221 in db05016
Can we do a straightforward implementation for NPZD with constant temperature or no temperature sensitivity?
Maybe something like
NutrientPhytoplanktonZooplanktonDetritus(; grid, T=10)There are reasons why we should be able to run the simulation on buoyancy only, especially for expensive process model simulations. A workaround could be to run with the temperature only and use
SeawaterBuoyancy(constant_salinity = true).What do you all think?
Edit: I was previously saying that the docs were not mentioning it, but I just realized it is mentioning, but it is not explicit that there is no way to set a constant temperature or run with
BuoyancyTracer()Beta Was this translation helpful? Give feedback.
All reactions