Skip to content

dianasolangel/Stage-M1-Training-Augmented-Interpolation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

100 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deep Lagrange interpolation and Semi Lagrangian solver

In this project, we aim to solve transport equations using the Semi-Lagrangian implementing a scheme and analyze its convergence and accuracy compared to the exact solution. This project is supervised by Emmanuel Franck and Laurent Navoret from the French National Institute for Research in Computer Science and Control (INRIA) and the University of Strasbourg.

Objectives

The primary goal of this project is to enhance the accuracy of the current resolution method by incorporating deep learning techniques while maintaining convergence properties. We will implement a Semi-Lagrangian scheme then we will apply deep interpolation techniques and compare the results with traditional methods.

Theorical Framework

We focus on solving the transport equation with a given velocity and initial condition.

$$ \begin{cases} \partial_t u + a \partial_x u = 0 \\ u(t=0, x) = u_0(x, \mu) \end{cases} $$

Semi-Lagrangian Scheme

The semi-Lagrangian method is a numerical technique that tracks fluid particles through time and space. We will use this scheme to approximate the solution by interpolating the values from the previous time step.

We implemented this scheme with the Lagrange interpolation and the Deep Lagrange interpolation and with the function:

$$ f(x) = exp(-(x - 0.5)^2 / 0.1^2) $$

Results

We first calculated the solution using the lagrange interpolation operator on a small mesh with nx = 40, nt = 50, a=1 and we obtained:

ezgif com-video-to-gif

And the error that increases at each time step:

errors1

Adding more points nx_bis= 100, nt_bis = 200, a_bis = 1 we obtained:

ezgif com-video-to-gif-5

Now implementing the Deep Lagrange interpolator we obtained:

ezgif com-video-to-gif-3

Here we can see that the solution u_deep is closer to our exact solution, because the error is relatively small:

errors2

Adding a small perturbation to our exact solution we get:

ezgif com-video-to-gif-4

As expected the error has grown and our solution is less accurate:

errors3

For the different measurement of convergence we obtained:

In space

conv1

conv2

In time

conv3

Conclusions

Our findings demonstrate that the Semi-Lagrangian scheme combined with the deep interpolation operator shows promise in improving the accuracy of transport equation solutions. However, there is still further research to be done, with implementation of the deep Lagrange interpolation with PINNs to optimize the deep learning models and explore their full potential in solving more complex transport equations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors