Homepage | About EASA | Contact
Estimated completion time→20 minutes.
In this practical session, we will create a process to run the software application, manipulate user inputs into a form suitable for the batch file, and edit a batch input file into a template with 'delimited' object references or DORs.
The first task is to upload a few files required by the EASAP.
The input.txt file will be added to the list of current files shown below the Browse and Upload buttons.
input.txt contains text responses that would otherwise be typed at the command prompt
Now we create the PROCESS for running the plate analysis software.
Parameter Name | Parameter Value |
---|---|
Run Using: | cmd.exe /C "femrctpl.exe < input.txt" |
Software: | demo |
Now we set up the objects needed to manipulate the user input data into a form appropriate for replacement within the batch input file, in this case, plate.txt.
Now we create a MAP to map a particular plate material into the modulus of elasticity which is required by the plate analysis software.
Parameter Name | Parameter Value |
---|---|
Value: | mat |
Inputs: | Steel, Aluminum, Titanium |
Outputs: | 27600, 10600, 15000 |
Create a similar MAP for the material’s Poisson ratio.
Parameter Name | Parameter Value |
---|---|
Outputs: | 0.305, 0.33, 0.34 |
Now we translate the plate’s dimensions into the expected uniform element size in the input file. The plate is divided into 20 elements along its length. Create a COMPUTE:
Parameter Name | Parameter Value |
---|---|
Value: | L/20 |
Unit Group: | Length |
Now we add a REPLACEMENT object for runplate's input file, plate.txt.
Our EASAP will replace the values in plate.txt with new values directly prior to each run of the batch program.
The PROCESSES branch of the EASAP Tree should look like this:
Therefore the order of objects on the Tree within a PROCESS is not important. However, the order of execution of multiple PROCESS objects is based on their order on the Tree, occurring from top to bottom.
The Template Editor will start in a new window.
We now replace fixed input values such as text strings and numbers with object references.
Tip: If there is a problem setting the units of a 'delimited' object reference, or DOR, ensure that the Unit Group: parameter has been set properly for the dx COMPUTE. To go back and make a change in EASAP Builder, keep Template Editor open and just select File→Reload after saving a new change in the Builder.
At this point the file will appear in the Template Editor like the figure on the next page:
Once the file looks correct,
At this point, our EASAP will be ready for its first test run. Even though the OUTPUT branch is empty and nothing will be displayed on the results pages, we may still submit a test run and take a look at what is produced at this point.
After a second or two, a pop-up window will appear when the EASAP has been submitted successfully.
This page should look like the figure on the following page:
It will probably be the only entry in the table. If there are not any rows in the table, click the refresh button on the browser. Now, look at the Status column for the run we just submitted. It may show a variety of messages.
Once the job has completed, look at the files produced by the test run.
A pop-up window will appear that will look like the following page:
Let’s look at the input file, plate.txt, and see the result of the object reference replacements.
If the above file content is not visible there may be an error in the EASAP settings or in the template input file. We can attempt to fix these problems at this time or wait until Practical Session 5, where we test and debug the completed EASAP.
Now let’s look at the output file, PLATE.OUT, produced by the underlying software application.
If the PLATE.OUT link or the above file content is missing, there is an error in the EASAP settings or in the template input file.
After reviewing the file, close the window.
Now, review the data values produced by the EASAP. In the 'delimited' object references or DORs column for the recent EASAP run,
A new table will appear in the browser window that will look like the following figure:
We are now finished with Practical Session 3.