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