Pseudo-spectral simulation of fully-periodic two-dimensional incompressible Navier-Stokes flows in Julia
Simulation of homogeneous, incompressible Newtonian viscous flows in a fully-periodic two-dimensional domain under a given steady volume force, via FFTW.jl and DifferentialEquations.jl.
There are two workflows ready to be used, one that rebuilds the whole site during the github action (.github/Deploy_build.yml
) and the other that simply uses the site built locally (.github/Deploy_nobuild.yml
):
-
If you want the github workflow to (re)build the whole site when deploying it, you should copy
.github/Deploy_build.yml
to.github/workflows/Deploy.yml
, so it runs when new commits are pushed tomain
. It is also recommended to have__site/
included in the.gitignore
file, so it is not duplicated in the repo. -
If, however, you don't want to rebuild the site and simply want to use the site that was built locally, then you should copy
.github/Deploy_nobuild.yml
to.github/workflows/Deploy.yml
, instead. This action simply moves the contents of__site/
in the main branch to the root of thegh-pages
branch, to serve the website. In this case, you should not have__site/
included in the.gitignore
file. Finally, you can view and edit your site withserve
, but, when you think it is ready, you should build the site withoptimize
(e.g.optimize(minify=false, prerender=false)
), so that the properprepath
is included in the generated html files.