Solution to Complex Grinsburg Landau Equation #24
Yash-Deodhar
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
For an old homework assignment I had to write C code to numerically solve the Complex Ginsburg Landau equation (please refer to https://github.com/Yash-Deodhar/Complex_Ginsburg_Landau for the exact question and C code) . The computational bottleneck for the algorithm is the multiple Fourier Transforms required at each timestep which accumulate to tens of thousands of times per run. This made the problem infeasible in python. However, by using the host APIs in nvmath you can now run the algorithm for large times.
The link to the python code is: https://github.com/Yash-Deodhar/Complex_Ginsburg_Landau/tree/main/nvmath
The above link also contains a file generate_plots.py which creates the .mp4 videos of the evolution of the argument and and absolute value of the solution to the equation.
Beta Was this translation helpful? Give feedback.
All reactions