DAFI: An Open-Source Framework for Ensemble-Based Data Assimilation and Field Inversion

Carlos A. Michelén Ströfer, Xin-Lei Zhang, Heng Xiao
12/4/2020
physics.comp-ph
bayesian

Official code: xiaoh/DAFI (68 stars, C++, Apache-2.0, last commit 2025-07-05).

Abstract

In many areas of science and engineering, it is a common task to infer physical fields from sparse observations. This paper presents the DAFI code intended as a flexible framework for two broad classes of such inverse problems: data assimilation and field inversion.

Show full abstract

DAFI generalizes these diverse problems into a general formulation and solves it with ensemble Kalman filters, a family of ensemble-based, derivative-free, Bayesian methods. This Bayesian approach has the added advantage of providing built-in uncertainty quantification. Moreover, the code provides tools for performing common tasks related to random fields, as well as I/O utilities for integration with the open-source finite volume tool OpenFOAM. The code capabilities are showcased through several test cases including state and parameter estimation for the Lorenz dynamic system, field inversion for the diffusion equations, and uncertainty quantification. The object-oriented nature of the code allows for easily interchanging different solution methods and different physics problems. It provides a simple interface for the users to supply their domain-specific physics models. Finally, the code can be used as a test-bed for new ensemble-based data assimilation and field inversion methods.

View on arXivView PDF

Code Implementations(1)

xiaoh/DAFIOfficial100%
Apache-2.0

DAFI: Ensemble based data assimilation and field inversion, repository for internal development

6831C++, Jupyter NotebookOct 10, 20181 years agoApache-2.0

Similar Papers

Cite this paper

@article{strfer2020dafi,
  title  = {DAFI: An Open-Source Framework for Ensemble-Based Data Assimilation and Field Inversion},
  author = {Carlos A. Michelén Ströfer and Xin-Lei Zhang and Heng Xiao},
  year   = {2020},
  eprint = {2012.02651},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.02651}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.02651.svg)](https://codeofpaper.com/paper/2012.02651)

Discussion