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)

(Introduction) (Tutorial) (Geometry and Flow Physics Modeling) (Numerical Modeling) (Boundary Conditions) (Convergence Monitoring) (Files) (Scripts) (Parallel Processing) (Keyword Reference) (Test Options)

Files

A number of files are used by Wind-US in the course of a solution. The script file you run to submit Wind-US jobs will assign all the necessary files to their appropriate Fortran unit numbers, so you should not need to do any of that yourself. Each of the support files is described briefly below.

Input Data File (.dat)

Fortran unit number 5

The input data file is the primary control file for Wind-US and must be created for each case you want to run with the code. Input data and code options are entered through the use of descriptive keywords in this file. You should observe the following formatting rules in creating the input data file:

  1. The first three lines of the file are reserved for geometry, flow condition, and arbitrary titles, respectively. Each of these titles may be up to 64 characters long. None of these first three lines may start with the (case-insensitive) word "Include".

  2. Comment lines, beginning with a "/" character, may be placed anywhere in the file after the first three lines. Data file readability may be improved dramatically through the liberal use of comments - for example, separating logical sections of the data file: numerical algorithm, force integrations, test options, etc.

  3. Block data, such as that specified in arbitrary inflow or chemistry cases, must be contiguous - only keywords corresponding to the block may reside between the beginning and ending block indicators (e.g., CHEMISTRY and ENDCHEMISTRY).

  4. Keywords may be entered in upper or lower case.

  5. Abbreviations for keywords may be used, as long as they are unique. If they are not, you may not get the results you expect. For example, it's not a good idea to use single-letter abbreviations for keywords.

The following is an example of a simple input data file:

   Geometric Title
   Flowfield Condition Title
   Optional Title
   Freestream static 0.9 14.7 530. 4. 0.
   Cycles 15
   Inviscid
   End

Grid File (.cgd)

Fortran unit number 11

The computational grid used by Wind-US for a particular case is stored in the grid file. In this file are stored the (x, y, z) coordinates of all computational grid points, zone coupling interpolation factors, and grid reference and scaling data.

This file was originally referred to as the common grid file, so named because the file was formatted according to Boeing's Common File Format (CFF). Wind-US also supports grid files in CGNS (CFD General Notation System) format. [Detailed information on the CGNS standard may be found at the CGNS web site external link.] Both common files and CGNS files are binary, and portable to virtually every hardware platform, except Cray, with no need for explicit data conversions.

Grid files for Wind-US may be created by several mesh-generation codes in either common file or CGNS format. If necessary, the cfcnvt utility may be used to convert a variety of other formats, including PLOT3D xyz format, to common file format.

Zone coupling, reference, and scaling data are added to common grid files using the GMAN program. Common grid files are also used in the CFPOST post-processing package. Neither GMAN nor CFPOST currently support CGNS files, however.

Keywords: CGNSBASE

Flow File (.cfl)

Fortran unit number 20

The flow file contains the computed flow field. For Navier-Stokes and Euler solutions, the file contains density, momentum, and energy data, and, for viscous solutions, turbulence data. The flow file also records the current solution cycle number to allow the file to be used for solution restarts.

Like the grid file, the flow file was originally referred to as the common flow file, but may now be written in either common file or CGNS format. Several graphical post-processing programs are able to read both common files and CGNS files.

The CFPOST post-processing package may be used with common flow files to produce other files for post-processing and/or to create flowfield plots directly. CFPOST does not currently support CGNS files, however.

Keywords: CGNSBASE

Boundary Data File (.tda)

Fortran unit number 14

Wind-US's boundary data file is used during solution restarts, and results in smoother restarts, especially with higher-order boundary coupling. The file acts as a buffer for the transfer of zone coupling information and a holding bin for data needed throughout a Wind-US run but not stored in the grid or solution file.

Time History File (.cth)

Fortran unit number 19

The time history file is a common file which stores data resulting from the use of Wind-US's history tracking capability. The file contains a lookup table corresponding to the range of computational indices tracked during the run, time stamp data, and flowfield data for each time stamp. Upon completion of a time history run, the auxiliary program thplt may be used to view the contents of the time history file.

