Using the Application Macro
Execute the application macro in POSTFEKO to calculate the thermal properties of the model.
- Start with a POSTFEKO session that contains a Cartesian near field result that extends in the X, Y and Z directions.
-
Run the application macro to start the temperature
calculations.
- In the Select near field list, select the near field of interest.
-
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
-
[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.
-
Click Next to continue.
The application macro prints a list of the materials in the model to the script editor console.
-
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.
- On the Input file dialog, click Browse.
- Locate and select the Microsoft Excel sheet containing the material data.
- Click Open.
- Click OK to use the selected file.
The thermal properties are automatically entered into the Specify media thermal properties dialog. -
Enter or [optional] adjust the Thermal Properties for
the materials and click Continue to start the
calculations.
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.
-
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.