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

Inputs and scripts for @johnomotani's poster at EFTC 2023 #147

Merged
merged 71 commits into from
Dec 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
bed1581
eftc2023-jto: wall-bc input files with recycling fraction of 0.5
johnomotani Aug 28, 2023
87a8b7c
eftc2023-jto: Inputs for series with recycling_fraction=0.5: attempt …
johnomotani Sep 2, 2023
71bd485
eftc2023-jto: update split3 attempt inputs
johnomotani Sep 2, 2023
568cc8a
eftc2023-jto: Decrease dt in split3 attempt
johnomotani Sep 2, 2023
d72df2e
eftc2023-jto: Use distributed MPI for split3 attempt
johnomotani Sep 2, 2023
dbcaa57
eftc2023-jto: Fix run_name settings in split3 scan
johnomotani Sep 2, 2023
681d503
eftc2023-jto: Update parameters to stop step5 of split3 attempt from …
johnomotani Sep 2, 2023
d66fbc2
eftc2023-jto: Set vpa_bc="zero" for wall-bc_recyclefraction0.5*
johnomotani Sep 6, 2023
dc2336f
eftc2023-jto: Increase vpa_L and decrease dt for split3 input
johnomotani Sep 6, 2023
9821290
eftc2023-jto: Input file with both local and volumetric recycling
johnomotani Sep 9, 2023
8fde874
eftc2023-jto: fix timestep in volumerecycle input file
johnomotani Sep 9, 2023
a1146ee
eftc2023-jto: Reduce dt again and reduce source strength for wall-bc_…
johnomotani Sep 9, 2023
1b6cfd5
eftc2023-jto: moment-kinetic variants on wall-bc_volumerecycle
johnomotani Sep 9, 2023
443e649
eftc2023-jto: Inputs with no neutrals
johnomotani Sep 10, 2023
af99dea
eftc2023-jto: recyclefraction0.5 case modified with higher CX rate
johnomotani Sep 10, 2023
bb9037b
eftc2023-jto: coulomb_collisions -> krook_collisions in all wall-bc i…
johnomotani Sep 11, 2023
2599bcf
eftc2023-jto: Reduce source_strength in wall-bc_recyclefraction0.5 cases
johnomotani Sep 11, 2023
2555559
eftc2023-jto: Script for making plots of wall-bc sims for EFTC poster
johnomotani Sep 14, 2023
0b22954
eftc2023-jto: Reduce source_strength in recyclefraction0.5_split* inputs
johnomotani Sep 14, 2023
5b28b67
eftc2023-jto: Increase vpa_L/vz_L to 30 in volumerecycle_split3 input
johnomotani Sep 14, 2023
29b502b
eftc2023-jto: update plot script
johnomotani Sep 14, 2023
0236a47
eftc2023-jto: Inputs for sound-wave scans in 'full-f' mode
johnomotani Aug 20, 2023
c082a33
eftc2023-jto: Start working on plots for JTO's EFTC poster
johnomotani Aug 21, 2023
2f269df
eftc2023-jto: Improvements to plots
johnomotani Aug 21, 2023
f3f8b29
eftc2023-jto: More improvements to plots
johnomotani Aug 21, 2023
3928ec3
eftc2023-jto: More plot improvements, read and plot simulation results
johnomotani Aug 22, 2023
79d0a20
eftc2023-jto: Some fixes and tidying up for plot_dispersion_relation.jl
johnomotani Aug 23, 2023
75762e5
eftc2023-jto: Trying to make the T-scan work for Th/Te>1
johnomotani Aug 23, 2023
7f9c1d3
eftc2023-jto: Improvements to density ratio scan inputs
johnomotani Aug 23, 2023
0eabf59
eftc2023-jto: Split temperature scan input into one file per T
johnomotani Aug 23, 2023
598c20f
eftc2023-jto: Run sim longer and increase vpa_L for T2 scan
johnomotani Aug 23, 2023
7e79573
eftc2023-jto: Reduce resolution for T4 scan back to values used for o…
johnomotani Aug 23, 2023
472b9f6
eftc2023-jto: Script to run post-processing for all scans
johnomotani Aug 23, 2023
70a2ad9
eftc2023-jto: Better fitting for post_process_parameter_scan()
johnomotani Aug 23, 2023
c79e701
eftc2023-jto: Increase length of runs for nratio scan
johnomotani Aug 24, 2023
8b7f303
eftc2023-jto: Add missed case in post_process_parameter_scan()
johnomotani Aug 24, 2023
c53f90a
eftc2023-jto: Set z_ngrid=17 in nratio scan
johnomotani Aug 24, 2023
8137409
eftc2023-jto: Cache results of solve_dispersion_relation()
johnomotani Aug 24, 2023
bbb0061
eftc2023-jto: Use full range of Ri values for dispersion relation sol…
johnomotani Aug 24, 2023
7128d46
eftc2023-jto: Plot vertical lines on omega plots at point where growt…
johnomotani Aug 24, 2023
1bbad57
eftc2023-jto: remove some commented out code from plot_dispersion_rel…
johnomotani Aug 25, 2023
2d6e714
eftc2023-jto: Increase z_ngrid to 17 in T scan to match n scan
johnomotani Aug 25, 2023
b7e16b5
eftc2023-jto: Add moment kinetic runs to sound-wave scans
johnomotani Aug 25, 2023
e9d5508
eftc2023-jto: LaTeXify all plot labels
johnomotani Aug 25, 2023
1435b49
eftc2023-jto: Move sound-wave sim/analysis stuff to subdirectory
johnomotani Sep 14, 2023
68b8fd9
eftc2023-jto: Save plots as png for poster
johnomotani Sep 14, 2023
f561f61
eftc2023-jto: Tweak layout, font-size for sound-wave plots
johnomotani Sep 18, 2023
88d53bf
eftc2023-jto: Start tweaking layout, font-size for wall-bc plots
johnomotani Sep 18, 2023
e349adb
eftc2023-jto: Update so all plot scripts are run from 2023_EFTC_jto-p…
johnomotani Sep 20, 2023
3c6cd09
eftc2023-jto: Use LaTeX fonts for axis labels, etc. in plot_dispersio…
johnomotani Sep 20, 2023
650fd03
eftc2023-jto: Use LaTeX fonts for axis labels, etc. in wall-bc-plots.jl
johnomotani Sep 20, 2023
014150f
eftc2023-jto: Better layout, legends, etc. for wall-bc-plots.jl
johnomotani Sep 20, 2023
ad1d0eb
eftc2023-jto: Decrease size of T-scan figure
johnomotani Sep 27, 2023
e91e727
eftc2023-jto: Better plot labels for wall-bc plots
johnomotani Sep 27, 2023
c2f421e
eftc2023-jto: Script to run all scans for sound wave plots
johnomotani Sep 27, 2023
59fba13
eftc2023-jto: Fix z_nelement in sound-wave_nratio scan inputs
johnomotani Sep 27, 2023
2ce9ee4
eftc2023-jto: Move recyclefraction0.5 inputs to poster directory
johnomotani Sep 27, 2023
8168a0f
eftc2023-jto: Remove extra experimental input files
johnomotani Nov 16, 2023
fb45347
eftc2023-jto: Tidy up new example input files
johnomotani Nov 16, 2023
9d25b97
eftc2023-jto: Update README.md for sound-wave plots
johnomotani Nov 16, 2023
687c6ca
eftc2023-jto: Add missing Project.toml file
johnomotani Nov 16, 2023
5ad5eda
eftc2023-jto: Add an initial Project.toml file for EFTC plots
johnomotani Nov 16, 2023
91d96ab
eftc2023-jto: More update sound-wave README.md
johnomotani Nov 16, 2023
a72fca6
eftc2023-jto: Move sound-wave README up a level, add wall-bc info
johnomotani Nov 16, 2023
03e389c
eftc2023-jto: Fix Krook collisions setting
johnomotani Nov 16, 2023
344b559
eftc2023-jto: Temporarily add Manifest.toml for 2023_EFTC_jto-poster
johnomotani Nov 16, 2023
c35798a
eftc2023-jto: Remove temporary Manifest.toml for 2023_EFTC_jto-poster"
johnomotani Nov 16, 2023
3b807f4
eftc2023-jto: Use sqrt-spaced z-grid for EFTC examples
johnomotani Nov 16, 2023
82678ef
eftc2023-jto: Work around error when post_processing_input.toml missing
johnomotani Nov 16, 2023
fb288e5
eftc2023-jto: Add note on version of code where inputs are known to work
johnomotani Nov 17, 2023
7d45e30
Disable distributed MPI parallelism in new example input files
johnomotani Nov 18, 2023
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
85 changes: 85 additions & 0 deletions examples/wall-bc/wall-bc_no-neutrals.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
steady_state_residual = true
converged_residual_value = 1.0e-3
runtime_plots = true
n_ion_species = 1
n_neutral_species = 0
boltzmann_electron_response = true
evolve_moments_density = false
evolve_moments_parallel_flow = false
evolve_moments_parallel_pressure = false
evolve_moments_conservation = true
recycling_fraction = 0.5
krook_collisions_option = "reference_parameters"
T_e = 0.2 # 1.0
T_wall = 0.1
initial_density1 = 1.0
initial_temperature1 = 1.0
z_IC_option1 = "gaussian"
z_IC_density_amplitude1 = 0.001
z_IC_density_phase1 = 0.0
z_IC_upar_amplitude1 = 1.0
z_IC_upar_phase1 = 0.0
z_IC_temperature_amplitude1 = 0.0
z_IC_temperature_phase1 = 0.0
vpa_IC_option1 = "gaussian"
vpa_IC_density_amplitude1 = 1.0
vpa_IC_density_phase1 = 0.0
vpa_IC_upar_amplitude1 = 0.0
vpa_IC_upar_phase1 = 0.0
vpa_IC_temperature_amplitude1 = 0.0
vpa_IC_temperature_phase1 = 0.0
initial_density2 = 1.0
initial_temperature2 = 1.0
z_IC_option2 = "gaussian"
z_IC_density_amplitude2 = 0.001
z_IC_density_phase2 = 0.0
z_IC_upar_amplitude2 = -1.0
z_IC_upar_phase2 = 0.0
z_IC_temperature_amplitude2 = 0.0
z_IC_temperature_phase2 = 0.0
vpa_IC_option2 = "gaussian"
vpa_IC_density_amplitude2 = 1.0
vpa_IC_density_phase2 = 0.0
vpa_IC_upar_amplitude2 = 0.0
vpa_IC_upar_phase2 = 0.0
vpa_IC_temperature_amplitude2 = 0.0
vpa_IC_temperature_phase2 = 0.0
#charge_exchange_frequency = 0.75
#ionization_frequency = 0.5
nstep = 100000
dt = 5.0e-4
nwrite = 5000
nwrite_dfns = 5000
use_semi_lagrange = false
n_rk_stages = 4
split_operators = false
r_ngrid = 1
r_nelement = 1
z_ngrid = 9
z_nelement = 32
#z_nelement_local = 4
z_bc = "wall"
z_discretization = "chebyshev_pseudospectral"
vpa_ngrid = 10
vpa_nelement = 63
vpa_L = 18.0
vpa_bc = "zero"
vpa_discretization = "chebyshev_pseudospectral"
vz_ngrid = 10
vz_nelement = 63
vz_L = 18.0
vz_bc = "zero"
vz_discretization = "chebyshev_pseudospectral"