Keywords: HISTORY

List Output File (.lis)

Fortran unit number 6

The purpose of Wind-US's list output file is to echo the input from the input data file, track convergence and integration results, record CPU/job statistics, and log code error messages. The auxiliary program resplt may be used to extract convergence and integration data from the list output file and create a GENPLOT-style data file, which may be plotted with the plot command in the CFPOST post-processing package. For parallel-processing runs, this file also contains messages relating to the PVM system and to the allocation and operation of slave processors. Convergence data is written to this file for each of the equation sets solved during the run, including the Euler, Navier-Stokes, and non-algebraic turbulence model sets.

Time Data File (.cft)

Fortran unit number 22

The time data file may be used for storing the computed flow field at the extra time levels required for second-order time differencing and/or Newton iteration. Currently by default, the extra time levels for second-order time differencing are stored in the .cfl file, and those for Newton iteration are stored in the .cft file and linked to the .cfl file. Keywords in the TEMPORAL keyword block may be used to specify where the extra time levels should be stored.

Keywords: IMPLICIT ORDER, NEWTON, TEMPORAL

Edge Data File (.cge)

Fortran unit number 21

The edge data file is used with unstructured grids to store grid-related information about each cell that's required during the solution procedure. The file is created during the initial run, and by default is saved for use in subsequent restart runs, but will be recreated if it's missing. When the file is opened, if necessary it is automatically split into multiple files to keep the size of each file below two gigabytes, with the main file transparently linked to the separate files.

Keywords: DEBUG 8, DEBUG 9

Wind-US Stop File (NDSTOP)

Fortran unit number 1

The stop file is used to stop Wind-US execution cleanly in the middle of a CFD solution. Although a solution may be stopped simply by killing the Wind-US process from the system queue, doing so will not ensure a clean update of all zonal flowfield data to the flowfield file. The stop file - named NDSTOP - provides a means to cleanly shut down a running solution, completing the current cycle or zone, performing zone coupling, updating the flowfield file, and removing all symbolic links to Fortran file unit numbers.

To stop the code, you must place one of two words in the stop file in the directory in which the Wind-US job is running. The word STOP in the stop file signals Wind-US to complete the current cycle (at the end of the last zone) and exit. In single-processing mode, you may also use the word STOPZONE in the stop file to stop Wind-US after completing the zone currently in memory. [In multi-processing mode, STOPZONE does the same thing as STOP.] You may then restart the code in your next run, starting at the next zone or back at zone one. Regardless of the existence of this file, Wind-US will stop if the requested number of cycles has been computed, or if your solution has converged.

During the clean-up procedure at the end of the job, the NDSTOP file is automatically removed.

Note that the directory in which the Wind-US job is running, where the NDSTOP file must be, is not necessarily the one you were in when the wind command was issued. If you don't use the -runinplace option to the wind script, the job will be run in a remote directory. The "root name" of the remote run directory may be specified using the -runroot option, or in response to a command line prompt. The default for the "root name" of the remote directory is /tmp. The full name of the remote directory will be rootname/userid/basename.scr, where rootname is the "root name" described above, userid is your userid, and basename is the base name of your .dat file.

On a Unix system, you might submit a simple "at" job for a later time as follows:

   at 0530 monday
   echo STOP > NDSTOP
   ^D

At 5:30 AM on the next Monday, the system would create the NDSTOP file with the word "STOP" in it. Note that this will not stop the run exactly at 5:30 AM; Wind-US must still complete the current cycle, which may take an hour or more for large cases.

Keywords: RESTART

Temperature and Transition Specification Files

Fortran unit number 45

Wind-US can read temperature and transition files, specifying the temperature or transition to turbulence on any boundary surface, that were created with the older tmptrn utility. This option is included for backward compatibility with WIND 2.0, and is only needed for an initial (i.e., non-restart) run. The wind script copies the files to the run directory, and Wind-US opens the files directly (unit 45) using the file names specified with the TTSPEC keyword. New applications should use the latest tmptrn utility to write the temperature/transition data into the flow (.cfl) file directly.

Keywords: TTSPEC

