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)

Geometry and Flow Physics Modeling

Symmetry Considerations

Wind-US may be used with structured grids for axisymmetric, two-dimensional, or three-dimensional geometric configurations. Two-dimensional grids may be used not only for two-dimensional cases, but also for axisymmetric and area variation (quasi-three-dimensional) cases. Unstructured grids may be used only for three-dimensional configurations.

Three-Dimensional Cases

In three dimensions, each zone's computational mesh is comprised of six boundary faces and an interior grid. For structured grids, the mesh points are identified by three indices, usually labeled (i, j, k). In unstructured grids, each individual grid cell, and cell face, is numbered. Boundary conditions for each boundary face must be specified with GMAN or MADCAP before the grid may be used with Wind-US.

Two-Dimensional Cases

Two-dimensional cases may be run using structured grids only. The grid must be oriented such that the maximum k-index of the grid is one. In other words, a two-dimensional grid is defined by four boundary faces and an interior grid labeled by i- and j-indices. The grid must also reside in a non-zero, constant z-coordinate plane. The actual value used will not affect solution convergence or flowfield features, but it will affect flux-related post-processing calculations such as mass flow. For this reason, a value of 1.0 is recommended. Boundary conditions for the four boundary lines must be specified in GMAN or MADCAP.

Area Variation (Quasi-3D) Cases

With structured grids, the effect of area variation on two-dimensional computational models may be computed by using Wind-US's "quasi-three-dimensional" capability, which is activated simply through changes in the z-coordinate. The value of the z-coordinate is the "width" of the field at each grid point; the complete grid therefore represents the "width" variation of the field as a function of x and y. The important quantity to model is the ratio of cross-sectional areas between two adjacent axial stations. This means that the z-coordinate may be scaled with no effect on the computed flowfield, but a simple translation of the z-coordinates will change the computed flowfield, because the cross-sectional area ratio will be different. As with two-dimensional calculations, the value of the z-coordinate will affect flux-related post-processing calculations.

Axisymmetric Cases

Axisymmetric configurations may be modeled with structured grids, by using a two-dimensional grid generated at an arbitrary circumferential location on the geometry - e.g., the top centerline. Note that the grid should be generated on only one "side" of the configuration. Once again, the z-coordinate of the grid should be 1.0. The final step in using Wind-US's axisymmetric mode is the specification of the symmetry axis location and the circumferential sweep angle in the input data file. The circumferential sweep angle is the angle of the "pie shape" swept out by the grid about the symmetry axis. Although the value of the sweep angle will not affect the computed flowfield, it will affect flux-related post-processing calculations.

Keywords: AXISYMMETRIC

Euler and Navier-Stokes Equations

Wind-US may be used to solve the Euler equations or the Reynolds-averaged form of the Navier-Stokes equations. [Bush, R. H. (1988) "A Three Dimensional Zonal Navier-Stokes Code for Subsonic Through Hypersonic Propulsion Flowfields," AIAA Paper 88-2830.] All heat transfer and stress tensor terms are retained, and the equations are modeled in full conservation form. The effects of turbulence may be modeled using a variety of algebraic, one-equation, and two-equation turbulence models. Modification of the effective heat transport coefficient due to turbulence is linked to the momentum diffusion coefficient by a turbulent Prandtl number, which is assumed to be constant.

The fluid may be treated as a thermally and calorically perfect gas, a thermally perfect gas, equilibrium air, or a mixture undergoing a finite rate chemical reaction. For an ideal gas, conventional values are given to the gas constant R and the ratio of specific heats γ, or they may be specified. Effects of gravity (i.e., stratification) and rotation may also be included.

The equation set(s) to be solved must be specified in the input data file.

Keywords: TURBULENCE, GRAVITY, ROTATE

Freestream Conditions

Freestream flowfield conditions - Mach number, pressure, temperature, angle of attack, and angle of sideslip - must be specified in Wind-US's input data file. The Mach number must be greater than zero, and pressure and temperature may be specified as static or total values. These conditions are used to initialize the flowfield at the start of a run. For external flow problems, they are also applied at all inflow, outflow, and freestream boundaries during the course of a flow solution. For this reason, the outermost grid boundary should be far enough away from the body such that the freestream assumption is valid at the boundary.