[ion_source]
active = true
z_profile = "gaussian"
z_width = 0.125
source_strength = 8.0
source_T = 1.0

[numerical_dissipation]
#vpa_dissipation_coefficient = 1.0e-1
#vpa_dissipation_coefficient = 1.0e-2
#vpa_dissipation_coefficient = 1.0e-3
#force_minimum_pdf_value = 0.0
85 changes: 85 additions & 0 deletions examples/wall-bc/wall-bc_no-neutrals_split1.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
steady_state_residual = true
converged_residual_value = 1.0e-3
runtime_plots = true
n_ion_species = 1
n_neutral_species = 0
boltzmann_electron_response = true
evolve_moments_density = true
evolve_moments_parallel_flow = false
evolve_moments_parallel_pressure = false
evolve_moments_conservation = true
recycling_fraction = 0.5
krook_collisions_option = "reference_parameters"
T_e = 0.2 # 1.0
T_wall = 0.1
initial_density1 = 1.0
initial_temperature1 = 1.0
z_IC_option1 = "gaussian"
z_IC_density_amplitude1 = 0.001
z_IC_density_phase1 = 0.0
z_IC_upar_amplitude1 = 1.0
z_IC_upar_phase1 = 0.0
z_IC_temperature_amplitude1 = 0.0
z_IC_temperature_phase1 = 0.0
vpa_IC_option1 = "gaussian"
vpa_IC_density_amplitude1 = 1.0
vpa_IC_density_phase1 = 0.0
vpa_IC_upar_amplitude1 = 0.0
vpa_IC_upar_phase1 = 0.0
vpa_IC_temperature_amplitude1 = 0.0
vpa_IC_temperature_phase1 = 0.0
initial_density2 = 1.0
initial_temperature2 = 1.0
z_IC_option2 = "gaussian"
z_IC_density_amplitude2 = 0.001
z_IC_density_phase2 = 0.0
z_IC_upar_amplitude2 = -1.0
z_IC_upar_phase2 = 0.0
z_IC_temperature_amplitude2 = 0.0
z_IC_temperature_phase2 = 0.0
vpa_IC_option2 = "gaussian"
vpa_IC_density_amplitude2 = 1.0
vpa_IC_density_phase2 = 0.0
vpa_IC_upar_amplitude2 = 0.0
vpa_IC_upar_phase2 = 0.0
vpa_IC_temperature_amplitude2 = 0.0
vpa_IC_temperature_phase2 = 0.0
#charge_exchange_frequency = 0.75
#ionization_frequency = 0.5
nstep = 100000
dt = 1.0e-4
nwrite = 5000
nwrite_dfns = 5000
use_semi_lagrange = false
n_rk_stages = 4
split_operators = false
r_ngrid = 1
r_nelement = 1
z_ngrid = 9
z_nelement = 32
#z_nelement_local = 4
z_bc = "wall"
z_discretization = "chebyshev_pseudospectral"
vpa_ngrid = 10
vpa_nelement = 63
vpa_L = 18.0
vpa_bc = "zero"
vpa_discretization = "chebyshev_pseudospectral"
vz_ngrid = 10
vz_nelement = 63
vz_L = 18.0
vz_bc = "zero"
vz_discretization = "chebyshev_pseudospectral"

