Skip to content

Commit f6b6203

Browse files
authored
Merge pull request #5 from ShaunD137/laser_focusing_fix
fix laser focusing equation
2 parents 378e259 + 93e9a60 commit f6b6203

2 files changed

Lines changed: 40 additions & 32 deletions

File tree

-9.03 KB
Loading

content/quickstart/basic_examples/laser.md

Lines changed: 40 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,14 @@ distance from the $x\_{min}$ boundary to the focal point.
287287

288288
```perl
289289
begin:control
290-
nx = 2400
291-
ny = 1200
292-
t_end = 100e-15
293-
x_min = 0
294-
x_max = 20e-6
295-
y_min = -5e-6
296-
y_max = 5e-6
297-
stdout_frequency = 100
290+
t_end = 70e-15
291+
nx = 1000
292+
ny = 500
293+
x_min = -5e-6
294+
x_max = 15e-6
295+
y_min = -5e-6
296+
y_max = 5e-6
297+
stdout_frequency = 100 # Print ETA
298298
end:control
299299

300300
begin:boundaries
@@ -305,44 +305,52 @@ begin:boundaries
305305
end:boundaries
306306

307307
begin:constant
308-
I_fwhm = 2.0e-6 # FWHM of laser intensity
309-
I_peak_Wcm2 = 1.0e15 # 0.5 * eps0 * c * E_peak^2
310-
las_lambda = 1.0e-6 # Laser wavelength
311-
foc_dist = 5.0e-6 # Boundary to focal point distance
308+
I_0_Wcm2 = 1e16 # Peak cycle-averaged intensity of the laser (Wcm^-2)
309+
I_0 = I_0_Wcm2 * 1e4
310+
lambda_L = 1e-6 # Wavelength of the laser
311+
r_fwhm_L = 2e-6 # Intensity fwhm in r
312312
end:constant
313313

314314
begin:constant
315-
las_k = 2.0 * pi / las_lambda
316-
w0 = I_fwhm / sqrt(2.0 * loge(2.0)) # Beam Waist
317-
ray_rang = pi * w0^2 / las_lambda # Rayleigh range
318-
w_boundary = w0 * sqrt(1.0 + (foc_dist/ray_rang)^2) # Waist on boundary
319-
I_boundary = I_peak_Wcm2 * (w0 / w_boundary)^2 # Intens. on boundary
320-
rad_curve = foc_dist * (1.0 + (ray_rang/foc_dist)^2) # Boundary curv. rad.
321-
gouy = atan(-foc_dist/rad_curve) # Boundary Gouy shift
315+
# Convert co-ordinates
316+
r = sqrt(y^2)# + z^2) # Change for 3D
317+
318+
# Focusing distance
319+
x_foc = -x_min # Boundary to focal point distance
320+
321+
# Phase
322+
k_L = 2 * pi / lambda_L # Laser wave number
323+
w_0 = r_fwhm_L / (sqrt(2*loge(2))) # Focused beam waist
324+
x_Rr = pi * w_0^2 / lambda_L # Rayleigh range
325+
r_c_bound = x_foc * (1 + (x_Rr/x_foc)^2) # Radius of curvature at the boundary
326+
psi_Gouy = atan(-x_foc/x_Rr) # Boundary phase Gouy shift
327+
328+
# Spatial profile
329+
w_bound = w_0 * sqrt(1 + (x_foc/x_Rr)^2)
330+
I_bound = I_0 * (w_0 / w_bound)^1 # Intensity on the boundary
331+
# In 3D I_boundary should be changed to: I_bound * (w_0 / w_bound)^2
322332
end:constant
323333

324334
begin:laser
325-
boundary = x_min
326-
intensity_w_cm2 = I_boundary
327-
lambda = las_lambda
328-
phase = las_k * y^2 / (2.0 * rad_curve) - gouy
329-
profile = gauss(y, 0, w_boundary)
335+
boundary = x_min
336+
intensity = I_bound
337+
lambda = lambda_L
338+
profile = gauss(r, 0, w_bound) # Spatial profile
339+
phase = k_L * (r^2 / (2 * r_c_bound)) - psi_Gouy # Phase
330340
end:laser
331341

332342
begin:output
333-
name = o1
334-
dt_snapshot = 10 * femto
335-
poynt_flux = always
343+
name = normal
344+
grid = always
345+
dt_snapshot = 10e-15
346+
poynt_flux = always
336347
end:output
337348
```
338349

339350
![The focussed beam](FocussedBeam.png)
340351

341-
In this example, EPOCH correctly reproduces the focal point position,
342-
laser wavelength, and radial FWHM at the focus - however, the peak
343-
intensity is only $0.88\times 10^{15} \text{ Wcm}^{-2}$. This
344-
intensity reduction from target is due to the tight focal spot,
345-
with $w_0\approx 1.7$ μm being close to $\lambda = 1.0$ μm.
352+
Note that the absolute maximum of the intensity is twice that of the
353+
peak cycle-averaged intensity because the laser is linearly polarised.
346354

347355
The deck is based on the laser test deck supplied with EPOCH, with a
348356
modified laser and longer runtime. Other classes of beam (Bessel etc)

0 commit comments

Comments
 (0)