How to run a mapping solution in batch?

This article describes the required command and input files for running a mapping solution in batch mode.

To run a mapping solution in batch, execute the following command:
%UGII_TMG_DIR%\exe\MayaMonitor.exe -if model1_sim2-map.xml -map_thermal

where:

  • %UGII_TMG_DIR%\exe\MayaMonitor.exe launches the Maya Monitor executable from the TMG installation directory. The %UGII_TMG_DIR% environment variable specifies the TMG installation path.
  • -if model1_sim2-map.xml loads the target mapping XML file (model1_sim2-map.xml). This file defines the mapping setup and references to source results BUN file. Ensure that the source XML file is located in the same directory as the corresponding source BUN file.
  • -map_thermal instructs the software to perform a thermal mapping solution.

When running a mapping solution, the solver requires a file named fldmap.dat. In interactive mode, the software generates this file automatically during the solve time. In batch mode, you must create it manually. The file defines the relationship between the source results and the target mapping input.

Example of the fldmap.dat file
FM_SRC_RES_FILE
model1_sim1-Solution_1.bun
FM_TGT_INP_FILE
model1_sim2-map.xml
FM_RES_DS_NUM
0

where:

  • FM_SRC_RES_FILE: Source results file (BUN)
  • FM_TGT_INP_FILE: Target mapping XML file
  • FM_RES_DS_NUM: Result dataset index