Analytical comparisons

This section presents comparisons between analytical solutions and modelled solutions using gprMax.

Hertzian dipole in free space

hertzian_dipole_fs.in

This example is of a Hertzian dipole, i.e. an additive source (electric current density), in free space.

1
2
3
4
5
6
7
8
#title: Hertzian dipole in free-space
#domain: 0.100 0.100 0.100
#dx_dy_dz: 0.001 0.001 0.001
#time_window: 3e-9

#waveform: gaussiandot 1 1e9 mypulse
#hertzian_dipole: z 0.050 0.050 0.050 mypulse
#rx: 0.070 0.070 0.070 output Ex Ey Ez Hx Hy Hz

The function hertzian_dipole_fs, which can be found in the analytical solutions module in the tests sub-package, computes the analytical solution.

Results

Fig. 27 shows the time history of the electric and magnetic field components of the modelled and analytical solutions. The responses completely overlap one another due to their similarity. Therefore, Fig. 28 shows the percentage differences between the modelled and analytical solutions.

_images/hertzian_dipole_fs_vs_analytical.png

Fig. 27 Time history of the electric and magnetic field components of the modelled and analytical solutions.

_images/hertzian_dipole_fs_vs_analytical_diffs.png

Fig. 28 Percentage differences between the modelled and analytical solutions.

The match between the analytical and numerically modelled solutions is excellent. The maximum difference is approximately 1%, which is observed in the Ez field component (the same direction as the Hertzian dipole source). The other electric field components exhibit maximum differences of approximately 0.5%, and the magnetic field components 0.25%.