... | @@ -12,7 +12,7 @@ pip install -i https://test.pypi.org/simple --user migflow |
... | @@ -12,7 +12,7 @@ pip install -i https://test.pypi.org/simple --user migflow |
|
```
|
|
```
|
|
|
|
|
|
### Compilation from sources
|
|
### Compilation from sources
|
|
If you plan to develop migflow, you'll have to compile it from source (instead of installing the python package).
|
|
If you plan to develop migflow, you'll have to compile it from source (instead of installing the python package). if your operating system is Windows 10 version 2004 or higher, use the Windows Subsystem for Linux.
|
|
|
|
|
|
1. Go on the [gitlab](https://git.immc.ucl.ac.be/fluidparticles/migflow) page dedicated to the project to upload your ssh or https link
|
|
1. Go on the [gitlab](https://git.immc.ucl.ac.be/fluidparticles/migflow) page dedicated to the project to upload your ssh or https link
|
|
|
|
|
... | @@ -40,6 +40,17 @@ Meshes representing the computational domain, on which Navier-Stokes equations a |
... | @@ -40,6 +40,17 @@ Meshes representing the computational domain, on which Navier-Stokes equations a |
|
If you use a package manager, it is recommended to install GMSH from your package manager (e.g. `apt install gmsh` on ubuntu).
|
|
If you use a package manager, it is recommended to install GMSH from your package manager (e.g. `apt install gmsh` on ubuntu).
|
|
Otherwise, you can download it from [GMSH website](https://gmsh.info) or install it with pip (`pip install --user gmsh`). Either way, check that the gmsh executable is in your PATH variable.
|
|
Otherwise, you can download it from [GMSH website](https://gmsh.info) or install it with pip (`pip install --user gmsh`). Either way, check that the gmsh executable is in your PATH variable.
|
|
|
|
|
|
|
|
## ParaView
|
|
|
|
ParaView is an open-source, multi-platform data analysis and visualization application.
|
|
|
|
If you use a package manager, it is recommanded to install ParaView from your package manager (e.g. 'apt install paraview' on ubuntu).
|
|
|
|
Otherwise, you can download it from [ParaView website](https://www.paraview.org/download/).
|
|
|
|
|
|
|
|
### ParaView plug-in
|
|
|
|
In order to install MigFlow Plugins, you need to open ParaView. Access "Tools &rightarrow Manage Plugins...". On the opened window, click on "Load New Plugin" and select "MigFlow/paraview_utils/MigFlow.xml". You will need to tick the "Auto-load" box.
|
|
|
|
|
|
|
|
To use MigFlow macros developed for ParaView visualization, click on "Macros/Add new macro..." and select "MigFlow/paraview_utils/migflow_refresh.py". Be aware that the "show_problem.py" macro is only available if you have installed ParaView from sources or by 'apt install python3-paraview'.
|
|
|
|
|
|
|
|
|
|
## PETSc4py
|
|
## PETSc4py
|
|
MigFlow uses a linear solver to solve Navier-Stokes.
|
|
MigFlow uses a linear solver to solve Navier-Stokes.
|
|
The installation of PETSc4py is optional, if it is not available, migflow will use scipy instead. For large meshes, PETSc4py is faster.
|
|
The installation of PETSc4py is optional, if it is not available, migflow will use scipy instead. For large meshes, PETSc4py is faster.
|
... | | ... | |