This PR adds simple logic to control the power deposited in the plasma for a cycle-avg-joule-coupled simulation.
Specifically, there are two new input file parameters:
solver/input-power
solver/initial-input-power
These are only available when solver/type = cycle-avg-joule-coupled. When set, the Joule heating is scaled (uniformly in space) such that the total power deposited in the plasma (target_power below) is as follows:
This allows the user to linearly ramp between initial-input-power and input-power over the course of a simulation. If input-power is set but initial-input-power is not, then initial-input-power is set equal to input-power such that the power is simply constant at input-power. If input-power is not set then the power level is not controlled. In that case, the Joule heating is determined by the current, along with the rest of the solution.
This PR adds simple logic to control the power deposited in the plasma for a
cycle-avg-joule-coupled
simulation.Specifically, there are two new input file parameters:
These are only available when
solver/type = cycle-avg-joule-coupled
. When set, the Joule heating is scaled (uniformly in space) such that the total power deposited in the plasma (target_power
below) is as follows:This allows the user to linearly ramp between
initial-input-power
andinput-power
over the course of a simulation. Ifinput-power
is set butinitial-input-power
is not, theninitial-input-power
is set equal toinput-power
such that the power is simply constant atinput-power
. Ifinput-power
is not set then the power level is not controlled. In that case, the Joule heating is determined by the current, along with the rest of the solution.