|
•
|
x and y, the location coordinates.
|
|
•
|
x0 and y0, the origin of the heat source.
|
|
•
|
Q0, the maximum heat source.
|
|
•
|
scale, a parameter that scales the period of the heat flux.
|
|
3
|
Save the file in the user Documents folder under MATLAB as conductivity.m. Saving the file in this location (/Documents/MATLAB) ensures that MATLAB can find the function when COMSOL calls it for evaluation.
|
|
5
|
Save the file as heatflux.m, in the same location as the previous file.
|