Open jlperla opened 5 years ago
Maybe install with
conda install -c conda-forge ffmpeg
@chiyahn
Here is the approach to animate: First, do that conda
operation to install ffmpeg
Then,
using Plots
x = 1:5
show_every = 5
@gif for i=1:100
plot(x, x .+ i/100 )
end every show_every
Basically, create that for loop to go through the solution to the differential equation calling plot, and the @gif
will animate it.
See #202
f(t,0) = 0
at the bottom, the reflecting barrier at the topt = [0, t_max]
wheret_max = -1/mu
if mu < 0or some
T` otherwise. (Resolved in 3d81888 by @chiyahn )S(t)
calculation of the flux for the grid oft
. See the formula given in the notebook, and keep in mind that this is a separate function/plot than the main animation. (Resolved in 69b45c1 by @chiyahn)S(t)
to use the0
node and the forward different for the derivative. Using the boundary extrapolation, which will be BC specific. (Resolved by 76f0185)bc
version to manually fudging the extension ones and not using theextension
. Come up with the boundary extrapolation function for each example. (Resolved in f90496e by @chiyahn )Time dependent threshold