DCS
a Driven-Cavity Open source Simulator code
 All Classes Files Functions Variables Groups Pages
Running DCS

Running DCS in a nutshell

Just run it without arguments and a help message will be prompted:

Error: no argument has been passed to command line
DCS
Driven-Cavity Simulator code
Usage:
./DCS -N number_of_cells [optionals parameters]
Optional parameters:
-Re Reynolds_number => default 500
-beta over_relaxation_parameter => default 0.6
-rtol residual_tolerance => default 10^-4
-nout standard_output_update_frequency => default 1000 iterations
-oform output_file_format => "tec" for Tecplot output or "gnu" for gnuplot one, default "tec"
Example:
./DCS -Re 9.d2 -beta 0.5d0 -N 256 -nout 10000 -rtol 1.d-6

The options should be self-explanatory. An output file named DCS_out.xxx is created after the simulation is finished. Accordingly to the command line arguments used a Gnuplot (DCS_out.gnu) or Tecplot (DCS_out.tec) file is created. Two layout are provided within DCS, namely stream.gnu and stream.lay for visualizing the stream function in the Gnuplot or Tecplot format respectively.