From a8f9677ef5238f07b6c23105fce80eca179956af Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Sat, 4 Jun 2016 08:28:35 +0100 Subject: [PATCH] Tutorial clean-up: shockTube --- .../compressible/rhopSonicFoam/shockTube/0/T | 113 +----------------- .../compressible/rhopSonicFoam/shockTube/0/U | 7 +- .../compressible/rhopSonicFoam/shockTube/0/p | 113 +----------------- .../rhopSonicFoam/shockTube/Allclean | 4 +- .../rhopSonicFoam/shockTube/{0.org => save}/T | 0 .../rhopSonicFoam/shockTube/{0.org => save}/U | 0 .../rhopSonicFoam/shockTube/{0.org => save}/p | 0 7 files changed, 13 insertions(+), 224 deletions(-) rename tutorials/compressible/rhopSonicFoam/shockTube/{0.org => save}/T (100%) rename tutorials/compressible/rhopSonicFoam/shockTube/{0.org => save}/U (100%) rename tutorials/compressible/rhopSonicFoam/shockTube/{0.org => save}/p (100%) diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/0/T b/tutorials/compressible/rhopSonicFoam/shockTube/0/T index f3385c002..bdd6097ef 100644 --- a/tutorials/compressible/rhopSonicFoam/shockTube/0/T +++ b/tutorials/compressible/rhopSonicFoam/shockTube/0/T @@ -1,127 +1,22 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | -| \\ / O peration | Version: 4.0 | +| \\ / O peration | Version: 3.2 | | \\ / A nd | Web: http://www.foam-extend.org | -| \\/ M anipulation | For copyright notice see file Copyright | +| \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; - location "0"; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; -internalField nonuniform List -100 -( -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -348.432 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -278.746 -) -; +internalField uniform 1; boundaryField { @@ -129,11 +24,11 @@ boundaryField { type zeroGradient; } + empty { type empty; } } - // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/0/U b/tutorials/compressible/rhopSonicFoam/shockTube/0/U index 0aef90a6e..12c79ed59 100644 --- a/tutorials/compressible/rhopSonicFoam/shockTube/0/U +++ b/tutorials/compressible/rhopSonicFoam/shockTube/0/U @@ -1,16 +1,15 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | -| \\ / O peration | Version: 4.0 | +| \\ / O peration | Version: 3.2 | | \\ / A nd | Web: http://www.foam-extend.org | -| \\/ M anipulation | For copyright notice see file Copyright | +| \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; - location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -25,11 +24,11 @@ boundaryField { type zeroGradient; } + empty { type empty; } } - // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/0/p b/tutorials/compressible/rhopSonicFoam/shockTube/0/p index 438517d73..96d0f410e 100644 --- a/tutorials/compressible/rhopSonicFoam/shockTube/0/p +++ b/tutorials/compressible/rhopSonicFoam/shockTube/0/p @@ -1,127 +1,22 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | -| \\ / O peration | Version: 4.0 | +| \\ / O peration | Version: 3.2 | | \\ / A nd | Web: http://www.foam-extend.org | -| \\/ M anipulation | For copyright notice see file Copyright | +| \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; - location "0"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; -internalField nonuniform List -100 -( -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -10000 -) -; +internalField uniform 0; boundaryField { @@ -129,11 +24,11 @@ boundaryField { type zeroGradient; } + empty { type empty; } } - // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/Allclean b/tutorials/compressible/rhopSonicFoam/shockTube/Allclean index 8d3637cf5..4101f8e97 100755 --- a/tutorials/compressible/rhopSonicFoam/shockTube/Allclean +++ b/tutorials/compressible/rhopSonicFoam/shockTube/Allclean @@ -3,6 +3,6 @@ # Source tutorial clean functions . $WM_PROJECT_DIR/bin/tools/CleanFunctions -rm -rf 0 -cp -r 0.org 0 +\rm -rf 0 +\cp -r save 0 cleanCase diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/0.org/T b/tutorials/compressible/rhopSonicFoam/shockTube/save/T similarity index 100% rename from tutorials/compressible/rhopSonicFoam/shockTube/0.org/T rename to tutorials/compressible/rhopSonicFoam/shockTube/save/T diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/0.org/U b/tutorials/compressible/rhopSonicFoam/shockTube/save/U similarity index 100% rename from tutorials/compressible/rhopSonicFoam/shockTube/0.org/U rename to tutorials/compressible/rhopSonicFoam/shockTube/save/U diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/0.org/p b/tutorials/compressible/rhopSonicFoam/shockTube/save/p similarity index 100% rename from tutorials/compressible/rhopSonicFoam/shockTube/0.org/p rename to tutorials/compressible/rhopSonicFoam/shockTube/save/p