Velocity is not evolving in advection equation #3941
Replies: 3 comments 3 replies
-
The Burgers equation is a "compressible" equation that does not involve a pressure gradient (approximating high Mach number flows). The Navier-Stokes equations, solved in the `NonhydrostaticModel, are incompressible, where a pressure gradient ensures the incompressibility. Therefore, if you initialize the model with a divergent velocity field (as the one you are prescribing), the pressure solver will correct the model to make it incompressible. You could, in principle, adapt the code to solve the burgers equations by removing the pressure solver, but it requires a bit of fiddling with the source. |
Beta Was this translation helpful? Give feedback.
-
The initial condition |
Beta Was this translation helpful? Give feedback.
-
If I set |
Beta Was this translation helpful? Give feedback.
-
I have set up a simple run to test the kinetic energy evolution through Burger's equation.
However, the numerical solution is not matching the analytical solution. Please let me know what I'm missing
Beta Was this translation helpful? Give feedback.
All reactions