web-archive-uk.com


Web directory, archive
Search web-archive-uk.com:


Find domain in archive system:
web-archive-uk.com » UK » C » CHAM.CO.UK

Total: 682

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • PIL CASE Construct
    MESG CH1 YYY ENDCASE This will execute the command MESG CH1 XXX if CH1 has the values XXX or XXXX but not if it has the values XX XXC XXXC or XXXXX If the number of characters to match is not specified then all characters must match It should be noted that the character variable does not need to be enclosed in colons in the CASE statement in order for its value to be evaluated but it is allowed for compatibility The number of WHEN statements permitted within a CASE ENDCASE construct is unlimited CASE constructs can be nested to a maximum depth of 20 and interleaved freely with DO loops and other flow control constructs Example of use The following sequence sets up a 2 D duct in the X Y plane but asks whether to put the main flow direction along X or Y There are also options to have a blockage at the inlet and to include or dispense with relaxation TALK F RUN 1 1 VDU WINDOWED CHAR ANS INTEGER I1 BOOLEAN BLOCK CHAR TYP TYPOUT TYPTOP TYPBOT VEL1 VEL2 REAL UIN DO II 1 8 INTEGER IX II IY II IZ II IXB II IYB II ENDDO MESG Blockage Y N READVDU ANS CHAR N CASE ANS OF WHEN YES 1 BLOCK T I1 1 MESG Blockage activated ORELSE BLOCK F I1 0 MESG No blockage included ENDCASE MESG Flow direction X Y READVDU ANS CHAR X CASE ANS OF WHEN X 1 GRDPWR X 5 1 1 GRDPWR Y 5 2 1 5 IX1 1 I1 IX2 IX1 IY1 1 IY2 NY IZ1 1 IZ2 NZ IX3 NX IX4 NX IY3 1 IY4 NY IZ3 1 IZ4 NZ IX5 1 IX6 NX IY5 NY IY6 NY IZ5 1 IZ6 NZ IX7 1 IX8 NX

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_enc/case.htm (2016-02-15)
    Open archived version from archive


  • BODY-FITTED-COORDINATE GRIDS
    When to use body fitted coordinates BFCs How to set up BFC problems BFCs in PHOENICS lecture 1 BFCs in PHOENICS lecture 2 the grid generation tutorial The General Colocated

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_enc/enc_bfc.htm (2016-02-15)
    Open archived version from archive

  • SET.HTM
    being plotted either radiating from cell centres SET VECTOR CENTRE ON or centred about the cell centre SET VECTOR CENTRE OFF The default is to plot vectors radiating from cell centres See also VECTORS SET VECTOR COMPONENTS SET V Photon Help SET V ector CO mponents v1 v2 v3 selects the three stored variables that are to be used as vector components Although three variables must be specified for 2D runs the third variable may be specified as a dash e g VC V1 W1 for a 2D Y Z run In this case component 1 is taken as zero The default setting is U1 V1 W1 and the PHASE command can be used to switch to second phase velocity vectors See also SET VECTOR PHASE SET VECTOR KEY Photon Help SET V ector K ey ON or OFF controls the visibility of the key displayed at the bottom of vector plots SET VECTOR PHASE Photon Help SET VE ctor PH ase 1 or 2 enables you to select the plotting of first or second phase velocity vectors PHASE 1 is the default and second phase vectors may be plotted by issuing the PHASE 2 command This command is inactive for single phase runs See also SET VECTOR COMPONENTS SET VECTOR REFERENCE SET Photon Help SET V ector RE ference value is used to change the reference velocity used for vector plotting If a value is not given the program will prompt for one The reference velocity is the value associated with the reference arrow in the vector key and all vectors in the plot are scaled to this value See also VECTORS SET VECTOR UNITS Photon Help SET V ector UN its value sets the units used for labelling vector plots The default value for vector units is meters second m s Any string of up to 20 characters may be entered to denote the units and will appear when the reference arrow is plotted at the bottom of a vector plot See also SET VECTOR KEY SET CONTOUR UNITS SETBFC PIL logical default F group 6 SETBFC when set T causes GREX3 to call GXBFGR which computes the set of cell corner coordinates defining a body fitted coordinate grid Library case 966 illustrates the use of this feature SETBFC and MOVBFC Setting SETBFC T causes GREX3 to call a new subroutine GXBFGR which exemplifies the use of GROUND coding to create a body fitted coordinate grid Setting MOVBFC T further causes GXBFGR to be called at each time step in order that the grid can be changed and if storage is provided for CONI CONJ and CONK GREX3 will calculate the grid movement contributions to the convection fluxes Library case 966 illustrates the use of this feature SETLIN Command group 6 Body fitted co ordinates SETLIN is a command used to set the corner coordinates of cells on a line of constant I J or K the location of which is set by the DOMAIN which precedes it

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_enc/set.htm (2016-02-15)
    Open archived version from archive


  • PLOT.HTM
    NZ 1 1 PLOT name W1 0 0 0 0 plots the profile of the axial velocity as a function of IZ See also PROFIL and IPROF for related information and ABSIZ and ORSIZ for control of the box size printed Many examples of the use of PROFIL and CONTUR line printer plots are to be found in the PHOENICS Input Library Plot rotation in PHOTON The ROTATE command causes the rotation of the plot about an arbitrary axis in 3D The format of the command is RO tate AX is axis specification ANG le angle The axis may be specified in the same way as for VIEW and UP commands angles are in degrees and may be positive or negative In order to rotate about the VIEW direction enter ROT angle For example ROT AX 1 1 1 ANG 30 will cause a rotation of 30 degrees about the 1 1 1 axis NOTE that rotations are cumulative This command causes an immediate redraw Plot sizes in AUTOPLOT Four sizes of plot are available and are known by the names big little full and page The default size is full To change t plot size it is necessary simply to enter BIG LITTLE FULL or PAGE according to which is the new size required The little size is arranged so that a Tektronix 4014 hard copy wil fit neatly into a standard CHAM half page report box Hard copy from other devices may vary in size but the relative proportions will be preserved The big size has the same proportions as little but occupies th full width of the screen and the text is composed of larger charact A hard copy will fit in a half page report box after a 70 reduction on a copying machine Reduced big plots are preferable to little plots because the lines and characters are made clearer in the reduc process The page size is arranged so that a hard copy will fit into a CHAM whole page report box It occupies the whole height of the screen a has small size characters The full size occupies most of the screen area and employs large characters When reduced it will fit in a CHAM page size box but w more wasted space than the page size Plot creation of in AUTOPLOT When several data elements have been created you can plot them by using the PLOT command Each data element is drawn as a set of continuous straight lines joining the data points If there are as yet no plots present on the screen the PLOT command will produce a plot showing all the existing data elements The plot will be scaled to accommodate all the data elements and the axes will be calibrated automatically If there is already a plot on the screen the PLOT command will cause any data elements as yet unplotted to be plotted the scales will however remain unchanged Thus the two sequences of commands DATA DATA PLOT

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_enc/plot.htm (2016-02-15)
    Open archived version from archive

  • FILE.HTM
    NOCHECK option may be specified in order to inhibit file checking FILE is usually the first command issued in a REPLAY session and subsequent files can be examined by further use of the FILE command See also REPLAY DRAW LIST FILE Photon Help File activates the sub menu for opening PHOTON data files or other I O streams PHI XYZ USE LOG PHOTON Save Screen dump Hard Copy Replay FILE

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_enc/file.htm (2016-02-15)
    Open archived version from archive

  • SCALE.HTM
    in REPLAY to set the scaling for subsequent drawing activities The default value is 1 0 which plots full size values less than 1 0 result in a smaller picture The SHIFT command can then be used to set the position of the rescaled frame on the screen The scale factor remains in force until it is changed by either another SCALE command or a RESET command See also REPLAY SHIFT RESET DRAW REDRAW SCALE Photon Help Scale enables you to choose the grid scaling factors in X Y Z direction The default is 1 0 1 0 1 0 SCALE Photon Help Scale is used to set the scaling for subsequent drawing activities The default value is 1 0 which plots full size values less than 1 0 result in a smaller picture The scale factor remains in force until it is changed by either another SCALE or RESET option SCALE Photon Help Rescale the plots and fit it into the current window SCALE ELEMENT Autoplot Help SCA LE EL EMENT n m Clear the screen and redraw the plot with the x or y axis scaled to fit element n If m is specified to fit all elements

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_enc/scale.htm (2016-02-15)
    Open archived version from archive

  • CLEAR.HTM
    is sought before proceeding Issuing the CLEAR N does the same as CLEAR D but does not request the user to confirm CLEAR S clears the instruction stack only without resetting default values for data items CLEAR Issuing the CL ear command in a PHOTON interactive session clears the screen and deletes all grid vector contour surface and text elements currently saved See also SCREEN CLEAR Issuing the CL ear command an interactive PHOTON REPLAY session causes the display to clear the screen before drawing a frame This is the default setting NOCLEAR is used to disable screen clearing and can be used to construct composite pictures by overplotting frames RESET will cause a CLEAR command to be issued See also REPLAY NOCLEAR DRAW REDRAW RESET Photon Help CLEAR Photon Help Clear clears the screen and deletes all plotting elements grid vector etc currently saved CLEAR Photon Help Clear NoClear causes the display to clear the screen before drawing a frame CLEAR is the default setting NOCLEAR is used to disable screen clearing and can be used to construct composite pictures by overplotting frames Reset will set the option to Clear CLEAR Photon Help CLEAR will delete all the GEOMETRY

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_enc/clear.htm (2016-02-15)
    Open archived version from archive

  • SUBR.HTM
    of the total velocity relative to the global grid coordinate system In order to use GETCAR storage for these quantities must be provided by means of the PIL command STORE UCRT VCRT WCRT GETCAR is called automatically on the last sweep when this storage is reserved so needs to be called by the user only when the cartesian components are needed during the computation GETPT i j k XC YC ZC GROUND subroutine for use when BFC T to get the cartesian coordinates XC YC ZC of the corner labelled i j k If the coordinates of a large number of corners at a given slab k are required then the subroutine CORNER provides more efficient access See BODY F for information on the corner labelling convention GTIZYX name IZ location name of array nydim nxdim This GROUND subroutine is used to retrieve body fitted grid geometry from EARTH at the IZ slab specified not necessarily the current slab The information retrieved is that for one slab and is put into a 2D array which has been named and dimensioned by the user to nxdim nydim whose values must be at least NX NY The names and reference numbers for all geometrical quantities are tabulated below The quantities refer to cells rather than the cell corners referred to in GETPT It should be noted that the variable names are defined in the file GRDBFC which should be included into any subroutine making use of them WARNING The following table is for use with body fitted grids only Ref No Name Geometrical quantity description 1 APROJE east face area projected normal to u 2 APROJN north face area projected normal to v 3 APROJH high face area projected normal to w 4 VOLUME cell volume The above are multiplied automatically by the appropriate porosities in EARTH The following geometric quantities are NOT so multiplied 5 ASURFE surface area of east face 6 ASURFW surface area of west face 7 ASURFN surface area of north face 8 ASURFS surface area of south face 9 ASURFH surface area of high face 10 ASURFL surface area of low face 11 DHXPE twice normal distance of node from E W walls of cell 12 XCORNR cartesian x coordinate of low south west cell corner 13 DHYPN twice normal distance of node from N S walls of cell 14 YCORNR cartesian y coordinate of low south west cell corner 15 DHZPH twice normal distance of node from H L walls of cell 16 ZCORNR cartesian z coordinate of low south west cell corner 17 MFAEPE coefficient for u in formula for east cell face mass flux 18 MFAEPN coeff for v in formula for east cell face mass flux 19 MFAEPH coeff for w in formula for east cell face mass flux 20 MFANPE coeff for u in formula for north cell face mass flux 21 MFANPN coeff for v in formula for north cell face mass flux 22 MFANPH coeff for w in formula for north cell face mass flux 23 MFAHPE coeff for u in formula for high cell face mass flux 24 MFAHPN coeff for v in formula for high cell face mass flux 25 MFAHPH coeff for w in formula for high cell face mass flux 26 DXGPE distance from cell node to east neighbour node 27 DYGPN distance from cell node to north neighbour node 28 DZGPH distance from cell node to high neighbour node 29 UDIVZE Earth Coefficients for the U Velocity divergence terms XZ 30 UDIVZN 31 UDIVZH 32 VDIVZE Earth Coefficients for the V velocity divergence terms YZ 33 VDIVZN 34 VDIVZH 35 WCRVYE Earth Coefficients for the W velocity curvature terms 36 WCRVYN 37 WCRVYH 38 XCORNO old cartesian x coordinate of l s w cell corner 39 YCORNO old cartesian y coordinate of l s w cell corner 40 ZCORNO old cartesian z coordinate of l s w cell corner 41 UCRVYE Earth Coefficients for the U velocity curvature terms 42 UCRVYN 43 UCRVYH 44 UNIVHE XC resolute of unit vector aligned local direction of w 45 UNIVHN YC resolute of unit vector aligned local direction of w 46 UNIVHH ZC resolute of unit vector aligned local direction of w 47 VDIVXE Earth Coefficients for the V velocity divergence terms XY 48 VDIVXN 49 VDIVXH 50 WDIVXE Earth Coefficients for the W velocity divergence terms XZ 51 WDIVXN 52 WDIVXH 53 UDIVYE Earth Coefficients for the U velocity divergence terms YX 54 UDIVYN 55 UDIVYH 56 VCRVXE Earth Coefficients for the V velocity curvature terms 57 VCRVXN 58 VCRVXH 59 MFANPL Earth Coefficients 60 MFAHPS 61 MFAHPW 62 WDIVYE Earth Coefficients for the W velocity divergence 63 WDIVYN terms YZ 64 WDIVYH 65 MFAEPS Earth coefficients 66 MFAEPL 67 MFANPW 68 XP XC coordinate of cell centre 69 YP YC coordinate of cell centre 70 ZP ZC coordinate of cell centre 71 UCARTE coeff for u in eqn for x directed cartesian resolute 72 UCARTN coeff for v in eqn for x directed cartesian resolute 73 UCARTH coeff for w in eqn for x directed cartesian resolute 74 VCARTE coeff for u in eqn for y directed cartesian resolute 75 VCARTN coeff for v in eqn for y directed cartesian resolute 76 VCARTH coeff for w in eqn for y directed cartesian resolute 77 WCARTE coeff for u in eqn for z directed cartesian resolute 78 WCARTN coeff for v in eqn for z directed cartesian resolute 79 WCARTH coeff for u in eqn for z directed cartesian resolute 80 MFAEEN Earth coefficients 81 MFAEES 82 MFAEEH 83 MFAEEL 84 MFANNE 85 MFANNW 86 MFANNH 87 MFANNL 88 MFAHHE 89 MFAHHW 90 MFAHHN 91 MFAHHS 92 UNIVEE XC resolute of unit vector aligned local direction of u 93 UNIVEN YC resolute of unit vector aligned local direction of u 94 UNIVEH ZC resolute of unit vector aligned local direction of u 95 UNIVNE XC resolute of unit vector aligned local direction of v 96 UNIVNN YC

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_enc/subr.htm (2016-02-15)
    Open archived version from archive



  •  


web-archive-uk.com, 2017-12-14