Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionized electron momentum using Tomassini's model #1210

Open
wants to merge 101 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 95 commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
56158d6
new prefactor for calculation of width_p for momentum in linear
EyaDammak Jan 17, 2025
9725208
Update PlasmaParticleContainer.cpp
EyaDammak Jan 17, 2025
089343f
style
EyaDammak Jan 17, 2025
a3ff984
Update PlasmaParticleContainer.cpp
EyaDammak Jan 17, 2025
8436c64
Update PlasmaParticleContainer.H
EyaDammak Jan 17, 2025
b523447
style
EyaDammak Jan 17, 2025
c50df2d
style
EyaDammak Jan 17, 2025
37b39af
Update PlasmaParticleContainer.cpp
EyaDammak Jan 17, 2025
af196e8
Update laser_ionization.1Rank.json
EyaDammak Jan 19, 2025
78cd9de
Update PlasmaParticleContainerInit.cpp
EyaDammak Jan 20, 2025
c5746f9
update plasmaparticlecontainer
EyaDammak Jan 27, 2025
4f95f95
style
EyaDammak Jan 27, 2025
6c8d83b
Update laser_ionization.1Rank.json
EyaDammak Jan 27, 2025
8995bbe
minor changes
EyaDammak Jan 27, 2025
f17058e
Merge branch 'laser_ion_momentum_2' of https://github.com/EyaDammak/h…
EyaDammak Jan 27, 2025
e910943
Update PlasmaParticleContainer.cpp
EyaDammak Feb 4, 2025
0f0faba
Update PlasmaParticleContainer.cpp
EyaDammak Feb 5, 2025
8afebe5
Update PlasmaParticleContainer.cpp
EyaDammak Feb 5, 2025
2f795aa
style
EyaDammak Feb 5, 2025
0da47ba
expression of the standard deviation for linear polarization from Tom…
EyaDammak Feb 8, 2025
695e4aa
Update PlasmaParticleContainerInit.cpp
EyaDammak Feb 8, 2025
3641c3d
Update PlasmaParticleContainer.cpp
EyaDammak Feb 9, 2025
0e6145a
Update PlasmaParticleContainerInit.cpp
EyaDammak Feb 9, 2025
afeedc3
Update PlasmaParticleContainer.cpp
EyaDammak Feb 9, 2025
d34737c
Update PlasmaParticleContainerInit.cpp
EyaDammak Feb 9, 2025
035dc01
Merge branch 'development' into laser_ion_momentum_2
EyaDammak Feb 9, 2025
04d48ce
Update Hipace.cpp
EyaDammak Feb 9, 2025
07cf5bc
Update Hipace.cpp
EyaDammak Feb 9, 2025
a30b590
Update PlasmaParticleContainer.cpp
EyaDammak Feb 11, 2025
1b53df5
right formula
EyaDammak Feb 12, 2025
60f2893
Update Hipace.cpp
EyaDammak Feb 12, 2025
5ff2dc3
Update Hipace.cpp
EyaDammak Feb 12, 2025
ff4dc77
Update PlasmaParticleContainer.cpp
EyaDammak Feb 12, 2025
a314292
Merge branch 'Hi-PACE:development' into laser_ion_momentum_2
EyaDammak Feb 12, 2025
41e278e
Update inputs_laser_ionization
EyaDammak Feb 12, 2025
eaa7ce3
Update laser_ionization.1Rank.json
EyaDammak Feb 12, 2025
2db08eb
Update analysis_laser_ionization.py
EyaDammak Feb 13, 2025
65fd97e
Update laser_ionization.1Rank.sh
EyaDammak Feb 13, 2025
3558ac8
Update inputs_laser_ionization
EyaDammak Feb 13, 2025
0479069
Update analysis_laser_ionization.py
EyaDammak Feb 13, 2025
97f0914
Update analysis_laser_ionization.py
EyaDammak Feb 13, 2025
9fac7c9
Update inputs_laser_ionization
EyaDammak Feb 13, 2025
8a7173b
Update analysis_laser_ionization.py
EyaDammak Feb 13, 2025
073597f
Update analysis_laser_ionization.py
EyaDammak Feb 13, 2025
d118da2
Update analysis_laser_ionization.py
EyaDammak Feb 13, 2025
081931a
Update inputs_laser_ionization
EyaDammak Feb 13, 2025
cf79775
Update analysis_laser_ionization.py
EyaDammak Feb 13, 2025
51140eb
Update analysis_laser_ionization.py
EyaDammak Feb 13, 2025
a03f3f8
style
EyaDammak Feb 13, 2025
1657d82
style
EyaDammak Feb 13, 2025
93dd7b1
Update laser_ionization.1Rank.sh
EyaDammak Feb 13, 2025
5d0a95c
Update laser_ionization.1Rank.json
EyaDammak Feb 13, 2025
cb755ac
Update PlasmaParticleContainer.cpp
EyaDammak Feb 13, 2025
e7745ee
Update PlasmaParticleContainer.cpp
EyaDammak Feb 13, 2025
5d3c3e6
Update PlasmaParticleContainerInit.cpp
EyaDammak Feb 13, 2025
9847e4a
Update inputs_laser_ionization
EyaDammak Feb 13, 2025
122e421
Merge branch 'Hi-PACE:development' into laser_ion_momentum_2
EyaDammak Feb 13, 2025
c9936ec
Update laser_ionization.1Rank.json
EyaDammak Feb 13, 2025
748f0af
Update inputs_laser_ionization
EyaDammak Feb 13, 2025
366b28f
Update laser_ionization.1Rank.json
EyaDammak Feb 13, 2025
78504df
Update analysis_laser_ionization.py
EyaDammak Feb 14, 2025
38ab9c6
Update analysis_laser_ionization.py
EyaDammak Feb 14, 2025
bc3c882
Update laser_ionization.1Rank.sh
EyaDammak Feb 14, 2025
de890ec
Update inputs_laser_ionization
EyaDammak Feb 14, 2025
fae73dd
Update src/particles/plasma/PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
220f499
Update inputs_laser_ionization
EyaDammak Feb 14, 2025
7423b34
Update laser_ionization.1Rank.sh
EyaDammak Feb 14, 2025
f38a7f4
Update src/particles/plasma/PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
9c1fbdd
Update PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
d6e5870
Update src/particles/plasma/PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
faabed6
Update src/particles/plasma/PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
7d0d77c
Update src/particles/plasma/PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
4778663
Update src/particles/plasma/PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
7862de9
Update PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
d925c3b
Update PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
aa75022
Update PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
2eed845
style
EyaDammak Feb 14, 2025
cb0cb48
Update PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
77d6ade
Update laser_ionization.1Rank.sh
EyaDammak Feb 14, 2025
b33b323
Update laser_ionization.1Rank.sh
EyaDammak Feb 14, 2025
1c7356e
Update analysis_laser_ionization.py
EyaDammak Feb 14, 2025
e07856d
Update laser_ionization.1Rank.sh
EyaDammak Feb 14, 2025
b6cd3a2
Update analysis_laser_ionization.py
EyaDammak Feb 14, 2025
0e5ed14
Update laser_ionization.1Rank.json
EyaDammak Feb 14, 2025
220b8f9
Update PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
2422be9
Update src/particles/plasma/PlasmaParticleContainer.cpp
EyaDammak Feb 14, 2025
a787ee7
Update examples/laser_ionization/analysis_laser_ionization.py
MaxThevenet Feb 14, 2025
c45ac7c
Update examples/laser_ionization/analysis_laser_ionization.py
MaxThevenet Feb 14, 2025
1e3df66
Merge branch 'Hi-PACE:development' into laser_ion_momentum_2
EyaDammak Feb 18, 2025
f5aa808
Update PlasmaParticleContainer.cpp
EyaDammak Feb 18, 2025
29aeab9
Update PlasmaParticleContainerInit.cpp
EyaDammak Feb 18, 2025
37c6e4c
Update laser_ionization.1Rank.json
EyaDammak Feb 18, 2025
0241118
Update PlasmaParticleContainer.cpp
EyaDammak Feb 18, 2025
39643a2
test CI
AlexanderSinn Feb 19, 2025
510186f
undo test
AlexanderSinn Feb 19, 2025
65ba36e
Update PlasmaParticleContainer.cpp
EyaDammak Feb 19, 2025
f75a93b
Update PlasmaParticleContainerInit.cpp
EyaDammak Feb 19, 2025
7c29406
Update PlasmaParticleContainer.cpp
EyaDammak Feb 19, 2025
a301f7a
Update laser_ionization.1Rank.json
EyaDammak Feb 19, 2025
0092d65
Update PlasmaParticleContainer.cpp
EyaDammak Feb 19, 2025
a44f2a6
Update PlasmaParticleContainer.cpp
EyaDammak Feb 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/particles/plasma/PlasmaParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ LaserIonization (const int islice,

// This kernel supports multiple deposition orders (0, 1, 2, 3) at compile time.
// It calculates the momentum of ionized electrons based on equations (B8) and (B9)
// from the Massimo (2020) article and equation (14) from the C. Schroeder (2014) article.
// from the Massimo (2020) article and equation (12) from the P. Tomassini (2021) article.
// Additionally, it computes the energy of emitted electrons and assigns their properties
// (momentum, position, etc.) to newly created electrons in the plasma container.
amrex::AnyCTO(
Expand Down Expand Up @@ -675,8 +675,8 @@ LaserIonization (const int islice,
Ep *= E0;
amrex::Real delta = std::sqrt(Ep) * laser_dp_prefactor[ion_lev_loc];
amrex::Real delta2 = delta * delta;
amrex::Real width_p = amrex::abs(A) * delta * (1._rt - (3._rt/4._rt) * delta2
- (3._rt/2._rt) * delta2 + laser_dp_second_prefactor[ion_lev_loc] * delta2);
amrex::Real width_p = amrex::abs(A) * delta * (1._rt - (7._rt/4._rt) * delta2
+ laser_dp_second_prefactor[ion_lev_loc] * delta2);
amrex::Real p_pol = amrex::RandomNormal(0.0, width_p, engine);
ux = p_pol; // linear polarization is assumed along x.
uz = (amrex::abs(A * A) * 0.25_rt + p_pol * p_pol * 0.5_rt);
Expand Down
2 changes: 1 addition & 1 deletion src/particles/plasma/PlasmaParticleContainerInit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ InitIonizationModule (const amrex::Geometry& geom, const amrex::Real background_
h_adk_exp_prefactor[i] = -2./3. * std::pow( Uion/UH,3./2.) * Ea;
h_laser_adk_prefactor[i] = (3./MathConst::pi) * std::pow(Uion/UH, -3./2.) / Ea;
h_laser_dp_prefactor[i] = std::sqrt(3./2./Ea) * std::pow(UH/Uion, 3./4.);
h_laser_dp_second_prefactor[i] = 2 * ion_atomic_number * std::sqrt(UH/Uion) - 1./2.;
h_laser_dp_second_prefactor[i] = ion_atomic_number * std::sqrt(UH/Uion) - 1./2.;
}

amrex::Gpu::copy(amrex::Gpu::hostToDevice,
Expand Down
18 changes: 9 additions & 9 deletions tests/checksum/benchmarks_json/laser_ionization.1Rank.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"lev=0": {
"Bx": 13.149192792269,
"By": 9.6319466943698,
"Bz": 2214.7586533665,
"Bx": 12.895401136926,
"By": 9.7408143220707,
"Bz": 2091.4259740328,
"ExmBy": 0.0,
"EypBx": 0.0,
"Ez": 779215198153.58,
"Ez": 735839981397.02,
"Psi": 0.0,
"Sx": 1114892448780.4,
"Sy": 1516523075637.6,
"Sx": 1120131620270.7,
"Sy": 1484350002437.1,
"aabs": 0.46877495720552,
"chi": 265993671876340.0,
"jx": 704455285849490.0,
"chi": 265993671878070.0,
"jx": 665650594373930.0,
"jx_beam": 0.0,
"jy": 0.0,
"jy_beam": 0.0,
"jz_beam": 0.0,
"laserEnvelope": 74.898701643489,
"rho_elec": 1202832873.9999,
"rho_elec": 1202832466.3739,
"rho_ion": 1202806069.8845,
"rhomjz": 0.0
}
Expand Down
Loading