Common File Layout for .cfl Files

This diagram illustrates the common file layout for .cfl files.

A large box on the left represents the node "ROOT", with node header values listed below.

   ipar(1) = imax
   ipar(2) = jmax
   ipar(3) = kmax
   ipar(4) = nzone
   ipar(5) = mxpts
   ipar(6) = symtry
   ipar(7) = mxset

   fpar(1)  = p0
   fpar(2)  = T0
   fpar(3)  = a0
   fpar(4)  = rho0
   fpar(5)  = M
   fpar(6)  = p
   fpar(7)  = T
   fpar(8)  = a
   fpar(9)  = rho
   fpar(10) = K
   fpar(11) = epsi
   fpar(12) = mu
   fpar(13) = Re
   fpar(14) = alpha
   fpar(15) = beta
   fpar(25) = R
   fpar(26) = Gamma
   fpar(27) = Pr
   fpar(28) = Prt

   cpar(1) = Main title
   cpar(2) = Sub-title

Stored in the root node is the variable maxr, dimensioned mxset.

Two boxes are attached to the root node - one representing a structured zone node and one representing an unstructured zone node. Both have the name "ZONE N", where N, the zone number, is a three-digit integer from 1 to NZONE.

The structured zone node header contains the values listed below.

   ipar(1)  = idim
   ipar(2)  = jdim
   ipar(3)  = kdim
   ipar(4)  = nfrgpt
   ipar(9)  = 0
   ipar(10) = Gas model
   ipar(11) = Turb model
   ipar(12) = cell/node

   fpar(1-39) = Reserved
   fpar(39-n) = Application

   cpar(1) = Zone title
   cpar(2) = Solver name

Shown below the structured zone node header are the variables stored in the zone node. These are setdata, dimensioned 3*mxset, and the flowfield variables rho, rho*u, rho*v, rho*w, and rho*e0, all dimensioned (idim,jdim,kdim). Additional variables may also be present in a structured zone node.

The unstructured zone node header contains the values listed below.

   ipar(1)  = npnts
   ipar(2)  = nedge
   ipar(3)  = nface
   ipar(4)  = ncell
   ipar(5)  = npts/face
   ipar(6)  = nface/cell
   ipar(9)  = 1
   ipar(10) = Gas model
   ipar(11) = Turb model
   ipar(12) = cell/node
   ipar(20) = nbdpts

   fpar(1-39) = Reserved
   fpar(39-n) = Application

   cpar(1) = Zone title
   cpar(2) = Solver name

Shown below the unstructured zone node header are the variables stored in the zone node. These are setdata, dimensioned 3*mxset, and the flowfield variables rho, rho*u, rho*v, rho*w, and rho*e0, all dimensioned nbdpts. Additional variables may also be present in an unstructured zone node.

If ncell > 0, a node named "INTERIOR" is located below the unstructured zone node. The node header values aren't applicable. The variables stored in this node include rho, rho*u, rho*v, rho*w, and rho*e0, all dimensioned npnts-nbdpts. Additional variables may also be present in this node.


Last updated 27 Feb 2002