Solving the eikonal equation by the FSM method in Julia language
- Authors: Stepa C.A.1, Fedorov A.V.1, Gevorkyan M.N.1, Korolkova A.V.1, Kulyabov D.S.1,2
-
Affiliations:
- RUDN University
- Joint Institute for Nuclear Research
- Issue: Vol 32, No 1 (2024)
- Pages: 48-60
- Section: Articles
- URL: https://journals.rudn.ru/miph/article/view/40099
- DOI: https://doi.org/10.22363/2658-4670-2024-32-1-48-60
- EDN: https://elibrary.ru/HEYUGO
Cite item
Full Text
Abstract
There are two main approaches to the numerical solution of the eikonal equation: reducing it to asystemofODES(methodofcharacteristics)andconstructingspecializedmethodsforthenumericalsolutionof this equation in the form of a partial differential equation. The latter approach includes the FSM (Fast sweeping method) method. It is reasonable to assume that a specialized method should have greater versatility. The purpose of this work is to evaluate the applicability of the FSM method for constructing beams and fronts. The implementation of the FSM method in the Eikonal library of the Julia programming language was used. The method was used for numerical simulation of spherical lenses by Maxwell, Luneburg and Eaton. These lenses were chosen because their optical properties have been well studied. A special case of flat lenses was chosen as the easiest to visualize and interpret the results. The results of the calculations are presented in the form of images of fronts and rays for each of the lenses. From the analysis of the obtained images, it is concluded that the FSM method is well suited for constructing electromagnetic wave fronts. An attempt to visualize ray trajectories based on the results of his work encounters a number of difficulties and in some cases gives an incorrect visual picture.
Full Text
1. Introduction In this article, we use the FSM (Fast Sweeping Method) method to solve the Eikonal equation using the example of three classical lenses: Luneburg, Maxwell and Eaton. These examples illustrate the limitations of the FSM method-it does a good job of calculating wave fronts, but is poorly applicable for calculating the trajectory of rays. To model lenses, we use the Julia language and the Eikonal library, which implements the FSM method. The simulation results are visualized using the Mackie.jl library. Schematic illustrations are created using a separate vector graphics language, Asymptote. 1.1. Structure of the article The paper consists of an introduction, a theoretical part, a description of the FSM (Fast sweeping method) [1-5], a description of implementation this method, a visualisation and discussion of the results. In the theoretical part, the eikonal equation in Cartesian coordinate system is given, and the spherical lenses used for numerical experiments are schematically described. In the next part, the numerical scheme of the FSM method with detailed formulas for the twodimensional case is described, and its advantages and disadvantages compared to the feature method are briefly analyzed. Below is a brief description of the Eikonal library [6] for the Julia language [7] and a description of the program we have written that implements a numerical experiment. In the final part, images of fronts and rays are presented, the results are analysed and conclusions are made about the advantages and disadvantages of the FSM method concerning the visualisation of the calculations. © Stepa C. A., Fedorov A. V., Gevorkyan M. N., Korolkova A. V., Kulyabov D. S., 2024 This work is licensed under a Creative Commons Attribution 4.0 International License https://creativecommons.org/licenses/by-nc/4.0/legalcode 1.2. Designations and agreements For the purposes of this paper, we have followed standard notation, centred on the classic monograph [8]. All vector quantities are in bold, e.g., the position of a pointAbout the authors
Christina A. Stepa
RUDN University
Email: 1042210111@pfur.ru
ORCID iD: 0000-0002-4092-4326
ResearcherId: GLS-1445-2022
PhD student of Probability Theory and Cyber Security
6 Miklukho-Maklaya St, Moscow, 117198, Russian FederationArseny V. Fedorov
RUDN University
Email: 1042210107@rudn.ru
ORCID iD: 0000-0002-3036-0117
Scopus Author ID: 57219092618
ResearcherId: AGY-9849-2022
PhD student of Probability Theory and Cyber Security
6 Miklukho-Maklaya St, Moscow, 117198, Russian FederationMigran N. Gevorkyan
RUDN University
Email: gevorkyan-mn@rudn.ru
ORCID iD: 0000-0002-4834-4895
Scopus Author ID: 57190004380
ResearcherId: E-9214-2016
Candidate of Sciences in Physics and Mathematics, Associate Professor of Department of Probability Theory and Cyber Security
6 Miklukho-Maklaya St, Moscow, 117198, Russian FederationAnna V. Korolkova
RUDN University
Email: korolkova-av@rudn.ru
ORCID iD: 0000-0001-7141-7610
Scopus Author ID: 36968057600
ResearcherId: I-3191-2013
Docent, Candidate of Sciences in Physics and Mathematics, Associate Professor of Department of Probability Theory and Cyber Security
6 Miklukho-Maklaya St, Moscow, 117198, Russian FederationDmitry S. Kulyabov
RUDN University; Joint Institute for Nuclear Research
Author for correspondence.
Email: kulyabov-ds@rudn.ru
ORCID iD: 0000-0002-0877-7063
Scopus Author ID: 35194130800
ResearcherId: I-3183-2013
Professor, Doctor of Sciences in Physics and Mathematics, Professor of the Department of Probability Theory and Cyber Security of Peoples’ Friendship University of Russia named after Patrice Lumumba (RUDN University); Senior Researcher of Laboratory of Information Technologies, Joint Institute for Nuclear Research
6 Miklukho-Maklaya St, Moscow, 117198, Russian Federation; 6 Joliot-Curie St, Dubna, 141980, Russian FederationReferences
- Zhao, H. A fast sweeping method for Eikonal equations. Mathematics of Computation 74, 603-627 doi: 10.1090/s0025-5718-04-01678-3 (May 2004).
- Gremaud, P. A. & Kuster, C. M. Computational Study of Fast Methods for the Eikonal Equation. SIAM Journal on Scientific Computing 27, 1803-1816. doi: 10.1137/040605655 (Jan. 2006).
- Jeong, W. & Whitaker, R. A fast eikonal equation solver for parallel systems. SIAM conference 84112, 1-4 (2007).
- Kulyabov, D. S., Gevorkyan, M. N. & Korolkova, A. V. Software Implementation of the Eikonal Equation in Proceedings of the Selected Papers of the 8th International Conference ”Information and Telecommunication Technologies and Mathematical Modeling of High-Tech Systems” (ITTMM-2018), Moscow, Russia, April 16, 2018 (eds Kulyabov, D. S., Samouylov, K. E. & Sevastianov, L. A.) 2177 (Moscow, Apr. 2018), 25-32.
- Kulyabov, D. S., Korolkova, A. V., Velieva, T. R. & Gevorkyan, M. N. Numerical analysis of eikonal equation in Saratov Fall Meeting 2018: Laser Physics, Photonic Technologies, and Molecular Modeling (ed Derbov, V. L.) 11066 (SPIE, Saratov, June 2019), 56. doi: 10.1117/12.2525142. arXiv: 1906.09467.
- Févotte, F. Fast Sweeping and Fast Marching methods for the solution of eikonal equations version 0.2.0. https://github.com/triscale-innov/Eikonal.jl (2023).
- Lauwens, B. & Downey, A. Think Julia How to Think Like a Computer Scientist. 229 pp. (O’Reilly Media, Inc., 2019).
- Born, M. & Wolf, E. Principles of Optics 7th. 952 pp. (Cambridge University Press, 1999).
- Fedorov, A. V., Stepa, C. A., Korolkova, A. V., Gevorkyan, M. N. & Kulyabov, D. S. Methodological derivation of the eikonal equation. Discrete and Continuous Models and Applied Computational Science 31, 399-418. doi: 10.22363/2658-4670-2023-31-4-399-418 (Dec. 2023).
- Ivanov, D. I., Ivanov, I. E. & Kryukov, I. A. Hamilton-Jacobi equation-based algorithms for approximate solutions to certain problems in applied geometry. Computational Mathematics and Mathematical Physics 45, 1297-1310 (8 2005).
- Kabanikhin, S. I. & Krivorotko, O. I. Numerical solution eikonal equation. Siberian Electronic Mathematical Reports 10, 28-34 (2013).
- Fonseca, N. J. G., Tyc, T. & Quevedo-Teruel, O. A solution to the complement of the generalized Luneburg lens problem. Communications Physics 4. doi: 10.1038/s42005-021-00774-2 (2021).
- Abbasi, M. A. B. & Fusco, V. F. Maxwell Fisheye Lens Based Retrodirective Array. Scientific Reports 9. doi: 10.1038/s41598-019-52779-1 (Nov. 2019).
- Zeng, Y. & Werner, D. H. Two-dimensional inside-out Eaton Lens. Design technique and TMpolarized wave properties. Optical Express 20, 2335-2345. doi: 10.1364/OE.20.002335 (Jan. 2012).
- Gevorkyan, M. N., Kulyabov, D. S. & Sevastyanov, L. A. Review of Julia programming language for scientific computing in The 6th International Conference ”Distributed Computing and Gridtechnologies in Science and Education” (2014), 27.
- Phillips, L. Practical Julia. A Hands-On Introduction for Scientific Minds 528 pp. (No Starch Press, Oct. 31, 2023).