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)

fpro

fpro may be used to perform various operations on data in common flow (.cfl) files. The following menu is presented upon starting fpro:

   ----- Main Menu ------------------------
         0.....Exit This Menu                          
         1.....Fill With Constant Values               
         2.....Scale Current Values                    
         3.....Rotate/Translate Velocity               
         4.....Copy   From Another CFL or Zone         
         5.....Insert From Another CFL or Zone         
         6.....Interpolate From Another CFL or Zone    
         7.....Map From Another CFL or Zone            
         8.....Smooth Subset Using Index TFI           
         9.....Change Species Concentrations           
        10.....Redefine e0 based on ideal gas          
        11.....Set Reference and I,F,Cpar Data         
        12.....Rescale using New Freesream Conditions  
        13.....Set Gas Properties                      
    Enter your choice: 

Depending on the item selected, additional menus and prompts for information are presented, and the selected action is performed.

Example

A typical use of fpro is to interpolate from one .cfl file to another (menu option 6). This can be used, for example, when creating a new .cfl file after adding mesh points in a particular region to better resolve some flow feature found in an earlier Wind-US run.

In the following example, case_coarse.cgd and case_coarse.cfl are three-zone grid and solution files from an initial Wind-US run. Based on the results from that run, a new grid was created with additional grid points in zone 2, and stored in the grid file case_fine.cgd.

To run Wind-US with the new grid, but utilizing the already-computed flow field from the coarse-grid solution, we must first create an initial .cfl file corresponding to the new grid. To do this, simply run Wind-US using the new grid file case_fine.cgd, with the number of cycles set to zero in the input data (.dat) file. This will create the new case_fine.cfl file, with the flow field set to initial conditions (which are the freestream conditions by default).

Next, since the grids in zones 1 and 3 haven't changed in this example, the flow field in those zones can be copied directly from case_coarse.cfl to case_fine.cfl. This is done using option 4 from the fpro menu, and is fairly straightforward.

