Ikonal equation integration -- source code request

Click For Summary

Discussion Overview

The discussion centers on the integration of the ikonal equation to compute ray paths, specifically in the context of high-frequency radio frequency propagation in the ionosphere. Participants are exploring the mathematical formulation and numerical implementation of ray tracing techniques.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Carlos requests source code for integrating the ikonal equation to compute ray paths, indicating he can compute the phase refractive index in a Cartesian system.
  • Jason asks for clarification on the physical situation being modeled, the specific computations desired, and the equations involved, suggesting that a detailed explanation would yield more useful responses.
  • Carlos explains he is modeling HF radio frequency propagation in the ionosphere, assuming no magnetic field and no neutral-electron collisions, and provides the expression for the phase refractive index.
  • Carlos notes discrepancies in results obtained from integrating the ray equation and applying Snell's relation, suspecting potential calculus mistakes or instabilities in his approach.
  • Jason points out that the vertical derivative of electron density in the ionosphere may introduce numerical issues due to discontinuities, suggesting that this could be a source of error in Carlos's results.
  • Jason proposes that Carlos could write his own ray tracing routine to avoid numerical issues by starting the differential equation solution just above the base of the ionosphere, but emphasizes the need for clarity on the equations being solved.

Areas of Agreement / Disagreement

Participants have not reached a consensus. There are differing views on the relevance of the ionosphere model and the potential sources of numerical instability in the ray tracing calculations.

Contextual Notes

Participants have not fully detailed the equations being solved, and there are unresolved aspects regarding the formulation of the problem and the numerical methods employed.

carlos-carlos
Messages
10
Reaction score
0
Hi.
I would like a source code to integrate the ikonal equation. I would like to compute the ray path. Of course I am able to compute the phase refractive index n(x,y). Cartesian system is preferred. Can anybody give me a suggestion?

Bye,

Carlos
 
Science news on Phys.org
Carlos,

What physical situation are you trying to model and what exactly do you want to compute? Based on that, what equations (write them out for us!) are you solving? I think you will get more useful replies if you actually explain what you are doing. I suspect it is not too difficult to write your own code to do the ray tracing, but it depends on the details of your problem.

Jason
 
Thank you for your reply. Actually I am integrating the ray equation for HF radio frequency propagating in the ionosphere. The ionosphere is supposed without magnetic field and without neutral-electron collisions. Phase refractive index is n=(1-X)^0.5 where X=wp^2/w^2 (wp is plasma frequency, w frequency of the radiowave). Simple model of ionosphere is assumed (just a parabola having maximum at 300 km). But this is not relevant at this stage.
I integrated the ray equation. Then I obtained the ray path miinimizing the optical path,and I obtained slightly different results. Then I applied the Snell relation, and I obtained again slightly different results. I suppose the problem is approached correctly, but there are calculus mistakes or instabilities. I would like to get a reliable code so I can compare the results. Regards.
 
carlos-carlos said:
Simple model of ionosphere is assumed (just a parabola having maximum at 300 km). But this is not relevant at this stage.

Actually, it could be very relevant. Your ray tracing equations should have a vertical derivative of the electron density in them. This derivative will be discontinuous at the bottom of your ionosphere. It is easy to have numerical issues associated with such a discontinuity. I would not be at all surprised if this is your problem. Using some off-the-shelf black-box ray-tracing code will not necessarily fix this, although if it had adaptive stepsizes it may be able to reduce the error.

Edit: Since you know your problem you can easily write your own ray tracing routine that starts solving your differential equation(s) just above the base of the ionosphere, thereby avoiding this issue. Perhaps you already are doing this?

Of course, we still do not know what equations you are solving so the issue could be your problem formulation. I can probably help you more, but cannot without sufficient details from you. Good luck.

Jason
 
Last edited:

Similar threads

Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K