OpenFOAM 14 — Guida 14: Mezzi porosi, Darcy–Forchheimer e perdite di carico
OpenFOAM 14 — Guide 14: Porous media, Darcy–Forchheimer and pressure loss
========================================================================

IT  Questo archivio contiene tutti gli script e i file di dati riportati o citati
    nell'articolo di giux-lab.it, con lo stesso contenuto pubblicato nei riquadri.
    scripts/, examples/, ... : file del pacchetto originale della guida;
    extra/                   : script e file aggiuntivi presentati nei riquadri di approfondimento.
    I file indicati come SYNTHETIC sono dati illustrativi, non risultati CFD.
EN  This archive contains every script and data file reproduced or cited in the
    giux-lab.it article, with the same content published in the boxes.
    scripts/, examples/, ... : files of the original guide package;
    extra/                   : additional scripts and files presented in the deep-dive boxes.
    Files marked SYNTHETIC are illustrative data, not CFD results.

IMPORTANTE: per eseguire la campagna usare extra/run_campaign_fixed.sh al posto di scripts/run_campaign.sh:
la versione originale crea guide14.SUCCESS ed esce con codice 0 anche quando blockMesh, createZones,
checkMesh o foamRun falliscono. Prima del calcolo copiare extra/functions_guide14 in <caso>/system/functions
per avere sonde di pressione, portate e medie temporali.

IMPORTANT: run the campaign with extra/run_campaign_fixed.sh instead of scripts/run_campaign.sh:
the original version creates guide14.SUCCESS and exits with code 0 even when blockMesh, createZones,
checkMesh or foamRun fail. Before running, copy extra/functions_guide14 to <case>/system/functions
to get pressure probes, flow rates and time averages.

Requisiti / Requirements: OpenFOAM Foundation 14 on Linux; Python 3 (standard library) unless stated in the script.
Line endings: LF. Se si modificano gli script su Windows, salvarli con fine riga LF (Notepad++: Modifica > Conversione fine riga).
Licenza / Licence: script GNU GPL v3 or later (COPYING_GPLv3.txt). I tutorial OpenFOAM non sono inclusi:
gli script li copiano dall'installazione locale. / OpenFOAM tutorials are not bundled: the scripts copy them from the local installation.

Contenuto / Contents
------------------------------------------------------------------------
examples/measurement_example_SYNTHETIC.csv
    SYNTHETIC / illustrative data, not CFD results (7 lines)
examples/measurements_template.csv
    CSV data or template (1 lines)
extra/functions_guide14
    system/functions file for OpenFOAM 14 (with FoamFile header)
extra/porous_estimates.py
    Order-of-magnitude checks and exact slab solution for the Guide 14 campaign.
extra/probe_series.py
    Pressure-tap statistics from OpenFOAM 14 probes files (Guide 14).
extra/run_campaign_fixed.sh
    corrected run script: stops at the first failed command and writes the success marker only when every step succeeds
scripts/analyze_pressure.py
    Analyze measured ParaView kinetic-pressure taps and Darcy-Forchheimer fit.
scripts/patch_media_urls.py
    Create a new WordPress HTML file with updated media URLs, without overwriting.
scripts/prepare_campaign.py
    Prepare a non-destructive OpenFOAM-14 Darcy-Forchheimer campaign.
scripts/run_campaign.sh
    Run the unmodified official OpenFOAM 14 applications in each prepared case.

SHA-256
------------------------------------------------------------------------
e0fb19dd14d20c56b9493cc0bb4de46bbcd3414427100767674fcc776bd7d671  examples/measurement_example_SYNTHETIC.csv
451ff38849fb62518df93636f2637c82a99066d9000f4f8a1be97b9284a2a0cd  examples/measurements_template.csv
7785f94232235e8fa9ecce2c40a8feb425713b8451f149bcede50ec5b773eb40  extra/functions_guide14
c41bd29b66bcadbb060d01a43836c601d4f918a09812aa02e2c632bbb418fad5  extra/porous_estimates.py
e13f75cfaabaadec821a953eb248f425110e9c85cc6693df3ee612805a6d2e3c  extra/probe_series.py
05e89550df47e9666c2fd2f938ba289320b13e4f006ca3dd614d920c131f7374  extra/run_campaign_fixed.sh
e7a168ef2d4b50c27cc7bbc46091cc3da09e0576a6f9221fea21f797405668c5  scripts/analyze_pressure.py
71e500a862e540e8cc9b131f8d6e79c639fc8212e1d1e1a0a3f5bc93736ce02d  scripts/patch_media_urls.py
fc3800f8ab60c6ea005fc012b587a86cd5b1eaf9f448fd6745b41459c35b30cc  scripts/prepare_campaign.py
af022af8dda9f8a4bbce1373e44f5bf2a14fc5a1304af2a268a689a497ac4a62  scripts/run_campaign.sh
