FiniteVolumeTransportPhenomena / PyFVTool

Finite volume toolbox in Python
GNU Lesser General Public License v2.1
13 stars 4 forks source link

Cylindrical1D example notebook #5

Closed mhvwerts closed 1 year ago

mhvwerts commented 1 year ago

A slightly re-worked version of the Jupyter Notebook with the Cylindrical1D diffusion case.

I have updated the .gitignore and the .gitattributes such that the presence of the Notebook file does not interfere with the pure Python nature of the repository. The ipynb file format is not very convenient in a git context, but Jupyter notebooks are a rapid and convenient way for documenting this kind of examples, especially with GitHub directly rendering the notebook contents.

simulkade commented 1 year ago

The size of the ghost cell is always equal to the size of the first (or last) cell within the domain so averaging it directly is fine (with a weight factor of 0.5).