Tutorial 2

This tutorial shows how to make modifications to a simulation that has already been run. It is an extension of Tutorial 1, which should be completed, and left open, before continuing.

There are two ways to make changes to simulation data: 1) within the GUI tables, and text boxes, and 2) within the Editor window.

Changing data in the GUI tables and text boxes

1. Navigate to the Physical Parameters panel.
2. Enter the table box in the third column next to the nnodes variable.
3. Change the value of nnodes from 5 to 9.
4. Press enter when done to ensure that the change is accepted.


Figure 1. Change data in the Physical Parameters.

5. Navigate to the Submit panel.
6. If the Status Window is not empty, press the "Clear Status Window" button. This can also be done in the Menu Bar under "Run -> Clear Status Window".
7. Press the Submit button.


Figure 2. Status window results.

Note the template in the Submit panel to the right of the Submit button. The variable nnodes should be 9, but instead it is still 5. Any time data is changed in the GUI, the template must be "Refreshed. One way to do this is in the Menu Bar under Run -> Refresh Template.

8. In the Menu Bar, press "Run -> Refresh Template".
9. Clear the Status Window.
10. Press the Submit button.

The value of nnodes in the Status Window should now be 9. Notice that nine results are returned, one for each node.

Changing data in the Editor Window

Another way to change information is to modify the GUI generated script (template) directly.

1. In the Menu Bar, press "Run -> View Template". The Editor Window will open with the Maltab template.
2. Go to the line "nnodes = 9;". Change the 9 to 12;

An example of what NOT to do next.
3. In the Editor Window's Menu Bar, press "Template -> Refresh".

Notice that the line "nnodes=12;" has returned to "nnodes=9". The Refresh option takes information from the GUI tables and text boxes to build the template. The value of nnodes in the Physical Parameters table is still 9, thus the template value of nnodes is 9, not 12.

4. Again, change the line "nnodes=9;" to "nnodes=12;"
5. Click in the Submit panel. (The act of leaving the Editor Window temporarily saves the template in the GUI buffer.)
6. Press the Sumit button.

Notice in the Status Window that the value of nnodes is 12. Twelve solution results are returned, one for each node.

The ability to edit the Matlab template in the Editor Window provides the user an opportunity to do additional processing on the data, such as the information provided in the Notes Panel. Through the Editor Window the template may be saved to a file on the local machine. If the user has Matlab and the fempse toolbox, the template may be solved directly in Matlab, making use of Matlab's plotting functions.

**NOTE: When saving files on the Windows OS, the application NotePad does not read the end-of-line character correctly, and the file appears to be corrupted. Use WordPad, or some other application to open the GUI files.


Index   Toolbar and Menu options  Configure Panel Notes Panel Physical Panel 
 Iterations Panel  Equation Panel   Submit Panel  Compute Engine Panel   Tutorial