Skip to content

Commit

Permalink
Restore definition of ne for fluxlim case
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedThree committed Jul 11, 2024
1 parent 2729397 commit 4ad12e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fusiondls/Iterate.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def LengFunc(s, y, si, st):
# Flux limiter
dtds = 0
if radios["fluxlim"]:
# set density using constant pressure assumption (missing factor of 2 at target due to lack of Bohm condition)
ne = nu * Tu / T
dtds = (
qoverB
* fieldValue
Expand Down

0 comments on commit 4ad12e1

Please sign in to comment.