Chemistry · function

ignites

Whether all five conditions for flaming ignition hold.

Explained in Chemistry.

function ignites(model: IgnitionModel, surfaceTemperature: number, fuelFlux: number, totalFlux: number, oxygenFraction: number, gasSpeed: number, piloted: boolean): boolean
import { ignites } from '@driftengine/chemistry';

Parameters

ParameterTypeDescription
modelIgnitionModel
surfaceTemperaturenumber
fuelFluxnumber
totalFluxnumber
oxygenFractionnumber
gasSpeednumber
pilotedboolean

In depth

Surface hot enough, enough fuel coming off it, oxygen above the limiting index, the mixture at the surface within its flammability limits, and — for the lower of the two temperatures — a pilot.