Encyclopaedia Index

5. PIL of version 3.1 onwards

Additions during 1997 and 1998

  1:  NEWS, tutorials & utilities

                                                  Case no

      Access to several utilities                      10

      PIL calculator                                   11

      NEWS                                             12

      PAUSE                                           $13

      Declaration of useful characters                $14

      PIL macro for a uniform grid                    $15

      Introduction to the library                      19

      Provide plain-English interpretation of the Q1   20

      Clear the screen                                $21

      PAUSE                                           $22

      EXPERT                                          $30

      Common residual and print-out-control settings  $31

      Law-of-the-wall calculator                       80

      PIL tutorial 1                                   91

      PIL tutorial 2                                   92

      PIL tutorial 3                                   93

      The list of Group titles                        998

      Explanation of loading linked cases             999


 12: NEWS, and Introduction to the PHOENICS Input Library

                 !!!!!!!!!   NEWS   !!!!!!!!!!

   June 1998


   The PLANT library has been greatly extended, in order to 

   exemplify the improvements and extensions made to PLANT



   The are indeed now two PLANT libraries, "standard" and




   August 1996


   PIL changes:

   1. LOAD(          can be replaced by              l( or L( or #

                     and the closing bracket may be omitted

   2. END            can be replaced by              e or E

   3. ABORT          can be replaced by              a or A

   4. SEELIB         can be replaced by              s or S

   5. PAUSE          provides a pause in Q1 processing, with the

                     message: Press ENTER to continue

   6. Prefixing the case number by $ inside the brackets following

      LOAD (or load, or L, or l) ensures that the data are not reset

      to the default values before the case data are loaded. The

      effect is the same as though the loading had been preceded by



      This feature facilitates the loading of PIL macros inserted

      in the library.

      Examples will be found in the GENTRA and solid-stress option

      libraries and elsewhere.


   7. INCL(file_name

      on a single line, with or without a closing bracket, will load

      the named file into the instruction stack with the same effect

      as though the contents of the file resided in the Library.


      If lines containing TALK=... or STOP are encountered, these

      lines will be ignored. Q1's can therefore be

      "swallowed whole".


      This feature enables users to use the same set of instructions

      in many different Q1 files, without having to copy them in.


      The so-loaded file can itself contain l( or incl( commands.


   8. INT(....) may be used for declaring integers in place of



   9. BOOL(....)  may be used for declaring logicals in place of



  10. The READVDU command may be used for the interactive setting of

      logical, ie BOOLean, variables. The syntax is the same as for

      REAL, INTeger, CHARacter and TEXT variables, namely:


          READVDU(variable name, BOOL, default ie T or F)


  14. Library case 14 has been provided for the declaration and

      setting of certain especially-useful character variables.

      The case is always loaded when the satellite starts to run;

      and the so-declared variables are never cleared from memory

      until the next run starts.


      PAUSE, for example, is declared there, and set to the value

      l($13 . It is this which provides the pause and the message.



   April 1996



   Satellite has been taught to recognise more-easily-memorable

   substitutes for GRND1, GRND2, .......... GRND10. They are listed

   and explained in the Encyclopaedia entry: GRNDx.


   Examples for property-value settings are:

             <------------- PIL variables to be assigned>

    GRNDx :  RHO1      ENUL      ENUT     TMP1/2     EL1/2






    GRND10:  FILE      FILE      FILE     FILE       VARIOUS

    In COVAL statements, examples are:-

             <--- for CO>   <---- for VAL>

    GRNDx :  walls  chem.react   GRNDx :  walls    buoyancy

    --------                     --------

    GRND1 :  BLASIUS             GRND1 :  BLASIUS  DENSITY

    GRND2 :  LOGLAW              GRND2 :  LOGLAW   DENSDIFF

    GRND3 :  GENLAW              GRND3 :  GENLAW   BOUSS

    GRND6 :           ARRHEN

    GRND9 :           EBU


Another encyclopaedia entry worth reading is that concerned with the SPEDAT command, which is extensively used for transmitting "special data" from the Q1 file to EARTH.