An optional sumbodule of G+Smo providing tools for solving incompressible flow problems.
| CMake flags | -DGISMO_OPTIONAL="<other submodules>;gsIncompressibleFlow" |
|---|---|
| License | |
| OS support | Linux, Windows, macOS |
| Developers/maintainers |
Similarly to other submodules, it is necessary to download G+Smo before downloading gsIncompressibleFlow:
git clone https://github.com/gismo/gismo.git
To get the gsIncompressibleFlow submodule, configure G+Smo with the option -DGISMO_OPTIONAL="<other submodules>;gsIncompressibleFlow" (in addition to any other CMake options):
cd gismo
mkdir build
cd build
cmake .. -DGISMO_OPTIONAL="<other submodules>;gsIncompressibleFlow"
This will trigger a download of gsIncompressibleFlow from GitHub.
Since optional submodules of G+Smo are independent .git repositories, you need to access them via their own repositories located in /path/to/gismo/optional/ to get different versions/branches or keep your copy of the submodule up-to-date. For example, to obtain the latest version of gsIncompressibleFlow, do
cd /path/to/gismo/optional/gsIncompressibleFlow
git pull
Once gsIncompressibleFlow is downloaded, it is compiled together with G+Smo:
cd /path/to/gismo/build
make
When the compilation is complete, you can find the compiled library in /path/to/gismo/build/lib and examples in /path/to/gismo/build/bin.
The usage and capabilities of the submodule are demonstrated by examples in /path/to/gismo/optional/gsIncompressibleFlow/examples. To display the usage information, do (for example):
cd /path/to/gismo/build/bin
./gsINSSolversExample -h
Laminar flow around a 2D blade profile (left), in a Francis turbine runner wheel (right).
For more information about individual classes, see the Doxygen pages.

