I need your help, because I lost my project, can you help me to restore it please ? I need to upload my project. Alaa YAZBEK

- Download this file.
- Unzip it.
- log in https://jupyterhub.u-ga.fr/hub/login
- Upload all the files.
- Open the notebook and start the exam.

**Pierre Augier**
(2f7d7e0b)
*
at
13 Jan 10:01
*

- Download this file.
- Unzip it.
- log in https://jupyterhub.u-ga.fr/hub/login
- Upload all the files.
- Open the notebook and start the exam.

Hello,

I have completed the code of my mini-project of scientific computing course, I developed a program that simplified Navier-Stokes equations by using Jupyter Notebooks with sympy library to develop the equations, and Widgets library (with checkbox and combobox) to make the user able to select different flow condition.

Now I want to represent my notebook in a Website by using Voila, but unfortunately when I convert my code I get in error that the program is not able to convert widgets checkbox and combobox (and other used widgets tools) to the website, as in the following picture.

You could use https://github.com/Textualize/textual

You can use https://ipywidgets.readthedocs.io for user input.

Also for Matplotlib, you can use https://github.com/matplotlib/ipympl. Put in a cell of your notebook:

`%matplotlib widget`

Then, you can also use Voilà (https://voila.readthedocs.io/en/latest) to convert your notebook in a web application.

You can use https://ipywidgets.readthedocs.io for user input.

Then, you can also use Voilà (https://voila.readthedocs.io/en/latest) to convert your notebook in a web application.

**Pierre Augier**
(2f7d7e0b)
*
at
24 Oct 11:12
*

Fix intro_pandas.md

**Pierre Augier**
(a57130d5)
*
at
24 Oct 10:26
*

Fix scientific_python/intro_pandas.md

**Pierre Augier**
(b2977f36)
*
at
24 Oct 10:02
*

Various improvements book/basics_python/020_basic_statements.md

Hello, Thank you for your advice.

I will divide my project into three parts:

1 - Simplify Navier-Stokes equations by eliminating some terms according to some considerations defined by the user.

2 - The user will be able to define some flow properties: density, viscosity, gravity ..etc. and the program will compute the required operation from the simplified Navier-Stokes equation, such as: Velocity profile or pressure gradient. This part may include some integration and boundary conditions.

3 - The last part is about flow simulation for simplified Navier-Stokes equations (surly in laminar case)

I will complete the first two parts as possible with keeping simplicity.

The last part depends on if there will be still available time.

Thank you, have a nice day, Mohamad Harrouk

**Pierre Augier**
(7d6989ee)
*
at
18 Oct 12:00
*

Add link towards the course on Machine learning

*
... and
1 more commit
*

Nice project! I would advice to use https://github.com/Textualize/textual for the user interface.

For the parameters, you could focus on simple fluidsim solvers.

You can create a conda environment with

```
mamba create -n env-project -y textual fluidsim \
ipython matplotlib ipympl ipykernel spyder-kernels \
"pyfftw=0.13.0=py39h51d1ae8_0"
```

Then you can get an object representing the parameters of a simulation with

```
from fluidsim.solvers.burgers1d.solver import Simul
params = Simul.create_default_params()
```

Then you can interact programmatically with the parameters. Try with ipython. There are many "hidden" methods that can be useful, like `params._print_as_code()`

for example.

You can program a Matplotlib based GUI, see

This project its about build a user-interface which can be select some optional object(ex, burgers equation & wave-1D equation). Each object has a specific input object that user can fill the input-blanks then run it. In progress ...

For symbolic computation you should use https://www.sympy.org.

You can have a look to the tutorial:

https://docs.sympy.org/latest/tutorials/intro-tutorial/index.html

I don't think you will be able to write the program to solve all the possible equations. You should focus on the manipulation of equations (and the representation of the result) and on the representation of the boundary and initial conditions.

You should start with a simple Jupyter notebook.

Bonjour,

The proposed mini project is related to free surface hydraulic and to study the case of minor bed river with steady/uniform flow. For a known flow discharge (Q m3/s) and known river shape, we can find the height of the flow (h (meter)) using the friction calculation formula-Manning-Strickler. This to be applied for a given river slope (S) and given manning Strickler coefficient (Ks) that is depends on the material (in our case, it is a natural bed). The idea is to calculate the height (h) by iteration to reach the appropriate (h) value. Additionally, we will plot a simple graph using Matplotlib to figure out the relation between flow rate and height of the flow.

Best Regards, Thank you, Ali Tehfe

My selected project is a lid-driven cavity flow problem which consists of a square cavity filled with fluid. At the top boundary, a tangential velocity is applied to drive the fluid flow in the cavity. The remaining three walls are defined as no-slip conditions; that is, the velocity is 0. This CFD problem is going to be solved by applying the Navier–Stokes equations in two dimensions. At the end, the magnitude of the velocity and the direction of the flow in the cavity will be plotted.