From d98ea6ff8efb84870dc62013c6803b402ffcbb68 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 6 Oct 2021 12:50:53 -0400 Subject: [PATCH] [1D] Update samples to use YAML output instead of XML --- samples/matlab/catcomb.m | 2 +- samples/matlab/diffflame.m | 2 +- samples/matlab/flame1.m | 4 ++-- samples/matlab/flame2.m | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/matlab/catcomb.m b/samples/matlab/catcomb.m index 729f59e31..94c3249f7 100644 --- a/samples/matlab/catcomb.m +++ b/samples/matlab/catcomb.m @@ -177,7 +177,7 @@ solve(sim1D, loglevel, refine_grid); sim1D % save the solution -saveSoln(sim1D,'catcomb.xml','energy',['solution with energy equation']); +saveSoln(sim1D,'catcomb.yaml','energy',['solution with energy equation']); %%%%%%%%%% show statistics %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% writeStats(sim1D); diff --git a/samples/matlab/diffflame.m b/samples/matlab/diffflame.m index 78d8b057d..92a42dd55 100644 --- a/samples/matlab/diffflame.m +++ b/samples/matlab/diffflame.m @@ -92,7 +92,7 @@ solve(fl, loglevel, 0); enableEnergy(f); setRefineCriteria(fl, 2, 200.0, 0.1, 0.2); solve(fl, loglevel, refine_grid); -saveSoln(fl,'c2h6.xml','energy',['solution with energy equation']); +saveSoln(fl,'c2h6.yaml','energy',['solution with energy equation']); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Show statistics of solution and elapsed time. % diff --git a/samples/matlab/flame1.m b/samples/matlab/flame1.m index 99ea12428..cce4c5a14 100644 --- a/samples/matlab/flame1.m +++ b/samples/matlab/flame1.m @@ -72,7 +72,7 @@ setMaxJacAge(fl, max_jacobian_age(1), max_jacobian_age(2)); % if the starting solution is to be read from a previously-saved % solution, uncomment this line and edit the file name and solution id. -%restore(fl,'h2flame2.xml', 'energy') +%restore(fl,'h2flame.yaml', 'energy') solve(fl, loglevel, refine_grid); @@ -86,7 +86,7 @@ solve(fl, loglevel, refine_grid); enableEnergy(f); setRefineCriteria(fl, 2, 200.0, 0.05, 0.1); solve(fl, 1, 1); -saveSoln(fl,'h2fl.xml','energy',['solution with energy equation']); +saveSoln(fl,'h2flame.yaml','energy',['solution with energy equation']); %%%%%%%%%% show statistics %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% writeStats(fl); diff --git a/samples/matlab/flame2.m b/samples/matlab/flame2.m index 090efe75c..21a69c829 100644 --- a/samples/matlab/flame2.m +++ b/samples/matlab/flame2.m @@ -64,7 +64,7 @@ fl = flame(gas, inlet_o, f, inlet_f); % if the starting solution is to be read from a previously-saved % solution, uncomment this line and edit the file name and solution id. -%restore(fl,'h2flame2.xml', 'energy') +%restore(fl,'c2h6-flame.yaml', 'energy') % solve with fixed temperature profile first solve(fl, loglevel, refine_grid); @@ -79,7 +79,7 @@ solve(fl, loglevel, refine_grid); enableEnergy(f); setRefineCriteria(fl, 2, 200.0, 0.1, 0.1); solve(fl, loglevel, refine_grid); -saveSoln(fl,'c2h6.xml','energy',['solution with energy equation']); +saveSoln(fl,'c2h6-flame.yaml','energy',['solution with energy equation']); %%%%%%%%%% show statistics %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% writeStats(fl);