https://github.com/rmsrosa/2dnsepervortjl
Pseudo-spectral simulation of fully-periodic two-dimensional incompressible Navier-Stokes flows in Julia, via FFTW.jl and DifferentialEquations.jl
https://github.com/rmsrosa/2dnsepervortjl
julia-language navier-stokes-equations nse pseudo-spectral
Last synced: about 1 month ago
JSON representation
Pseudo-spectral simulation of fully-periodic two-dimensional incompressible Navier-Stokes flows in Julia, via FFTW.jl and DifferentialEquations.jl
- Host: GitHub
- URL: https://github.com/rmsrosa/2dnsepervortjl
- Owner: rmsrosa
- License: mit
- Created: 2022-03-11T00:23:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-24T22:23:01.000Z (about 3 years ago)
- Last Synced: 2025-01-21T04:41:23.674Z (3 months ago)
- Topics: julia-language, navier-stokes-equations, nse, pseudo-spectral
- Language: HTML
- Homepage: https://rmsrosa.github.io/2dnsepervortjl/
- Size: 7.52 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pseudo-spectral simulation of fully-periodic two-dimensional incompressible Navier-Stokes flows in Julia
[docs-dev-img]: https://img.shields.io/badge/docs-dev-green.svg
[docs-dev-url]: https://rmsrosa.github.io/2dnsepervortjl/[![][docs-dev-img]][docs-dev-url] [](LICENSE)  
Simulation of homogeneous, incompressible Newtonian viscous flows in a fully-periodic two-dimensional domain under a given steady volume force, via [FFTW.jl](https://github.com/JuliaMath/FFTW.jl) and [DifferentialEquations.jl](https://github.com/SciML/DifferentialEquations.jl).
## Choice of github actions
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 to `main`. 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 the `gh-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 with `serve`, but, when you think it is ready, you should build the site with `optimize` (e.g. `optimize(minify=false, prerender=false)`), so that the proper `prepath` is included in the generated html files.