Results translation is the process of translating data contained in a results file into a HyperMesh binary results database. HyperMesh contains an external results translator for each of the supported analysis codes. The external results translator reads data from a solver results file and writes a HyperMesh binary results file. Results translation is performed at the operating system prompt, outside of HyperMesh.
The HyperMesh results translators have a UNIX-style interface. This interface allows the translator to use features found in the UNIX and MS-DOS operating systems.
You can start a results translator by two methods: through the Solver panel in HyperMesh or at a command prompt.
To start a translator in HyperMesh, click solver from the Checks menu to open the Solver panel. Input values in the fields and click solve to start the translator.
To start a translator at a command prompt, use the following syntax:
<HyperMesh translator> [arguments] <inputfile> <outputfile> <modelfile>
Where:
<HyperMesh translator> |
The name of the HyperMesh translator to run. |
<arguments> |
A list of arguments that modify the execution of the translator. This list is specific to each of the translators. For a list of the available arguments, type in the translator name with the -u option. |
<inputfile> |
The file containing the results in the analysis code format. |
<outputfile> |
The file containing the results in HyperMesh format. |
<modelfile> |
The file that is created and contains the model found in the results database. This feature is available on some of the HyperMesh translators. To find those translators, use the -u option. |
If the input filename and output filename are not specified, the translator translates the results file from standard input to standard output. This is useful when the results file to be translated is compressed. You can uncompress the results file and send it to the translator, which outputs the results into a file. This is illustrated below:
filepress run1.prs | hmnast > run1.res
There are two additional conversion tools available in the following location in the HyperWorks installation directory:
\io\translators\bin\WIN32\
• | hmresdmp.exe converts an existing HyperMesh binary .res file into ASCII data |
• | hmgenres.exe converts a basic ASCII-formatted results file into a binary .res file. |
Refer to these tools’ online help topics for more information.