A Streamlit app for visualizing OpenFOAM residual .dat and .log files.
- Interactive residual view (
Interactivetab) - Static residual view (
Statictab) with Matplotlib - Raw table inspection (
Datatab) - Multi-file upload and side-by-side comparison
- Height controls for interactive and static plots
- Optional filename display
- Log-scale residual plotting
- CSV download per uploaded file
- Server-side parsing in Streamlit
streamlit_app.py: Main Streamlit applicationpyproject.toml: Project metadata and dependenciesuv.lock: Locked dependency set foruv
Install dependencies with uv and run Streamlit:
uv sync
uv run streamlit run streamlit_app.pyThen open the local URL printed by Streamlit (usually http://localhost:8501).
- Connect this repository in Streamlit Cloud.
- Set main file path to
streamlit_app.py. - Streamlit Cloud will install dependencies from
pyproject.toml/uv.lock.
- Upload one or more OpenFOAM residual
.dator.logfiles. - Configure optional display and plotting controls.
- Switch between
Interactive,Static, andDatatabs.