Chemistry Files (.chm)

Fortran unit number 26

The generalized chemistry files contain all the information Wind-US requires to compute a general chemistry mixture. A chemistry file has a header line, followed by three sections containing thermodynamic coefficients, finite rate coefficients, and transport properties.

Header

The header line must contain a single parameter, ispec, specifying the type of reaction rate and the format for the finite rate data. The format for the header line is:

   ispec     ISPEC
where

    ispec   Reaction Rate and Format
1, 4, 100, 110 Forward and backward rates from equilibrium constant polynomial, Format 1
3, 130 Forward and backward rates, Format 2
120 Forward rate only, Format 3

(The parameter ispec is read using a list-directed read statement. The ISPEC label following the value is thus optional, but present in the standard chemistry files supplied with Wind-US. The labels following the parameters ns, nreq, ndeq, and tfrmin, described in the next two sections, are also optional.)

Thermodynamic Coefficients

This section of the chemistry data file contains the information necessary to compute the thermodynamic properties for each species. The general format for this section is:

   THERMODYNAMIC COEFFICIENTS
   Title, line 1
   Title, line 2
   ns     NS
   Curve type
   Information defining species 1
   ...
   Information defining species ns
where ns is the number of species, and Curve type specifies the type of curve fits used to define the thermodynamic properties. The Curve type line may be omitted (not left blank), or specified as one of SPARKCRV, WINDNASA, and NASA3287. If the line is omitted, the SPARKCRV curve type is assumed.

The information defining each species, and the specific format used, depends on the curve type, as described below.

SPARKCRV

This is the original file format used for Wind-US chemistry files. The specific heat at constant pressure Cp for each species is defined by a series of fourth-order polynomials, each valid within a defined temperature range. I.e.,

Cp / R = a1 + a2T + a3T2 + a4T3 + a5T4

where R is the universal gas constant, and T is in K.

For each species, the information defining the species and for computing Cp / R, etc., is stored in the .chm file as described in the following table. Note that records 2-3 are repeated for each temperature range.


Record   Contents   Columns   Format

1 - Name of species 1-8 a8
- Number of curves (i.e., temperature ranges) defining Cp / R 16-20 i5
- Name, and number per molecule, of constituent elements 25-44 4(a2,f3.0)
- The ratio Cp / R 51-60 f10.1
- Molecular weight 66-75 f10.3
 
2 - Beginning and ending temperature for curve 1-30 2e15.5
- Coefficients a1-a3 in equation for Cp / R 31-75 3e15.5
 
3 - Coefficients a4-a5 in equation for Cp / R 1-30 2e15.5
- Heat of formation at 298.15 K, in J/mole 31-45 e15.5
- Gibb's free energy 46-60 e15.5

Example

THERMODYNAMIC COEFFICIENTS
 FROM NASA-RFL-TR-70-3, NASA-CR-111989, MAC LIB FISH NO. N71-38747

    5      NS
SPARKCRV
O2                 3    O  2.   0.   0.   0.             3.5         32.000
        300.000       1000.000    0.37190E+01   -0.25170E-02    0.85840E-05
   -0.83000E-08    0.27080E-11  -0.104419E+04    0.00000E+00
       1000.000       6000.000    0.33160E+01    0.11510E-02   -0.37260E-06
    0.61860E-10   -0.36660E-14  -0.104419E+04    0.00000E+00
       6000.000      15000.000    0.37210E+01    0.42540E-03   -0.28350E-07
    0.60500E-12   -0.51860E-17  -0.104419E+04    0.00000E+00
NO                 3    O  1.N  1.   0.   0.             3.5         30.008
        300.000       1000.000    0.41470E+01   -0.41200E-02    0.96920E-05
   -0.78630E-08    0.22310E-11   0.979001E+04    0.00000E+00
       1000.000       6000.000    0.32210E+01    0.12210E-02   -0.42970E-06
    0.65590E-10   -0.34510E-14   0.979001E+04    0.00000E+00
       6000.000      15000.000    0.38450E+01    0.25210E-03   -0.26580E-07
    0.21620E-11   -0.63810E-16   0.979001E+04    0.00000E+00
