DOI: 10.18419/darus-4782
title: Replication Data for: "Local Thermal Non-Equilibrium Models in Porous Media: A Comparative Study of Conduction effects"

description: &lt;p&gt;This data set contains the data to reproduce the figures presented in Kostelecky et al., Local Thermal Non-Equilibrium Models in Porous Media: A Comparative Study of Conduction effects, International Journal of Heat and Mass Transfer. \TODO: add doi after acceptance.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. Final figures&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The final figures of the paper can be found in &lt;code&gt;plots_final.tar.xz&lt;/code&gt;.&lt;/p&gt; It can be extracted e.g in a terminal on Linux via
&lt;pre&gt;&lt;code class="lang-bash"&gt;tar -xf plots_final&lt;span class="hljs-selector-class"&gt;.tar&lt;/span&gt;&lt;span class="hljs-selector-class"&gt;.xz&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;2. Generating plot&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To generate the plots using the simulation data, download &lt;code&gt;postprocessing_Kostelecky2025a.tar.xz&lt;/code&gt; and extract it, e.g. on Linux via&lt;/p&gt;
&lt;pre&gt;&lt;code class="lang-bash"&gt;tar -xf postprocessing_Kostelecky2025a&lt;span class="hljs-selector-class"&gt;.tar&lt;/span&gt;&lt;span class="hljs-selector-class"&gt;.xz&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;2.1 Structure of folder&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The structure of the folder is then as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;bin&lt;/em&gt;&lt;/strong&gt;: helper scripts for creating a virtual environment (&lt;code&gt;createAnsActivateVenv.sh&lt;/code&gt;) and a master bash script (&lt;code&gt;02_postprocessing.sh&lt;/code&gt;) to generate all plots automatically.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;02_postprocessing&lt;/em&gt;&lt;/strong&gt;: here, the post-processing is happening via different python scripts. The script &lt;code&gt;process_allDataAndPlotAll.py&lt;/code&gt; is calling all other python files for preparing the data (&lt;code&gt;process_PoreResolvedData.py&lt;/code&gt;, &lt;code&gt;extract_avgTemperatureInXYZ_forDNM_fromPvd.py&lt;/code&gt; and &lt;code&gt;rename_files_REVSimulation.py&lt;/code&gt;) and for plotting the prepared data (python scripts are named by &lt;code&gt;plot_....py&lt;/code&gt;).
The folder is structured in the subfolders:&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;00_rawData&lt;/em&gt;&lt;/strong&gt;: here all the simulation data from the different models are stored&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;01_processedData&lt;/em&gt;&lt;/strong&gt;: when the script &lt;code&gt;process_allDataAndPlotAll.py&lt;/code&gt; is called, the simulation data in &lt;em&gt;00_rawData&lt;/em&gt; will be prepared for plotting. Hence, consistent file names and structures are applied as well as mean values are calculated for the dual network model. The prepared data is then stored within this folder.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;02_plots&lt;/em&gt;&lt;/strong&gt;: all generated plots will be saved here.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;2.2 Run the scripts for generating figures&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Generate the plots by executing the script &lt;code&gt;02_postprocessing.sh&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code class="lang-bash"&gt;./&lt;span class="hljs-number"&gt;02&lt;/span&gt;_posptocessing.sh
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This opens a virtual python environment, installs the necessary requirements and calls the python script &lt;code&gt;02_postprocessing/process_allDataAndPlotAll.py&lt;/code&gt;, which runs all scripts for preparing and generating the plots automatically. Plots are saved in &lt;em&gt;02_postprocessing/02_plots&lt;/em&gt;.&lt;/p&gt;