tornadobox
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tornadobox [2025/03/19 13:50] – admin | tornadobox [2025/04/13 07:58] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== Tornado Box==== | + | ==== 3-D Fortran CFD code for tornado-like vortices |
| - | This page provides | + | Grab the code: [[https:// |
| + | |||
| + | This page describes | ||
| {{ : | {{ : | ||
| I also still offer [[https:// | I also still offer [[https:// | ||
| that provides some results and animation, but no Fortran program. | that provides some results and animation, but no Fortran program. | ||
| - | The coding style evolved from a program passed down to Prof. Fiedler by his dissertation adviser, in the late 1970s. Notable ancient features are the Fortran 77 style, for the '' | + | The coding style evolved from a program passed down to Prof. Fiedler by his dissertation adviser, in the late 1970s. Notable ancient features are the Fortran 77 style, for the '' |
| + | see the Fortran code at [[https:// | ||
| === FORTRAN === | === FORTRAN === | ||
| Line 75: | Line 78: | ||
| The program '' | The program '' | ||
| + | |||
| + | Make your own browser with [[https:// | ||
| + | < | ||
| + | f90tohtml tornadobox.f2h | ||
| + | </ | ||
| === An example case === | === An example case === | ||
| Line 218: | Line 226: | ||
| enter ' | enter ' | ||
| ' | ' | ||
| - | </ | ||
| $ ln -s bF10E015000.sav restart.sav | $ ln -s bF10E015000.sav restart.sav | ||
| $ makefiletimes.py 0 202 .05 > filetimes.txt | $ makefiletimes.py 0 202 .05 > filetimes.txt | ||
| Line 301: | Line 308: | ||
| < | < | ||
| $ mkdir pngs | $ mkdir pngs | ||
| + | $ pkl2png.py -hg -w -c .25 bF10D0 pngs | ||
| </ | </ | ||
| - | + | That required 10 minutes on my computer to produce 301 '' | |
| - | + | ||
| < | < | ||
| + | $ cd pngs | ||
| + | $ eog bF10D015000.png | ||
| + | </ | ||
| + | The '' | ||
| + | < | ||
| + | $ cd ~/boxout | ||
| + | $ maketitle.py pngs/ | ||
| $ pip install moviepy | $ pip install moviepy | ||
| + | $ png2mp4.py -t title.png pngs/bF10D | ||
| + | $ mpv video.mp4 | ||
| </ | </ | ||
| + | **FINISHED!** | ||
| + | |||
tornadobox.1742410255.txt.gz · Last modified: by admin
