From 3da2d27b2216030df735a1b8ea143938ef26dfc4 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 4 Apr 2024 21:25:22 -0400 Subject: [PATCH] [Examples] Move input files for PorousMediaBurner.py to submodule --- data/YZA.yaml | 26 ------------ data/example_data | 2 +- data/silicon_carbide.yaml | 42 -------------------- samples/python/reactors/PorousMediaBurner.py | 8 ++-- 4 files changed, 5 insertions(+), 73 deletions(-) delete mode 100644 data/YZA.yaml delete mode 100644 data/silicon_carbide.yaml diff --git a/data/YZA.yaml b/data/YZA.yaml deleted file mode 100644 index 19f9e4a58..000000000 --- a/data/YZA.yaml +++ /dev/null @@ -1,26 +0,0 @@ -description: |- - Properties for yttria-stabilized zirconia alumina (YZA) used in - porous media burners. Data compiled by Thorsten Zirwes and used in - https://doi.org/10.1016/j.combustflame.2023.112642 - -phases: -- name: yttria-stabilized-zirconia - thermo: fixed-stoichiometry - elements: [Zr, O, Ca, Al] - species: [YZA] - state: - T: 300.0 - P: 1.01325e+05 - -species: -- name: YZA - composition: {Zr: 0.5715672995778173, O: 2.306889570287332, Ca: 0.06077156506742553, Al: 0.7353222707095146} - thermo: - model: NASA7 - temperature-ranges: [200.0, 1000.0, 5000.0] - data: - - [-2.15829976e+00, 5.54056331e-02, -9.68144479e-05, 7.94178722e-08, -2.47332419e-11, -1.55293386e+05, 5.42538895e+00] - - [9.90166264e+00, 1.44818585e-03, -8.12194927e-08, -2.02609691e-10, 5.14962496e-14, -1.57670861e+05, -5.19395475e+01] - equation-of-state: - model: constant-volume - density: 4.32 g/cm^3 diff --git a/data/example_data b/data/example_data index 430232f7d..4cf3af2dc 160000 --- a/data/example_data +++ b/data/example_data @@ -1 +1 @@ -Subproject commit 430232f7dd41f813c90fc52819034e55b63ad19e +Subproject commit 4cf3af2dc1a2d34c530e32ce50043aa95be7e402 diff --git a/data/silicon_carbide.yaml b/data/silicon_carbide.yaml deleted file mode 100644 index 9ec37006d..000000000 --- a/data/silicon_carbide.yaml +++ /dev/null @@ -1,42 +0,0 @@ -description: |- - This file contains data for silicon carbide from the NASA thermodynamic - database, which is available for download from - https://shepherd.caltech.edu/EDL/PublicResources/sdt/thermo.html. The - original sources are - - S. Gordon and B.J. McBride, "Computer Program for Calculation of Complex - Chemical Equilibrium Composition, Rocket Performance, Incident and - Reflected Shocks and Chapman-Jouguet Detonations", NASA Report SP-273, 1971. - - B.J. McBride, S. Gordon, and M.A. Reno, "Coefficients for Calculating - Thermodynamic and Transport Properties of Individual Species", NASA - Report TM-4513, October 1993. - -generator: cti2yaml -cantera-version: 2.5.0 -date: Wed, 11 Dec 2019 16:59:14 -0500 -input-files: [silicon_carbide.cti] - -phases: -- name: silicon_carbide - thermo: fixed-stoichiometry - elements: [Si, C] - species: [SiC(b)] - state: - T: 1600.0 - P: 1.01325e+05 - -species: -- name: SiC(b) - composition: {Si: 1, C: 1} - thermo: - model: NASA7 - temperature-ranges: [300.0, 1000.0, 4000.0] - data: - - [-2.4715907, 0.030693783, -4.9263085e-05, 3.8626389e-08, -1.1761621e-11, - -9069.126, 8.8009214] - - [3.7974809, 3.1872886e-03, -1.4502334e-06, 3.1549744e-10, -2.6158991e-14, - -1.0291937e+04, -21.067791] - equation-of-state: - model: constant-volume - density: 1.0 g/cm^3 diff --git a/samples/python/reactors/PorousMediaBurner.py b/samples/python/reactors/PorousMediaBurner.py index 307fefd80..c08b2ab7e 100644 --- a/samples/python/reactors/PorousMediaBurner.py +++ b/samples/python/reactors/PorousMediaBurner.py @@ -57,7 +57,7 @@ corresponding experiments can be found in L. Simitz, D. Trimis, M. Ihme Combustion and Flame, 250 (https://doi.org/10.1016/j.combustflame.2023.112642) -Requires: cantera >= 2.6.0, matplotlib >= 2.0 +Requires: cantera >= 3.1.0, matplotlib >= 2.0 .. tags:: Python, user-defined model, reactor network, combustion, porous media, heat transfer, radiative heat transfer @@ -145,21 +145,21 @@ YZA40PPI = SolidProperties(porosity=0.82, pore_diameter=0.00025, heat_conductivity=effectiveConductivityYZA, specific_area=2373., - solid_phase=ct.Solution("YZA.yaml"), + solid_phase=ct.Solution("example_data/YZA.yaml"), emissivity=0.85) SiC3PPI = SolidProperties(porosity=0.84, pore_diameter=0.0085, heat_conductivity=effectiveConductivitySiC, specific_area=246.075, - solid_phase=ct.Solution("silicon_carbide.yaml"), + solid_phase=ct.Solution("example_data/silicon_carbide.yaml"), emissivity=0.85) SiC10PPI = SolidProperties(porosity=0.84, pore_diameter=0.00134, heat_conductivity=effectiveConductivitySiC, specific_area=978., - solid_phase=ct.Solution("silicon_carbide.yaml"), + solid_phase=ct.Solution("example_data/silicon_carbide.yaml"), emissivity=0.85)