diff --git a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/include/fixedInlet b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/include/fixedInlet deleted file mode 100644 index 24715a9933..0000000000 --- a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/include/fixedInlet +++ /dev/null @@ -1,15 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -inlet -{ - type fixedValue; - value $internalField; -} - -// ************************************************************************* // diff --git a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/include/initialConditions b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/include/initialConditions index 7c08499fe2..acf5f1a9aa 100644 --- a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/include/initialConditions +++ b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/include/initialConditions @@ -8,6 +8,5 @@ flowVelocity (1 0 0); pressure 0; -#inputMode merge // ************************************************************************* // diff --git a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/p b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/p index 4593cab6e3..ffcba7d6f8 100644 --- a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/p +++ b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/0.orig/p @@ -29,19 +29,14 @@ boundaryField type overset; } - wall - { - type zeroGradient; - } - - inlet + "(wall|inlet)" { type zeroGradient; } outlet { - type fixedValue; //calculated; + type fixedValue; value $internalField; } diff --git a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/Allrun b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/Allrun index 8c92b17f92..78d5debbe7 100755 --- a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/Allrun +++ b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/Allrun @@ -5,7 +5,6 @@ cd "${0%/*}" || exit # Run from this directory ./Allrun.pre -# Run it for a bit runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/constant/dynamicMeshDict b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/constant/dynamicMeshDict index a8e66875c8..293b0c7997 100644 --- a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/constant/dynamicMeshDict +++ b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/constant/dynamicMeshDict @@ -14,11 +14,11 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMesh dynamicOversetFvMesh; +dynamicFvMesh dynamicOversetFvMesh; motionSolverLibs (fvMotionSolvers); -solver displacementLaplacian; +solver displacementLaplacian; displacementLaplacianCoeffs { diff --git a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/system/fvSchemes b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/system/fvSchemes index 8609335895..031cc56357 100644 --- a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/system/fvSchemes +++ b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/system/fvSchemes @@ -49,7 +49,7 @@ snGradSchemes oversetInterpolation { - method leastSquares;//inverseDistanc; + method leastSquares; } diff --git a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/system/fvSolution b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/system/fvSolution index dd87d2ab64..29678c7762 100644 --- a/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/system/fvSolution +++ b/tutorials/basic/overPotentialFoam/cylinder/cylinderAndBackground/system/fvSolution @@ -21,7 +21,6 @@ solvers { solver PCG; preconditioner DIC; - tolerance 1e-06; relTol 0; maxIter 100; @@ -31,7 +30,7 @@ solvers { solver PBiCGStab; preconditioner DILU; - tolerance 1e-6; + tolerance 1e-06; relTol 0.01; } @@ -39,7 +38,6 @@ solvers { $Phi; } - } @@ -50,5 +48,4 @@ potentialFlow } - // ************************************************************************* // diff --git a/tutorials/basic/overPotentialFoam/cylinder/cylinderMesh/system/fvSchemes b/tutorials/basic/overPotentialFoam/cylinder/cylinderMesh/system/fvSchemes deleted file mode 100644 index 6055a1066f..0000000000 --- a/tutorials/basic/overPotentialFoam/cylinder/cylinderMesh/system/fvSchemes +++ /dev/null @@ -1,58 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object fvSchemes; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss limitedLinearV 1; - div(phi,k) Gauss upwind; - div(phi,epsilon) Gauss upwind; - div(phi,R) Gauss upwind; - div(R) Gauss linear; - div(phid,p) Gauss limitedLinear 1; - div(phi,K) Gauss limitedLinear 1; - div(phi,e) Gauss limitedLinear 1; - div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; -} - -laplacianSchemes -{ - default Gauss linear limited corrected 0.5; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - - -// ************************************************************************* // diff --git a/tutorials/basic/overPotentialFoam/cylinder/cylinderMesh/system/fvSolution b/tutorials/basic/overPotentialFoam/cylinder/cylinderMesh/system/fvSolution deleted file mode 100644 index 9e70d82285..0000000000 --- a/tutorials/basic/overPotentialFoam/cylinder/cylinderMesh/system/fvSolution +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object fvSolution; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p - { - solver smoothSolver; - smoother symGaussSeidel; - tolerance 1e-12; - relTol 0; - } - - rho - { - solver PCG; - preconditioner DIC; - tolerance 1e-08; - relTol 0; - } - - "(U|e|k|epsilon|R)" - { - $p; - tolerance 1e-08; - relTol 0; - } -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 2; -} - - -// ************************************************************************* //