Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Extension

Description

pre-adapter input

pre-adapter output

post-adapter input

post-adapter output

.prj

project file

(error) (tick)

 

(error) (tick)

 

.p01

plan files

 (tick)

  

(tick)

 

.g01

geometry files

 (tick)

  

(tick)

 

.f01

flow files

 

 

 

 

.u01

unsteady flow files

 

 

 

 

.b01

unsteady run files

 (tick) 

(tick)

 (tick)

 

.x01

input file for geometry preprocessor

 

 

 

 

.r01

steady run file

 

 

 

 

.o01O01

binary output file

 

  

(tick)

 

.bco

model log file

 

  

(tick)

 

.c01

output of geometry preprocessor

 

 

 

 

.dss

input / output files

 

  

(tick)

 

.hyd01

input file for geometry preprocessor

 

 

 

 

...

Scripts are available for Windows and Linux OS, .cmd and .sh extensions correspondingly.

Note

Note that all files names and extensions used in the run.cmd or run.sh scripts must be defined correctly based on used input data files of the HEC-RAS model in the HEC-RAS GUI.

Code Block
titlerun.cmd
@echo on

set RAS_BIN_HOME=..\..\bin

echo Processing geometry ... 
%RAS_BIN_HOME%\GeomPreprocessor.exe ctfld2ras.x02 runnext=1

echo Running Unsteady.exe ... 
%RAS_BIN_HOME%\Unsteady.exe ctfld2ras.c02 b03 runnext=1

echo Running Steady.exe (also produces binary output, after Unsteady.exe) ... 
%RAS_BIN_HOME%\Steady.exe ctfld2ras.r03 runnext=1 

echo Writing DSS ... 
%RAS_BIN_HOME%\DSSWriter.exe ctfld2ras.c02 p03 runnext=1

pause

...

Code Block
titleclean.sh
rm -f ./*.hyd*
rm -f ./*.IC*
rm -f ./*.O0*
rm -f ./Steady_CRASHED
rm -f ./*scratch*
rm -f ./*bco
rm -f ./*blf
rm -f ./*.xrj
rm -f ./*.a0*
rm -f ./*.hto*
rm -f ./*.t*
rm -f ./*.c
rm -f ./ctfld2ras.dsc
rm -f ./ctfld2ras.dss
rm -f ./GeomPreprocessor_CRASHED
rm -f ./*.bco*
Note
Note that all files names and extensions used in the run.cmd or run.sh scripts must be defined correctly based on used input data files of the HEC-RAS model in the HEC-RAS GUI.