diff --git a/applications/solvers/multiphase/VoF/alphaEqn.H b/applications/solvers/multiphase/VoF/alphaEqn.H index a37d6192c4b79cf8cde0c1c71951e385bb458a2c..ad9ddcb5e5b94781456388ed7fae5dd899cd8068 100644 --- a/applications/solvers/multiphase/VoF/alphaEqn.H +++ b/applications/solvers/multiphase/VoF/alphaEqn.H @@ -153,33 +153,6 @@ surfaceScalarField phir(phic*mixture.nHatf()); -DebugVar(phir.oriented()); -DebugVar(phiCN().oriented()); -DebugVar(alpha1.oriented()); -DebugVar(alpha1.oldTime().oriented()); - -tmp<surfaceScalarField> f1 -( - fvc::flux - ( - phiCN(), - cnCoeff*alpha1 + (1.0 - cnCoeff)*alpha1.oldTime(), - alphaScheme - ) -); -DebugVar(f1().oriented()); -tmp<surfaceScalarField> f2 -( - fvc::flux - ( - -fvc::flux(-phir, alpha2, alpharScheme), - alpha1, - alpharScheme - ) -); -DebugVar(f2().oriented()); - - tmp<surfaceScalarField> talphaPhi1Un ( fvc::flux diff --git a/applications/solvers/multiphase/interCondensatingEvaporatingFoam/eEqn.H b/applications/solvers/multiphase/interCondensatingEvaporatingFoam/eEqn.H index 498cb2e1762a344cac3d6e7a3d6c091f8dd9d59c..29b1ae466fdb33c712e15bc4de3d346d75b18f34 100644 --- a/applications/solvers/multiphase/interCondensatingEvaporatingFoam/eEqn.H +++ b/applications/solvers/multiphase/interCondensatingEvaporatingFoam/eEqn.H @@ -7,8 +7,6 @@ pDivU = dimensionedScalar("pDivU", p.dimensions()/dimTime, Zero); -DebugVar(fvc::interpolate(rho)); - if (thermo->pDivU()) { pDivU = (p*fvc::div(rhoPhi/fvc::interpolate(rho))); diff --git a/applications/solvers/multiphase/interFoam/Make/options b/applications/solvers/multiphase/interFoam/Make/options index c20c3a6799164aa021aff93a9682d370aba7f57e..842297a693f6105a842d2ece7550c193229f6955 100644 --- a/applications/solvers/multiphase/interFoam/Make/options +++ b/applications/solvers/multiphase/interFoam/Make/options @@ -1,5 +1,4 @@ EXE_INC = \ - -g -O0 \ -I../VoF \ -I$(LIB_SRC)/transportModels/twoPhaseMixture/lnInclude \ -I$(LIB_SRC)/transportModels \ diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriverFeature.C b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriverFeature.C index dda92341d8faa4b269cf74ca58d87e5e6c7bdfbf..9421042f5962eaee707b33a7f68ec74502006ff7 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriverFeature.C +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriverFeature.C @@ -308,7 +308,7 @@ void Foam::snappySnapDriver::calcNearestFace ( labelList(1, zoneSurfi), fc, - sqr(scalarField(faceSnapDist, ppFaces)),// sqr of attract dist + sqr(faceSnapDist),// sqr of attract dist hitSurface, hitInfo, hitRegion, @@ -384,7 +384,7 @@ void Foam::snappySnapDriver::calcNearestFace ( unzonedSurfaces, fc, - sqr(scalarField(faceSnapDist, ppFaces)),// sqr of attract dist + sqr(faceSnapDist),// sqr of attract dist hitSurface, hitInfo, hitRegion, diff --git a/src/meshTools/searchableSurfaces/searchableSurfacesQueries/searchableSurfacesQueries.C b/src/meshTools/searchableSurfaces/searchableSurfacesQueries/searchableSurfacesQueries.C index 8f4a67621598a8ea3e4ad15950e665b2020a5b20..ac458a96357267f5d942857c698fdd2769797d1c 100644 --- a/src/meshTools/searchableSurfaces/searchableSurfacesQueries/searchableSurfacesQueries.C +++ b/src/meshTools/searchableSurfaces/searchableSurfacesQueries/searchableSurfacesQueries.C @@ -356,13 +356,6 @@ void Foam::searchableSurfacesQueries::findNearest { // Find nearest. Return -1 or nearest point - if (samples.size() != nearestDistSqr.size()) - { - FatalErrorInFunction << "Inconsistent sizes. samples:" << samples.size() - << " search-radius:" << nearestDistSqr.size() - << exit(FatalError); - } - // Initialise nearestSurfaces.setSize(samples.size()); nearestSurfaces = -1; @@ -414,14 +407,6 @@ void Foam::searchableSurfacesQueries::findNearest { // Find nearest. Return -1 or nearest point - if (samples.size() != nearestDistSqr.size()) - { - FatalErrorInFunction << "Inconsistent sizes. samples:" << samples.size() - << " search-radius:" << nearestDistSqr.size() - << exit(FatalError); - } - - if (regionIndices.empty()) { findNearest @@ -485,15 +470,6 @@ void Foam::searchableSurfacesQueries::findNearest { // Multi-surface findNearest - - if (start.size() != distSqr.size()) - { - FatalErrorInFunction << "Inconsistent sizes. samples:" << start.size() - << " search-radius:" << distSqr.size() - << exit(FatalError); - } - - vectorField normal; List<pointIndexHit> info; diff --git a/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/controlDict b/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/controlDict index 079437c3265681e7ac08bb943753aa3b383969e1..13d5960a3cf17b12f7f9fce9a7603d6097fa16d0 100644 --- a/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/controlDict +++ b/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/controlDict @@ -15,11 +15,6 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//DebugSwitches -//{ -// fv 2; -//} - application sonicFoam; startFrom latestTime; diff --git a/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/fvSchemes b/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/fvSchemes index 2b8a1c5173f2ada5293b390de42b644cc08af6cd..8bc7395eb22e072b4d8e3e0eae16608fbc60e919 100644 --- a/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/fvSchemes +++ b/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/system/fvSchemes @@ -41,7 +41,7 @@ divSchemes laplacianSchemes { - default Gauss linear corrected; //limited corrected 1; //0.5; + default Gauss linear limited corrected 0.5; } interpolationSchemes diff --git a/tutorials/incompressible/icoFoam/cavity/cavity/system/controlDict b/tutorials/incompressible/icoFoam/cavity/cavity/system/controlDict index 858cdb93e2f1faad1e00ae40f54defedd698a6ca..f803b72b904efe2dde8ff14d45ec33f8827d4702 100644 --- a/tutorials/incompressible/icoFoam/cavity/cavity/system/controlDict +++ b/tutorials/incompressible/icoFoam/cavity/cavity/system/controlDict @@ -23,13 +23,13 @@ startTime 0; stopAt endTime; -endTime 0.005; +endTime 0.5; deltaT 0.005; writeControl timeStep; -writeInterval 1; +writeInterval 20; purgeWrite 0; diff --git a/tutorials/incompressible/overPimpleDyMFoam/twoSimpleRotors/system/fvSchemes b/tutorials/incompressible/overPimpleDyMFoam/twoSimpleRotors/system/fvSchemes index 7f026849bd9e02fc0a372e67d6ff38f7dda6d210..784a4c1ba25a179a2bf7b1acfa97317bafab694b 100644 --- a/tutorials/incompressible/overPimpleDyMFoam/twoSimpleRotors/system/fvSchemes +++ b/tutorials/incompressible/overPimpleDyMFoam/twoSimpleRotors/system/fvSchemes @@ -53,12 +53,12 @@ snGradSchemes oversetInterpolation { - //method cellVolumeWeight; + method cellVolumeWeight; // Faster but less accurate - method trackingInverseDistance; - searchBox (0 0 0)(0.02 0.01 0.01); - searchBoxDivisions 3{(64 64 1)}; + //method trackingInverseDistance; + //searchBox (0 0 0)(0.02 0.01 0.01); + //searchBoxDivisions 3{(64 64 1)}; } fluxRequired diff --git a/tutorials/incompressible/pimpleFoam/RAS/oscillatingInletACMI2D/system/blockMeshDict b/tutorials/incompressible/pimpleFoam/RAS/oscillatingInletACMI2D/system/blockMeshDict index 95c341a63e46bf39c07ace287408ae97a5b1a791..45b76bb0f41a28866cd16b4e1e68398ca99b92f1 100644 --- a/tutorials/incompressible/pimpleFoam/RAS/oscillatingInletACMI2D/system/blockMeshDict +++ b/tutorials/incompressible/pimpleFoam/RAS/oscillatingInletACMI2D/system/blockMeshDict @@ -78,41 +78,17 @@ boundary (9 13 12 8) ); } - ACMI1_couple + couple1 { - type cyclicACMI; - matchTolerance 0.0001; - neighbourPatch ACMI2_couple; - nonOverlapPatch ACMI1_blockage; - transform noOrdering; - faces - ( - (2 6 5 1) - ); - } - ACMI2_couple - { - type cyclicACMI; - neighbourPatch ACMI1_couple; - nonOverlapPatch ACMI2_blockage; - transform noOrdering; - faces - ( - (8 12 15 11) - ); - } - - ACMI1_blockage - { - type wall; + type patch; faces ( (2 6 5 1) ); } - ACMI2_blockage + couple2 { - type wall; + type patch; faces ( (8 12 15 11) diff --git a/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/0/alpha.water b/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/0/alpha.water index 52beaef1d98a1fe11fe572b7fd27a33320338dd0..9de03a8b32227cf2f40582efa67046950dbea69e 100644 --- a/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/0/alpha.water +++ b/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/0/alpha.water @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: plus | +| \\ / O peration | Version: v1812 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -10,2287 +10,13 @@ FoamFile version 2.0; format ascii; class volScalarField; - location "0"; object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; - -internalField nonuniform List<scalar> -2268 -( -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -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0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -) -; +internalField uniform 0; boundaryField { @@ -2298,25 +24,28 @@ boundaryField { type zeroGradient; } + rightWall { type zeroGradient; } + lowerWall { type zeroGradient; } + atmosphere { type inletOutlet; inletValue uniform 0; value uniform 0; } + defaultFaces { type empty; } } - // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/system/fvSchemes b/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/system/fvSchemes index b2788bd41aafa1e503a60ddf1c88a9ac9c62e15a..9fdab8d80ba38f66ba49d44e6945f94b63e866b6 100644 --- a/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/system/fvSchemes +++ b/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/system/fvSchemes @@ -28,10 +28,7 @@ gradSchemes divSchemes { div(rhoPhi,U) Gauss linearUpwind grad(U); -// div(phi,alpha) Gauss vanLeer; -div(phi,alpha) Gauss CoBlended 1.0 Minmod 2.0 upwind; - - + div(phi,alpha) Gauss vanLeer; div(phirb,alpha) Gauss linear; div(phi,k) Gauss upwind; div(phi,epsilon) Gauss upwind;