[ion_source]
active = true
z_profile = "gaussian"
z_width = 0.125
source_strength = 8.0
source_T = 1.0

[numerical_dissipation]
#vpa_dissipation_coefficient = 1.0e-1
#vpa_dissipation_coefficient = 1.0e-2
#vpa_dissipation_coefficient = 1.0e-3
#force_minimum_pdf_value = 0.0
85 changes: 85 additions & 0 deletions examples/wall-bc/wall-bc_no-neutrals_split2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
steady_state_residual = true
converged_residual_value = 1.0e-3
runtime_plots = true
n_ion_species = 1
n_neutral_species = 0
boltzmann_electron_response = true
evolve_moments_density = true
evolve_moments_parallel_flow = true
evolve_moments_parallel_pressure = false
evolve_moments_conservation = true
recycling_fraction = 0.5
krook_collisions_option = "reference_parameters"
T_e = 0.2 # 1.0
T_wall = 0.1
initial_density1 = 1.0
initial_temperature1 = 1.0
z_IC_option1 = "gaussian"
z_IC_density_amplitude1 = 0.001
z_IC_density_phase1 = 0.0
z_IC_upar_amplitude1 = 1.0
z_IC_upar_phase1 = 0.0
z_IC_temperature_amplitude1 = 0.0
z_IC_temperature_phase1 = 0.0
vpa_IC_option1 = "gaussian"
vpa_IC_density_amplitude1 = 1.0
vpa_IC_density_phase1 = 0.0
vpa_IC_upar_amplitude1 = 0.0
vpa_IC_upar_phase1 = 0.0
vpa_IC_temperature_amplitude1 = 0.0
vpa_IC_temperature_phase1 = 0.0
initial_density2 = 1.0
initial_temperature2 = 1.0
z_IC_option2 = "gaussian"
z_IC_density_amplitude2 = 0.001
z_IC_density_phase2 = 0.0
z_IC_upar_amplitude2 = -1.0
z_IC_upar_phase2 = 0.0
z_IC_temperature_amplitude2 = 0.0
z_IC_temperature_phase2 = 0.0
vpa_IC_option2 = "gaussian"
vpa_IC_density_amplitude2 = 1.0
vpa_IC_density_phase2 = 0.0
vpa_IC_upar_amplitude2 = 0.0
vpa_IC_upar_phase2 = 0.0
vpa_IC_temperature_amplitude2 = 0.0
vpa_IC_temperature_phase2 = 0.0
#charge_exchange_frequency = 0.75
#ionization_frequency = 0.5
nstep = 100000
dt = 1.0e-4
nwrite = 5000
nwrite_dfns = 5000
use_semi_lagrange = false
n_rk_stages = 4
split_operators = false
r_ngrid = 1
r_nelement = 1
z_ngrid = 9
z_nelement = 32
#z_nelement_local = 4
z_bc = "wall"
z_discretization = "chebyshev_pseudospectral"
vpa_ngrid = 10
vpa_nelement = 63
vpa_L = 18.0
vpa_bc = "zero"
vpa_discretization = "chebyshev_pseudospectral"
vz_ngrid = 10
vz_nelement = 63
vz_L = 18.0
vz_bc = "zero"
vz_discretization = "chebyshev_pseudospectral"

