demichie / IMEX_SfloW2D_v2

Shallow water variable density gas-particle flow
https://demichie.github.io/IMEX_SfloW2D_v2/
GNU General Public License v3.0
7 stars 1 forks source link

just tiny suggestions for new users #2

Open ebreard opened 2 years ago

ebreard commented 2 years ago

Hi,

After installing and running the code for the first time, I would say that new users may benefit from knowing that they need to compile the code to run before the make command (in Ubuntu for instance):

sudo apt install liblapack-dev libopenblas-dev

if they don't already have the following packages liblapack-dev libopenblas-dev

Second, maybe it's just me but using anaconda prompt, I could only run the .py plotting code by running: python plot_small.py example2D_0030.p_2d rather than the suggested ./plot_small.py example2D_0030.p_2d


For the EXAMPLE_BOX, perhaps you can add to the README that one needs to install ffmpeg using: conda install -c conda-forge ffmpeg to run: python plot_animated.py exampleBOX_400 100


For the EXAMPLE_BW2D to convert exports to paraview readable files, if you don't have the module install conda install -c conda-forge netcdf4

then the p2d_to_netCDF4.py is not present but is in another example: ./EXAMPLE_ENSEMBLE_ETNA/templatedir/p2d_to_netCDF4.py copy it to ./EXAMPLE_BW2D


Anyhow, I am looking forward to running all examples and getting to know this amazing code.

Eric

demichie commented 1 year ago

Thank you for the suggestions Eric. I will work on these things in the next weeks.

Mattia