... etc.
WINDNASA

This is a modified form of the SPARK curve fits described above. The specific heat at constant pressure for each species is again defined by a series of fourth-order polynomials, each valid within a defined temperature range. I.e.,

C 0p / R = a1 + a2T + a3T2 + a4T3 + a5T4

where R is the universal gas constant. and T is in K.

In addition, the enthalpy and entropy are computed as

H 0 / RT = a1 + a2T/2 + a3T2/3 + a4T3/4 + a5T4/5 + a6/T

S 0 / R = a1 ln T + a2T + a3T2/2 + a4T3/3 + a5T4/4 + a7

For each species, the information defining the species and for computing C0p / R, etc., is stored in the .chm file as described in the following table. Note that records 2-3 are repeated for each temperature range.


Record   Contents   Columns   Format

1 - Name of species 1-8 a8
- Number of curves (i.e., temperature ranges) defining C 0p / R 16-20 i5
- Name, and number per molecule, of constituent elements 25-44 4(a2,f3.0)
- The ratio Cp / R 51-60 f10.1
- Molecular weight 66-75 f10.3
 
2 - Beginning and ending temperature for curve 1-30 2e15.5
- Coefficients a1-a3 in equations for thermodynamic properties 31-75 3e15.5
 
3 - Coefficients a4-a7 in equations for thermodynamic properties 1-60 4e15.5
 
4 - Identifier string starting with the word "Heat" 1-31 a31
- Heat of formation at 0 K, in J/mole 32-46 f15.3


Example
THERMODYNAMIC COEFFICIENTS
 CURVE FITS FROM NASA LEWIS CET86 HIGH TEMPERATURE THERMO DATA BASE

    7      NS
WINDNASA
O2                 2    O  2.   0.   0.   0.             3.5         31.998
        300.000       5000.000  3.1162949E+00  1.5886094E-03 -6.7904360E-07
  1.4714899E-10 -1.1729212E-14 -9.9401794E+02  6.4600671E+00
       5000.000      15000.000  2.5782323E+00  8.5796324E-04 -7.6397647E-08
  1.3412616E-12  3.2564804E-17  1.1504711E+03  1.1400551E+01
Heat of Formation at 0 deg K    0.0
H                  2    H  1.   0.   0.   0.             2.5          1.008
        300.000       5000.000  2.5000000E+00  0.0000000E+00  0.0000000E+00
  0.0000000E+00  0.0000000E+00  2.5474038E+04 -4.5991986E-01
       5000.000      15000.000  2.5000000E+00  0.0000000E+00  0.0000000E+00
  0.0000000E+00  0.0000000E+00  2.5474038E+04 -4.5991986E-01
Heat of Formation at 0 deg K    216024.1
... etc.
NASA3287

This format for the curve fits defining the thermodynamic properties is derived from the one defined in NASA TP 3287. [McBride, B. J., Gordon, S., and Reno, M. A. (2001) "Thermodynamic Data for Fifty Reference Elements," NASA TP 3287/REV1.] A series of curves is again used to define the specific heat at constant pressure, enthalpy, and entropy, with each curve valid within a defined temperature range. I.e.,

C 0p / R = a1T−2 + a2T−1 + a3 + a4T + a5T2 + a6T3 + a7T4 + a8T5

H 0 / RT = −a1T−2 + a2T−1 ln T + a3 + a4T/2 + a5T2/3 + a6T3/4 + a7T4/5 + a8T5/6 + b1/T

S 0 / R = b2a1T−2/2 − a2T−1 + a3 ln T + a4T + a5T2/2 + a6T3/3 + a7T4/4 + a8T5/5

where R is the universal gas constant. and T is in K.

For each species, the information defining the species and for computing C 0p / R, etc., is stored in the .chm file as described in the following table. Note that records 3-5 are repeated for each temperature range.


Record   Contents   Columns   Format

1 - Name of species 1-18 a18
- Comments (not used in Wind-US) 19-76 a58
 