Keywords: FREESTREAM

Reynolds Number Considerations

Wind-US does not allow the direct specification of a Reynolds number; freestream conditions must be specified that are consistent with the desired value. Currently, Wind-US uses a reference length which it computes based on the unit system of the grid file. The code prints out the reference length (in inches) that it uses, so that you may compare the Reynolds number from the code with the desired value. The Reynolds number in Wind-US's output is actually the Reynolds number "per reference length."

Here are a couple of examples.

Case I: Grid is same size as model

Suppose we have the grid for a wind tunnel model, and we want to run it at M = 0.7 and a Reynolds number of 12.1 million (based on the model length). We arbitrarily choose a total temperature of 520 °R (static temperature of 473.6 °R). Knowing the temperature, we can calculate the speed of sound (a = (γRT)1/2) and viscosity (from Sutherland's law). Using the Mach number, we can calculate the freestream velocity. Thus, we have

M = 0.7
T = 473.6 °R
U = 746.67 ft/sec
μ = 3.474×10−7 lbf-sec/ft2
ReL = 12,100,000

We now have the Mach number and temperature for the Wind-US input data file, but we still need to calculate the freestream pressure. Using the definition of the Reynolds number (and the ideal gas law),

ReL = ρUL / μ = PUL / RTμ

or

P = RTμ Re / UL = RTμ ReL / U

Note that ReL is the Reynolds number per unit length of the physical model. For our example, if the model length is 10 inches,

ReL = 12,100,000 / (10/12 ft) = 14,520,000 (1/ft)

We can now calculate P:

P = RTμ ReL / U
P = (1716) (473.6) (3.474×10−7) (14.52×106) / 746.67
P = 5490.31 lbf / ft2 = 38.13 psi

We would now like to check our input. If we run Wind-US with the Mach, temperature and pressure specified above, the code will print a Reynolds number and a reference length near the top of the list output file. To obtain the desired Reynolds number, divide Wind-US's value of the Reynolds number by the output reference length and multiply by the model body length. This number may be compared with the desired model Reynolds number.

Case II: Grid is scaled from model size

Let us now assume that we want to run the previous grid at flight conditions, but we want to keep our same old 10-inch grid. We simply need to multiply the pressure by a scale factor. The equation now becomes:

P = RTμ ReL S / U

where

S = (Full Model Size) / (Grid Model Size)

For example, if we want to run a 100-inch wing using our 10-inch grid, S = 10. If we want to run a flight Reynolds number of 26 million, we calculate P as:

P = (1716.5) (473.6) (3.47×10−7) (26×106) (10) / 746.67
P = 983113.0 lbf / ft2 = 682.72 psi

Mass Flow in Two-Dimensional Calculations

One of the options available in Wind-US is the specification of mass flow boundary conditions for subsonic duct analyses. Actual or corrected mass flow may be specified at duct exits, as may back pressure.

Within Wind-US and many post-processors, routines exist which integrate mass flow at desired computational planes. For 3D cases, the desired mass flow may be compared directly with the output from the integration routines.

However, for 2D calculations, the comparison is not so straightforward. There are three cases to consider.

Case I: 2D, Unit Depth

The first case involves running Wind-US on a truly two-dimensional grid of unit depth (z-coordinate is 1.0 everywhere). In this case, the input mass flow should be per unit depth. For example, let's say we want to run a 2D, unit depth model of a duct with a square exit. (If the exit were not square, this model would probably not be very good.) We would like a corrected mass flow of 500 lbm/sec, and our actual model exit depth is 10 inches. If the grid input units are inches, we should ask for a mass flow of 50 lbm/sec. If the grid input units are not inches, simply divide the actual mass flow by the z-coordinate value in inches.

Case II: 2D, Variable Width

When the z-coordinate is the width of the 2D grid, Wind-US adds in the area variation as a source to the 2D equations, making the analysis quasi-three-dimensional. In this case, the actual 3D mass flow should be specified in the input file. The integrated exit area will be (approximately, see the description of mass flow and grid areas) the real duct exit area, if the width has been specified correctly.

Case III: 2D, Axisymmetric

Axisymmetric runs require specification of the symmetry axis location and the circumferential angle subtended by the 2D grid. (This angle has no influence on the solution, but it does determine the area perpendicular to the grid.) The only reason this angle is an input parameter is so that you will know what the streamwise area is. In this case, the real exit geometry is circular, with a corresponding mass flow. The ratio of the input mass flow to the actual mass flow should equal the ratio of the input circumferential angle to 360. For example, if we are modeling a circular duct with a mass flow of 200 lbm/sec using an axisymmetric model in Wind-US, and if we specify a circumferential angle of 36 (1/10 of 360), we should specify a mass flow of 20 lbm/sec (1/10 of 200 lbm/sec).

Mass Flow and Grid Areas

When dealing with subsonic duct analyses, you should be aware that the duct area as represented by the grid may be slightly different from the real area of the geometry being modeled, especially for ducts modeled with quasi-polar structured grids.

The duct area represented by the computational grid is often smaller than the real duct area, which, when running near critical mass flow, may prematurely choke the flow in the CFD solution. If the duct is circular and is modeled with a quasi-polar grid, the area error may be estimated.

Suppose we are modeling a circular duct with a quasi-polar grid using kmax = 33 circumferential points, each of which lie on the perimeter of the real duct at some streamwise station. If the circumferential points are evenly distributed, we may describe this topology as a circle which circumscribes a regular polygon of kmax - 1 = 32 sides. For a circle of radius R circumscribing a regular polygon of n sides, the area of the polygon is

Ap = (1/2) nR2 sin (360/n)

which means that the "grid area" is

Ag = (1/2) (kmax − 1) R2 sin (360/(kmax − 1))

For our example, with kmax = 33, the grid area is 0.7% lower than the actual area.

There is no need to worry about this difference for most cases, but you should be aware of its possible effects.

Heat Transfer

At solid walls, Wind-US uses an adiabatic heat transfer boundary condition by default. A constant wall temperature may also be specified in the input data file.

Through the use of the TTSPEC keyword, point-by-point wall temperature distributions may also be specifed on boundary surfaces in structured grids. An auxiliary code, tmptrn, is used to create the wall temperature distribution, and write it into the common flow (.cfl) file.

The thermal conductivity is determined using a constant Prandtl number.

Keywords: WALL TEMPERATURE, TTSPEC

Viscosity

By default, Wind-US uses Sutherland's law to define laminar viscosity as a function of temperature. Keye's formula may be used in addition to Sutherland's law, and Wilke's law may be used to compute the laminar viscosity for multi-species flows.

Keywords: VISCOSITY

Turbulence Models

For turbulent calculations, Reynolds averaging assumptions are used to define a turbulent (eddy) viscosity, which is added to the laminar viscosity in the flow calculations. All the turbulence models available in Wind-US are coupled to the Navier-Stokes equations only through the turbulent viscosity.

For structured grids, users have a choice of several algebraic, one-equation, and two-equation turbulence models. In addition, various combined RANS/LES models may be used. For unstructured grids, two one-equation models and one two-equation model are available.

Note that a turbulence model (or inviscid or laminar flow) must be specified in the input data file. Wind-US will stop if you do not.

Algebraic Models

The algebraic turbulence models available in Wind-US for structured grids are the Cebeci-Smith model, the Baldwin-Lomax model [Baldwin, B. S., and Lomax, H. (1978) "Thin Layer Approximations and Algebraic Model for Separated Turbulent Flows," AIAA Paper 78-257], and the P. D. Thomas model [Thomas, P. D. (1979) "Numerical Method for Predicting Flow Characteristics and Performance of Nonaxisymmetric Nozzles - Theory," NASA CR 3147], which adds a shear layer model to the Baldwin-Lomax model. After each iteration of the flow solver, these models compute the turbulent viscosity based on current flowfield quantities. Note that, because of their dependence on maxima and minima of flowfield variables, these models produce discontinuous turbulent viscosity distributions in the computed flowfield and require special numerical treatment at the juncture of two walls and on computational i-boundaries (the latter for historical reasons). The Baldwin-Lomax model is the most widely used algebraic turbulence model in Wind-US.

Keywords: TURBULENCE

One-Equation Models

Because of their efficiency and ability to produce continuous turbulent viscosity distributions, the one-equation turbulence models in Wind-US are the models of choice for many engineering applications. The one-equation models available in Wind-US for structured grids are the Baldwin-Barth [Baldwin, B. S., and Barth, T. J. (1990) "A One-Equation Turbulence Transport Model for High Reynolds Number Wall-Bounded Flows," NASA TM 192847] and Spalart-Allmaras [Spalart, P. R., and Allmaras, S. R. (1992) "A One-Equation Turbulence Model for Aerodynamic Flows," AIAA Paper 92-0439] models. The one-equation models available for unstructured grids are the Spalart-Allmaras and Goldberg pointwise models.

Keywords: TURBULENCE, FREE_ANUT

Two-Equation Models

Three two-equation turbulence models are currently available in Wind-US.

The SST model may be used with both structured and unstructured grids. The two k-ε models are only available for structured grids.

The Menter Shear Stress Transport (SST) model is a blend of k-ε and k-ω. The equations are cast in k-ω form. Near the boundary the k-ω model is used, and the k-ε model is used away from the wall and in shear layers. Each equation is solved individually and an iterative method has been used on the left-hand side to reduce the factorization error. The model is robust, and may be more accurate in adverse pressure gradients than some of the other models in Wind-US. With structured grids, the SST model may be used with or without the compressibility corrections of Suzen and Hoffmann, and freestream values of k and ω may be specified.

The Chien k-ε model and the Rumsey-Gatski k-ε algebraic Reynolds stress model are also available in Wind-US. Several options may be specified with these models to control the initialization procedure, enhance stability, and improve accuracy in adverse pressure gradients and at high Mach numbers.

Keywords: TURBULENCE, COMPRESSIBLE DISSIPATION, PRESSURE DILATATION, FREE_K, FREE_OM, K-E ...

Combined RANS/LES Models

The idea behind combined RANS/LES (Reynolds-Averaged Navier Stokes / Large Eddy Simulation) turbulence models is to improve predictions of complex flows in a real-world engineering environment, by allowing the use of LES methods with grids typical of those used with traditional Reynolds Averaged Navier Stokes models. The combined model reduces to the standard RANS model in high mean shear regions (e.g., near viscous walls), where the grid is refined and has a large aspect ratio unsuitable for LES models. As the grid is traversed away from high mean shear regions, it typically becomes coarser and more isotropic, and the combined model smoothly transitions to an LES model.

Three different combined RANS/LES models are available in Wind-US for structured grids.

The combined models may only be used for unsteady flows (i.e., the time step is a constant). They are zonal, however, so you can use a combined model in time-accurate mode in one zone, while using a standard RANS model in steady-state mode in the other zones.

Keywords: TURBULENCE, DES, LESB, HYBRID

Transition Specification

Through the use of the TTSPEC keyword, point-by-point transition data may be specifed on viscous walls in structured grids. The data represent the percentage of turbulent viscosity to be added to the laminar viscosity at each grid point. An auxiliary code, tmptrn, may be used to create the transition data, and write it into the common flow (.cfl) file.

Keywords: TTSPEC

Gas Models

A variety of gas models are available in Wind-US to complete the equation set. The fluid may be treated as a thermally and calorically perfect gas, a thermally perfect gas (frozen chemistry), equilibrium air, or a mixture undergoing a finite rate chemical reaction. Several different chemistry packages are available as files containing thermodynamic data, finite rate coefficients, and transport property data.

Keywords: CHEMISTRY

Other Models

For structured grids, various other models are available in Wind-US to model specific physical features of the geometry.

Actuator Disks

To simulate fan or compressor discontinuities, Wind-US provides an actuator disk modeling capability, which acts as a modification to the zone coupling boundary condition. The model assumes an infinitesimally thin disk and must be applied at a coupled zonal interface. The actual discontinuity is specified in the input data file as a solid-body rotation or free vortex flow, the effects of which are applied when transferring flow information between the two specified zone boundaries.

Keywords: ACTUATOR

Screens

Flowfield screens may also be modeled in Wind-US as discontinuities across coupled zonal interfaces. In the Wind-US input data file, one must specify the zones and boundaries between which the screen in located, the solidity of the screen, and one of several methods for calculating the losses through the screen. The screen model is not intended for use with choked screens, where the screen is significantly limiting the mass flow rate. During the solution start-up phase, it may be necessary to specify a low solidity, then increase it to the desired value to avoid strong choking in transients.

Keywords: SCREEN

Vortex Generators

A model is available in Wind-US for the effects of an array of vane-type vortex generators in three-dimensional flow. Currently, the generators must be located at a coupled i-interface boundary between two zones. A discontinuous change in secondary velocity is applied across the interface to simulate the vortices produced by the generators.

The model is based on experimental data, and determines the strength of each vortex based on the generator chord length, height, and angle of incidence with the incoming flow, as well as the incoming flow core velocity and boundary layer thickness. Each vortex center is placed at the grid point closest to the location determined by the user-specified generator location on the boundary, and the generator height.

Keywords: VORTEX GENERATOR

Flowfield Initialization

By default, Wind-US initializes the computational flowfield by setting the flow properties at each grid point equal to those specified with the FREESTREAM keyword in the input data file. The same initial conditions are applied at all points in the computational domain, including solid walls, zone boundaries, and freestream boundaries.

Several options in Wind-US lead to non-default initializations, including user-specified inflow conditions, boundary layer initialization, and reinitialization of portions of the flowfield on restart. The user-specified inflow and boundary layer initialization options are currently only available for structured grids.

User-Specified Initialization

Wind-US's ARBITRARY INFLOW keyword was designed to specify flow conditions at arbitrary inflow boundaries. [Recall that the type of boundary, such as arbitrary inflow, is specified using GMAN or MADCAP, and stored in the common grid (.cgd) file, not in the input data file.] However, it may also be used in a variety of ways to specify initial conditions in selected portions of the computational domain that are different from the freestream values. This capability may be useful, for example, when modeling a jet emanating from a solid wall. Zones downstream of the jet exit may have difficulty converging to the proper solution from conditions much different than the jet exit conditions.

To use the ARBITRARY INFLOW keyword as an initialization tool, specify the appropriate parameters and values for a zone as described below, and run Wind-US from scratch (i.e., without an existing flow (.cfl) file). [Note that since the ARBITRARY INFLOW keyword is also used to specify boundary conditions at arbitrary inflow boundaries, a conflict arises if (for some reason) the desired inflow properties are different from those being set as initial conditions. In this case, the ARBITRARY INFLOW keyword can still be used to set initial conditions by setting the number of cycles to be run to zero. Then, after changing the values specified with the ARBITRARY INFLOW keyword to the desired inflow values, simply restart using the initialized flowfield in the newly-created .cfl file.]

There are three ways that the ARBITRARY INFLOW keyword block may be used to modify the default initial conditions.

Keywords: ARBITRARY INFLOW

Boundary Layer Initialization

To provide a better approximation to near-wall flowfields, Wind-US provides a couple of boundary layer initialization options that may help speed the convergence of viscous flows near solid walls.

First, by using multiple IJK_RANGE parameters with the ARBITRARY INFLOW keyword, and setting the range to include not only the inflow boundary but also locations downstream, one can set initial boundary layer profiles all along the viscous walls. Note that using this capability may add many lines to the input data (.dat) file. The INCLUDE keyword may be useful in keeping the main .dat file to a manageable size.

Another option is to use the BL_INIT keyword to specify a starting location and thickness for a laminar or turbulent boundary layer. However, this option may only be used on computational j- or k-boundaries, and only on one boundary in each zone.

Keywords: ARBITRARY INFLOW, BL_INIT

Reinitialization

In the event that portions of the computed flowfield become "polluted" with unrealistic flowfield data, due to numerical instabilities or other causes, you may wish to reinitialize portions of the flow. Wind-US's reinitialization option enables you to reset the flow conditions in specified zones.

For both structured and unstructured grids, conditions throughout the zone may be reinitialized to freestream values. In addition, conditions within specified regions may be reinitialized to values specified using the ARBITRARY INFLOW keyword, and/or (for structured grids) the BL_INIT keyword, as described above.

Keywords: REINITIALIZE, ARBITRARY INFLOW, BL_INIT