last modified: 20-SEP-2001 | catalog | categories | new | search |

ESTS0154 KIVA-3V.

KIVA3, Transient Multicomponent 2-D and 3-D Reactive Flows with Fuel Sprays

top ]
1. NAME OR DESIGNATION OF PROGRAM:  KIVA3VRELEASE2.
top ]
2. COMPUTERS
To submit a request, click below on the link of the version you wish to order. Only liaison officers are authorised to submit online requests. Rules for requesters are available here.
Program name Package id Status Status date
KIVA3VRELEASE2 ESTS0154/03 Tested 20-SEP-2001

Machines used:

Package ID Orig. computer Test computer
ESTS0154/03 UNIX W.S.,HP W.S. PC Windows
top ]
3. DESCRIPTION OF PROGRAM OR FUNCTION

KIVA3VRELEASE2 is a computer program for the numerical calculation of transient, two and three-dimensional, chemically reactive flows with sprays. It is a newer version of the earlier KIVA3 (1993) that has now been extended to model vertical of canted valves in the cylinder head of a gasoline or diesel engine. KIVA3, in turn, was based on the earlier KIVA2 (1989) and uses the same numerical solution procedure and solves the same sort of equations. KIVA3VRELEASE2 uses a block-structured mesh with connectivity defined through indirect addressing. The departure from a single rectangular structure in logical space allows complex geometries to be modeled with significantly greater efficiency because large regions of deactivated cells are no longer necessary. Cell-face boundary conditions permit greater flexibility and simplification in the application of boundary conditions. KIVA3VRELEASE2 contains a number of significant changes. New features enhance the robustness, efficiency, and usefullness of the overall program for engine modeling. Automatic restart of the cycle with a reduced timestep in case of iteration limit or temperature overflow will reduce code crashes. A new option provides automatic deactivation of a port region when it is closed from the cylinder and reactivation when it communicates with the cylinder. Corrections in the code improve accuracy; extensions to the particle-based liquid wall film model makes the model more complete and a spli injection option has been added. A new subroutine monitors the liquid and gaseous fuel phases and energy balance data and emissions are monitored and printed. New features have been added to the grid generator K3PREP and the graphics post processor, K3POST.
top ]
4. METHOD OF SOLUTION

KIVA3VRELEASE2 solves the unsteady equations of motion of a turbulent, chemically reactive mixture of ideal gases, coupled to the equations for a single-component vaporizing fuel spray. The gas-phase solution procedure is based on the arbitrary Lagrangian-Eulerian (ALE) finite volume method. The arbitrary mesh of hexahedral cells can conform to curved boundaries and move to follow changes in combustion chamber geometry. The transient solution is marched out in a sequence of finite time increments in which the temporal difference scheme is largely implicit. A subcycled explicit method is used to calculate convection in the rezone phase. Evaporating liquid sprays are represented by a discrete-particle technique, in which each computational particle represents some number of droplets of identical size, velocity, and temperature. All KIVA3V calculations must be run in double precision on platforms that have a 32-bit word length. The Common Graphics System (CGS) supplied along with KIVA3V is divided into three functional groups. The viewing subroutines define the plotting limits and placement of the graphics output on the graphics view surfaces. The output subroutines generate graphics images as well as prepare a surface for plotting. The attribute subroutines control the appearance of the graphics output. The CGS graphics routines are in single precision.
top ]
5. RESTRICTIONS ON THE COMPLEXITY OF THE PROBLEM

The include file comkiva.i should be suitably modified for problems exceeding 22500 grid points and 2500 spray parcels.
top ]
6. TYPICAL RUNNING TIME

Run time requirements depend upon the problem size and the system configuration. On the Cray Y-MP simple 2-D calculations might run to completion in a minute; a 3-D cold-flow two-stroke engine calculation with 20,000 grid points requires on the order of 1.5 hours for one crankshaft rotation; and many hours may be required for larger meshes, runs with many spray particles, complex chemistry, and strong shears. Comparative runs on the IBM RSIC 6000, Silicon Graphics, and SUN workstations ranged from two to six times the Cray Y-MP times, with most being greater by a factor of three to four.
top ]
7. UNUSUAL FEATURES OF THE PROGRAM