[ion_source]
active = true
z_profile = "gaussian"
z_width = 0.125
source_strength = 8.0
source_T = 1.0

[numerical_dissipation]
#vpa_dissipation_coefficient = 1.0e-1
#vpa_dissipation_coefficient = 1.0e-2
#vpa_dissipation_coefficient = 1.0e-3
#force_minimum_pdf_value = 0.0
85 changes: 85 additions & 0 deletions examples/wall-bc/wall-bc_no-neutrals_split3.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
steady_state_residual = true
converged_residual_value = 1.0e-3
runtime_plots = true
n_ion_species = 1
n_neutral_species = 0
boltzmann_electron_response = true
evolve_moments_density = true
evolve_moments_parallel_flow = true
evolve_moments_parallel_pressure = true
evolve_moments_conservation = true
recycling_fraction = 0.5
krook_collisions_option = "reference_parameters"
T_e = 0.2 # 1.0
T_wall = 0.1
initial_density1 = 1.0
initial_temperature1 = 1.0
z_IC_option1 = "gaussian"
z_IC_density_amplitude1 = 0.001
z_IC_density_phase1 = 0.0
z_IC_upar_amplitude1 = 1.0
z_IC_upar_phase1 = 0.0
z_IC_temperature_amplitude1 = 0.0
z_IC_temperature_phase1 = 0.0
vpa_IC_option1 = "gaussian"
vpa_IC_density_amplitude1 = 1.0
vpa_IC_density_phase1 = 0.0
vpa_IC_upar_amplitude1 = 0.0
vpa_IC_upar_phase1 = 0.0
vpa_IC_temperature_amplitude1 = 0.0
vpa_IC_temperature_phase1 = 0.0
initial_density2 = 1.0
initial_temperature2 = 1.0
z_IC_option2 = "gaussian"
z_IC_density_amplitude2 = 0.001
z_IC_density_phase2 = 0.0
z_IC_upar_amplitude2 = -1.0
z_IC_upar_phase2 = 0.0
z_IC_temperature_amplitude2 = 0.0
z_IC_temperature_phase2 = 0.0
vpa_IC_option2 = "gaussian"
vpa_IC_density_amplitude2 = 1.0
vpa_IC_density_phase2 = 0.0
vpa_IC_upar_amplitude2 = 0.0
vpa_IC_upar_phase2 = 0.0
vpa_IC_temperature_amplitude2 = 0.0
vpa_IC_temperature_phase2 = 0.0
#charge_exchange_frequency = 0.75
#ionization_frequency = 0.5
nstep = 100000
dt = 1.0e-4
nwrite = 5000
nwrite_dfns = 5000
use_semi_lagrange = false
n_rk_stages = 4
split_operators = false
r_ngrid = 1
r_nelement = 1
z_ngrid = 9
z_nelement = 32
#z_nelement_local = 4
z_bc = "wall"
z_discretization = "chebyshev_pseudospectral"
vpa_ngrid = 10
vpa_nelement = 63
vpa_L = 18.0
vpa_bc = "zero"
vpa_discretization = "chebyshev_pseudospectral"
vz_ngrid = 10
vz_nelement = 63
vz_L = 18.0
vz_bc = "zero"
vz_discretization = "chebyshev_pseudospectral"

[ion_source]
active = true
z_profile = "gaussian"
z_width = 0.125
source_strength = 8.0
source_T = 1.0

[numerical_dissipation]
#vpa_dissipation_coefficient = 1.0e-1
#vpa_dissipation_coefficient = 1.0e-2
#vpa_dissipation_coefficient = 1.0e-3
force_minimum_pdf_value = 0.0
Loading
Loading