2 - Number of curves (i.e., temperature ranges) defining C 0p / R 1-2 i2
- Identification code (not used in Wind-US) 4-9 a6
- Name, and number per molecule, of constituent elements 11-50 5(a2,f6.2)
- Flag indicating standard state (not used in Wind-US) 52 i1
- Molecular weight 53-65 f13.5
- Heat of formation at 298.15 K, in J/mole 66-80 f15.3
 
3 - Beginning and ending temperature for curve 2-21 2f10.3
- Number of coefficients an in equation for C 0p / R 23 i1
- Exponents of T in equation for C 0p / R 24-63 8f5.1
- Enthalpy difference from 298.15 K to 0 K, in J/mole 66-80 f15.3
 
4 - Coefficients a1-a5 in equations for thermodynamic properties 1-80 5d16.8
 
5 - Coefficients a6-a8 in equations for thermodynamic properties 1-48 3d16.8
- Coefficients b1 and b2 in equations for thermodynamic properties 49-80 2d16.8
 
6 - Identifier string starting with the word "Heat" 1-31 a31
- Heat of formation at 0 K, in J/mole 32-46 f15.3

Example

THERMODYNAMIC COEFFICIENTS
 CURVE FIT JANAF 6000K DATA EXTRAP. TO 15000K & NASA LEWIS DATA RE-FITTED

    5      NS
NASA3287
CO2               Props & Hf298: TPIS v2,pt1,1991,p27.
 3 l 7/88 C   1.00O   2.00    0.00    0.00    0.00 0     44.00980    -393510.000
    200.000  1000.000 7 -2.0 -1.0  0.0  1.0  2.0  3.0  4.0  0.0         9365.469
  4.94378364D+04 -6.26429208D+02  5.30181336D+00  2.50360057D-03 -2.12470010D-07
 -7.69148680D-10  2.84997991D-13  0.00000000D+00 -4.52818986D+04 -7.04876965D+00
   1000.000  6000.000 7 -2.0 -1.0  0.0  1.0  2.0  3.0  4.0  0.0         9365.469
  1.17696943D+05 -1.78880147D+03  8.29154353D+00 -9.22477831D-05  4.86963541D-09
 -1.89206384D-12  6.33067509D-16  0.00000000D+00 -3.90834501D+04 -2.65268192D+01
   6000.000 20000.000 7 -2.0 -1.0  0.0  1.0  2.0  3.0  4.0  0.0         9365.469
 -1.54440594D+09  1.01683595D+06 -2.56137666D+02  3.36936340D-02 -2.18115756D-06
  6.99132366D-11 -8.84221052D-16  0.00000000D+00 -8.04312703D+06  2.25415288D+03
Heat of Formation at 0 deg K    -393149.56
H2O               CODATA,1989. JRNBS v92,1987,p35. TRC tuv-25,10/88.
 2 l 8/89 H   2.00O   1.00    0.00    0.00    0.00 0     18.01528    -241826.000
    200.000  1000.000 7 -2.0 -1.0  0.0  1.0  2.0  3.0  4.0  0.0         9904.092
 -3.94795999D+04  5.75572977D+02  9.31783351D-01  7.22271091D-03 -7.34255448D-06
  4.95504134D-09 -1.33693261D-12  0.00000000D+00 -3.30397425D+04  1.72420539D+01
   1000.000  6000.000 7 -2.0 -1.0  0.0  1.0  2.0  3.0  4.0  0.0         9904.092
  1.03497224D+06 -2.41269895D+03  4.64611114D+00  2.29199814D-03 -6.83683007D-07
  9.42646842D-11 -4.82238028D-15  0.00000000D+00 -1.38428625D+04 -7.97815119D+00
Heat of Formation at 0 deg K    -238918.95
... etc.

Finite Rate Coefficients

This section of the .chm file contains the reaction rate information. The first five lines are:

   FINITE RATE COEFFICIENTS
   Title, line 1
   Title, line 2
   nreq ndeq     NREQ, NDEQ
   tfrmin        TFRMIN
where nreq is the total number of reactions (dissociation + exchange + ionization), ndeq is the number of dissociation reactions (i.e., have a third body), and tfrmin is the temperature in K below which no reactions occur.

There are three possible formats for the remainder of this section, depending on the value of ispec.

