Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmarks #25

Open
foldfelis opened this issue Nov 2, 2021 · 16 comments · May be fixed by #26
Open

Benchmarks #25

foldfelis opened this issue Nov 2, 2021 · 16 comments · May be fixed by #26
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@foldfelis
Copy link
Contributor

No description provided.

@foldfelis foldfelis added the documentation Improvements or additions to documentation label Nov 2, 2021
@yuehhua
Copy link
Collaborator

yuehhua commented Nov 17, 2021

  • Solve Burgers' equation by finite element method FEniCS.jl
  • Solve Burgers' equation by Neural Fourier Operators

@foldfelis
Copy link
Contributor Author

For the second task, please refer to the example.
The dataset for the example is exactly the same with the one that @zongyi-li used in his repo.

@yuehhua
Copy link
Collaborator

yuehhua commented Nov 17, 2021

Should this be documented? Or just give an example code or benchmark report?

@foldfelis
Copy link
Contributor Author

Let's see what we get first.

@yuehhua
Copy link
Collaborator

yuehhua commented Nov 18, 2021

FEniCS.jl seems to be not maintained for a long time. I cannot even install the package.

@foldfelis
Copy link
Contributor Author

Try this instead…
https://github.com/quinnj/There.jl

@foldfelis
Copy link
Contributor Author

Well, I meant this:
https://github.com/Ferrite-FEM/Ferrite.jl

@yuehhua
Copy link
Collaborator

yuehhua commented Nov 18, 2021

I built a new environment for FEniCS.jl and it works! Too many deps are not up-to-date.

@yuehhua
Copy link
Collaborator

yuehhua commented Nov 18, 2021

Maybe I need to discuss with you directly.

@yuehhua
Copy link
Collaborator

yuehhua commented Nov 19, 2021

Does solving a finite element method need a analytic solution?

@foldfelis
Copy link
Contributor Author

That's OK, I'll take care of the whole task.

@foldfelis foldfelis assigned foldfelis and unassigned yuehhua Nov 19, 2021
@yuehhua
Copy link
Collaborator

yuehhua commented Nov 19, 2021

If there is anything I can help, just let me know.

@yuehhua
Copy link
Collaborator

yuehhua commented Nov 21, 2021

I did some search. I found that Burgers' equation need to rewrite into the weak form to code it and you may want to take a look at this. There are three common types of boundary conditions for Burgers' equation: Dirichlet, Neumann and Robin’s. The example that FNO use is Dirichlet.

As for coding the weak form, you can reference the Poisson equation tutorial here.

For installation of FEniCS.jl, I create a conda environment following the scripts here and direct PyCall.jl to the python path of the conda environment by scripts. It also need a new project environment for Julia, otherwise many packages will conflict with FEniCS.jl.

@yuehhua
Copy link
Collaborator

yuehhua commented Nov 24, 2021

Maybe we can reference this.

@yuehhua yuehhua linked a pull request Nov 24, 2021 that will close this issue
@yuehhua
Copy link
Collaborator

yuehhua commented Nov 24, 2021

Keep going, we will have better solution.

@dynamic-queries
Copy link

I am late to the discussion, but it would be nice to solve the time dependent version of the Burgers equation as well, in addition to the stationary one they solve in the paper. What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
3 participants