View: |
Part 1: Document Description
|
Citation |
|
---|---|
Title: |
Code for effective heat conductivity in thin porous media |
Identification Number: |
doi:10.18419/darus-2026 |
Distributor: |
DaRUS |
Date of Distribution: |
2021-06-16 |
Version: |
2 |
Bibliographic Citation: |
Scholz, Lena; Bringedal, Carina, 2021, "Code for effective heat conductivity in thin porous media", https://doi.org/10.18419/darus-2026, DaRUS, V2 |
Citation |
|
Title: |
Code for effective heat conductivity in thin porous media |
Identification Number: |
doi:10.18419/darus-2026 |
Authoring Entity: |
Scholz, Lena (Universität Stuttgart) |
Bringedal, Carina (Universität Stuttgart) |
|
Grant Number: |
327154368 |
Distributor: |
DaRUS |
Access Authority: |
Bringedal, Carina |
Depositor: |
Bringedal, Carina |
Date of Deposit: |
2021-06-10 |
Holdings Information: |
https://doi.org/10.18419/darus-2026 |
Study Scope |
|
Keywords: |
Earth and Environmental Sciences, Mathematical Sciences |
Abstract: |
This code can be used to determine the effective heat conductivity of a thin periodic porous medium by solving a two- or three-dimensional local cell problem on pore scale using the software Netgen/NGSolve. The pore geometry of the representative cell and the boundary conditions on top and bottom can be set by the user. The same holds for the heat conductivities of fluid and grain as well as numerical parameters. All parameters are set in 'settings.py', together with four example set-ups that are already implemented there (for further instructions please refer to 'Notes').<br> If needed one can display or export the solutions of the cell problems in vtk-format. |
Notes: |
To run the code, make sure that all files are located in the same folder. Then either run 'netgen main.py' in this folder or run main.py directly in the NETGEN GUI (> Solve > Load Python).<br> Numerical parameters as well as the dimensionality of the model and visualization parameters can be set in the function 'setUpGeneral' in 'settings.py'. The provided example functions 'setUpGeometryExample<>' account for all parameters regarding the geometrical setup (pore geometry, boundary conditions etc.). To implement user-specific set-ups one can either adapt the examples or implement new functions accordingly.<br> Range restrictions for parameters are mentioned in 'settings.py'. Note that the code ensures the validity of the entered parameters by checking whether these restrictions are satisfied.<br> To load the set parameters, the respective geometric setup needs to be selected in line 21 of 'main.py'. In case you have implemented new geometric set-up functions (in addition to 'setUpGeometryExample<>') they need to be added to the dict of options for quick access (line 13) first. |
Methodology and Processing |
|
Sources Statement |
|
Data Access |
|
Other Study Description Materials |
|
Related Publications |
|
Citation |
|
Title: |
Scholz, L., Bringedal, C. A Three-Dimensional Homogenization Approach for Effective Heat Transport in Thin Porous Media. Transp Porous Med (2022). |
Identification Number: |
10.1007/s11242-022-01746-y |
Bibliographic Citation: |
Scholz, L., Bringedal, C. A Three-Dimensional Homogenization Approach for Effective Heat Transport in Thin Porous Media. Transp Porous Med (2022). |
Label: |
generalFunctionalities.py |
Notes: |
text/x-python |
Label: |
main.py |
Text: |
Main file, to be run by the user |
Notes: |
text/x-python |
Label: |
settings.py |
Text: |
For specifying parameters and geometry |
Notes: |
text/x-python |
Label: |
solver2D.py |
Notes: |
text/x-python |
Label: |
solver3D.py |
Notes: |
text/x-python |