Fix Stellarator to allow it to run on open-source process#3121
Fix Stellarator to allow it to run on open-source process#3121timothy-nunn merged 4 commits intomainfrom
Conversation
|
I was looking into some of the errors that are output after a single run. I think the order the models are called needs to be looked at to see if it makes sense. Additionally, we assume in the Stellarator model that the plasma current is 0. (Stellarators do have a lower plasma current than Tokamaks, but it may not necessarily be exactly 0). However, this 0 plasma current is being used in some calculations which is throwing up divide by 0 errors. We should therefore consider how this is manifest in the code. Perhaps it will be easier to resolve these once it's merged back in. |
|
The plasma current being 0 only seems to throw errors on output, so do we need to consider what we call for output when running stellarator because if stuff is diving by 0 the output probably doesn't make sense for a stellarator ? |
|
Yes, looking into it further this parameter nu_star (normalized collisionality) may be a property of interest but the calculation is just lifted directly from tokamak output and it doesn't work so we might as well *turn it off for stellarators. |
|
Further to this, a lot of the output errors are cleared up when you use Jorrit's input file. The Felix-Stuart one is missing a few things which lead to these errors. |
118d99d to
03331e0
Compare
grmtrkngtn
left a comment
There was a problem hiding this comment.
It looks good to me!
* Fix Stellarator to allow it to run on open-source process * import rether into stellarator * Use new plasma profiles module instead of fortran version * Remove import of profiles_module --------- Co-authored-by: ym1906 <graeme.turkington@ukaea.uk>
Description
Allows Stellarator to run by updating it to use the new physics interface post-conversion.
Adds in the following calculation for VV stress to enable constraint 65:
Modifies the
SingleRuninitialisation order slightly so that the correct cost model is passed to Stellarator/IFE