5.4     Syntax of tasker file

We now convert heat_pulse.pro into heat_tune.pro for automatic tuning of the source to the deepest resonance. Through File-Export Options of QW-Editor, access Export Options dialogue. Through its Details... button open the Heating Details dialogue, both shown in Fig. 5.4-1.

     

Fig. 5.4-1 Export Options and Heating Details dialogues in heat_tune.pro.

The Tasker times of heat_auto.pro have been restored. The BHM mode shows that the source will be tuned, and within what band. The Rotation parameters frame will be active for the rotated loads, as explained in Single object rotation.

With the settings above, QW-Editor generates the tasker file, which begins as in Fig. 5.4-2.

Fig. 5.4-2 Automatically generated heat_tune.ta3 file as inspected with View-Edit Ta3 File of QW‑Simulator.

The consecutive tasks are:

PREPROCESSING

TemplateDV – template generation as earlier.

RunIter – for 1 iteration only so effectively no FDTD processing running. The only function is to be able to prepare freeze files for further jobs.

Freeze – the same data is frozen in two files:

·       _ini.sfr will not be modified. It will be used for pulse regime and resonance detection.

·       _sin.sfr will be saved after each sinusoidal run.

Save_Full_Volume_Instantaneous saves the original enthalpy pattern.

BHM PROCESSING

The following sequence of tasks will be repeated “Number of thermal Iterations” times:

RunFreezeIterEnth works like previously RunFreezeIter and will always be applied on _ini.sfr. However, before compiling lcsm matrices (field update coefficients based on mesh and media distribution) it reads enthalpy data from the specified *.vi3 file (heat_tune0.vi3 in the first run) and adjusts media parameters based on this enthalpy and media *.pmo files.

Save_S_Results saves S-parameters calculated by the current RunFreezeIterEnth, in consecutive files. This creates a history of how the resonance has been changing during the heating.

FindResonance detects the lowest |S11| minimum on the above results and put the resonant frequency in internal memory.

RunFreezeIterPull works like previously RunFreezeIter and will always be applied on _sin.sfr file; this file will be re-saved at the end of this RunFreezeIterPull so it will always contain the last sinusoidal steady state of the fields and enthalpy. The “Pull” at the end of this task name causes that before resuming FDTD calculations, the source frequency is changed to the one detected by the last FindResonance.

Modify_Media_Parameters works as earlier.

Freeze saves the information of this sinusoidal steady state in *_sin.sfr

Save_Full_Volume_Instantaneous works as previously.

The above sequence of tasks now repeats, starting with RunFreezeIterEnth again on _ini.sfr, but with an updated enthalpy from heat_tune1.vi3.