Ask Your Question

question about the nbq_grav option

asked 2021-02-11 18:54:47 +0100


Here is a question about the 'nbq_grav' cpp option. I see that in 'step3d_fast.F', that flag seems to control the 'gravity' term in the vertical momentum equation. My question is, if 'nbq_grav' is undefined, does it mean the nbq gravity term is not included in the w-equation? I tend to think that gravity term is important for driving non-hydrostatic dynamics. Can someone tell me the rationale for not including gravity in w-equation?

Thanks! Guangyu

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2021-02-12 12:18:05 +0100

Hi, Gravity is already accounted for in the hydrostatic balance terms. This extra term is an added compressibility effect, which can be considered small or very small (it is not included in the incompressible nonhydrostatic equations for example). Because it imposes a constraint on the time step, we prefer to exclude it by default, but we left it as a possibility for people who want to try it in strong convection problems. You should not worry about it in most cases ...

edit flag offensive delete link more


Thanks a lot. I have been working on an idealized simulation of a buoyancy-driven plume rising from the bottom, which can be considered a strong convection case. It is interesting to see whether 'nbq_grav' makes any difference.

xupeng66 gravatar imagexupeng66 ( 2021-02-12 15:48:53 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2021-02-11 18:54:47 +0100

Seen: 399 times

Last updated: Feb 12 '21