-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathREADME.md
58 lines (38 loc) · 3.86 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Multi-species-mass-transport-library-for-OpenFOAM-2.3.X
<p align="justify">In this repository, the multi-species mass transport library of Novaresio et al. (see below) is implemented for OpenFOAM-2.3.X. The original version of the library was developed for OpenFOAM-1.6 and later on updated for version 2.1.0.</p>
<p align="justify">Novaresio V., García-Camprubí M., Izquierdo S., Asinari P., Fueyo N., An Open-Source Library for the Numerical Modeling of Mass-Transfer in Solid-Oxide Fuel Cells. <em>Computer Physics Communications</em>, Elsevier B.V., pp. 22, 2011, Vol. 183, pag. 125-146, ISSN: 0010-4655, <a href="https://doi.org/10.1016/j.cpc.2011.08.003">DOI: 10.1016/j.cpc.2011.08.003</a>.</p>
## Files description
<ul>
<li><p align="justify">"<em>diffusivityModels</em>"</p></li>
<ul>
<li><p align="justify">binaryDiffusivityModel -> base class for all binary diffusivity models</p></li>
<li><p align="justify">constant -> binary diffusivity model with constant diffusion coefficients</p></li>
<li><p align="justify">Fuller -> binary diffusivity model based on Fuller-Schettler-Giddings correlation</p></li>
<li><p align="justify">ChapmanEnskog -> binary diffusivity model based of Chapman-Enskog correlation</p></li>
<li><p align="justify">Wilke -> binary diffusivity model based on Wilke-Lee correlation</p></li>
<li><p align="justify">Knudsen -> Knudsen diffusivity model</p></li>
<li><p align="justify">diffusivityModel -> class that collects the binary diffusion coefficients for a set of species</p></li>
<li><p align="justify">KnudsenDiffusivityModel -> class that collects the Knudsen diffusion coefficients for a set of species</p></li>
</ul>
<br>
<li><p align="justify">"<em>multiSpeciesTransportModels</em>"</p></li>
<ul>
<li><p align="justify">multiSpeciesTransportModel -> base class for all multiSpecies transport models</p></li>
<li><p align="justify">Fick -> diffusive mass fluxes are calculated using the common Fick law for multicomponent mixture (D_alpha is function of molar/mass fractions)</p></li>
<li><p align="justify">FickDilutedMixture -> similar to Fick model, but D_alpha IS NOT function of molar/mass fractions </p></li>
<li><p align="justify">SchmidtNumber -> diffusive mass fluxes are calculated using the Schmidt number</p></li>
<li><p align="justify">Lewis -> diffusive mass fluxes are calculated using the Lewis number</p></li>
<li><p align="justify">Bosanquet -> similar to Fick model, but D_alpha is corrected with Knudsen effects</p></li>
<li><p align="justify">MaxwellStefan -> diffusive mass fluxes are calculated using the Maxwell-Stefan correlation (j_alpha depend by gradient of all species)</p></li>
</ul>
<br>
<li><p align="justify">"<em>modifiedReactingFoam</em>" in which turbulence is initially generated in the whole domain (usually a box) using Fourier series.</p></li>
<li><p align="justify">"<em>multiSpeciesTransportModels.pdf"</em> in which the different models are explained.
</ul>
## Prerequisites
<p align="justify">This library is developed for <strong>OpenFOAM 2.3.X</strong>, and requires the latter version of the Open Source CFD Toolbox. For more information on how to install this version, the reader is referred to <a href="https://sites.google.com/site/foamguides/installation/installing-openfoam-2-3-x">this web page</a>.</p>
## Instructions on program
<p align="justify">To compile the two libraries and the solver, you can just run the installation script ("<em>install_script</em>") after ensuring the permissions to execute the file:</p>
chmod u+x install_script
./install_script
This will create the libraries <em>diffusivityModels</em> and <em>multiSpeciesTransportModels</em> in your $FOAM_USER_LIBBIN folder, and create the application <em>modifiedReactingFoam</em> in your $FOAM_USER_BIN folder.