•
|
mphopen to load the model .mph file.
|
•
|
mphgeom to display the model geometry.
|
•
|
mphmean to evaluate average quantities in the model.
|
•
|
mphplot to create plots.
|
1
|
In SOLIDWORKS open the file busbar_assembly.sldasm, which you find if you browse to the application’s LiveLink™ for SOLIDWORKS® Application Library folder.
|
2
|
Start COMSOL with MATLAB.
|
•
|
Enter each command, starting at step 3 below, at the MATLAB command line.
|
•
|
Paste the full model script, included in the section Model M-File, into a text editor, then save the file with a “.m” extension, and finally run this file in MATLAB.
|
3
|
10
|
Start a for-loop for the rod diameter parameter, and at each iteration change the value of the parameter rod in the model object. Type:
|
13
|
To update the value of the parameter width in the model object and compute the solution with the updated geometry enter the commands:
|
16
|
17
|