Skip to content

How to turn off convection term in Oceananigans model #2667

Discussion options

You must be logged in to vote

If by convection term you mean momentum advection in the NS, you can turn it off by specifying advection = nothing (in the NonhydrostaticModel) and mometum_advection=nothing (in the HydrostaticFreeSurfaceModel ) and the same to turn it off in the tracer advection-diffusion equation (this time specify tracer_advection=nothing in either model)

otherwise if you want to neglect the hydrostatic pressure effects in the NS equations due to the buoyancy field, @iuryt's solution is good! (take care that if you are using the HydrostaticFreeSurfaceModel the default buoyancy model is based a linear equation of state so you have to specify buoyancy=nothing)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@RWBY-wiess
Comment options

Comment options

You must be logged in to vote
1 reply
@RWBY-wiess
Comment options

Answer selected by glwagner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants