Skip to content

cfd_gui.settings

This page is generated from src/cfd_gui/settings.py. For narrative architecture context, start with the developer guide.

settings

Persistent application settings (solver path, last directory, etc.).

Settings are stored via QSettings, which maps to: - Linux: ~/.config/cfd-solver-gui/cfd-solver-gui.conf - macOS: ~/Library/Preferences/com.cfd-solver-gui.plist - Windows: registry (HKCU\Software\cfd-solver-gui)

app_data_dir()

Return the writable application data directory, creating it if needed.

runs_root_dir()

Return the durable root directory for solver run artifacts.

create_run_directory()

Create and return a unique per-run directory under the durable run root.

solver_binary()

Return the configured solver binary path, or empty string.

auto_detect_solver()

Try bundled binary first, then $PATH. Returns path or ''.

ensure_solver_binary()

Return a usable solver binary path, auto-detecting if needed.

font_size()

Return the user's stored font size, falling back to the platform default.