Page:4SIGHT manual- a computer program for modelling degradation of underground low level waste concrete vaults (IA 4sightmanualcomp5612snyd).pdf/17

From Wikisource
Jump to navigation Jump to search
This page has been validated.

Enter commands:

At this point 4sight is simply waiting for the user to input program parameters. The commands are given one per line:

DIFF = 2.0E-12
WC = 0.45
TIME = 100000
quit

After which, 4SIGHT begins the calculation, printing intermediate results to the screen.

3.2Batch Mode

When run in batch mode the user specifies an input file at the command line. This input file simply contains any number of input parameters, as in the interactive mode. For example, assume the following text is saved into a file called input.dat:

DIFF = 5.0E-12
THICKNESS = 1.0
WC = 0.50
EXTERNAL Cl = 0.150
EXTERNAL Na = 0.150
DEPTH = 0.25

This file can be created by any ASCII editor such as the DOS edit program or the UNIX vi program. When using a commercial word processing program to create input files make sure that the output is in plain ASCII. As a check, give the C:\type input.dat command at the DOS prompt. The text should appear as typed. Note that neither quit nor exit are required in the input file. To use input files with 4SIGHT, simply include that file name on the DOS command line:

C:\4SIGHT\4SIGHT input.dat

The output from 4SIGHT goes to the screen. This is useful for initial calculations and trial runs. However, if the user desires to save the output to an ASCII file, simply use redirection of the output:

C:\4SIGHT\4SIGHT input.dat >output.dat

This example uses the commands in the file input.dat as input parameters and saves the output in the file output.dat.

3