Format 1; ispec = 1, 4, 100-119

This option may be used for any chemically reacting flow. Information is specified defining the forward reaction rate kf and the equilibrium constant K. The rates themselves are computed using the equations

kf = CTS eD / (KBT)
kb = kf / K
K = exp(a1 + a2Z + a3Z2 + a4Z3 + a5Z4)
Z = 10,000/T

where T is the temperature in K, the ratio D/KB is in K, and KB is the Boltzmann constant. The reaction rate coefficient C has units (cm3/g-mol) (sec-KS)−1.

The various parameters and polynomial coefficients are read from the chemistry data file, in the following form:

   Information defining dissociation reaction 1
   ...
   Information defining dissociation reaction ndeq
   Information defining exchange reaction 1
   ...
   Information defining exchange reaction nreq - ndeq
where nreq is the total number of reactions, and ndeq is the number of dissociation reactions.

For each reaction, the information defining the reaction and for computing the reaction rates is stored in the .chm file as described in the following table. Note that for dissociation reactions using variable third-body reaction rates, record 3 is repeated for each third body reactant. Otherwise, record 3 appears only once.


Record   Contents   Columns   Format

1 - Name of first reactant 1-5 a5
- Name of second reactant (blank for dissociation) 9-13 a5
- Name of first product 17-21 a5
- Name of second product 25-29 a5
- Temperature exponent S in equation for kf 33-44 e12.4
- D/KB in equation for kf 45-56 e12.4
 
2 - Coefficients a1-a5 in equation for K 1-60 5e12.4
- Number of third body reactants, or 0 for exchange and ionization reactions. For dissociation reactions, this must be either 1 (if an average third-body reaction rate is being used) or the number of species ns (if variable third-body reaction rates are being used). 61-64 i4
 
3 - Name of third body reactant. Only needed if variable third-body reaction rates are being used. 17-24 a8
- Reaction rate coefficient. For dissociation reactions, this is either the average third-body reaction rate coefficient, or the reaction rate coefficient for the specified third body reactant. 25-36 e12.4

With Format 1, the data is read in subroutine frtin1, and the rates are computed in rates1 (for ispec = 1), rates4 (ispec = 4), rates (ispec = 100), or ratesa (ispec = 110). [At some point, the special-case options ispec = 1 and 4 may be eliminated in favor of one of the more general ispec = 100-119 options.]

Example

FINITE RATE COEFFICIENTS
 FROM AIAA 88-0513

    5,3      NREQ,NDEQ
  2000.      TFRMIN
O2              O       O         -1.0       5.9500E+04
   1.335      -4.127      -0.616       0.093      -0.005       5
                O2       2.75E+19
                NO       2.75E+19
                O        8.25E+19
                N        8.25E+19
                N2       2.75E+19
N2              N       N         -1.6       1.1320E+05
   3.898     -12.611       0.683      -0.118       0.006       5
                O2       3.70E+21
                NO       3.70E+21
                O        1.11E+22
                N        1.11E+22
                N2       3.70E+21
NO              N       O         -0.5       7.5500E+04
   1.549      -7.784       0.228      -0.043       0.002       5
                O2       2.30E+17
                NO       2.30E+17
                O        4.60E+17
                N        4.60E+17
                N2       2.30E+17
NO      O       O2      N          1.29      1.9220E+04
   0.215      -3.652       0.843      -0.136       0.007       0
                         2.16E+08
O       N2      NO      N          0.1       3.7700E+04
   2.349      -4.828       0.455      -0.075       0.004       0
                         3.18E+13
Format 2; ispec = 3, 130-139

This format is similar to the previous one, except that the forward and backward reaction rates are computed separately, using the equations

kf = Cf TSf eDf / (KBT)
kb = Cb TSb eDb / (KBT)

where T is the temperature in K, the ratios Df/KB and Db/KB are in K, and KB is the Boltzmann constant. The reaction rate coefficients for the j'th reaction, (Cf)j and (Cb)j, have units

(Cf)j :   (cm3/g-mol)Oj−1 (sec-KSf)−1     (Cb)j :   (cm3/g-mol)Oj−1+vj (sec-KSb)−1

