From 5417d355abde63a48af0512debe69c31aab138f3 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Fri, 25 Feb 2011 12:49:03 +0000 Subject: [PATCH] Removing duplicate - see pimpleDyMFoam --- .../incompressible/icoDyMFoam/movingCone/0/U | 69 ----------- .../icoDyMFoam/movingCone/0/cellMotionUx | 60 ---------- .../incompressible/icoDyMFoam/movingCone/0/p | 71 ----------- .../icoDyMFoam/movingCone/0/pointMotionUx | 60 ---------- .../movingCone/constant/dynamicMeshDict | 32 ----- .../constant/polyMesh/blockMeshDict | 110 ------------------ .../movingCone/constant/polyMesh/boundary | 70 ----------- .../movingCone/constant/transportProperties | 19 --- .../icoDyMFoam/movingCone/system/controlDict | 51 -------- .../icoDyMFoam/movingCone/system/fvSchemes | 62 ---------- .../icoDyMFoam/movingCone/system/fvSolution | 65 ----------- .../icoDyMFoam/movingConeTopo/Allclean | 9 ++ .../icoDyMFoam/movingConeTopo/Allrun | 20 ++++ .../movingConeTopo/constant/dynamicMeshDict | 34 +++--- .../constant/polyMesh/blockMeshDict | 10 +- .../movingConeTopo/constant/polyMesh/boundary | 70 ----------- .../icoDyMFoam/movingConeTopo/setBatch | 27 +++++ .../movingConeTopo/system/controlDict | 7 +- .../movingConeTopo/system/fvSchemes | 2 +- .../movingConeTopo/system/fvSolution | 7 ++ 20 files changed, 90 insertions(+), 765 deletions(-) delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/0/U delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/0/cellMotionUx delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/0/p delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/0/pointMotionUx delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/constant/dynamicMeshDict delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/constant/polyMesh/blockMeshDict delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/constant/polyMesh/boundary delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/constant/transportProperties delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/system/controlDict delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/system/fvSchemes delete mode 100644 tutorials/incompressible/icoDyMFoam/movingCone/system/fvSolution create mode 100755 tutorials/incompressible/icoDyMFoam/movingConeTopo/Allclean create mode 100755 tutorials/incompressible/icoDyMFoam/movingConeTopo/Allrun delete mode 100644 tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/polyMesh/boundary create mode 100644 tutorials/incompressible/icoDyMFoam/movingConeTopo/setBatch diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/0/U b/tutorials/incompressible/icoDyMFoam/movingCone/0/U deleted file mode 100644 index 497d11234..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/0/U +++ /dev/null @@ -1,69 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - object U; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 -1 0 0 0 0]; - -internalField uniform (0 0 0); - -boundaryField -{ - movingWall - { - type fixedValue; - value uniform (1 0 0); - } - - farFieldMoving - { - type fixedValue; - value uniform (0 0 0); - } - - fixedWall - { - type fixedValue; - value uniform (0 0 0); - } - - axis - { - type symmetryPlane; - } - - left - { - type pressureInletOutletVelocity; - value uniform (0 0 0); - } - - farField - { - type fixedValue; - value uniform (0 0 0); - } - - back - { - type wedge; - } - - front - { - type wedge; - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/0/cellMotionUx b/tutorials/incompressible/icoDyMFoam/movingCone/0/cellMotionUx deleted file mode 100644 index acfb02fd0..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/0/cellMotionUx +++ /dev/null @@ -1,60 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object motionU; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 -1 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - movingWall - { - type fixedValue; - value uniform 1; - } - farFieldMoving - { - type slip; - } - fixedWall - { - type fixedValue; - value uniform 0; - } - axis - { - type symmetryPlane; - } - left - { - type fixedValue; - value uniform 0; - } - farField - { - type slip; - } - back - { - type wedge; - } - front - { - type wedge; - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/0/p b/tutorials/incompressible/icoDyMFoam/movingCone/0/p deleted file mode 100644 index e48c60400..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/0/p +++ /dev/null @@ -1,71 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object p; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 2 -2 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - movingWall - { - type zeroGradient; - } - - farFieldMoving - { - type zeroGradient; - } - - fixedWall - { - type zeroGradient; - } - - axis - { - type symmetryPlane; - } - - left - { - type totalPressure; - p0 uniform 0; - U U; - phi phi; - rho none; - psi none; - gamma 1; - value uniform 0; - } - - farField - { - type zeroGradient; - } - - back - { - type wedge; - } - - front - { - type wedge; - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/0/pointMotionUx b/tutorials/incompressible/icoDyMFoam/movingCone/0/pointMotionUx deleted file mode 100644 index 213ca1eee..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/0/pointMotionUx +++ /dev/null @@ -1,60 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class pointScalarField; - object pointMotionU; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 -1 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - movingWall - { - type fixedValue; - value uniform 1; - } - farFieldMoving - { - type slip; - } - fixedWall - { - type fixedValue; - value uniform 0; - } - axis - { - type symmetryPlane; - } - left - { - type fixedValue; - value uniform 0; - } - farField - { - type slip; - } - back - { - type wedge; - } - front - { - type wedge; - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/constant/dynamicMeshDict b/tutorials/incompressible/icoDyMFoam/movingCone/constant/dynamicMeshDict deleted file mode 100644 index 7e130d7f5..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/constant/dynamicMeshDict +++ /dev/null @@ -1,32 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object motionProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dynamicFvMesh dynamicMotionSolverFvMesh; - -motionSolverLibs ("libfvMotionSolver.so"); - -//solver laplacian; -solver velocityComponentLaplacian x; - -// diffusivity uniform; -diffusivity directional (1 200 0); -// diffusivity motionDirectional (1 1000 0); -// diffusivity inverseDistance 1(movingWall); -// diffusivity file motionDiffusivity; -// diffusivity quadratic inverseDistance 1(movingWall); -// diffusivity exponential 2000 inverseDistance 1(movingWall); - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/constant/polyMesh/blockMeshDict b/tutorials/incompressible/icoDyMFoam/movingCone/constant/polyMesh/blockMeshDict deleted file mode 100644 index a41055bc7..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/constant/polyMesh/blockMeshDict +++ /dev/null @@ -1,110 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object blockMeshDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -convertToMeters 0.001; - -vertices -( - (-7.5 0 0) - (-7 0 0) - (-3.5 0 0) - (0 0 0) - (-7.5 0.75 -0.0327457) - (-7 0.75 -0.0327457) - (-3.5 2 -0.0873219) - (0 2 -0.0873219) - (-7.5 2.5 -0.109152) - (-7 2.5 -0.109152) - (-3.5 2.5 -0.109152) - (0 2.5 -0.109152) - (-7.5 0.75 0.0327457) - (-7 0.75 0.0327457) - (-3.5 2 0.0873219) - (0 2 0.0873219) - (-7.5 2.5 0.109152) - (-7 2.5 0.109152) - (-3.5 2.5 0.109152) - (0 2.5 0.109152) -); - -blocks -( - hex (0 1 5 4 0 1 13 12) (15 15 1) simpleGrading (1 1 1) - hex (2 3 7 6 2 3 15 14) (20 20 1) simpleGrading (2 0.25 1) - hex (4 5 9 8 12 13 17 16) (15 15 1) simpleGrading (1 1 1) - hex (5 6 10 9 13 14 18 17) (50 15 1) simpleGrading (1 1 1) - hex (6 7 11 10 14 15 19 18) (20 15 1) simpleGrading (2 1 1) -); - -edges -( -); - -patches -( - wall movingWall - ( - (1 5 13 1) - (5 6 14 13) - (2 2 14 6) - ) - patch farFieldMoving - ( - (9 17 18 10) - ) - wall fixedWall - ( - (3 7 15 3) - (7 11 19 15) - ) - symmetryPlane axis - ( - (0 1 1 0) - (2 3 3 2) - ) - patch left - ( - (0 0 12 4) - (4 12 16 8) - ) - patch farField - ( - (8 16 17 9) - (10 18 19 11) - ) - wedge back - ( - (0 4 5 1) - (2 6 7 3) - (4 8 9 5) - (5 9 10 6) - (6 10 11 7) - ) - wedge front - ( - (0 1 13 12) - (2 3 15 14) - (12 13 17 16) - (13 14 18 17) - (14 15 19 18) - ) -); - -mergePatchPairs -( -); - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/constant/polyMesh/boundary b/tutorials/incompressible/icoDyMFoam/movingCone/constant/polyMesh/boundary deleted file mode 100644 index 121e796ab..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/constant/polyMesh/boundary +++ /dev/null @@ -1,70 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format binary; - class polyBoundaryMesh; - location "constant/polyMesh"; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -8 -( - movingWall - { - type wall; - nFaces 85; - startFace 3665; - } - farFieldMoving - { - type patch; - nFaces 50; - startFace 3750; - } - fixedWall - { - type wall; - nFaces 35; - startFace 3800; - } - axis - { - type symmetryPlane; - nFaces 0; - startFace 3835; - } - left - { - type patch; - nFaces 30; - startFace 3835; - } - farField - { - type patch; - nFaces 35; - startFace 3865; - } - back - { - type wedge; - nFaces 1900; - startFace 3900; - } - front - { - type wedge; - nFaces 1900; - startFace 5800; - } -) - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/constant/transportProperties b/tutorials/incompressible/icoDyMFoam/movingCone/constant/transportProperties deleted file mode 100644 index 0a451073a..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/constant/transportProperties +++ /dev/null @@ -1,19 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object transportProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -nu nu [0 2 -1 0 0 0 0] 1e-05; - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/system/controlDict b/tutorials/incompressible/icoDyMFoam/movingCone/system/controlDict deleted file mode 100644 index 60786d6cf..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/system/controlDict +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object controlDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -application icoDyMFoam; - -startFrom startTime; - -startTime 0; - -stopAt endTime; - -endTime 0.003; - -deltaT 5e-06; - -writeControl timeStep; - -writeInterval 40; - -purgeWrite 0; - -writeFormat binary; - -writePrecision 6; - -writeCompression uncompressed; - -timeFormat general; - -timePrecision 6; - -runTimeModifiable yes; - -adjustTimeStep no; - -maxCo 0.2; - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSchemes b/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSchemes deleted file mode 100644 index 91e1f9cb0..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSchemes +++ /dev/null @@ -1,62 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object fvSchemes; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss linear; -} - -laplacianSchemes -{ - default none; - laplacian(nu,U) Gauss linear corrected; - laplacian(rAU,pcorr) Gauss linear corrected; - laplacian(rAU,p) Gauss linear corrected; - - laplacian(diffusivity,cellMotionU) Gauss linear uncorrected; -} - -interpolationSchemes -{ - default linear; - interpolate(HbyA) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - pcorr; - p; -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSolution b/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSolution deleted file mode 100644 index ce1560021..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSolution +++ /dev/null @@ -1,65 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object fvSolution; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - pcorr - { - solver PCG; - preconditioner DIC; - tolerance 1e-02; - relTol 0; - }; - - p - { - solver PCG; - preconditioner DIC; - tolerance 1e-06; - relTol 0.05; - }; - - pFinal - { - solver PCG; - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - - U - { - solver PBiCG; - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - - cellMotionUx PCG - { - preconditioner DIC; - tolerance 1e-08; - relTol 0; - }; -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/Allclean b/tutorials/incompressible/icoDyMFoam/movingConeTopo/Allclean new file mode 100755 index 000000000..1892bfc36 --- /dev/null +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/Allclean @@ -0,0 +1,9 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +rm -rf VTK +rm -f constant/polyMesh/boundary +rm -rf constant/polyMesh/sets \ No newline at end of file diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/Allrun b/tutorials/incompressible/icoDyMFoam/movingConeTopo/Allrun new file mode 100755 index 000000000..c630d2064 --- /dev/null +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/Allrun @@ -0,0 +1,20 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # run from this directory + +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +application="icoDyMSimpleFoam" + +runApplication blockMesh +runApplication setSet -batch setBatch + +cd constant/polyMesh/sets/ +\rm leftCentre leftCentre_old leftWallSet leftWallSet_old leftZone_old rightCentre rightCentre_old rightWallSet rightWallSet_old rightZone_old wallSet +cd ../../.. + +runApplication setsToZones +runApplication decomposePar +#runApplication $application +runParallel $application 4 +runApplication reconstructParMesh -cellDist diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/dynamicMeshDict b/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/dynamicMeshDict index fcfde9064..11369d353 100644 --- a/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/dynamicMeshDict +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/dynamicMeshDict @@ -14,30 +14,34 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMeshLibs 1("libtopoChangerFvMesh.so"); +dynamicFvMesh movingBodyTopoFvMesh; -dynamicFvMesh movingConeTopoFvMesh; - -movingConeTopoFvMeshCoeffs +movingBodyTopoFvMeshCoeffs { - motionVelAmplitude (0.00051 0 0); - motionVelPeriod 10; + movingCells moving; + frontFaces rightZone; + backFaces leftZone; - leftEdge -0.0075; - leftObstacleEdge -0.007; - rightObstacleEdge -0.0035; + solidBodyMotionFunction linearOscillation; - left + linearOscillationCoeffs { - minThickness 2e-4; - maxThickness 5e-4; + amplitude (0.0032 0 0); + period 40; } - right + front { - minThickness 2e-4; - maxThickness 5e-4; + minThickness 5e-5; + maxThickness 2e-4; + } + + back + { + minThickness 5e-5; + maxThickness 2e-4; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/polyMesh/blockMeshDict b/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/polyMesh/blockMeshDict index e4f3ccaa2..5ae96924b 100644 --- a/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/polyMesh/blockMeshDict +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/polyMesh/blockMeshDict @@ -46,11 +46,11 @@ vertices blocks ( - hex (0 1 5 4 12 13 17 16) (3 3 1) simpleGrading (1 1 1) - hex (2 3 7 6 14 15 19 18) (4 4 1) simpleGrading (2 0.25 1) - hex (4 5 9 8 16 17 21 20) (3 3 1) simpleGrading (1 1 1) - hex (5 6 10 9 17 18 22 21) (10 3 1) simpleGrading (1 1 1) - hex (6 7 11 10 18 19 23 22) (4 3 1) simpleGrading (2 1 1) + hex (0 1 5 4 12 13 17 16) left (9 9 1) simpleGrading (1 1 1) + hex (2 3 7 6 14 15 19 18) right (12 12 1) simpleGrading (2 0.25 1) + hex (4 5 9 8 16 17 21 20) left (9 9 1) simpleGrading (1 1 1) + hex (5 6 10 9 17 18 22 21) moving (30 9 1) simpleGrading (1 1 1) + hex (6 7 11 10 18 19 23 22) right (12 9 1) simpleGrading (2 1 1) ); edges diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/polyMesh/boundary b/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/polyMesh/boundary deleted file mode 100644 index b51d53685..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingConeTopo/constant/polyMesh/boundary +++ /dev/null @@ -1,70 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | -| \\ / O peration | Version: 1.6-ext | -| \\ / A nd | Web: www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - location "constant/polyMesh"; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -8 -( - movingWall - { - type wall; - nFaces 17; - startFace 125; - } - farFieldMoving - { - type patch; - nFaces 10; - startFace 142; - } - fixedWall - { - type wall; - nFaces 7; - startFace 152; - } - axis - { - type symmetryPlane; - nFaces 7; - startFace 159; - } - left - { - type patch; - nFaces 6; - startFace 166; - } - farField - { - type patch; - nFaces 7; - startFace 172; - } - back - { - type wedge; - nFaces 76; - startFace 179; - } - front - { - type wedge; - nFaces 76; - startFace 255; - } -) - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/setBatch b/tutorials/incompressible/icoDyMFoam/movingConeTopo/setBatch new file mode 100644 index 000000000..135cf45de --- /dev/null +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/setBatch @@ -0,0 +1,27 @@ +faceSet wallSet new patchToFace movingWall + +faceSet leftWallSet new setToFace wallSet +faceSet leftWallSet delete cellToFace moving all +faceSet leftWallSet delete cellToFace right all + +cellSet leftCentre new zoneToCell left +cellSet leftCentre add zoneToCell moving +faceSet leftZone new cellToFace leftCentre both +faceSet leftZone delete cellToFace left both +faceSet leftZone delete cellToFace moving both +faceSet leftZone add setToFace leftWallSet +cellSet leftZoneMasterCells new zoneToCell left + +faceSet rightWallSet new setToFace wallSet +faceSet rightWallSet delete cellToFace moving all +faceSet rightWallSet delete cellToFace left all + +cellSet rightCentre new zoneToCell right +cellSet rightCentre add zoneToCell moving +faceSet rightZone new cellToFace rightCentre both +faceSet rightZone delete cellToFace right both +faceSet rightZone delete cellToFace moving both +faceSet rightZone add setToFace rightWallSet +cellSet rightZoneMasterCells new zoneToCell right + +quit diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict index 09acfd81c..aded0b56a 100644 --- a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict @@ -24,11 +24,10 @@ stopAt endTime; endTime 20; -deltaT 0.1; +deltaT 0.05; writeControl adjustableRunTime; - -writeInterval 1; +writeInterval 0.5; cycleWrite 0; @@ -38,8 +37,6 @@ writeCompression uncompressed; timeFormat general; -timePrecision 6; - runTimeModifiable yes; adjustTimeStep on; diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/fvSchemes b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/fvSchemes index 9c97d6214..55eb76827 100644 --- a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/fvSchemes +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/fvSchemes @@ -28,7 +28,7 @@ gradSchemes divSchemes { default none; - div(phi,U) Gauss linear; + div(phi,U) Gauss upwind; } laplacianSchemes diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/fvSolution b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/fvSolution index 0796370d4..3340fde0a 100644 --- a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/fvSolution +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/fvSolution @@ -63,8 +63,15 @@ solvers PISO { + nOuterCorrectors 4; nCorrectors 4; nNonOrthogonalCorrectors 0; } +relaxationFactors +{ + U 0.7; + p 0.3; +} + // ************************************************************************* //