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 library 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_library_path()

Return the configured solver library path, or an empty string.

auto_detect_solver_library()

Try the environment override, then sibling solver build outputs.

ensure_solver_library()

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

font_size()

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