Using the Application Macro

Execute the application macro in POSTFEKO to calculate the thermal properties of the model.

  1. Start with a POSTFEKO session that contains a Cartesian near field result that extends in the X, Y and Z directions.
  2. Run the application macro to start the temperature calculations.


    Figure 1. The Temperature calculator dialog.
  3. In the Select near field list, select the near field of interest.
  4. Enter the parameters to be used in the calculation:
    • Scale factor
    • Initial temp in Kelvin
    • Ambient temp in Kelvin
    • Time step in seconds
    • Time interval in seconds
  5. [Optional] Select the Load data from file check box to load media data from a file.
    Note: ThermalMaterialProperties.xlsx is provided with the application macro as an example.
  6. Click Next to continue.
    The application macro prints a list of the materials in the model to the script editor console.
  7. If the Load data from file check box was selected in Step 5, load a Microsoft Excel sheet with material data.
    Note: The file should contain the materials in the order printed out by the macro.


    Figure 2. The Input file dialog.
    1. On the Input file dialog, click Browse.
    2. Locate and select the Microsoft Excel sheet containing the material data.
    3. Click Open.
    4. Click OK to use the selected file.
    The thermal properties are automatically entered into the Specify media thermal properties dialog.
  8. Enter or [optional] adjust the Thermal Properties for the materials and click Continue to start the calculations.


    Figure 3. The Specify media thermal properties dialog.
    The application macro prints output to the script editor console. When the application macro finishes, a stored data result is added to the project browser in POSTFEKO.
  9. To view the results, add the data from the project browser or Imports + scripts on the ribbon to a 3D view, Cartesian graph or surface graph.


    Figure 4. Temperature distribution after 10 minutes.


    Figure 5. Graph showing temperature increase near the tip of the implant.