You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
@umansky just saw your email and had a look at this coding. I think this coding might be obsolete, and that columetric sources can be user-defined in the current version of UEDGE.
Try the following:
bbb.isvolsorext=1 # Tells UEDGE to use user-defined volumetric sources
bbb.pwrsore=... # Sets the volumetric electron energy source
bbb.pwrsori=... # Sets the volumetric ion energy source
bbb.volpsor=... # Sets the volumetric ion particle source
etc
This does not work if one needs to specify two sources separately, e.g. a Maxwellian heat source in addition to a user-specified source. However, in that case the net source could be calculated and used as user input.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing out those existing parameters pwrsore etc. It does look like those could be user defined power if isvolsorext=1. It might be good to have more flexibility with those things, i.e., making the power source external and at the same time the particle source internally calculated since the power source (radiation) is measured with the bolometry while particle sources are not measured (well, maybe they could be inferred from D_alpha radiation, but that is not done routinely). I’ll go ahead and check if isvolsorext=1 is doing the right thing.
2d04dec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@umansky just saw your email and had a look at this coding. I think this coding might be obsolete, and that columetric sources can be user-defined in the current version of UEDGE.
Try the following:
This does not work if one needs to specify two sources separately, e.g. a Maxwellian heat source in addition to a user-specified source. However, in that case the net source could be calculated and used as user input.
2d04dec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.