Difference between revisions of "Step 3"
(Created page with "= Step 3 descritpion = The purpose of this configuration is to perform a simulation similar to Step 2 but involving now a mixture of different gaseous species at different te...") |
(→Step 3 descritpion) |
||
Line 3: | Line 3: | ||
The purpose of this configuration is to perform a simulation similar to Step 2 but involving now a mixture of different gaseous species at different temperatures, still without any chemical reaction. | The purpose of this configuration is to perform a simulation similar to Step 2 but involving now a mixture of different gaseous species at different temperatures, still without any chemical reaction. | ||
In this manner, it is possible to assess the accuracy of the numerical models involved in the description of species and heat diffusion | In this manner, it is possible to assess the accuracy of the numerical models involved in the description of species and heat diffusion | ||
− | The thermodynamic and transport properties of the 9 species kinetic scheme of Boivin et al. | + | The thermodynamic and transport properties of the 9 species kinetic scheme of Boivin et al.<ref name="Boivin2011">P. Boivin, C. Jim´enez, A.L. S´anchez, and F.A. Williams. An explicit reduced mechanism for H2-air combustion. Proc. Combust. Inst., 33:517–523, 2011.</ref> should be used in preparation for the next step, even though the reactions are still neglected here. |
It should be noted that in this case, the density is variable in both space and time due to the changing composition, which was not the case in the previous step: this induces additional numerical difficulties that must be taken into account. | It should be noted that in this case, the density is variable in both space and time due to the changing composition, which was not the case in the previous step: this induces additional numerical difficulties that must be taken into account. | ||
− | However, there is no variation of the thermodynamic pressure in time,contrary to the next step. | + | However, there is no variation of the thermodynamic pressure in time, contrary to the next step. |
− | The simulation domain is a cubic box of size | + | The simulation domain is a cubic box of size <math>[0;L]^3</math> with <math>L = 2 \pi L_0</math> in each direction, where <math>L_0 = 1\; \mathrm{mm}</math>. |
Compared to the previous step, this smaller size is needed to ensure a proper resolution of the reaction fronts for hydrogen oxidation that will appear in the next step and are associated to fixed characteristic dimensions. | Compared to the previous step, this smaller size is needed to ensure a proper resolution of the reaction fronts for hydrogen oxidation that will appear in the next step and are associated to fixed characteristic dimensions. | ||
Again, periodic boundary conditions are used in all three spatial directions. | Again, periodic boundary conditions are used in all three spatial directions. | ||
− | The initial velocity field prescribed at | + | The initial velocity field prescribed at <math>t=0</math> is identical to the one used in Step 2 (Eq.~\ref{eq:2-D-tgv_init}) with the reference velocity set to <math>u_0=4\;\mathrm{m/s}</math>. |
− | In preparation for the next step, the central part of the box is initially filled with a | + | In preparation for the next step, the central part of the box is initially filled with a <math>H_2/N_2</math> mixture (fuel region, molar fraction <math>X^0_\mathrm{H_2}=0.45</math>, <math>T=300 K</math>) while the remaining domain is filled with air (oxidizer region, molar fraction <math>X^0_\mathrm{O_2}=0.21</math>, <math>T=300 K</math>). |
− | The corresponding mass fractions are | + | The corresponding mass fractions are <math>Y^0_\mathrm{H_2} \approx 0.0556</math> and <math>Y^0_\mathrm{O_2} \approx 0.233</math>. |
To avoid any numerical instability, the steps at the interface between both regions are smoothed out using hyperbolic tangent functions as follows: | To avoid any numerical instability, the steps at the interface between both regions are smoothed out using hyperbolic tangent functions as follows: | ||
− | + | ||
− | + | <math>R_d(x) = |x-0.5\,L|,</math> | |
− | + | ||
− | + | <math>\psi(x) = 0.5\left[1+\mathrm{tanh}\left(\frac{c\,(R_d(x)-R)}{R}\right)\right],</math> | |
− | + | ||
− | + | <math>Y_\mathrm{H_2}(x) = Y^0_{\mathrm{H_2}}\left(1-\psi(x)\right),</math> | |
− | where | + | |
+ | <math>Y_\mathrm{O_2}(x) = Y^0_{\mathrm{O_2}}\left(\psi(x)\right).</math> | ||
+ | |||
+ | where <math>R = \pi/4 mm</math> and <math>c = 3</math> are the half-width of the central slab and stiffness parameter, respectively. | ||
As a consequence, there is initially a small region where both fuel and oxidizer coexist. | As a consequence, there is initially a small region where both fuel and oxidizer coexist. | ||
− | Finally, a nitrogen complement is added everywhere using | + | Finally, a nitrogen complement is added everywhere using <math>Y_\mathrm{N_2}=1-Y_\mathrm{H_2}-Y_\mathrm{O_2}</math>. |
To also test the behaviour of the codes with respect to heat diffusion, a non-homogeneous temperature profile is finally imposed as follows: | To also test the behaviour of the codes with respect to heat diffusion, a non-homogeneous temperature profile is finally imposed as follows: | ||
Line 34: | Line 37: | ||
* Enforce the resulting temperature profile, but keep the species profiles to their initial values (Eqs.~\ref{eq:YF} and~\ref{eq:YOx}). | * Enforce the resulting temperature profile, but keep the species profiles to their initial values (Eqs.~\ref{eq:YF} and~\ref{eq:YOx}). | ||
− | It is found by using Cantera that the peak adiabatic temperature obtained at the fuel/air interface is | + | It is found by using Cantera that the peak adiabatic temperature obtained at the fuel/air interface is <math>T_{ad}=1910.7~K</math>, leading to the profiles shown in Figs.~\ref{fig:temper_h2_o2_3-D} and \ref{fig:profiles_3-D_nonreacting}. Users are encouraged to implement the exact initial profiles from the benchmark website to facilitate later comparisons. |
The resulting, initial configuration thus involves multiple species at different temperatures with steep profiles, just like in a real flame. | The resulting, initial configuration thus involves multiple species at different temperatures with steep profiles, just like in a real flame. | ||
However, for the present simulation, the reaction source terms are all still set to zero, as already mentioned: only convection and diffusion processes are considered. | However, for the present simulation, the reaction source terms are all still set to zero, as already mentioned: only convection and diffusion processes are considered. | ||
In order to enable benchmark computations also with DNS codes that do not provide advanced diffusion models, only constant values of the Lewis numbers are considered; for the same reason, thermodiffusion (Soret effect) is neglected on purpose (though it would be obviously relevant for such cases involving hydrogen as a fuel). | In order to enable benchmark computations also with DNS codes that do not provide advanced diffusion models, only constant values of the Lewis numbers are considered; for the same reason, thermodiffusion (Soret effect) is neglected on purpose (though it would be obviously relevant for such cases involving hydrogen as a fuel). | ||
− | The authors are fully aware that this is a crude approximation of reality | + | The authors are fully aware that this is a crude approximation of reality<ref name="pecs">R. Hilbert, F. Tap, H. El-Rabii, and D. Th´evenin. Impact of detailed chemistry and transport models on turbulent combustion simulations. Prog. Energ. Combust. Sci., 30:61–117, 2004.</ref>. But it must be kept in mind that the focus is set here on the detailed comparison between different codes and algorithms, and not on the resulting flow or flame structure. |
Hence, in this and in the next section, the values of the Lewis number for each species given in Tab.~\ref{Tab:Lewis} shall be used to enable direct comparisons. | Hence, in this and in the next section, the values of the Lewis number for each species given in Tab.~\ref{Tab:Lewis} shall be used to enable direct comparisons. | ||
These values have been estimated from a separate DNS for a similar configuration using the mixture-averaged diffusion model. | These values have been estimated from a separate DNS for a similar configuration using the mixture-averaged diffusion model. | ||
The precise description of the associated thermodynamic state is available on the website. | The precise description of the associated thermodynamic state is available on the website. | ||
− | < | + | {| class="wikitable alternance center" |
− | + | |+ Approximate Lewis number for the species appearing in the kinetic scheme of<ref name="Boivin2011" />, to be enforced for Step 3 and Step 4 of the benchmark | |
− | + | |- | |
− | + | ! scope="row" | Species | |
− | + | | <math>H_2</math> | |
− | + | | <math>H</math> | |
− | + | | <math>O_2</math> | |
− | + | | <math>OH</math> | |
− | + | | <math>O</math> | |
− | + | | <math>H_2O</math> | |
− | + | | <math>HO_2</math> | |
− | + | | <math>H_2O_2</math> | |
− | + | | <math>N_2</math> | |
− | + | |- | |
− | + | ! scope="row" | Lewis number | |
+ | | 0.3290 | ||
+ | | 0.2228 | ||
+ | | 1.2703 | ||
+ | | 0.8279 | ||
+ | | 0.8128 | ||
+ | | 1.0741 | ||
+ | | 1.2582 | ||
+ | | 1.2665 | ||
+ | | 1.8268 | ||
+ | |} | ||
On the other hand, considering that implementing advanced models for fluid viscosity and thermal conductivity is not difficult and does not increase the computational time significantly, local values of these quantities depending on composition and temperature should be taken into account; | On the other hand, considering that implementing advanced models for fluid viscosity and thermal conductivity is not difficult and does not increase the computational time significantly, local values of these quantities depending on composition and temperature should be taken into account; | ||
More specifically, and to ease further comparisons, the same models for viscosity and conductivity have been retained in the three participating codes, i.e. the mixture averaged formalism that is used in both the Cantera and Chemkin packages | More specifically, and to ease further comparisons, the same models for viscosity and conductivity have been retained in the three participating codes, i.e. the mixture averaged formalism that is used in both the Cantera and Chemkin packages | ||
− | More details on these models are available on the benchmark repository | + | More details on these models are available on the benchmark repository<ref name="TGV-coria-cfd">[https://benchmark.coria-cfd.fr benchmark]</ref>, such as reference data for viscosity and conductivity along various cuts at initialization. |
+ | |||
+ | The viscosity is variable in the computational domain as well as with time and the Reynolds number of this configuration can only be estimated using the minimal value of viscosity (which is obtained in the air at 300 K, <math>\nu_\mathrm{min} \approx 1.56 \, 10^{-5} \mathrm{m^2/s}</math>), leading to <math>Re = {u_0 L_0}/{\nu_{min}}=267</math> which guarantees a laminar flow. | ||
− | + | Concerning resolution, it is also suggested to keep a conservative resolution in time for this benchmark, corresponding to <math>CFL \le 0.25</math> and <math>Fo \le 0.15</math>. | |
+ | In space, each direction should be resolved by approximately 256 grid points, leading to a spatial resolution <math>\Delta x \approx 25 \mu m</math>. | ||
− | + | The reference time scale is here <math>\tau_\mathrm{ref}=L_0/u_0 = 0.25 \; \mathrm{ms}</math>. | |
− | + | The simulation should be performed for a physical time of at least <math>t=0.5 \; \mathrm{ms} = 2 \tau_\mathrm{ref}</math> as most of the results presented in this article are taken from this instant. | |
+ | Data up to <math>t=2.5 \; \mathrm{ms} = 10 \tau_\mathrm{ref}</math> are available on the benchmark repository<ref name="TGV-coria-cfd" />. | ||
− | + | [[File:Example.jpg]] | |
− | + | ||
− | + | ||
<nowiki> | <nowiki> | ||
Line 84: | Line 99: | ||
\includegraphics[scale=0.25]{./figures/Step_3/O2_t0.png} | \includegraphics[scale=0.25]{./figures/Step_3/O2_t0.png} | ||
− | \caption{Initial fields of vorticity magnitude, temperature, mass fractions of | + | \caption{Initial fields of vorticity magnitude, temperature, mass fractions of <math>\mathrm{H_2}</math>, and mass fraction of <math>\mathrm{O_2}</math> (from left to right), for the 3-D, non-reacting case (Step 3)}\label{fig:temper_h2_o2_3-D} |
\end{figure} | \end{figure} | ||
Line 90: | Line 105: | ||
\centering | \centering | ||
\includegraphics[scale=0.6]{./figures/Step_3/profiles_3d_zoom.pdf} | \includegraphics[scale=0.6]{./figures/Step_3/profiles_3d_zoom.pdf} | ||
− | \caption{Initial profiles of temperature and of mass fractions at | + | \caption{Initial profiles of temperature and of mass fractions at <math>y=0.5 L</math> and <math>z=0.5 L</math> for the 3-D, non-reacting case (Step 3)}\label{fig:profiles_3-D_nonreacting} |
\end{figure} | \end{figure} | ||
</nowiki> | </nowiki> |
Revision as of 16:54, 5 August 2020
Contents
Step 3 descritpion
The purpose of this configuration is to perform a simulation similar to Step 2 but involving now a mixture of different gaseous species at different temperatures, still without any chemical reaction. In this manner, it is possible to assess the accuracy of the numerical models involved in the description of species and heat diffusion The thermodynamic and transport properties of the 9 species kinetic scheme of Boivin et al.[1] should be used in preparation for the next step, even though the reactions are still neglected here.
It should be noted that in this case, the density is variable in both space and time due to the changing composition, which was not the case in the previous step: this induces additional numerical difficulties that must be taken into account. However, there is no variation of the thermodynamic pressure in time, contrary to the next step.
The simulation domain is a cubic box of size with in each direction, where . Compared to the previous step, this smaller size is needed to ensure a proper resolution of the reaction fronts for hydrogen oxidation that will appear in the next step and are associated to fixed characteristic dimensions. Again, periodic boundary conditions are used in all three spatial directions.
The initial velocity field prescribed at is identical to the one used in Step 2 (Eq.~\ref{eq:2-D-tgv_init}) with the reference velocity set to .
In preparation for the next step, the central part of the box is initially filled with a mixture (fuel region, molar fraction , ) while the remaining domain is filled with air (oxidizer region, molar fraction , ). The corresponding mass fractions are and .
To avoid any numerical instability, the steps at the interface between both regions are smoothed out using hyperbolic tangent functions as follows:
where and are the half-width of the central slab and stiffness parameter, respectively. As a consequence, there is initially a small region where both fuel and oxidizer coexist. Finally, a nitrogen complement is added everywhere using .
To also test the behaviour of the codes with respect to heat diffusion, a non-homogeneous temperature profile is finally imposed as follows:
- Compute in each cell the equilibrium temperature for the local mixture for constant pressure and enthalpy by using a dedicated solver.
- Enforce the resulting temperature profile, but keep the species profiles to their initial values (Eqs.~\ref{eq:YF} and~\ref{eq:YOx}).
It is found by using Cantera that the peak adiabatic temperature obtained at the fuel/air interface is , leading to the profiles shown in Figs.~\ref{fig:temper_h2_o2_3-D} and \ref{fig:profiles_3-D_nonreacting}. Users are encouraged to implement the exact initial profiles from the benchmark website to facilitate later comparisons.
The resulting, initial configuration thus involves multiple species at different temperatures with steep profiles, just like in a real flame. However, for the present simulation, the reaction source terms are all still set to zero, as already mentioned: only convection and diffusion processes are considered. In order to enable benchmark computations also with DNS codes that do not provide advanced diffusion models, only constant values of the Lewis numbers are considered; for the same reason, thermodiffusion (Soret effect) is neglected on purpose (though it would be obviously relevant for such cases involving hydrogen as a fuel). The authors are fully aware that this is a crude approximation of reality[2]. But it must be kept in mind that the focus is set here on the detailed comparison between different codes and algorithms, and not on the resulting flow or flame structure. Hence, in this and in the next section, the values of the Lewis number for each species given in Tab.~\ref{Tab:Lewis} shall be used to enable direct comparisons. These values have been estimated from a separate DNS for a similar configuration using the mixture-averaged diffusion model. The precise description of the associated thermodynamic state is available on the website.
Species | |||||||||
---|---|---|---|---|---|---|---|---|---|
Lewis number | 0.3290 | 0.2228 | 1.2703 | 0.8279 | 0.8128 | 1.0741 | 1.2582 | 1.2665 | 1.8268 |
On the other hand, considering that implementing advanced models for fluid viscosity and thermal conductivity is not difficult and does not increase the computational time significantly, local values of these quantities depending on composition and temperature should be taken into account; More specifically, and to ease further comparisons, the same models for viscosity and conductivity have been retained in the three participating codes, i.e. the mixture averaged formalism that is used in both the Cantera and Chemkin packages More details on these models are available on the benchmark repository[3], such as reference data for viscosity and conductivity along various cuts at initialization.
The viscosity is variable in the computational domain as well as with time and the Reynolds number of this configuration can only be estimated using the minimal value of viscosity (which is obtained in the air at 300 K, ), leading to which guarantees a laminar flow.
Concerning resolution, it is also suggested to keep a conservative resolution in time for this benchmark, corresponding to and . In space, each direction should be resolved by approximately 256 grid points, leading to a spatial resolution .
The reference time scale is here . The simulation should be performed for a physical time of at least as most of the results presented in this article are taken from this instant. Data up to are available on the benchmark repository[3].
\begin{figure}[!ht] \centering \includegraphics[scale=0.25]{./figures/Step_3/wmag_t0.png} \quad \includegraphics[scale=0.25]{./figures/Step_3/T_t0.png} \quad \includegraphics[scale=0.25]{./figures/Step_3/H2_t0.png} \quad \includegraphics[scale=0.25]{./figures/Step_3/O2_t0.png} \caption{Initial fields of vorticity magnitude, temperature, mass fractions of <math>\mathrm{H_2}</math>, and mass fraction of <math>\mathrm{O_2}</math> (from left to right), for the 3-D, non-reacting case (Step 3)}\label{fig:temper_h2_o2_3-D} \end{figure} \begin{figure}[!ht] \centering \includegraphics[scale=0.6]{./figures/Step_3/profiles_3d_zoom.pdf} \caption{Initial profiles of temperature and of mass fractions at <math>y=0.5 L</math> and <math>z=0.5 L</math> for the 3-D, non-reacting case (Step 3)}\label{fig:profiles_3-D_nonreacting} \end{figure}
Kinetics
The Boivin scheme has been used for this Benchmark.
Put the data here
Transport and thermodynamic properties used for this Step
\cf{I think we all used the same transport (viscosity) and thermodynamic properties, but we should check again and compare that the implementations used in cantera/Chemkin provide the same values.}
\gl{Good idea: we could use 3 or 4 relevant reference compositions to quantify the discrepancies between Cantera and Chemkin (on rho, Cp, conductivity, viscosity for example) and also put these on the website.}
Put the transport data here
Aside suggestions
TBD
References
TBD- ↑ 1.0 1.1 P. Boivin, C. Jim´enez, A.L. S´anchez, and F.A. Williams. An explicit reduced mechanism for H2-air combustion. Proc. Combust. Inst., 33:517–523, 2011.
- ↑ R. Hilbert, F. Tap, H. El-Rabii, and D. Th´evenin. Impact of detailed chemistry and transport models on turbulent combustion simulations. Prog. Energ. Combust. Sci., 30:61–117, 2004.
- ↑ 3.0 3.1 benchmark