2.4.2. Parameters Controlled by Chemkin-CFD Calls

The boundary-layer treatment will be turned on when the cell has a chemically active wall and parameter FILM is set to 1 by using KINSetParameter, as follows:

dUseFilm = 1.0;
KINSetParameter(&iChemSetIndex, (char *)"FILM", &dUseFilm); 

can be set by controlling the value of using KINSetParameter:

dBoundaryLayerThickness = L;
KINSetParameter(&iChemSetIndex, (char *)"BLTK", &dBoundaryLayerThickness); 

The transport coefficients will be calculated automatically within the KINetics routines, when pre-processed transport-data is available to the KINetics module. Otherwise, calls to KINSetParameter can be used to specify the viscosity of the mixture at 273.15 K, using the VISC0 keyword as:

dReferenceViscosity = mu_zero;
KINSetParameter(&iChemSetIndex, (char *)"VISC0", &dReferenceViscosity); 

and the Schmidt number in this case can be set using SCHMD keyword as follows:

dSchmidtNumber = Sc;
KINSetParameter(&iChemSetIndex, (char *)"SCHMD", &dSchmidtNumber); 

The values input in these calls should be in SI units, as with other KINetics calls.