Errata: There is a small bug in the spatial discretization at ~12:30. When using the FFT, we should not have a discretization point on both ends of the boundary, since this introduces unnecessary noise. The file on GitHub has been fixed: github.com/Ceyron/machine-learning-and-simulation/blob/main/english/simulation_scripts/taylor_green_turbulence.jl Thanks to Paulo for pointing this out. :)
Good question, I do not know for sure. Maybe you find an answer in this material: doc.nektar.info/tutorials/latest/incns/taylor-green-vortex/incns-taylor-green-vortex.pdf
Absolutely 👍. The implementation here is more verbose to be educational. Feel free to open a Pull Request over on the GitHub repo of the channel: github.com/Ceyron/machine-learning-and-simulation
Hi, thanks for the comment :) I think this is one of the beautiful aspects of the Julia language, that you can express rather complicated ideas in a high-level fashion while still maintaining impressive computational speeds. Certainly, I also did not come up with the code in 50 minutes :D.
Errata: There is a small bug in the spatial discretization at ~12:30. When using the FFT, we should not have a discretization point on both ends of the boundary, since this introduces unnecessary noise. The file on GitHub has been fixed: github.com/Ceyron/machine-learning-and-simulation/blob/main/english/simulation_scripts/taylor_green_turbulence.jl
Thanks to Paulo for pointing this out. :)
Best ML, CFD & simulation channel on RUclips.
That's a huge compliment. Thanks so much :)
Thanks for the implementation, that motivates me to get into sub-grid scale modelling :)
Nice :). Thanks a lot for the kind comment. Good luck on your learning journey.
Here I am drafting a VM design for all of this. Julia is insane.
Nice :). I'm glad you are also equally fascinated by the power of Julia.
Amazing work
Thanks a lot 😊
A quick question:
At the end, the flow will be isotropic homogeneous turbulence, right?
Good question,
I do not know for sure. Maybe you find an answer in this material: doc.nektar.info/tutorials/latest/incns/taylor-green-vortex/incns-taylor-green-vortex.pdf
The craziest thing is that a few macros could make this even more compact and sophisticated.
Absolutely 👍. The implementation here is more verbose to be educational. Feel free to open a Pull Request over on the GitHub repo of the channel: github.com/Ceyron/machine-learning-and-simulation
This would take me weeks to code...
Hi,
thanks for the comment :)
I think this is one of the beautiful aspects of the Julia language, that you can express rather complicated ideas in a high-level fashion while still maintaining impressive computational speeds.
Certainly, I also did not come up with the code in 50 minutes :D.