Encyclopaedia Index

PRINT-OUT from EARTH

Contents

  1. Introduction and general advice
  2. Use for the diagnosis of divergence
  3. Output thinning
  4. Use of line-printer contours and profiles
  5. Print-out elicited by SPEDAT commands
  6. Other topics

1. Introduction and general advice

It is hard to know in advance precisely what print-out will be required. Some users therefore call for much more than they are sure to need, just in case it will be found to be useful; but, in doing so, they create needless difficulties, burdening themselves with more paper or longer output files than they can possibly inspect.

Because of the ability easily to 'restart' a PHOENICS computation, it is best to call for only a small amount of output at first, concentrating perhaps on the 'residuals', and how they diminish with number of sweeps; and this should be viewed at the VDU, without recourse to the line printer. If the results of the computation are saved, by way of the SAVE=T setting in Group 24 (this is the default), it will always be possible to elicit desired output by making one more sweep with the appropriate settings in Groups 21, 22 and 23 (see AUTOPS).

Thus, a series of minimum-output runs may be made, by a succession of restarts, until it is judged that the solution is sufficiently converged to be interesting. Then a succession of single-sweep runs can be made, with various output options, until tables and plots containing the desired combination of information items, suitably displayed, have been elicited. Only at the end of this is it appropriate to cause the output actually to be printed.


2. Use for the diagnosis of divergence

When divergence occurs at the start of a run, printing out and inspecting the field values for the first two or three sweeps will often permit the cause to be discerned. For example, it may reveal that some variables have totally unrealistic values even at the start, possibly because of errors in coding introduced into GROUND; or the occurrence of low pressures near what is ostensibly an outflow boundary may reveal that inflow is occurring there.


3. Output thinning

It is rarely desirable that complete tables of field values are required to be printed; therefore, when fine-grid runs are being performed, a user who neglects the numerous print-out-control features of PHOENICS can impose a needless burden on himself. Attention is therefore drawn to the "output-thinning" variables NXPRIN, NYPRIN, NZPRIN, NTPRIN and NPRINT. In this connection, it may be convenient to make settings such as NXPRIN=NX/5 (actually the current defaults) in the SATELLITE; for these will keep the amount of print-out approximately the same, even when the values of NX, NY etc are changed.

The sizes of the output tables can also be limited by setting IXPRF, IYPRF, IZPRF, ISTPRF and ISWPRF to values in excess of 1, and those of IXPRL, IYPRL, IZPRL, ISTPRL, ISWPRL to values below NX, NY, NZ, LSTEP and LSWEEP respectively.


4. Use of line-printer contours and profiles

Finally, the use of PROFIL- and CONTUR -type patches, especially when the associated field values are printed out as numerical tables (see ITABL) can often provide all the numerical information which is needed. Then the regular field output can be dispensed with, by setting: OUTPUT (variable,N,,,,,).


5. Print-out elicited by SPEDAT commands

PHOENICS 3.3 provides examples of how SPEDAT commands can be used for eliciting information of various kinds, including:

  1. the value of a particular variable at a particular cell;
  2. the maximum and minimum values of a variable in the whole field, and their cell locations;
  3. the total amount of a variable in the whole field
  4. the mass-average value of a variable over the whole field
  5. normalised and "power-lawed" values of a particular variable
  6. how the total number of commands is indicated

These capabilities will now be discussed one-by-one, by reference to:


a. The value of a particular variable


b. The maximum and minimum values of a variable


c. The total amount of a variable in the whole field


d. The mass-average value of a variable in the whole field


e. Normalised and "power-lawed" values of a particular variable


f. how the total number of commands is indicated


6. Other topics

Print-out of stored variables, specification of

(see OUTPUT)

Print-out of tabular fields

(see XZPR)

Print-out of velocity

(see IURPRN)

Print-out time-step interval for

(see NPRMNT)

Print-out, sweep interval

(see NPRMON)

Print-outs

(see GROUPS 20-24)

Printing initial fields

(see INIFLD)

Printing text in EARTH and PHOTON output

(see TEXT)

Printing, first sweep for

(see ISWPRF)

Printing, first time step for

(see ISTPRF)

Printing, last sweep for

(see ISWPRL)

Printing, last time step for

(see ISTPRL)