Next: *VISCO Up: Input deck format Previous: *VALUES AT INFINITY 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 and WRITE ONLY). For reading there is an optional parameter INPUT, for writing there is an optional parameter OUTPUT.

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 use 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.

In thermal calculations (keyword *HEAT TRANSFER) the viewfactors are calculated at the start of each step since the user can change the radiation boundary conditions in each step. If the viewfactors are not read from file, i.e. if there is no *VIEWFACTOR,READ card in a step they are calculated from scratch. In thermomechanical calculations (keyword *COUPLED TEMPERATURE-DISPLACEMENT) the viewfactors are calculated at the start of each iteration. Indeed, the deformation of the structure in the previous iteration can lead to a change of the viewfactors. However, if the user reads the viewfactors from file the recalculation of the viewfactors in each iteration anew is turned off. In that case it is assumed that the viewfactors do not change during the entire step.

If you specify WRITE or WRITE ONLY, the viewfactors will be stored in binary format in file ``jobname.vwf'' unless you use the parameter OUTPUT. In the latter case you can specify any filename (maximum 125 characters) in which the viewfactors are to be written. Any existing file with this name will be deleted prior to the writing operation. If the filename contains blanks, it must be delimited by double quotes and the filename should not exceed 123 characters. Notice that the parameter OUTPUT must be preceded by the WRITE or WRITE ONLY parameter. If you specify WRITE ONLY the program stops after calculating and storing the viewfactors.

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

First and only line:

- *VIEWFACTOR
- specify either READ or WRITE

    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: *VISCO Up: Input deck format Previous: *VALUES AT INFINITY Contents