PyCLAW Tutorial: 1D Advection

preview_player
Показать описание

To solve this PDE we will use a Finite Volume Mesh with 100 cells and attach a 1D advection Riemann solver to it.

-------

-------

Timestamp:
00:00 Introduction
00:44 About PyCLAW
00:56 About 1D Advection as a hyperbolic conservation law
01:12 Scenario: Profile moving to the right
01:41 Strategy in PyCLAW
02:51 Imports
03:21 Boilerplate
03:40 (1) Define Finite Volume Solver with Riemann Solver attached
04:14 (1) Attach Periodic Boundary Conditions
04:50 (2) Define Finite Volume Mesh
05:30 (3) Instantiate a solution field on the Mesh
06:09 (4) Prescribe Initial Condition
08:45 (5) Problem-Specific Parameters (=advection speed)
09:42 (6) Instantiate Controller for time integration
10:45 (7) Run Controller & Visualize Results
11:10 Execute Script
11:31 Saved Files
12:01 Plotting & Discussion of Results
14:11 Outro
Рекомендации по теме
Комментарии
Автор

whait if the velocity is not constant and changes with the density(q)??

solounomas
Автор

Thanks for the excellent walk-through. I am one of the PyClaw developers so it is appreciated. 

I also realized after I looked your name up that the reason you may have heard of PyClaw was that you were at TUM for a bit and we probably know many of the same people as I have visited and worked with Michael Bader in the past. I will keep a look out for any additional videos on related topics.

kylet.mandli
Автор

Your video is very interesting and well done. I have a problem with displaying the graphs, in particular, after answering in the terminal to " start at which frame? " the message " *** Reached EOF in file " appears and it doesn't show the graph. How can I fix?

lorenguaschi
Автор

Anaconda does not want to load pyclaw in windows ... seems like only Linux version is available

comment
Автор

Before that, thanks for uploading this video. Anyway, this is so creepy or a blessing? I literally need a tutorial for FDM for simple CFD in python, and boom.

mickolesmana