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
Changed the names of the arguments of the SourceTerm functions, so that they are consistent with the general PDE definition from the documentation (README)
Tried (in a clumsy way) to further clarify the docstrings
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