Documentation | Workflows | Code coverage | Quality assurance |
---|---|---|---|
This package implements energy-conserving solvers for the incompressible Navier-Stokes equations on a staggered Cartesian grid. It is based on the Matlab package INS2D/INS3D.
To install IncompressibleNavierStokes, open up a Julia-REPL, type ]
to get
into Pkg-mode, and type:
add IncompressibleNavierStokes
which will install the package and all dependencies to your local environment.
Note that IncompressibleNavierStokes requires Julia version 1.7
or above.
See the
Documentation
for examples of some typical workflows. More examples can be found in the
examples
directory.
The velocity and pressure fields may be visualized in a live session using
Makie. Alternatively,
ParaView may be used, after exporting individual
snapshot files using the save_vtk
function, or the full time series using the
VTKWriter
processor.
![]() |
![]() |
![]() |
![]() |
---|---|---|---|
Actuator (2D) | Backward Facing Step (2D) | Decaying Turbulence (2D) | Taylor-Green Vortex (2D) |
![]() |
![]() |
![]() |
![]() |
Actuator (3D) | Backward Facing Step (3D) | Decaying Turbulence (3D) | Taylor-Green Vortex (3D) |