Finally, option 6 from the fpro menu is used to interpolate the results in zone 2 from the coarse grid onto the fine grid. The terminal session for the interpolation is shown below. Lines in a slanted font are typed by the user. Note that the zone number is entered twice in succession when specifying both the "interpolate from" and "interpolate to" files.

   % fpro
   
                FPRO - Version 1.11 (last changed 2007/02/14 01:05:27)
    ****************************************************************************
    * 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.       *
    ****************************************************************************
   
   ----- Main Menu ------------------------
         0.....Exit This Menu
         1.....Fill With Constant Values
         2.....Scale Current Values
         3.....Rotate/Translate Velocity
         4.....Copy   From Another CFL or Zone
         5.....Insert From Another CFL or Zone
         6.....Interpolate From Another CFL or Zone
         7.....Map From Another CFL or Zone
         8.....Smooth Subset Using Index TFI
         9.....Change Species Concentrations
        10.....Redefine e0 based on ideal gas
        11.....Set Reference and I,F,Cpar Data
        12.....Rescale using New Freesream Conditions
        13.....Set Gas Properties
    Enter your choice: 6
   
   ----- Interpolation Menu ---------------
         0.....Exit This Menu
         1.....Select: Flow File To Interpolate From
         2............ Grid File To Interpolate From
         3............ Zone To Interpolate From
         4............ Subset To Interpolate From
         5.....Select: Flow File To Interpolate To
         6............ Grid File To Interpolate To
         7............ Zone To Interplolate To
         8............ Subset To Interpolate To
         9.....Select Variables To Interpolate
        10.....Show Current Settings
        11.....EXECUTE INTERPOLATION
    Enter your choice: 1
    Enter filename (include suffix):
   case_coarse.cfl
   
   Wind-US test case, 3 zones
   
   ----- Interpolation Menu ---------------
         0.....Exit This Menu
         1.....Select: Flow File To Interpolate From
         2............ Grid File To Interpolate From
         3............ Zone To Interpolate From
         4............ Subset To Interpolate From
         5.....Select: Flow File To Interpolate To
         6............ Grid File To Interpolate To
         7............ Zone To Interplolate To
         8............ Subset To Interpolate To
         9.....Select Variables To Interpolate
        10.....Show Current Settings
        11.....EXECUTE INTERPOLATION
    Enter your choice: 2
    Enter filename (include suffix):
   case_coarse.cgd
   
   ----- Interpolation Menu ---------------
         0.....Exit This Menu
         1.....Select: Flow File To Interpolate From
         2............ Grid File To Interpolate From
         3............ Zone To Interpolate From
         4............ Subset To Interpolate From
         5.....Select: Flow File To Interpolate To
         6............ Grid File To Interpolate To
         7............ Zone To Interplolate To
         8............ Subset To Interpolate To
         9.....Select Variables To Interpolate
        10.....Show Current Settings
        11.....EXECUTE INTERPOLATION
    Enter your choice: 3
    Enter the zone number. (Max=           3 )
   2
   
    Enter the zone number. (Max=           3 )
   2
   
   ----- Interpolation Menu ---------------
         0.....Exit This Menu
         1.....Select: Flow File To Interpolate From
         2............ Grid File To Interpolate From
         3............ Zone To Interpolate From
         4............ Subset To Interpolate From
         5.....Select: Flow File To Interpolate To
         6............ Grid File To Interpolate To
         7............ Zone To Interplolate To
         8............ Subset To Interpolate To
         9.....Select Variables To Interpolate
        10.....Show Current Settings
        11.....EXECUTE INTERPOLATION
    Enter your choice: 5
    Enter filename (include suffix):
   case_fine.cfl
   
   Wind-US test case, 3 zones
   
   ----- Interpolation Menu ---------------
         0.....Exit This Menu
         1.....Select: Flow File To Interpolate From
         2............ Grid File To Interpolate From
         3............ Zone To Interpolate From
         4............ Subset To Interpolate From
         5.....Select: Flow File To Interpolate To
         6............ Grid File To Interpolate To
         7............ Zone To Interplolate To
         8............ Subset To Interpolate To
         9.....Select Variables To Interpolate
        10.....Show Current Settings
        11.....EXECUTE INTERPOLATION
    Enter your choice: 6
    Enter filename (include suffix):
   case_fine.cgd
   
   ----- Interpolation Menu ---------------
         0.....Exit This Menu
         1.....Select: Flow File To Interpolate From
         2............ Grid File To Interpolate From
         3............ Zone To Interpolate From
         4............ Subset To Interpolate From
         5.....Select: Flow File To Interpolate To
         6............ Grid File To Interpolate To
         7............ Zone To Interplolate To
         8............ Subset To Interpolate To
         9.....Select Variables To Interpolate
        10.....Show Current Settings
        11.....EXECUTE INTERPOLATION
    Enter your choice: 7
    Enter the zone number. (Max=           3 )
   2
   
   ZONE   2
   
    Enter the zone number. (Max=           3 )
   2
   
   ----- Interpolation Menu ---------------
         0.....Exit This Menu
         1.....Select: Flow File To Interpolate From
         2............ Grid File To Interpolate From
         3............ Zone To Interpolate From
         4............ Subset To Interpolate From
         5.....Select: Flow File To Interpolate To
         6............ Grid File To Interpolate To
         7............ Zone To Interplolate To
         8............ Subset To Interpolate To
         9.....Select Variables To Interpolate
        10.....Show Current Settings
        11.....EXECUTE INTERPOLATION
    Enter your choice: 9
    Interpolate all variables (Y/N)?
   y
   
   ----- Interpolation Menu ---------------
         0.....Exit This Menu
         1.....Select: Flow File To Interpolate From
         2............ Grid File To Interpolate From
         3............ Zone To Interpolate From
         4............ Subset To Interpolate From
         5.....Select: Flow File To Interpolate To
         6............ Grid File To Interpolate To
         7............ Zone To Interplolate To
         8............ Subset To Interpolate To
         9.....Select Variables To Interpolate
        10.....Show Current Settings
        11.....EXECUTE INTERPOLATION
    Enter your choice: 10
    Current Status:
        Input CFL File: case_coarse.cfl 
        Input CGD File: case_coarse.cgd 
        Input Zone:    2  with IxJxK dimensions:   77  x  50  x  47
        Input Subset:   1,  1,  1  to   0,  0,  0
        Output CFL File: case_fine.cfl 
        Output CGD File: case_fine.cgd 
        Output Zone:    2  with IxJxK dimensions:  95  x 110  x  47
        Output Subset:   1,  1,  1  to   0,  0,  0
        Gamma=1.4000  Gas Constant=  2.8708E+02
        Variable rho                              interpolated
        Variable rho*u                            interpolated
        Variable rho*v                            interpolated
        Variable rho*w                            interpolated
        Variable rho*e0                           interpolated
    <Return> to continue:
   
   ----- Interpolation Menu ---------------
         0.....Exit This Menu
         1.....Select: Flow File To Interpolate From
         2............ Grid File To Interpolate From
         3............ Zone To Interpolate From
         4............ Subset To Interpolate From
         5.....Select: Flow File To Interpolate To
         6............ Grid File To Interpolate To
         7............ Zone To Interplolate To
         8............ Subset To Interpolate To
         9.....Select Variables To Interpolate
        10.....Show Current Settings
        11.....EXECUTE INTERPOLATION
    Enter your choice: 11
    ***Number of points not interpolated =            0
   
   ----- Interpolation Menu ---------------
         0.....Exit This Menu
         1.....Select: Flow File To Interpolate From
         2............ Grid File To Interpolate From
         3............ Zone To Interpolate From
         4............ Subset To Interpolate From
         5.....Select: Flow File To Interpolate To
         6............ Grid File To Interpolate To
         7............ Zone To Interplolate To
         8............ Subset To Interpolate To
         9.....Select Variables To Interpolate
        10.....Show Current Settings
        11.....EXECUTE INTERPOLATION
    Enter your choice: 0
   
   ----- Main Menu ------------------------
         0.....Exit This Menu
         1.....Fill With Constant Values
         2.....Scale Current Values
         3.....Rotate/Translate Velocity
         4.....Copy   From Another CFL or Zone
         5.....Insert From Another CFL or Zone
         6.....Interpolate From Another CFL or Zone
         7.....Map From Another CFL or Zone
         8.....Smooth Subset Using Index TFI
         9.....Change Species Concentrations
        10.....Redefine e0 based on ideal gas
        11.....Set Reference and I,F,Cpar Data
        12.....Rescale using New Freesream Conditions
        13.....Set Gas Properties
    Enter your choice: 0
   %


Last updated 23 July 2007