Higher derivatives of trial and test functions. #900
Replies: 5 comments 3 replies
-
I think it would be possible to create Element classes for such purposes. What kind of variational formulation are you envisioning? What are the boundary conditions and the time discretization techniques like? |
Beta Was this translation helpful? Give feedback.
-
It looks to me that ElementLineHermite could be enough to solve either of those. However, these are nonlinear equations and there could be some special considerations, e.g., irregular points that are not well suited to such basis functions. |
Beta Was this translation helpful? Give feedback.
-
I would like to solve in time with adaptive time stepping. On the boundary, I would apply Dirichlet conditions. For the variational formulation, I don't have any special considerations, just the simplest possible |
Beta Was this translation helpful? Give feedback.
-
The variational formulation decides what kind of boundary conditions are natural and essential. It is perhaps misleading to talk about 'just' Dirichlet boundary conditions as whenever the order of the boundary value problem increases, so does the number of boundary conditions required to render the solution unique. E.g., for Euler-Bernoulli beam equation Concerning time discretization, I was more into knowing whether you are planning on implicit or explicit time stepping? We don't have anything for time stepping here but you can discretize the space part with scikit-fem and deal with the time part however you like. Nevertheless, in case of explicit time stepping you might be able to cheat a bit in the linearization of the problem. But I guess it comes back to the properties of the PDE's and how strict they are about details such as energy preservation. If you have an example setup, e.g., a reference problem, I could also try it out. |
Beta Was this translation helpful? Give feedback.
-
Here is an example with periodic boundary conditions: https://www.chebfun.org/examples/pde/KSWave.html We have quite recently added support for periodic meshes, perhaps it might work for this. |
Beta Was this translation helpful? Give feedback.
-
Hey, I am trying to solve equations such as the Korteweg-de Vriews equation$u_t + uu_x + u_{xxx} = 0$ and the Kuramoto-Shivashinsky equation $u_t + u_{xx} + u_{xxxx} + uu_x = 0$ in 1D. With
ElementLinePp
I can create a trial space with enough smoothness for 3rd and 4th derivatives and I have seen thatDiscreteField
also has fields for 3rd through 6th derivatives. However, they are not used or filled anywhere except forElementGlobal
.Is it possible to solve these equations with scikit-fem as of today? If not, what would it take?
Beta Was this translation helpful? Give feedback.
All reactions