Trying to solve Primitve Equations in Firedrake #3400
-
Hello! I have decided to try and solve the following system of equations using firedrake:
Here are the initial conditions I am using:
Along with periodic boundary conditions. I have mad an attempt to code this in firedrake, however with my lack of experience in this library, FEM, and continuum mechanics, I fear I might have made quite a mess! I am having issues with trying to make use of some form of nonlinear solver due to the nonlinearity of the momentum equation, any help in resolving the error would be much appreciated (along with some general guidance with getting better at firedrake).
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are a lot of things going on here. I think it is important to view Firedrake as the framework to implement the discretisation and solver that you have selected/designed. It’s a good idea to first check out what other people have done with FEM for primitive equations and why, and then pick one of those approaches. There are a whole load of related issues: stable element choices for the pressure waves, stabilisation of advection schemes, splitting methods to enable efficient solution etc. Unfortunately it is not as simple as taking the equations and trying the first thing. I wrote a survey article on one approach: For FEM the other main approach that has been shown to work is spectral elements as implemented in the HOMME model. |
Beta Was this translation helpful? Give feedback.
There are a lot of things going on here. I think it is important to view Firedrake as the framework to implement the discretisation and solver that you have selected/designed. It’s a good idea to first check out what other people have done with FEM for primitive equations and why, and then pick one of those approaches. There are a whole load of related issues: stable element choices for the pressure waves, stabilisation of advection schemes, splitting methods to enable efficient solution etc. Unfortunately it is not as simple as taking the equations and trying the first thing.
I wrote a survey article on one approach:
https://www.cambridge.org/core/journals/acta-numerica/article/compatibl…