where Oj is the order of the reaction (i.e., the total number of moles of reactants), and vj is the number of moles of products minus the number of moles of reactants.

The various parameters are read from the chemistry data file, in the following form:

   Information defining dissociation reaction 1
   ...
   Information defining dissociation reaction ndeq
   Information defining exchange reaction 1
   ...
   Information defining exchange reaction nreq - ndeq
where nreq is the total number of reactions, and ndeq is the number of dissociation reactions.

For each reaction, the information defining the reaction and for computing the reaction rates is stored in the .chm file as described in the following table.


Record   Contents   Columns   Format

1 - Name and number of molecules of first reactant 1-8 a5,f3.1
- Name and number of molecules of second reactant (blank for dissociation) 9-16 a5,f3.1
- Name and number of molecules of first product 17-24 a5,f3.1
- Name and number of molecules of second product 25-32 a5,f3.1
- Temperature exponent Sf in equation for kf 33-44 e12.4
- Df/KB in equation for kf 45-56 e12.4
- Reaction rate coefficient Cf in equation for kf 57-68 e12.4
 
2 - Temperature exponent Sb in equation for kb 33-44 e12.4
- Db/KB in equation for kb 45-56 e12.4
- Reaction rate coefficient Cb in equation for kb 57-68 e12.4

With Format 2, the data is read in subroutine frtin3, and the rates are computed in rates3 (for ispec = 3), or ratesb (ispec = 130). [At some point, the special-case option ispec = 3 may be eliminated in favor of one of the more general ispec = 130-139 options.]

Example

FINITE RATE COEFFICIENTS
 FROM EVAN & SCHEXNAYDER - CONVERTED TO EQUILIBRIUM CONSTANT FORM

    8,4      NREQ,NDEQ
   300.      TFRMIN
O2   1.         O    1. O    1.   -1.0       5.9340E+04   7.20E+18
                                  -1.0       0.0          4.00E+17
H2   1.         H    1. H    1.   -1.0       5.1987E+04   5.50E+18
                                  -1.0       0.0          1.80E+18
H2O  1.         OH   1. H    1.   -1.5       5.9386E+04   5.20E+21
                                  -1.5       0.0          4.40E+20
OH   1.         O    1. H    1.   -1.0       5.0830E+04   8.50E+18
                                  -1.0       0.0          7.10E+18
O2   1. H    1. OH   1. O    1.    0.0       8.4550E+03   2.20E+14
                                   0.0       0.0          1.50E+13
H2   1. O    1. OH   1. H    1.    0.0       5.5860E+03   7.50E+13
                                   0.0       4.4290E+03   3.00E+13
H2O  1. O    1. OH   1. OH   1.    0.0       9.0590E+03   5.80E+13
                                   0.0       5.0300E+02   5.30E+12
H2O  1. H    1. OH   1. H2   1.    0.0       1.0116E+04   8.40E+13
                                   0.0       2.6000E+03   2.00E+13
Format 3; ispec = 120-129

This option is only for global 1- or 2-reaction chemistry, and only for forward reactions. It is a quick method for simulating detonation problems, for example, in which reactions proceed only forward to completion. The forward reaction rates are computed using the equation

k = CTS eD / (KBT)

where T is the temperature in K, the ratio D/KB is in K, and KB is the Boltzmann constant. The reaction rate coefficient for the j'th reaction, Cj, has units (cm3/g-mol)Oj−1 (sec-KS)−1, where Oj is the order of the reaction (i.e., the total number of moles of reactants). There are no backward reactions.

The various parameters are read from the chemistry data file, in the following form:

   Information defining reaction 1
   ...
   Information defining reaction nreq
where nreq is the total number of reactions.

For each reaction, the information defining the reaction and for computing the reaction rates is stored in the .chm file as described in the following table.


Record   Contents   Columns   Format

1 - Name and number of molecules of first reactant 1-8 a5,f3.1
- Name and number of molecules of second reactant (blank for dissociation) 9-16 a5,f3.1
- Name and number of molecules of first product 17-24 a5,f3.1
- Name and number of molecules of second product 25-32 a5,f3.1
- Temperature exponent S in equation for k 33-44 e12.4
- D/KB in equation for k 45-56 e12.4
 
