Skip navigation links
(Wind-US Documentation Home Page) (Wind-US User's Guide) (GMAN User's Guide) (MADCAP User's Guide) (CFPOST User's Guide) (Wind-US Utilities) (Common File User's Guide) (Wind-US Installation Guide) (Wind-US Developer's Reference) (Guidelines Documents)

(adf_revert) (cfaverage) (cfbeta) (cfcnvt) (cfcombine) (cflistnum) (cfpart) (cfreorder) (cfreset_iter) (cfspart) (cfsplit) (decompose) (fpro) (gpro) (jormak) (mpigetnzone) (recombine) (resplt.pl) (thplt) (tmptrn) (USintrpltQ) (windpar) ... (all utilities)

thplt

thplt may be used to extract information stored in time history (.cth) files, and create GENPLOT files for post-processing. Time history files are created during Wind-US runs by using the HISTORY keyword. This is useful in tracking the values of certain specified parameters over time in an unsteady flow.

The thplt utility is used with .cth files created using the improved time history capability introduced in Wind alpha 5.52. It will not work with .cth files created using earlier versions of Wind; for those, use the timplt utility.

Example

Suppose an unsteady flow case has been computed in three Wind-US runs (i.e., an initial run and two restarts), with the following HISTORY keyword block in an input data file named case4_3d.dat:

   History
      Variable p
      Frequency 5
      Region 1 17 17  1  1 1 1
      Region 2 17 17 11 11 5 5
      Region 3  9  9 11 11 7 7

The resulting time history files will contain the static pressure at the points (17,1,1), (17,11,5), and (9,11,7) in zones 1, 2, and 3, respectively. There will be three files, one for each run, and Wind-US automatically appends the creation date and time to the end of the file name. The file names will thus be something like case4_3d.cth.10-23-07h15m53 (i.e., created on Oct. 23, 2007, at 3:53 PM), case4_3d.cth.10-24-07h09m16, and case4_3d.cth.10-25-07h10m04.

The thplt utility would be used as follows to create three GENPLOT files containing the unsteady pressure data, one file for each of the three points specified by the Region keywords in the History keyword block. Lines in slanted type are typed by the user. Note that when multiple .cth files will be processed, all of them must be opened before selecting the grid points and variables.

   % thplt

                                ***** thplt *****

             Select the desired version from the following list.

   0) END
   1) thplt optimized version

   Single program automatically selected.

    thplt - Version 1.5 (last changed 2005/05/18 22:35:51)
    ****************************************************************************
    * Warning: This software contains technical data whose export is           *
    * restricted by the Arms Export Control Act (Title 22, U.S.C., Sec 2751,   *
    * et seq.) or Executive Order 12470. Violation of these export-control     *
    * laws is subject to severe criminal penalties. Dissemination of this      *
    * software is controlled under DoD Directive 5230.25 and AFI 61-204.       *
    ****************************************************************************
    Enter name of time history file: case4_3d.cth.10-23-07h15m53

              1  Select grid point
              2  Select grid range
              3  Select variable
              6  Open another time history file
              7  Clear all selected points
              8  End

     Enter menu selection: 6
     WARNING: Entering multiple CTH files.
              It is your responsibility to ensure that they are increasing in time
    Enter name of time history file: case4_3d.cth.10-24-07h09m16

              1  Select grid point
              2  Select grid range
              3  Select variable
              6  Open another time history file
              7  Clear all selected points
              8  End

     Enter menu selection: 6
     WARNING: Entering multiple CTH files.
              It is your responsibility to ensure that they are increasing in time
    Enter name of time history file: case4_3d.cth.10-25-07h10m04

              1  Select grid point
              2  Select grid range
              3  Select variable
              6  Open another time history file
              7  Clear all selected points
              8  End

     Enter menu selection: 1

    Enter zone number of point to track: 1
    Enter I, J, K of point to track: 17,1,1

     Currently selected points:
    ZONE   1 (17,   1,  1)

              1  Select grid point
              2  Select grid range
              3  Select variable
              6  Open another time history file
              7  Clear all selected points
              8  End

     Enter menu selection: 3
         1  p

      You may select up to            5 variables.

     Enter selection: 1

     Currently selected points:
    ZONE   1 (17,   1,  1)

     Currently selected variables are
    p

              1  Select grid point
              2  Select grid range
              3  Select variable
              4  Create GENPLOT file
              5  Analyze data
              6  Open another time history file
              7  Clear all selected points
              8  End

     Enter menu selection: 4
    Enter name of genplot file: press1.gen
     Reading data...
     complete.

     Currently selected points:
    ZONE   1 (17,   1,  1)

     Currently selected variables are
    p

              1  Select grid point
              2  Select grid range
              3  Select variable
              4  Create GENPLOT file
              5  Analyze data
              6  Open another time history file
              7  Clear all selected points
              8  End

     Enter menu selection: 7

     Currently selected variables are
    p

              1  Select grid point
              2  Select grid range
              3  Select variable
              6  Open another time history file
              7  Clear all selected points
              8  End

   [Repeat "Select grid point," "Select variable," and "Create GENPLOT file" steps for
   the points at (17,11,5) and (9,11,7) in zones 2 and 3, using different names for the
   GENPLOT files.]

     Enter menu selection: 8


Last updated 9 Aug 2007