KIVA3VRELEASE2 is a revision of the first KIVA program that can model vertical or canted valves in the cylinder head of an internal combustion engine. The valves are treated as solid objects that move through the mesh using the familiar snapper technique for piston motion in KIVA3. Because the valve motion is modeled exactly, and the valve shapes are as exact as the grid resolution will allow, the accuracy of the valve model is commensurate with that of the rest of the program. Other new features in KIVA3VRELEASE2 include a particle-based liquid wall film model, a new sorting subroutine that is linear in the number of nodes and preserves the original storage sequence, a mixing controlled turbulent combustion model, and an optional RNG k-epsilon turbulence model. All features and capabilities of the original KIVA3 have been retained.
top ]
8. RELATED AND AUXILIARY PROGRAMS

In addition to the main hydro program (KIVA3), supplied are a basic preprocessor for grid generation (K3PREP) and a graphics postprocessor (K3POST). The K3PREP routine also includes a minor bug fix from Anthony Amsden in the setup routine to take care of a full circle mesh with an axis, in which the front and derriere block faces are fluid. These two programs will be adequate for many users, but serve as models for the more experienced user, who will replace them with packages tailored to their own needs. K3PREP has been expanded to support the generation of grids with valves, along with the shaping of valve ports and runners.
top ]
9. STATUS
Package ID Status date Status
ESTS0154/03 20-SEP-2001 Screened
top ]
10. REFERENCES
ESTS0154/03, included references:
- Ed Kidd
EXE FILES DECOMPRESSION NOTE
11/17/99
- Walt Kelly
ESTSC Note KIVA3-99
September 20, 1999
- LANL, Computing and Communications Division
User Manual for CGS Device Control
CIC#144 (GR800) August 1990
- Rolf D.Reitz, Chris J.Rutland, Karen Schuette
KIVA Newsletter
Newsletter #15 - January 1998
top ]
11. MACHINE REQUIREMENTS

Load length of executable file is determined by the values easily specified by the user in parameter statements. These should be adjusted to fit the calculation, in order to make optimum use of computer resources. As an example, the load length of an executable file is 5.55 megawords, with arrays that allow up to 22500 grid points and 2500 spray particles.
top ]
12. PROGRAMMING LANGUAGE(S) USED
Package ID Computer language
ESTS0154/03 FORTRAN
top ]
13. OPERATING SYSTEM UNDER WHICH PROGRAM IS EXECUTED:  UNICOS, UNIX (adaptable), HP-UX.
top ]
14. OTHER PROGRAMMING OR OPERATING INFORMATION OR RESTRICTIONS

Linear system solver, such as LINPACK, is required for equilibrium chemistry solver. Several calls are made to run-time libraries. Graphics postprocessor requires primitives for point plotting and vector drawing, along with character string conversion for plot labels. The release of CGS Version 11.4 accompanying KIVA3VRELEASE2 includes the media and documentation for CGS. It requires the X11 window system. Many UNIX operating systems come bundled with X11. If X11 is not available on your system you may contact: MIT Software Distribution Center, Technology Licensing Office, Room E32-300, 77 Massachusetts Avenue, Cambridge, MA 02139,  phone 617-258-8330. The KIVA code is qualified to run on any UNIX system including HP-UX. It has been run on versions 8.0 and 10.0 without any problems. The code is serial, but some people have modified it to run in parallel. It has shared memory.
top ]
15. NAME AND ESTABLISHMENT OF AUTHORS

     A.A. Amsden
     Los Alamos National Laboratory
     P.O. Box 1663
     Los Alamos, New Mexico,  U. S. A.
top ]
16. MATERIAL AVAILABLE
ESTS0154/03
Aix.exe executable file
cgs.tar Compressed tar file
Convex.exe executable file
Hp.exe executable file
K122298.ftp.tar Compressed tar file
KIVA2.pdf Documentation file
Kiva3.pdf Documentation file
Kiva3v.pdf Documentation file
KIVA3V_rel2.pdf Documentation file
pscan.tar Compressed tar file
README.rtf Information file
Sgi.exe executable file
Sun.exe executable file
Ultrix.exe executable file
Unicos.exe executable file
Unix.exe executable file
Vms.exe executable file
Vmsx.exe executable file
XAMBLE.3V.tar Compressed tar file
top ]
17. CATEGORIES
  • U. Chemistry

Keywords: chemical reactions, droplets, finite difference method, fluid flow, ice method, particles, sprays, three-dimensional, two-dimensional.