Skip to content

Commit

Permalink
Fixing remaining input files for voltage_amp update
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Deak committed Oct 25, 2024
1 parent 78ae25b commit aa5b679
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 20 deletions.
11 changes: 0 additions & 11 deletions test/Reactor/Argon_CO2/Chemistry.H
Original file line number Diff line number Diff line change
Expand Up @@ -4774,19 +4774,8 @@ AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void
CKWC(const amrex::Real T, amrex::Real C[], amrex::Real wdot[], const amrex::Real Te, const amrex::Real EN, amrex::Real * ener_exch)
{

// convert to SI
for (int id = 0; id < 16; ++id) {
C[id] *= 1.0e6;
}

// convert to chemkin units
productionRate(wdot, C, T, Te, ener_exch);

// convert to chemkin units
for (int id = 0; id < 16; ++id) {
C[id] *= 1.0e-6;
wdot[id] *= 1.0e-6;
}
}

// Returns the molar production rate of species
Expand Down
4 changes: 2 additions & 2 deletions test/Reactor/Argon_CO2/inputs1d
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ vidyut.dt = 1e-12

# Voltage
vidyut.voltage_profile = 2
vidyut.voltage_amp_1 = 0.0
vidyut.voltage_amp_2 = 625.0
vidyut.voltage_amp_lo = 0.0 0.0 0.0
vidyut.voltage_amp_hi = 625.0 0.0 0.0
vidyut.voltage_freq = 1.0e6
vidyut.voltage_dur = 3.0e-8
vidyut.voltage_center = 1.5e-8
Expand Down
6 changes: 3 additions & 3 deletions test/Reactor/CO2_H2_Ar_mechanism_reduced/inputs1d
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ vidyut.user_defined_vel = 1
# Voltage
vidyut.voltage_profile = 2
vidyut.voltage_amp_lo = 650.0 0.0 0.0 # voltage for Ar/CO2/H2
# vidyut.voltage_amp_1 = 625.0 # voltage for pure argon
# vidyut.voltage_amp_1 = 1475.0 # voltage for pure CO2
# vidyut.voltage_amp_1 = 1500.0 # voltage for CO2/H2 gas
# vidyut.voltage_amp_lo = 625.0 0.0 0.0 # voltage for pure argon
# vidyut.voltage_amp_lo = 1475.0 0.0 0.0 # voltage for pure CO2
# vidyut.voltage_amp_lo = 1500.0 0.0 0.0 # voltage for CO2/H2 gas
vidyut.voltage_amp_hi = 0.0 0.0 0.0
vidyut.voltage_freq = 1.0e6
vidyut.voltage_dur = 3.0e-8
Expand Down
4 changes: 2 additions & 2 deletions test/models/Streamer3d/inputs2d
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ amr.regrid_int = 5 # how often to regrid
vidyut.dt = 1e-12

# Voltage settings
vidyut.voltage_amp_1=0.0
vidyut.voltage_amp_2=18.75e3
vidyut.voltage_amp_lo=0.0 0.0 0.0
vidyut.voltage_amp_hi=0.0 18.75e3 0.0

vidyut.user_defined_potential = 1
vidyut.user_defined_species = 1
Expand Down
4 changes: 2 additions & 2 deletions test/models/Streamer3d/inputs2d_cst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ amr.regrid_int = 5 # how often to regrid
vidyut.dt = 5e-13

# Voltage settings
vidyut.voltage_amp_1=0.0
vidyut.voltage_amp_2=18.75e3
vidyut.voltage_amp_lo=0.0 0.0 0.0
vidyut.voltage_amp_hi=0.0 18.75e3 0.0

vidyut.user_defined_potential = 1
vidyut.user_defined_species = 1
Expand Down

0 comments on commit aa5b679

Please sign in to comment.