dolfinx-tutorial icon indicating copy to clipboard operation
dolfinx-tutorial copied to clipboard

Add advdiffreac.ipynb for demo

Open RequieMa opened this issue 1 year ago • 2 comments

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)

RequieMa avatar Feb 22 '24 14:02 RequieMa

~@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.

carlosal1015 avatar Apr 08 '24 02:04 carlosal1015

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:)

jorgensd avatar Apr 08 '24 03:04 jorgensd