Abstract. Increasing complexity of both scientific simulations and high performance computing system architectures are driving the need for adaptive workflows, in which the composition and execution of computational and data manipulation steps dynamically depend on the evolutionary state of the simulation itself. Consider for example, the frequency of data storage. Critical phases of the simulation should be captured with high frequency and with high fidelity for post-analysis, however we cannot afford to retain the same frequency for the full simulation due to the high cost of data movement. We can instead look for triggers, indicators that the simulation will be entering a critical phase, and adapt the workflow accordingly.In this paper, we present a methodology for detecting triggers and demonstrate its use in the context of direct numerical simulations of turbulent combustion using S3D. We show that chemical explosive mode analysis (CEMA) can be used to devise a noise-tolerant indicator for rapid increase in heat release. However, exhaustive computation of CEMA values dominates the total simulation, thus is prohibitively expensive. To overcome this computational bottleneck, we propose a quantile sampling approach. Our sampling based algorithm comes with provable error/confidence bounds, as a function of the number of samples. Most importantly, the number of samples is independent of the problem size, thus our proposed sampling algorithm offers perfect scalability. Our experiments on homogeneous charge compression ignition (HCCI) and reactivity controlled compression ignition (RCCI) simulations show that the proposed method can detect rapid increases in heat release, and its computational overhead is negligible. Our results will be used to make dynamic workflow decisions regarding data storage and mesh resolution in future combustion simulations. The proposed sampling-based framework is generalizable and we detail how it could be applied to a broad class of scientific simulation workflows.Keywords: Sublinear algorithms; quantile sampling; in situ data analysis; chemical explosive mode analysis (CEMA); S3D; adaptive workflow; judicious I/O; 1. Introduction. Steady improvements in computing resources enable ever more enhanced scientific simulations, however Input/Output (I/O) constraints are impeding their impact. Historically, scientific computing workflows have been defined by three independent stages (see Fig. 1.1(a)): 1) a pre-processing stage comprising initialization and set up (for example mesh generation, or initial small-scale test runs); 2) the scientific computation itself (in which data is periodically saved to disk at a prescribed frequency); and 3) post-processing and analysis of data for scientific insights. With improved computing resources scientists are increasing the temporal resolution of their simulations. However, as computational power continues to outpace I/O capabilities, the gap between time steps saved to disk keeps increasing. This compromise in the fidelity of the data being saved t...