PlasmaControl / DESC

Stellarator Equilibrium and Optimization Suite
MIT License
96 stars 26 forks source link

Overlapping target field in omnigenity #1144

Open rahulgaur104 opened 3 months ago

rahulgaur104 commented 3 months ago

The target field almost always overlaps with itself as one increases its resolution (L_x, M_x, N_x, L_B, or M_B).

Target_field target_field_well_width_0p05 target_field_well_widthp15

Another related effect is the non-differentiable target field at the edge.

To reproduce this, run any omnigenity optimization with a practical aspect ratio (< 10) and L_x, M_x, N_x, L_B, M_B >= 3

unalmis commented 2 months ago

Let me know if #1166 resolves this

dpanici commented 2 months ago

Is there an objective or penalty against intersecting contours we could use? to prevent or detect this when it happens