Skip to content

Commit

Permalink
Update templates to override subsequent equations by switch
Browse files Browse the repository at this point in the history
  • Loading branch information
holm10 committed Nov 7, 2024
1 parent 8e50efd commit 9ae83c1
Show file tree
Hide file tree
Showing 32 changed files with 123 additions and 42 deletions.
10 changes: 10 additions & 0 deletions templates/D_only/header/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@
except:
pass

setni = True
setup = True
setphi = True
setphiofft = True
setng = True
setupg = True
setti = True
sette = True
settg = True

5 changes: 4 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,5 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9

4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_cfdiss0p5.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 0.5
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_cfnidhdis0p5.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_cfnidhg20p5.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_cfnidhgy0p5.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_cfnidhmol0p5.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 0.5 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_cftiexclg0p5.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0.5 # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_drifts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure


settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -19,4 +21,4 @@
bbb.cfnidhgy = 1.0
bbb.cfnidhg2 = 1.0
bbb.cfnidhdis = 1.0 #..consider drift heating for dissociation
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgcore0.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgcore1.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgcore3.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istglb0.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istglb3.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istglb5.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgpfc0.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgpfc1.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgpfc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgpfc3.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgpfc5.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgrb0.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgrb1.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgrb3.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgrb5.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
4 changes: 3 additions & 1 deletion templates/D_only/inputs/atoms/tg_atom_istgwc0.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
bbb.ziin[1]=0
bbb.travis[1] = 0. #shouldn't be used for neutrals - but to be sure

settg = False
bbb.istgon = 0 # Reset Tg equation
bbb.istgon[0] = 1 # Turn on D0 temperature equation
bbb.cftiexclg = 0. # Remove the Tg part in the Ti equation
bbb.cfdiss = 1.0
Expand All @@ -20,4 +22,4 @@
bbb.cfnidhmol = 1.0 #..ignore molecular v in dissociation drift heating

bbb.recyce = 0.3
bbb.recycm = -0.9
bbb.recycm = -0.9
Loading

0 comments on commit 9ae83c1

Please sign in to comment.