As of version 2025.1.4, batch files can be used to customize how you run HyperFEA and/or better integrate it into distributed computing environments. This includes (but is not limited to) services like AWS and Azure as well as in-house HPC clusters.
Next, click on "FEA Solver Setup". In the following form, click on "Toggle Batch Run Mode".
Now, instead of the path to the solver executable, you can set the path to the batch file you want to use.
You can also implement custom solver arguments similarly to how you would for a standard HyperFEA solver setup. HyperX will pass these arguments into the batch file when you start HyperFEA.
Note
While not explicitly required, these are the primary way of passing information from HyperX to the batch file.
For more information on the specific arguments available, see the sub-section below.
The HyperX install does not include any default batch files, so it is the user's responsibility to create their own. In this section, we will review an example batch file that runs HyperFEA for two rundecks at once to help you get started on creating your own.
Important
Batch files operate relative to your computing environment and Project setups. If you intend to use the following file as a starting point, make sure to update path names as necessary.
First, we need to review the setup of this sample Project. This Project contains two rundecks corresponding to UAM wings.
The batch file we specified for use in the last step is as follows:
@echo off
REM Loop through all command-line arguments (starting from %1, excluding %0)
for %%A in (%*) do (
echo Processing: %%A
REM Queue the rundeck
"{PATH_TO_SOLVER}" %%A
)
Note
Replace {PATH_TO_SOLVER} with the path you would use in the standard HyperFEA solver setup.
When HyperFEA starts, this file will receive arguments from HyperX (%* above). These are defined in the "Arguments" section of the "FEA Solver Setup" window (see last step). In this case, HyperX pass the rundeck names to the batch file which loops through to append them to the solver executable command. This will run HyperFEA on both rundecks simultaneously.
Clicking 'Start' on the HyperFEA window will reveal a few options, detailed in Step #6 here. After selecting one of those options, HyperFEA will run using the defined batch file to customize the solver executable command.