FiniteVolumeTransportPhenomena / PyFVTool

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

1D cylindrical heat transfer examples #8

Closed mhvwerts closed 1 year ago

mhvwerts commented 1 year ago

Here are three simple heat transfer systems modeled with PyFVTool and compared to the existing analytic solutions. I have no access to my usual computer, so uploading this directly to GitHub.

Examples in 1D cylindrical geometry (Jupyter)

Heat transfer examples (diffusion, with source term)

These notebooks are generally analytic vs. FVM solution, so may be used for testing and benchmarking purposes. They also encode the correct formulae of the analytic solutions, which is useful as these are sometimes reported in literature with typing errors or ambiguities in the naming and units of the variables

The Jupyter Notebook ipynb format is not very convenient to maintain and update in a git context. However, notebooks are convenient for initial documentation and demonstration purposes and for now, I will put these examples in notebooks. Other formats can be applied later on.

Cosmetic changes to source.py

simulkade commented 1 year ago

Great work @mhvwerts ! Co-pilot makes me lazy so sometimes I don't pay attention to details. I have to re-train my eyes to catch these details.