From b18b6e5568881dd3693a6110e055f0bc4090d9d9 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Thu, 29 Jun 2017 16:49:36 +0100 Subject: [PATCH] tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater: Corrected Allclean Resolves bug-report https://bugs.openfoam.org/view.php?id=2597 --- .../multiRegionHeater/0/bottomWater/T | 74 ------------------- .../multiRegionHeater/0/bottomWater/U | 62 ---------------- .../0/bottomWater/cellToRegion | 62 ---------------- .../multiRegionHeater/0/bottomWater/epsilon | 68 ----------------- .../multiRegionHeater/0/bottomWater/k | 68 ----------------- .../multiRegionHeater/0/bottomWater/p | 67 ----------------- .../multiRegionHeater/0/bottomWater/p_rgh | 67 ----------------- .../multiRegionHeater/Allclean | 2 +- .../constant/topAir/thermophysicalProperties | 2 +- 9 files changed, 2 insertions(+), 470 deletions(-) delete mode 100644 tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/T delete mode 100644 tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/U delete mode 100644 tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/cellToRegion delete mode 100644 tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/epsilon delete mode 100644 tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/k delete mode 100644 tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/p delete mode 100644 tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/p_rgh diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/T b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/T deleted file mode 100644 index 6e876153c..000000000 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/T +++ /dev/null @@ -1,74 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0/bottomWater"; - object T; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 0 0 1 0 0 0]; - -internalField uniform 300; - -boundaryField -{ - minX - { - type fixedValue; - value uniform 300; - } - maxX - { - type inletOutlet; - value uniform 300; - inletValue uniform 300; - } - minY - { - type zeroGradient; - value uniform 300; - } - minZ - { - type zeroGradient; - value uniform 300; - } - maxZ - { - type zeroGradient; - value uniform 300; - } - bottomWater_to_rightSolid - { - type compressible::turbulentTemperatureCoupledBaffleMixed; - value uniform 300; - Tnbr T; - kappaMethod fluidthermo; - } - bottomWater_to_leftSolid - { - type compressible::turbulentTemperatureCoupledBaffleMixed; - value uniform 300; - Tnbr T; - kappaMethod fluidthermo; - } - bottomWater_to_heater - { - type compressible::turbulentTemperatureCoupledBaffleMixed; - value uniform 300; - Tnbr T; - kappaMethod fluidthermo; - } -} - - -// ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/U b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/U deleted file mode 100644 index 3a19b9d76..000000000 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/U +++ /dev/null @@ -1,62 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - location "0/bottomWater"; - object U; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 -1 0 0 0 0]; - -internalField uniform (0.001 0 0); - -boundaryField -{ - minX - { - type fixedValue; - value uniform (0.001 0 0); - } - maxX - { - type inletOutlet; - value uniform (0.01 0 0); - inletValue uniform (0 0 0); - } - minY - { - type noSlip; - } - minZ - { - type noSlip; - } - maxZ - { - type noSlip; - } - bottomWater_to_rightSolid - { - type noSlip; - } - bottomWater_to_leftSolid - { - type noSlip; - } - bottomWater_to_heater - { - type noSlip; - } -} - - -// ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/cellToRegion b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/cellToRegion deleted file mode 100644 index 9b51c7b0f..000000000 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/cellToRegion +++ /dev/null @@ -1,62 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0/bottomWater"; - object cellToRegion; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 0 0 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - minX - { - type zeroGradient; - } - maxX - { - type zeroGradient; - } - minY - { - type zeroGradient; - } - minZ - { - type zeroGradient; - } - maxZ - { - type zeroGradient; - } - bottomWater_to_rightSolid - { - type calculated; - value uniform 0; - } - bottomWater_to_leftSolid - { - type calculated; - value uniform 0; - } - bottomWater_to_heater - { - type calculated; - value uniform 0; - } -} - - -// ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/epsilon b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/epsilon deleted file mode 100644 index d411f9233..000000000 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/epsilon +++ /dev/null @@ -1,68 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0/bottomWater"; - object epsilon; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 2 -3 0 0 0 0]; - -internalField uniform 0.01; - -boundaryField -{ - minX - { - type fixedValue; - value uniform 0.01; - } - maxX - { - type inletOutlet; - value uniform 0.01; - inletValue uniform 0.01; - } - minY - { - type epsilonWallFunction; - value uniform 0.01; - } - minZ - { - type epsilonWallFunction; - value uniform 0.01; - } - maxZ - { - type epsilonWallFunction; - value uniform 0.01; - } - bottomWater_to_rightSolid - { - type epsilonWallFunction; - value uniform 0.01; - } - bottomWater_to_leftSolid - { - type epsilonWallFunction; - value uniform 0.01; - } - bottomWater_to_heater - { - type epsilonWallFunction; - value uniform 0.01; - } -} - - -// ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/k b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/k deleted file mode 100644 index c5017c940..000000000 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/k +++ /dev/null @@ -1,68 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0/bottomWater"; - object k; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 2 -2 0 0 0 0]; - -internalField uniform 0.1; - -boundaryField -{ - minX - { - type inletOutlet; - value uniform 0.1; - inletValue uniform 0.1; - } - maxX - { - type zeroGradient; - value uniform 0.1; - } - minY - { - type kqRWallFunction; - value uniform 0.1; - } - minZ - { - type kqRWallFunction; - value uniform 0.1; - } - maxZ - { - type kqRWallFunction; - value uniform 0.1; - } - bottomWater_to_rightSolid - { - type kqRWallFunction; - value uniform 0.1; - } - bottomWater_to_leftSolid - { - type kqRWallFunction; - value uniform 0.1; - } - bottomWater_to_heater - { - type kqRWallFunction; - value uniform 0.1; - } -} - - -// ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/p b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/p deleted file mode 100644 index a3a5ab714..000000000 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/p +++ /dev/null @@ -1,67 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0/bottomWater"; - object p; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -1 -2 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - minX - { - type calculated; - value uniform 0; - } - maxX - { - type calculated; - value uniform 0; - } - minY - { - type calculated; - value uniform 0; - } - minZ - { - type calculated; - value uniform 0; - } - maxZ - { - type calculated; - value uniform 0; - } - bottomWater_to_rightSolid - { - type calculated; - value uniform 0; - } - bottomWater_to_leftSolid - { - type calculated; - value uniform 0; - } - bottomWater_to_heater - { - type calculated; - value uniform 0; - } -} - - -// ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/p_rgh b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/p_rgh deleted file mode 100644 index 104dee8a6..000000000 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/bottomWater/p_rgh +++ /dev/null @@ -1,67 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0/bottomWater"; - object p_rgh; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -1 -2 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - minX - { - type zeroGradient; - value uniform 0; - } - maxX - { - type fixedValue; - value uniform 0; - } - minY - { - type fixedFluxPressure; - value uniform 0; - } - minZ - { - type fixedFluxPressure; - value uniform 0; - } - maxZ - { - type fixedFluxPressure; - value uniform 0; - } - bottomWater_to_rightSolid - { - type fixedFluxPressure; - value uniform 0; - } - bottomWater_to_leftSolid - { - type fixedFluxPressure; - value uniform 0; - } - bottomWater_to_heater - { - type fixedFluxPressure; - value uniform 0; - } -} - - -// ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allclean b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allclean index bf5077c90..b5cfeac7b 100755 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allclean +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allclean @@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase rm -rf VTK rm -rf constant/cellToRegion constant/polyMesh/sets -rm -rf 0/bottomAir +rm -rf 0/bottomWater rm -rf 0/topAir rm -rf 0/heater rm -rf 0/leftSolid diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/topAir/thermophysicalProperties b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/topAir/thermophysicalProperties index 8309d666a..2721777f9 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/topAir/thermophysicalProperties +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/topAir/thermophysicalProperties @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant/bottomAir"; + location "constant/topAir"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //