From 6e5e65393901408ce33657cdd77a9cc1a632d2d2 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 8 Nov 2010 20:42:09 +0000 Subject: [PATCH] Fixing tutorials, second round --- src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C | 2 +- .../dsmcFoam/freeSpacePeriodic/constant/polyMesh/boundary | 6 +++--- tutorials/multiphase/barotropicCavitatingFoam/nozzle/0/rho | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C index 87b50200a..03382651b 100644 --- a/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C +++ b/src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C @@ -48,7 +48,7 @@ namespace Foam bool Foam::fvMeshSubset::checkCellSubset() const { - if (fvMeshSubsetPtr_) + if (!fvMeshSubsetPtr_) { FatalErrorIn("bool fvMeshSubset::checkCellSubset() const") << "Mesh subset not set. Please set the cell map using " diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/polyMesh/boundary b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/polyMesh/boundary index 3b2f641ec..c6e82ca7b 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/polyMesh/boundary +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/polyMesh/boundary @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: www.OpenFOAM.org | +| \\ / F ield | OpenFOAM Extend Project: Open source CFD | +| \\ / O peration | Version: 1.6-ext | +| \\ / A nd | Web: www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile diff --git a/tutorials/multiphase/barotropicCavitatingFoam/nozzle/0/rho b/tutorials/multiphase/barotropicCavitatingFoam/nozzle/0/rho index f3aa72ef4..32b39b0ba 100644 --- a/tutorials/multiphase/barotropicCavitatingFoam/nozzle/0/rho +++ b/tutorials/multiphase/barotropicCavitatingFoam/nozzle/0/rho @@ -23,11 +23,11 @@ boundaryField { in { - type zeroGradient; + type zeroGradient; } out { - type zeroGradient; + type zeroGradient; } bottom {