tools for numerical simulation of conductive and convective heat transfer
This readme file assumes user already installed the IJulia package and got the jupyter notebook running.
To install this package, open julia REPL, and then run:
using Pkg
Pkg.add(url="https://github.com/liyuxuan48/ComputationalHeatTransfer.jl.git")
You may also need to install some other packages to make the notebook run smoothly, such as:
Pkg.add("Plots") # plotting functions
Pkg.add("Interact") # interactive features
Pkg.add("XLSX") # reading the experiment file in .xlsx format
Pkg.add("ProgressMeter") # having a progressbar when running the simulation
After installing the packages, we need to run
Pkg.add("Conda")
using Conda
Conda.pip_interop(true)
Conda.pip("install", "webio_jupyter_extension") # link the jupyter notebook with the Interact package
this will make the interactive features for Interact package in the postprocessing notebook avaliable.
After installing the packages, we should perform one more step to migrate the example notebooks (hidden deeply among the julia source code files) to your working directory. I assume you already created a new directory.
using ComputationalHeatTransfer
cd("/path/of/working/directory") # navigate to your working directory
setup_examples(pwd())
This will create three folders in your working directory: examples, expdata, and numedata. Then you can enjoy the notebooks in examples. To open jupyter notebook, you can run:
using IJulia
notebook()
Because this package is still work in progress, I may make small modifications and fix some bugs. So I would suggest you to update the package frequently (before loading the package on your first run everyday:) )
using Pkg
Pkg.update("ComputationalHeatTransfer")
And then, open your jupyter notebook as usual
using IJulia
notebook()