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

Add advdiffreac.ipynb for demo #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RequieMa
Copy link

First trial for #94
Used adios4dolfinx for reading NS solutions (Personally, store solutions from each time step in a form of "./Flows/flow_function_{i}". There may be a better way to store all time sequence in one folder)

@carlosal1015
Copy link

carlosal1015 commented Apr 8, 2024

@BillMaZengou I guess the mesh file is missing. I tried with no luck with adios4dolfinx-0.7.3.

$ docker run -it --rm -p 8888:8888 ghcr.io/cpp-review-dune/introductory-review/jupyter-dolfinx
$ git clone https://github.com/BillMaZengou/dolfinx-tutorial.git
$ cd dolfinx-tutorial
$ git switch Advect_diff_Eq_Demo
$ startJupyter &

image

Could be nice be formatted with nbQA.

Edited 6/2/2024:

Hi @RequieMa, I did some progress from your advance in this branch, mostly from here, I noticed that the mesh was taken from Solving PDEs in Python – The FEniCS Tutorial Volume I and implemented in chapter2/ns_code2.ipynb so I added gmsh.write("mesh_flow.msh") there in order to read sucessfully. The setup is python 3.12.3, dolfinx 0.8.0, petsc 3.21.2 and adios4dolfinx 0.8.1.post0. Could you try in local or in remote here over Arch Linux.

@jorgensd
Copy link
Owner

jorgensd commented Apr 8, 2024

First trial for #94 Used adios4dolfinx for reading NS solutions (Personally, store solutions from each time step in a form of "./Flows/flow_function_{i}". There may be a better way to store all time sequence in one folder)

Ive made major updates to adios4dolfinx that would make checkpointing easier for multiple, tome-dependent solutions:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants