next up previous contents
Next: *VISCO Up: Input deck format Previous: *USER MATERIAL   Contents


*VIEWFACTOR

Keyword type: step

Sometimes you wish to reuse the viewfactors calculated in a previous run, or store the present viewfactors to file for future use. This can be done using the keyword card *VIEWFACTOR.

There is one required parameter specifying whether you want to read previous viewfactors (READ) or store the viewfactors of the present calculation for future runs (WRITE). For reading there is one optional parameter INPUT.

If you specify READ, the results will be read from the binary file ``jobname.vwf'' (which should have been generated in a previous run) unless you specify the parameter INPUT. In the latter case you can specify any filename (maximum 126 characters) containing the viewfactors. If the filename contains blanks, it must be delimited by double quotes and the filename should not exceed 124 characters. The geometry of the faces exchanging radiation must be exactly the same as in the actual run. Notice that the parameter INPUT must be preceded by the READ parameter.

If you specify WRITE, the viewfactors will be stored in binary format in file ``jobname.vwf''. Any existing file with this name will be deleted prior to the writing operation. For a subsequent restart job with name ``jobname_new.inp'' the ``jobname.vwf'' file must be renamed into ``jobname_new.vwf''.

A *VIEWFACTOR card is only active in the step in which it occurs.


First and only line:

Example:

*VIEWFACTOR,WRITE

will store the viewfactors calculated in that step to file.

Example:

*VIEWFACTOR,READ,INPUT=viewfactors.dat

will read the viewfactors from file viewfactors.dat.


Example files: furnace.


next up previous contents
Next: *VISCO Up: Input deck format Previous: *USER MATERIAL   Contents
guido dhondt 2007-02-18