-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Description of issue / requirement to address
With the addition of pressure profiles coming in #3870 it would be good to visualise the toroidal and poloidal
With the soon to be added plasma pressures the only component needed is the toroidal and poloidal field profile. We normally assume that the toroidal field from the TF coils i slike that from an infintely straight current wire so that the toroidal field varies across the plasma with only
Using Amperes law and assuming the plasma is a perfect circle (which its not, though we dont model 2D flux) the poloidal field function is given by:
We already assume a parabolic form for the current profile and self-consistently match it with its profile index and the total plasma current value:
At current we seem to have a very rough definition of our avaerge poloidal beta given in calculate_poloidal_field() in physics.py. Pretty much in all cases where i_plasma_current !=2 the following expression is used for the average poloidal beta:
Though in the current implementation the poloidal perimeter is used instead of assuming a circle given by the
What we should be doing is just integrating the current density profile we assume and just take an average:
Proposed solution
Once #3870 is merged, output the toridal field variation across the plasma, do the current desnity integral for the poloidal field and plot the toroidal and poloidal
Again all of this only holds true in our 1D case for our profiles and that we have no