Bridges can be load rated with multiple permit trucks by running a batch file. Copy the batch file example to MDXRUN.BAT, change the first three lines to the location of the project. Create the file LOADCASE.IN, copy this file to the project directory. The batch file changes to the installed program directory, passes the project and loadcase number to the application through the command line, and copies the loadcase output after execution to a separate subdirectory so it can be easily reviewed. The batch file can be run from any directory except for the project directory, LOADCASE.IN must be located in the project directory.
- begin copy/paste for LOADCASE.IN -
CASE 1
ID TYPE4 Weight 70 KIPS
PRMITP 14. 10. 23. 23.
PRMITSP 12. 4.
4.
CASE 2
ID 3S2 Weight 80 KIPS
PRMITP 12. 17. 17. 17. 17.
PRMITSP 12.
4. 31. 4.
- end copy/paste for LOADCASE.IN -
- begin copy/paste for MDXRUN.BAT -
REM ------------------------------------
REM - CHANGE THESE ENVIRONMENT
VARIABLES
REM - TO THE DRIVE, DIRECTORY AND OUTPUT
REM - PATH OF YOUR
PROJECT
REM ------------------------------------
SET PROJDRIVE=C:
SET
PROJPATH=C:\PROJECT_DIRECTORY
SET
OUTPATH=C:\PROJECT_DIRECTORY\LOADCASE
REM -----------------------------------
REM - DO NOT CHANGE THE FOLLOWING
LINES
REM
-----------------------------------
%PROJDRIVE%
MKDIR
%OUTPATH%
IF NOT EXIST %PROJPATH%\LOADCASE.IN GOTO
ERROR1
c:
CD\Program Files\MDX Software\MDX Version 6.5
IF EXIST MDXV6.EXE GOTO SKIP
CD\Program Files (x86)\MDX
Software\MDX Version 6.5
:SKIP
REM --------------------------------------------
REM - COPY THE FOLLOWING
LINES FOR EACH LOADCASE
REM - CHANGE THE ENVIRONMENT VARIABLE "NUM" TO
REM
- THE LOADCASE NUMBER FOR EACH RUN
REM
--------------------------------------------
REM ------------------
REM - BEGIN LOADCASE 1
REM
------------------
SET NUM=1
START /wait MDXV6 input=%PROJPATH%\*.MDX loadcase=%NUM%
SET
OUTPATH=%PROJPATH%\LOADCASE%NUM%
IF NOT EXIST %OUTPATH% MKDIR %OUTPATH%
DEL /Q %OUTPATH%\*.OUT
COPY %PROJPATH%\LOADCASE%NUM%.OUT
%OUTPATH%
COPY %PROJPATH%\GSA.OUT %OUTPATH%
COPY
%PROJPATH%\R*.OUT %OUTPATH%
COPY %PROJPATH%\X*.OUT %OUTPATH%
REM ------------------
REM - BEGIN LOADCASE 2
REM ------------------
SET NUM=2
start /wait MDXV6 input=%PROJPATH%\*.MDX loadcase=%NUM%
SET
OUTPATH=%PROJPATH%\LOADCASE%NUM%
IF NOT EXIST %OUTPATH% MKDIR
%OUTPATH%
DEL /Q %OUTPATH%\*.OUT
COPY
%PROJPATH%\LOADCASE%NUM%.OUT %OUTPATH%
COPY %PROJPATH%\GSA.OUT
%OUTPATH%
COPY %PROJPATH%\R*.OUT %OUTPATH%
COPY
%PROJPATH%\X*.OUT %OUTPATH%
REM ----------------------------------------------
REM - DO NOT CHANGE THE
FOLLOWING LINES
REM ----------------------------------------------
GOTO END
:ERROR1
ECHO
ON
ECHO LOADCASE.IN was not found in the
directory.
PAUSE
:END
CLS
%PROJDRIVE%
REM -----------------------------------------------------------------
REM - COPY THE FOLLOWING THREE LINES FOR EACH LOADCASE
REM - TO DISPLAY GOVERNING EFFECTS IN COMMAND WINDOW
REM
-----------------------------------------------------------------
CD
%PROJPATH%
CD LOADCASE1
TYPE LOADCASE1.OUT
CD %PROJPATH%
CD LOADCASE2
TYPE LOADCASE2.OUT
REM -----------------------------------------------------------------
REM
- PAUSE TO SCROLL UP/DOWN TO REVIEW THE GOVERNING
REM - EFFECTS FOR ALL PROCESSED LOADCASES
REM ------------------------------------------------------------------
PAUSE
- end copy/paste for MDXRUN.BAT -