8.2 Components
The Components dialogue for choosing the additional components and quantities that will be saved by QW-Simulator after each BHM step can be invoked:
· with the command in button in Model tab
· with the button in BHM tab
· with the BHM->BHM Components Settings… command from main menu
· from Heating Details dialogue
The saved components and quantities allow verifying if the changes at consecutive thermal steps have not been too large. By default, the temperature patterns after consecutive BHM steps are saved in consecutive *.vi3 files.
The instantaneous pattern is saved to the *.vi3 file with the base name as the project name, component name and number added for each consecutive BHM step.
The Available components list allows choosing the components and quantities that will be saved.
The Data Format contains the following options:
· QuickWave Default - data format is the QuickWave format and file saved with this option can be viewed in 2D/3D Fields Distribution window in QW-Simulator.
· X, Y, Z Coordinates - data format contains additional information about FDTD mesh cells coordinates and is more suitable for external use.
· Dense Regions Only - takes into account dense regions (regions made of material with density>0) only and data format contains additional information about FDTD mesh cells coordinates and is more suitable for external use.
If Shape Data option is checked, the shape of the structure will be saved in the *.vi3 file. Otherwise, the path to the appropriate *.sh3 shape file will be included in the *.vi3 file.
If the FDTD Mesh option is checked, the information about FDTD mesh will be saved.
See QW-Simulator: Exporting volume instantaneous/envelope component chapter for more information.
Python code
The python code, which can be useful when creating project scripts, generated by Components dialogue for the above parameters:
App.ActiveDocument.QW_BHM.ComponentsListFormat = 0
App.ActiveDocument.QW_BHM.IncludeShapeData = True
App.ActiveDocument.QW_BHM.IncludeFDTDMesh = False
App.ActiveDocument.QW_BHM.ComponentsList = ['TEMPERATURE','ENTHALPY']