Defining an Interpolation Function Using an Excel® File
You will now import data stored in a workbook to define an interpolation function in the model. The function defines the temperature dependency of the heat transfer coefficient between the busbar and the surrounding air.
1
2
3
4
In the Load from File dialog, select the Microsoft Excel Workbook (*.xlsx) file type, and navigate to the COMSOL installation directory. In the folder applications/LiveLink_for_Excel/Tutorials, select the file busbar_llexcel_data.xlsx, then click Open.
The interpolation data is stored in the workbook in a worksheet named htc(T). The temperature values and the corresponding heat transfer coefficient values are defined in two columns, as can be seen in the figure to the right.
5
6
7
The interpolation table is filled using the data stored in the Excel file.
8
9
Locate the section, Units. In the Function text field enter W/(m^2*K). In the Arguments text field enter K.
 
 
10
Now continue with changing the model settings to use the newly defined function for the heat transfer coefficient in the heat flux boundary condition.
11
12