2 - Place holders for future use. Leave blank.
 
3 - Exponents on concentration of first and second reactants 1-16 2f8.3
- Reaction rate coefficient C in equation for k 25-36 e12.4

With Format 3, the data is read in subroutine frtin2, and the rates are computed in ratesf.

Example

FINITE RATE COEFFICIENTS
WESTBROOK-DREYER GLOBAL REACTION MODEL 

    1,0      NREQ,NDEQ
   250.      TFRMIN
C2H4 1. O2   3. CO2  2. H2O  2.    0.0       1.5098E+04
   0.0         0.0         0.0         0.0         0.0         0
0.10    1.65             2.00E+12

Transport Coefficients

This section of the chemistry data file contains the coefficients used to compute the laminar viscosity and thermal conductivity. The formulation is based on Wilke's law which uses Sutherland's law individually for each species. Thus for each species, there are equations of the following form, each valid within a defined temperature range:

μ/μ0 = (T/(T0)μ) 3/2 ((T0)μ + Sμ) / (T + Sμ)
k/k0 = (T/(T0)k) 3/2 ((T0)k + Sk) / (T + Sk)

The various parameters are read from the chemistry data file, in the following form:

   TRANSPORT COEFFICIENTS
   Title, line 1
   Title, line 2
   Information for species 1
   ...
   Information for species ns

For each species, the information is stored in the .chm file as described in the following table. Note that records 3-4 are repeated for each temperature range after the first.

In the file, the reference viscosity μ0 is in millipoise; the reference conductivity k0 is in BTU/(hour-ft-°R); the reference temperatures and temperature offsets are in °R; and the beginning and ending temperatures for each curve are in K.


Record   Contents   Columns   Format

1 - Name of species 1-8 a8
- Number of curves (i.e., temperature ranges) defining μ and k 11-15 i5
- Beginning and ending temperature for first curve 16-35 2f10.3
- Reference viscosity μ0 for first curve 37-48 e12.4
- Reference temperature (T0)μ for first curve 49-60 e12.4
- Reference temperature offset Sμ for first curve 61-72 e12.4
 
2 - Reference conductivity k0 for first curve 37-48 e12.4
- Reference temperature (T0)k for first curve 49-60 e12.4
- Reference temperature offset Sk for first curve 61-72 e12.4
 
3 - Beginning and ending temperature for curve 16-35 2f10.3
- Reference viscosity μ0 37-48 e12.4
- Reference temperature (T0)μ 49-60 e12.4
- Reference temperature offset Sμ 61-72 e12.4
 
4 - Reference conductivity k0 37-48 e12.4
- Reference temperature (T0)k 49-60 e12.4
- Reference temperature offset Sk 61-72 e12.4

Example

TRANSPORT COEFFICIENTS


O2            1   300.000 15000.000   1.9190E-01  4.9160E+02  2.5000E+02
                                      1.4190E-02  4.9160E+02  4.0000E+02
NO            1   300.000 15000.000   1.3700E-01  4.9160E+02  4.0000E+02
                                      8.4070E-03  4.9160E+02  4.0000E+03
O             1   300.000 15000.000   1.7030E-01  7.5000E+02  1.5500E+03
                                      1.0360E-02  4.9160E+02  2.3000E+03
N             1   300.000 15000.000   1.7890E-01  4.9160E+02  2.3000E+02
                                      6.8900E-02  4.9160E+02  2.3030E+02
N2            1   300.000 15000.000   1.6630E-01  4.9160E+02  1.9200E+02
                                      1.4000E-02  4.9160E+02  3.0000E+02

Keywords: CHEMISTRY

Memory Log File (memdebug.lis)

Fortran unit number 97

A memory log file, always named memdebug.lis, may be created using DEBUG option 65 to track memory allocation/deallocation requests.

Keywords: DEBUG 65

Reserved Files

Unit numbers 15, 32, and 55 are reserved for proprietary features, and should not be used by Wind-US developers.