From 4c1b53f313bf085de7f233869d7c7ccc1a7d2a9d Mon Sep 17 00:00:00 2001 From: Vuko Vukcevic Date: Wed, 28 Feb 2018 13:32:00 +0100 Subject: [PATCH] Merged Overset Mesh tutorials from separate repository --- tutorials/overset/Allclean | 6 + tutorials/overset/Allrun | 6 + tutorials/overset/flowTests/Allclean | 7 + tutorials/overset/flowTests/Allrun | 7 + .../.gitignore | 56 + .../channelSimpleOverlapicoOversetFoam/0/T | 67 + .../channelSimpleOverlapicoOversetFoam/0/U | 67 + .../channelSimpleOverlapicoOversetFoam/0/p | 69 + .../Allclean | 9 + .../channelSimpleOverlapicoOversetFoam/Allrun | 13 + .../blockMeshDict | 93 + .../boundary | 70 + .../constant/oversetMeshDict | 57 + .../constant/transportProperties | 19 + .../channelSimpleOverlapicoOversetFoam/save/T | 67 + .../channelSimpleOverlapicoOversetFoam/save/U | 67 + .../channelSimpleOverlapicoOversetFoam/save/p | 69 + .../system/controlDict | 59 + .../system/fvSchemes | 49 + .../system/fvSolution | 71 + .../.gitignore | 56 + .../cylinderInChannelicoOversetFoam/0/U | 68 + .../cylinderInChannelicoOversetFoam/0/p | 69 + .../cylinderInChannelicoOversetFoam/Allclean | 10 + .../cylinderInChannelicoOversetFoam/Allrun | 19 + .../blockMeshDict | 148 + .../cylinderInChannelicoOversetFoam/boundary | 70 + .../constant/oversetMeshDict | 71 + .../constant/transportProperties | 22 + .../cylinderInChannelicoOversetFoam/save/U | 68 + .../cylinderInChannelicoOversetFoam/save/p | 69 + .../setBatch.batch | 8 + .../system/controlDict | 59 + .../system/decomposeParDict | 50 + .../system/fvSchemes | 48 + .../system/fvSolution | 70 + .../navyCylinderSheddingTest/Allclean | 5 + .../flowTests/navyCylinderSheddingTest/Allrun | 5 + .../bodyFittedCylinderCircular/.gitignore | 56 + .../bodyFittedCylinderCircular/.setSet | 16 + .../bodyFittedCylinderCircular/0/U | 43 + .../bodyFittedCylinderCircular/0/p | 41 + .../bodyFittedCylinderCircular/Allclean | 9 + .../bodyFittedCylinderCircular/Allrun | 9 + .../constant/oversetMeshDict | 62 + .../constant/polyMesh/blockMeshDict | 146 + .../constant/transportProperties | 21 + .../bodyFittedCylinderCircular/cylinder.foam | 0 .../bodyFittedCylinderCircular/plotForce.py | 53 + .../bodyFittedCylinderCircular/save/U | 43 + .../bodyFittedCylinderCircular/save/p | 41 + .../system/controlDict | 101 + .../system/decomposeParDict | 50 + .../system/fvSchemes | 48 + .../system/fvSolution | 63 + .../oversetCylinderThreeLevels/.gitignore | 56 + .../oversetCylinderThreeLevels/0/U | 73 + .../oversetCylinderThreeLevels/0/p | 74 + .../oversetCylinderThreeLevels/Allclean | 13 + .../oversetCylinderThreeLevels/Allrun | 16 + .../oversetCylinderThreeLevels/blockMeshDict | 175 + .../oversetCylinderThreeLevels/boundary | 76 + .../constant/oversetMeshDict | 83 + .../constant/transportProperties | 21 + .../oversetCylinderThreeLevels/plotForce.py | 53 + .../oversetCylinderThreeLevels/save/U | 73 + .../oversetCylinderThreeLevels/save/p | 74 + .../oversetCylinderThreeLevels/setBatch.batch | 16 + .../system/controlDict | 102 + .../system/decomposeParDict | 50 + .../system/fvSchemes | 49 + .../system/fvSolution | 66 + .../.gitignore | 56 + .../0/U | 73 + .../0/p | 74 + .../Allclean | 13 + .../Allrun | 16 + .../blockMeshDict | 175 + .../boundary | 76 + .../constant/RASProperties | 25 + .../constant/oversetMeshDict | 83 + .../constant/transportProperties | 23 + .../plotForce.py | 53 + .../save/U | 73 + .../save/p | 74 + .../setBatch.batch | 16 + .../system/controlDict | 104 + .../system/decomposeParDict | 50 + .../system/fvSchemes | 50 + .../system/fvSolution | 70 + .../oversetCylinderTwoLevels/.gitignore | 56 + .../oversetCylinderTwoLevels/.setSet | 16 + .../oversetCylinderTwoLevels/0/U | 69 + .../oversetCylinderTwoLevels/0/p | 73 + .../oversetCylinderTwoLevels/Allclean | 13 + .../oversetCylinderTwoLevels/Allrun | 16 + .../oversetCylinderTwoLevels/blockMeshDict | 150 + .../oversetCylinderTwoLevels/boundary | 70 + .../constant/oversetMeshDict | 56 + .../constant/transportProperties | 21 + .../oversetCylinderTwoLevels/overset2.foam | 0 .../oversetCylinderTwoLevels/plotForce.py | 53 + .../oversetCylinderTwoLevels/save/U | 69 + .../oversetCylinderTwoLevels/save/p | 73 + .../oversetCylinderTwoLevels/setBatch.batch | 10 + .../system/controlDict | 102 + .../system/decomposeParDict | 50 + .../oversetCylinderTwoLevels/system/fvSchemes | 48 + .../system/fvSolution | 66 + .../staticCylinderSheddingTest/Allclean | 4 + .../staticCylinderSheddingTest/Allrun | 4 + .../bodyFittedCylinder/.gitignore | 56 + .../bodyFittedCylinder/0/U | 56 + .../bodyFittedCylinder/0/p | 59 + .../bodyFittedCylinder/Allclean | 9 + .../bodyFittedCylinder/Allrun | 10 + .../bodyFittedCylinder.foam | 0 .../constant/polyMesh/blockMeshDict | 169 + .../constant/transportProperties | 21 + .../bodyFittedCylinder/plotForce.py | 53 + .../bodyFittedCylinder/save/U | 56 + .../bodyFittedCylinder/save/p | 59 + .../bodyFittedCylinder/system/controlDict | 88 + .../bodyFittedCylinder/system/fvSchemes | 49 + .../bodyFittedCylinder/system/fvSolution | 60 + .../bodyFittedCylinder/system/tetFemSolution | 42 + .../oversetCylinder/.gitignore | 56 + .../oversetCylinder/0/U | 69 + .../oversetCylinder/0/p | 73 + .../oversetCylinder/Allclean | 11 + .../oversetCylinder/Allrun | 16 + .../oversetCylinder/blockMeshDict | 148 + .../oversetCylinder/boundary | 70 + .../oversetCylinder/constant/oversetMeshDict | 61 + .../constant/transportProperties | 21 + .../oversetCylinder/plotForce.py | 53 + .../oversetCylinder/save/U | 69 + .../oversetCylinder/save/p | 73 + .../oversetCylinder/setBatch.batch | 8 + .../oversetCylinder/system/controlDict | 100 + .../oversetCylinder/system/decomposeParDict | 50 + .../oversetCylinder/system/fvSchemes | 49 + .../oversetCylinder/system/fvSolution | 60 + tutorials/overset/freeSurfaceTests/Allclean | 3 + tutorials/overset/freeSurfaceTests/Allrun | 3 + .../cylBumpinterOversetFoam/.gitignore | 56 + .../cylBumpinterOversetFoam/0/U | 74 + .../cylBumpinterOversetFoam/0/alpha1.org | 71 + .../cylBumpinterOversetFoam/0/pd | 76 + .../cylBumpinterOversetFoam/Allclean | 11 + .../cylBumpinterOversetFoam/Allrun | 25 + .../cylBumpinterOversetFoam/blockMeshDict | 130 + .../cylBumpinterOversetFoam/boundary | 76 + .../cylBumpinterOversetFoam/constant/g | 21 + .../constant/oversetMeshDict | 61 + .../constant/transportProperties | 34 + .../constant/turbulenceProperties | 20 + .../cylBumpinterOversetFoam/save/U | 74 + .../cylBumpinterOversetFoam/save/alpha1.org | 71 + .../cylBumpinterOversetFoam/save/pd | 76 + .../cylBumpinterOversetFoam/setBatch.batch | 8 + .../cylBumpinterOversetFoam/setFieldsDict | 35 + .../system/controlDict | 54 + .../system/decomposeParDict | 33 + .../cylBumpinterOversetFoam/system/fvSchemes | 56 + .../cylBumpinterOversetFoam/system/fvSolution | 114 + .../system/setFieldsDict | 36 + tutorials/overset/movingMeshTests/Allclean | 4 + tutorials/overset/movingMeshTests/Allrun | 4 + .../.gitignore | 56 + .../0/U | 70 + .../0/p | 69 + .../Allclean | 12 + .../Allrun | 13 + .../blockMeshDict | 148 + .../boundary | 70 + .../constant/dynamicMeshDict | 45 + .../constant/oversetMeshDict | 62 + .../constant/transportProperties | 22 + .../save/U | 70 + .../save/p | 69 + .../system/controlDict | 61 + .../system/decomposeParDict | 50 + .../system/fvSchemes | 48 + .../system/fvSolution | 57 + .../.gitignore | 56 + .../0/U | 70 + .../0/p | 69 + .../Allclean | 11 + .../Allrun | 14 + .../blockMeshDict | 148 + .../boundary | 70 + .../constant/dynamicMeshDict | 45 + .../constant/oversetMeshDict | 62 + .../constant/transportProperties | 24 + .../constant/turbulenceProperties | 20 + .../save/U | 70 + .../save/p | 69 + .../system/controlDict | 83 + .../system/decomposeParDict | 50 + .../system/fvSchemes | 50 + .../system/fvSolution | 82 + .../0/U | 82 + .../0/k | 84 + .../0/nut | 85 + .../0/omega | 90 + .../0/p | 79 + .../Allclean | 16 + .../Allrun | 48 + .../backgroundMesh/constant/polyMesh/boundary | 52 + .../constant/polyMesh/cellZones | 5407 ++ .../constant/polyMesh/faceZones | 21 + .../backgroundMesh/constant/polyMesh/faces | 21688 +++++++ .../constant/polyMesh/neighbour | 10617 ++++ .../backgroundMesh/constant/polyMesh/owner | 21689 +++++++ .../constant/polyMesh/pointZones | 21 + .../backgroundMesh/constant/polyMesh/points | 11098 ++++ .../backgroundMesh/constant/polyMesh/sets/VOL | 5399 ++ .../backgroundMesh/system/controlDict | 77 + .../backgroundMesh/system/fvSchemes | 77 + .../backgroundMesh/system/fvSolution | 87 + .../boundary | 77 + .../constant/RASProperties | 27 + .../constant/oversetMeshDict | 123 + .../constant/transportProperties | 26 + .../constant/turbulenceProperties | 21 + .../frontMesh/constant/polyMesh/boundary | 40 + .../frontMesh/constant/polyMesh/cellZones | 12575 ++++ .../frontMesh/constant/polyMesh/faceZones | 21 + .../frontMesh/constant/polyMesh/faces | 50456 +++++++++++++++ .../frontMesh/constant/polyMesh/neighbour | 24857 ++++++++ .../frontMesh/constant/polyMesh/owner | 50457 ++++++++++++++++ .../frontMesh/constant/polyMesh/pointZones | 21 + .../frontMesh/constant/polyMesh/points | 25624 ++++++++ .../frontMesh/constant/polyMesh/sets/VOL | 12567 ++++ .../frontMesh/system/controlDict | 76 + .../frontMesh/system/fvSchemes | 70 + .../frontMesh/system/fvSolution | 87 + .../middleMesh/constant/polyMesh/boundary | 34 + .../middleMesh/constant/polyMesh/cellZones | 8095 +++ .../middleMesh/constant/polyMesh/faceZones | 21 + .../middleMesh/constant/polyMesh/faces | 32464 ++++++++++ .../middleMesh/constant/polyMesh/neighbour | 15969 +++++ .../middleMesh/constant/polyMesh/owner | 32465 ++++++++++ .../middleMesh/constant/polyMesh/pointZones | 21 + .../middleMesh/constant/polyMesh/points | 16522 +++++ .../middleMesh/constant/polyMesh/sets/VOL | 8087 +++ .../middleMesh/system/controlDict | 76 + .../middleMesh/system/fvSchemes | 70 + .../middleMesh/system/fvSolution | 87 + .../save/U | 82 + .../save/k | 84 + .../save/nut | 85 + .../save/omega | 90 + .../save/p | 79 + .../setBatch.batch | 8 + .../system/controlDict | 74 + .../system/decomposeParDict | 33 + .../system/fvSchemes | 54 + .../system/fvSolution | 77 + .../system/sampleDict | 42 + .../channel60CellsOn6Processors/.gitignore | 56 + .../channel60CellsOn6Processors/0/U | 69 + .../channel60CellsOn6Processors/0/p | 69 + .../channel60CellsOn6Processors/Allclean | 9 + .../channel60CellsOn6Processors/Allrun | 27 + .../channel60CellsOn6Processors/blockMeshDict | 93 + .../channel60CellsOn6Processors/boundary | 70 + .../constant/cellDecomposition | 84 + .../constant/oversetMeshDict | 53 + .../constant/transportProperties | 19 + .../channel60CellsOn6Processors/save/U | 69 + .../channel60CellsOn6Processors/save/p | 69 + .../system/controlDict | 63 + .../system/decomposeParDict | 58 + .../system/fvSchemes | 53 + .../system/fvSolution | 58 + tutorials/overset/simpleTests/Allclean | 18 + tutorials/overset/simpleTests/Allrun | 17 + .../channelBodyFittedLaplace/.gitignore | 56 + .../simpleTests/channelBodyFittedLaplace/0/T | 63 + .../channelBodyFittedLaplace/Allclean | 8 + .../channelBodyFittedLaplace/Allrun | 11 + .../channelBodyFittedLaplace/blockMeshDict | 70 + .../channelBodyFittedLaplace/channel.foam | 0 .../constant/transportProperties | 19 + .../system/controlDict | 49 + .../channelBodyFittedLaplace/system/fvSchemes | 55 + .../system/fvSolution | 53 + .../channelLaplaceNoOverset/.gitignore | 56 + .../simpleTests/channelLaplaceNoOverset/0/T | 51 + .../channelLaplaceNoOverset/0/T.org | 51 + .../channelLaplaceNoOverset/Allclean | 10 + .../channelLaplaceNoOverset/Allrun | 12 + .../channelLaplaceNoOverset/blockMeshDict | 70 + .../channelLaplaceNoOverset/boundary | 70 + .../constant/oversetMeshDict | 55 + .../constant/transportProperties | 19 + .../system/controlDict | 59 + .../system/decomposeParDict | 32 + .../channelLaplaceNoOverset/system/fvSchemes | 55 + .../channelLaplaceNoOverset/system/fvSolution | 65 + .../channelSimpleOverlapLaplace/.gitignore | 56 + .../channelSimpleOverlapLaplace/0/T | 68 + .../channelSimpleOverlapLaplace/0/T.org | 68 + .../channelSimpleOverlapLaplace/0/T.sol | 129 + .../0/oversetTypes | 133 + .../channelSimpleOverlapLaplace/Allclean | 8 + .../channelSimpleOverlapLaplace/Allrun | 13 + .../channelSimpleOverlapLaplace/blockMeshDict | 93 + .../channelSimpleOverlapLaplace/boundary | 70 + .../constant/oversetMeshDict | 55 + .../constant/transportProperties | 19 + .../channelSimpleOverlapLaplace/setSet.batch | 5 + .../system/controlDict | 59 + .../system/fvSchemes | 55 + .../system/fvSolution | 65 + .../.gitignore | 56 + .../channelSimpleOverlapLaplaceCutAcross/0/T | 68 + .../0/T.org | 68 + .../0/T.sol | 129 + .../0/oversetTypes | 133 + .../Allclean | 10 + .../Allrun | 14 + .../blockMeshDict | 93 + .../boundary | 70 + .../constant/cutAcross | 36 + .../constant/oversetMeshDict | 55 + .../constant/transportProperties | 19 + .../system/controlDict | 59 + .../system/decomposeParDict | 31 + .../system/fvSchemes | 55 + .../system/fvSolution | 65 + .../.gitignore | 56 + .../channelSimpleOverlapLaplaceCutAlong/0/T | 66 + .../0/T.org | 66 + .../0/T.sol | 129 + .../0/oversetTypes | 133 + .../Allclean | 10 + .../Allrun | 14 + .../blockMeshDict | 93 + .../boundary | 70 + .../constant/cutAlong | 36 + .../constant/oversetMeshDict | 55 + .../constant/transportProperties | 19 + .../system/controlDict | 59 + .../system/decomposeParDict | 31 + .../system/fvSchemes | 55 + .../system/fvSolution | 65 + .../.gitignore | 56 + .../channelSimpleOverlapLaplaceCutFringe/0/T | 66 + .../0/T.org | 66 + .../0/T.sol | 129 + .../0/oversetTypes | 133 + .../Allclean | 10 + .../Allrun | 14 + .../blockMeshDict | 93 + .../boundary | 70 + .../constant/cutFringe | 36 + .../constant/cutFringe-1 | 36 + .../constant/cutFringe-2 | 36 + .../constant/cutFringe-3 | 36 + .../constant/oversetMeshDict | 55 + .../constant/transportProperties | 19 + .../system/controlDict | 59 + .../system/decomposeParDict | 31 + .../system/fvSchemes | 55 + .../system/fvSolution | 65 + .../.gitignore | 56 + .../0/T | 68 + .../0/T.org | 68 + .../0/T.sol | 129 + .../0/oversetTypes | 133 + .../Allclean | 10 + .../Allrun | 12 + .../blockMeshDict | 93 + .../boundary | 70 + .../constant/nonInterfering | 36 + .../constant/oversetMeshDict | 55 + .../constant/transportProperties | 19 + .../system/controlDict | 59 + .../system/decomposeParDict | 31 + .../system/fvSchemes | 55 + .../system/fvSolution | 65 + .../.gitignore | 56 + .../0/T | 67 + .../0/U | 65 + .../0/V | 65 + .../0/p | 69 + .../Allclean | 12 + .../Allrun | 19 + .../blockMeshDict | 93 + .../boundary | 70 + .../constant/cutAcross | 36 + .../constant/oversetMeshDict | 55 + .../constant/transportProperties | 20 + .../save/T | 67 + .../save/U | 65 + .../save/V | 65 + .../save/p | 69 + .../system/controlDict | 59 + .../system/decomposeParDict | 31 + .../system/fvSchemes | 54 + .../system/fvSolution | 84 + .../.gitignore | 56 + .../0/T | 67 + .../0/U | 68 + .../0/p | 69 + .../Allclean | 12 + .../Allrun | 21 + .../blockMeshDict | 148 + .../boundary | 70 + .../constant/oversetMeshDict | 53 + .../constant/transportProperties | 20 + .../save/T | 67 + .../save/U | 68 + .../save/p | 69 + .../setBatch.batch | 8 + .../system/controlDict | 58 + .../system/decomposeParDict | 38 + .../system/fvSchemes | 55 + .../system/fvSolution | 80 + .../cylinderInSquareLaplace/.gitignore | 56 + .../simpleTests/cylinderInSquareLaplace/0/T | 71 + .../cylinderInSquareLaplace/0/T.org | 71 + .../cylinderInSquareLaplace/0/T.solution | 2972 + .../cylinderInSquareLaplace/Allclean | 10 + .../cylinderInSquareLaplace/Allrun | 19 + .../cylinderInSquareLaplace/blockMeshDict | 148 + .../cylinderInSquareLaplace/boundary | 70 + .../constant/oversetMeshDict | 60 + .../constant/transportProperties | 22 + .../cylinderInSquareLaplace/save/T | 74 + .../cylinderInSquareLaplace/setBatch.batch | 8 + .../system/controlDict | 59 + .../system/decomposeParDict | 33 + .../system/decomposeParDict-scotch | 27 + .../system/decomposeParDict-simple | 33 + .../cylinderInSquareLaplace/system/fvSchemes | 50 + .../cylinderInSquareLaplace/system/fvSolution | 63 + .../.gitignore | 56 + .../cylinderInSquareLaplaceAutoFringe/0/T | 71 + .../cylinderInSquareLaplaceAutoFringe/0/T.org | 71 + .../0/T.solution | 2972 + .../Allclean | 10 + .../cylinderInSquareLaplaceAutoFringe/Allrun | 16 + .../blockMeshDict | 148 + .../boundary | 70 + .../constant/oversetMeshDict | 62 + .../constant/transportProperties | 22 + .../cylinderInSquareLaplaceAutoFringe/save/T | 74 + .../system/controlDict | 59 + .../system/decomposeParDict | 33 + .../system/decomposeParDict-scotch | 27 + .../system/decomposeParDict-simple | 33 + .../system/fvSchemes | 50 + .../system/fvSolution | 63 + 457 files changed, 395826 insertions(+) create mode 100755 tutorials/overset/Allclean create mode 100755 tutorials/overset/Allrun create mode 100755 tutorials/overset/flowTests/Allclean create mode 100755 tutorials/overset/flowTests/Allrun create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/.gitignore create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/T create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/U create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/p create mode 100755 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/Allclean create mode 100755 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/Allrun create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/blockMeshDict create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/boundary create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/constant/oversetMeshDict create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/constant/transportProperties create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/T create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/U create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/p create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/controlDict create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/fvSchemes create mode 100644 tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/fvSolution create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/.gitignore create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/0/U create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/0/p create mode 100755 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/Allclean create mode 100755 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/Allrun create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/blockMeshDict create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/boundary create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/constant/oversetMeshDict create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/constant/transportProperties create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/save/U create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/save/p create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/setBatch.batch create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/controlDict create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/decomposeParDict create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSchemes create mode 100644 tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSolution create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/Allclean create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/Allrun create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/.gitignore create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/.setSet create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/0/U create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/0/p create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/Allclean create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/Allrun create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/oversetMeshDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/polyMesh/blockMeshDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/transportProperties create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/cylinder.foam create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/plotForce.py create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/save/U create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/save/p create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/controlDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/decomposeParDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/fvSchemes create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/fvSolution create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/.gitignore create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/0/U create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/0/p create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/Allclean create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/Allrun create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/blockMeshDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/boundary create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/constant/oversetMeshDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/constant/transportProperties create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/plotForce.py create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/save/U create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/save/p create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/setBatch.batch create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/controlDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/decomposeParDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/fvSchemes create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/fvSolution create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/.gitignore create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/0/U create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/0/p create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/Allclean create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/Allrun create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/blockMeshDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/boundary create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/RASProperties create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/oversetMeshDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/transportProperties create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/plotForce.py create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/save/U create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/save/p create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/setBatch.batch create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/controlDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/decomposeParDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/fvSchemes create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/fvSolution create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/.gitignore create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/.setSet create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/0/U create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/0/p create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/Allclean create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/Allrun create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/blockMeshDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/boundary create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/constant/oversetMeshDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/constant/transportProperties create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/overset2.foam create mode 100755 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/plotForce.py create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/save/U create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/save/p create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/setBatch.batch create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/controlDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/decomposeParDict create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/fvSchemes create mode 100644 tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/fvSolution create mode 100755 tutorials/overset/flowTests/staticCylinderSheddingTest/Allclean create mode 100755 tutorials/overset/flowTests/staticCylinderSheddingTest/Allrun create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/.gitignore create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/0/U create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/0/p create mode 100755 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/Allclean create mode 100755 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/Allrun create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/bodyFittedCylinder.foam create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/constant/polyMesh/blockMeshDict create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/constant/transportProperties create mode 100755 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/plotForce.py create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/save/U create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/save/p create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/controlDict create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/fvSchemes create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/fvSolution create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/tetFemSolution create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/.gitignore create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/0/U create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/0/p create mode 100755 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/Allclean create mode 100755 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/Allrun create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/blockMeshDict create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/boundary create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/constant/oversetMeshDict create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/constant/transportProperties create mode 100755 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/plotForce.py create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/save/U create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/save/p create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/setBatch.batch create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/controlDict create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/decomposeParDict create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/fvSchemes create mode 100644 tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/fvSolution create mode 100755 tutorials/overset/freeSurfaceTests/Allclean create mode 100755 tutorials/overset/freeSurfaceTests/Allrun create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/.gitignore create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/U create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/alpha1.org create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/pd create mode 100755 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/Allclean create mode 100755 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/Allrun create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/blockMeshDict create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/boundary create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/g create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/oversetMeshDict create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/transportProperties create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/turbulenceProperties create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/U create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/alpha1.org create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/pd create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/setBatch.batch create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/setFieldsDict create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/controlDict create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/decomposeParDict create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/fvSchemes create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/fvSolution create mode 100644 tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/setFieldsDict create mode 100755 tutorials/overset/movingMeshTests/Allclean create mode 100755 tutorials/overset/movingMeshTests/Allrun create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/.gitignore create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/0/U create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/0/p create mode 100755 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/Allclean create mode 100755 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/Allrun create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/blockMeshDict create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/boundary create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/dynamicMeshDict create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/oversetMeshDict create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/transportProperties create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/save/U create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/save/p create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/controlDict create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/decomposeParDict create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/fvSchemes create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/fvSolution create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/.gitignore create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/0/U create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/0/p create mode 100755 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/Allclean create mode 100755 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/Allrun create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/blockMeshDict create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/boundary create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/dynamicMeshDict create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/oversetMeshDict create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/transportProperties create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/turbulenceProperties create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/save/U create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/save/p create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/controlDict create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/decomposeParDict create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/fvSchemes create mode 100644 tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/fvSolution create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/U create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/k create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/nut create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/omega create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/p create mode 100755 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/Allclean create mode 100755 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/Allrun create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/boundary create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/cellZones create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/faceZones create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/faces create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/neighbour create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/owner create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/pointZones create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/points create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/sets/VOL create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/system/controlDict create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/system/fvSchemes create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/system/fvSolution create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/boundary create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/constant/RASProperties create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/constant/oversetMeshDict create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/constant/transportProperties create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/constant/turbulenceProperties create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/constant/polyMesh/boundary create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/constant/polyMesh/cellZones create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/constant/polyMesh/faceZones create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/constant/polyMesh/faces create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/constant/polyMesh/neighbour create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/constant/polyMesh/owner create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/constant/polyMesh/pointZones create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/constant/polyMesh/points create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/constant/polyMesh/sets/VOL create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/system/controlDict create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/system/fvSchemes create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/frontMesh/system/fvSolution create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/constant/polyMesh/boundary create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/constant/polyMesh/cellZones create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/constant/polyMesh/faceZones create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/constant/polyMesh/faces create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/constant/polyMesh/neighbour create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/constant/polyMesh/owner create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/constant/polyMesh/pointZones create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/constant/polyMesh/points create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/constant/polyMesh/sets/VOL create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/system/controlDict create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/system/fvSchemes create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/middleMesh/system/fvSolution create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/save/U create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/save/k create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/save/nut create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/save/omega create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/save/p create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/setBatch.batch create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/system/controlDict create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/system/decomposeParDict create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/system/fvSchemes create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/system/fvSolution create mode 100644 tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/system/sampleDict create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/.gitignore create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/0/U create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/0/p create mode 100755 tutorials/overset/parallelTests/channel60CellsOn6Processors/Allclean create mode 100755 tutorials/overset/parallelTests/channel60CellsOn6Processors/Allrun create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/blockMeshDict create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/boundary create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/constant/cellDecomposition create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/constant/oversetMeshDict create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/constant/transportProperties create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/save/U create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/save/p create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/system/controlDict create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/system/decomposeParDict create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/system/fvSchemes create mode 100644 tutorials/overset/parallelTests/channel60CellsOn6Processors/system/fvSolution create mode 100755 tutorials/overset/simpleTests/Allclean create mode 100755 tutorials/overset/simpleTests/Allrun create mode 100644 tutorials/overset/simpleTests/channelBodyFittedLaplace/.gitignore create mode 100644 tutorials/overset/simpleTests/channelBodyFittedLaplace/0/T create mode 100755 tutorials/overset/simpleTests/channelBodyFittedLaplace/Allclean create mode 100755 tutorials/overset/simpleTests/channelBodyFittedLaplace/Allrun create mode 100644 tutorials/overset/simpleTests/channelBodyFittedLaplace/blockMeshDict create mode 100644 tutorials/overset/simpleTests/channelBodyFittedLaplace/channel.foam create mode 100644 tutorials/overset/simpleTests/channelBodyFittedLaplace/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/channelBodyFittedLaplace/system/controlDict create mode 100644 tutorials/overset/simpleTests/channelBodyFittedLaplace/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/channelBodyFittedLaplace/system/fvSolution create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/.gitignore create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/0/T create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/0/T.org create mode 100755 tutorials/overset/simpleTests/channelLaplaceNoOverset/Allclean create mode 100755 tutorials/overset/simpleTests/channelLaplaceNoOverset/Allrun create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/blockMeshDict create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/boundary create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/constant/oversetMeshDict create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/system/controlDict create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/system/decomposeParDict create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/channelLaplaceNoOverset/system/fvSolution create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/.gitignore create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/0/T create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/0/T.org create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/0/T.sol create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/0/oversetTypes create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/Allclean create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/Allrun create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/blockMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/boundary create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/constant/oversetMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/setSet.batch create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/system/controlDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplace/system/fvSolution create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/.gitignore create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/0/T create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/0/T.org create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/0/T.sol create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/0/oversetTypes create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/Allclean create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/Allrun create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/blockMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/boundary create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/constant/cutAcross create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/constant/oversetMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/system/controlDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/system/decomposeParDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAcross/system/fvSolution create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/.gitignore create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/0/T create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/0/T.org create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/0/T.sol create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/0/oversetTypes create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/Allclean create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/Allrun create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/blockMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/boundary create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/constant/cutAlong create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/constant/oversetMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/system/controlDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/system/decomposeParDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutAlong/system/fvSolution create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/.gitignore create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/0/T create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/0/T.org create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/0/T.sol create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/0/oversetTypes create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/Allclean create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/Allrun create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/blockMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/boundary create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/constant/cutFringe create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/constant/cutFringe-1 create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/constant/cutFringe-2 create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/constant/cutFringe-3 create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/constant/oversetMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/system/controlDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/system/decomposeParDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceCutFringe/system/fvSolution create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/.gitignore create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/0/T create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/0/T.org create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/0/T.sol create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/0/oversetTypes create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/Allclean create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/Allrun create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/blockMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/boundary create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/constant/nonInterfering create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/constant/oversetMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/system/controlDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/system/decomposeParDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapLaplaceNonInterfering/system/fvSolution create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/.gitignore create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/0/T create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/0/U create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/0/V create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/0/p create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/Allclean create mode 100755 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/Allrun create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/blockMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/boundary create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/constant/cutAcross create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/constant/oversetMeshDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/save/T create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/save/U create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/save/V create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/save/p create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/system/controlDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/system/decomposeParDict create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/channelSimpleOverlapPotentialScalarTransport/system/fvSolution create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/.gitignore create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/0/T create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/0/U create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/0/p create mode 100755 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/Allclean create mode 100755 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/Allrun create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/blockMeshDict create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/boundary create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/constant/oversetMeshDict create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/save/T create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/save/U create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/save/p create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/setBatch.batch create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/system/controlDict create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/system/decomposeParDict create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/system/fvSolution create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/.gitignore create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/0/T create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/0/T.org create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/0/T.solution create mode 100755 tutorials/overset/simpleTests/cylinderInSquareLaplace/Allclean create mode 100755 tutorials/overset/simpleTests/cylinderInSquareLaplace/Allrun create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/blockMeshDict create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/boundary create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/constant/oversetMeshDict create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/save/T create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/setBatch.batch create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/system/controlDict create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/system/decomposeParDict create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/system/decomposeParDict-scotch create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/system/decomposeParDict-simple create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplace/system/fvSolution create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/.gitignore create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/0/T create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/0/T.org create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/0/T.solution create mode 100755 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/Allclean create mode 100755 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/Allrun create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/blockMeshDict create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/boundary create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/constant/oversetMeshDict create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/constant/transportProperties create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/save/T create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/system/controlDict create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/system/decomposeParDict create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/system/decomposeParDict-scotch create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/system/decomposeParDict-simple create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/system/fvSchemes create mode 100644 tutorials/overset/simpleTests/cylinderInSquareLaplaceAutoFringe/system/fvSolution diff --git a/tutorials/overset/Allclean b/tutorials/overset/Allclean new file mode 100755 index 000000000..97fffaf67 --- /dev/null +++ b/tutorials/overset/Allclean @@ -0,0 +1,6 @@ +#!/bin/sh + +( cd simpleTests ; ./Allclean ) +( cd flowTests ; ./Allclean ) +( cd movingMeshTests ; ./Allclean ) +( cd freeSurfaceTests ; ./Allclean ) diff --git a/tutorials/overset/Allrun b/tutorials/overset/Allrun new file mode 100755 index 000000000..fd4d03db2 --- /dev/null +++ b/tutorials/overset/Allrun @@ -0,0 +1,6 @@ +#!/bin/sh + +( cd simpleTests ; ./Allrun ) +( cd flowTests ; ./Allrun ) +( cd movingMeshTests ; ./Allrun ) +( cd freeSurfaceTests ; ./Allrun ) diff --git a/tutorials/overset/flowTests/Allclean b/tutorials/overset/flowTests/Allclean new file mode 100755 index 000000000..5200ba8e4 --- /dev/null +++ b/tutorials/overset/flowTests/Allclean @@ -0,0 +1,7 @@ +#!/bin/sh + +( cd channelSimpleOverlapicoOversetFoam ; ./Allclean ) +( cd cylinderInChannelicoOversetFoam ; ./Allclean ) + +( cd staticCylinderSheddingTest ; ./Allclean ) +( cd navyCylinderSheddingTest ; ./Allclean ) diff --git a/tutorials/overset/flowTests/Allrun b/tutorials/overset/flowTests/Allrun new file mode 100755 index 000000000..f390ee05d --- /dev/null +++ b/tutorials/overset/flowTests/Allrun @@ -0,0 +1,7 @@ +#!/bin/sh + +( cd channelSimpleOverlapicoOversetFoam ; ./Allrun ) +( cd cylinderInChannelicoOversetFoam ; ./Allrun ) + +( cd staticCylinderSheddingTest ; ./Allrun ) +( cd navyCylinderSheddingTest ; ./Allrun ) diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/.gitignore b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/T b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/T new file mode 100644 index 000000000..b09c17838 --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/T @@ -0,0 +1,67 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object T; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 0 0 1 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + left + { + type fixedValue; + value uniform 1; + } + leftEnd + { + type zeroGradient; + } + rightStart + { + type zeroGradient; + } + right + { + type zeroGradient; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/U b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/U new file mode 100644 index 000000000..ab000c57d --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/U @@ -0,0 +1,67 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (0 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + left + { + type fixedValue; + value uniform (1 0 0); + } + leftEnd + { + type zeroGradient; + } + rightStart + { + type zeroGradient; + } + right + { + type zeroGradient; + } + top + { + type fixedValue; + value uniform (0 0 0); + } + bottom + { + type fixedValue; + value uniform (0 0 0); + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/p b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/p new file mode 100644 index 000000000..4e774583b --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/0/p @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + left + { + type zeroGradient; + } + leftEnd + { + type zeroGradient; + } + rightStart + { + type zeroGradient; + } + right + { +// type zeroGradient; + + type fixedValue; + value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/Allclean b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/Allclean new file mode 100755 index 000000000..6740ca879 --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/Allclean @@ -0,0 +1,9 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +\rm -rf constant/polyMesh/ +\rm -rf 0 +cp -r save 0 diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/Allrun b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/Allrun new file mode 100755 index 000000000..2e6631ea3 --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/Allrun @@ -0,0 +1,13 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="icoOversetFoam" + +mkdir constant/polyMesh +\cp -f blockMeshDict constant/polyMesh/blockMeshDict +runApplication blockMesh +\cp -f boundary constant/polyMesh/boundary + +runApplication $application diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/blockMeshDict b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/blockMeshDict new file mode 100644 index 000000000..4265f9734 --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/blockMeshDict @@ -0,0 +1,93 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 0.1; + +vertices +( + (0 0 0) + (6.1 0 0) + (6.1 5 0) + (0 5 0) + + (0 0 1) + (6.1 0 1) + (6.1 5 1) + ( 0 5 1) + + (3.9 0 0) + (10 0 0) + (10 5 0) + (3.9 5 0) + + (3.9 0 1) + (10 0 1) + (10 5 1) + (3.9 5 1) +); + +blocks +( + hex (0 1 2 3 4 5 6 7) left (6 5 1) simpleGrading (1 1 1) + hex (8 9 10 11 12 13 14 15) right (6 5 1) simpleGrading (1 1 1) +); + +edges +( +); + +patches +( + patch left + ( + (0 4 7 3) + ) + patch leftEnd + ( + (2 6 5 1) + ) + patch rightStart + ( + (8 12 15 11) + ) + patch right + ( + (9 10 14 13) + ) + wall top + ( + (3 7 6 2) + (11 15 14 10) + ) + wall bottom + ( + (1 5 4 0) + (9 13 12 8) + ) + empty frontAndBack + ( + (0 3 2 1) + (4 5 6 7) + (8 11 10 9) + (12 13 14 15) + ) +); + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/boundary b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/boundary new file mode 100644 index 000000000..e3fa111e5 --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/boundary @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +8 +( + oversetFaces + { + type overset; + nFaces 0; + startFace 98; + } + left + { + type patch; + nFaces 5; + startFace 98; + } + leftEnd + { + type patch; + nFaces 5; + startFace 103; + } + rightStart + { + type patch; + nFaces 5; + startFace 108; + } + right + { + type patch; + nFaces 5; + startFace 113; + } + top + { + type wall; + nFaces 12; + startFace 118; + } + bottom + { + type wall; + nFaces 12; + startFace 130; + } + frontAndBack + { + type empty; + nFaces 120; + startFace 142; + } +) + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/constant/oversetMeshDict b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/constant/oversetMeshDict new file mode 100644 index 000000000..b93a1e8b4 --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/constant/oversetMeshDict @@ -0,0 +1,57 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolation +{ + interpolationSchemes (injection); + + default injection; +} + +holePatches (); + +regions +( + left + { + index 0; + + // Donor regions + donorRegions ( right ); + + fringe + { + type faceCells; + patches ( leftEnd ); + } + } + + right + { + index 1; + + donorRegions ( left ); + + fringe + { + type faceCells; + patches ( rightStart ); + } + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/constant/transportProperties b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/constant/transportProperties new file mode 100644 index 000000000..190bba9f4 --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/constant/transportProperties @@ -0,0 +1,19 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object transportProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +nu nu [0 2 -1 0 0 0 0] 1; + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/T b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/T new file mode 100644 index 000000000..b09c17838 --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/T @@ -0,0 +1,67 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object T; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 0 0 1 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + left + { + type fixedValue; + value uniform 1; + } + leftEnd + { + type zeroGradient; + } + rightStart + { + type zeroGradient; + } + right + { + type zeroGradient; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/U b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/U new file mode 100644 index 000000000..ab000c57d --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/U @@ -0,0 +1,67 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (0 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + left + { + type fixedValue; + value uniform (1 0 0); + } + leftEnd + { + type zeroGradient; + } + rightStart + { + type zeroGradient; + } + right + { + type zeroGradient; + } + top + { + type fixedValue; + value uniform (0 0 0); + } + bottom + { + type fixedValue; + value uniform (0 0 0); + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/p b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/p new file mode 100644 index 000000000..4e774583b --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/save/p @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + left + { + type zeroGradient; + } + leftEnd + { + type zeroGradient; + } + rightStart + { + type zeroGradient; + } + right + { +// type zeroGradient; + + type fixedValue; + value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/controlDict b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/controlDict new file mode 100644 index 000000000..424d5d5ff --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/controlDict @@ -0,0 +1,59 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application icoOversetFoam; + +startFrom startTime; +// startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 2; + +deltaT 0.1; + +writeControl timeStep; + +writeInterval 1; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 6; + +writeCompression uncompressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +libs +( + "libfoam.so" + "libmeshTools.so" + "libsurfMesh.so" + "libsampling.so" + "libdynamicMesh.so" + "liboversetMesh.so" +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/fvSchemes b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/fvSchemes new file mode 100644 index 000000000..39fb6321b --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/fvSchemes @@ -0,0 +1,49 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default Euler; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + div(phi,U) Gauss upwind; +} + +laplacianSchemes +{ + default Gauss linear uncorrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/fvSolution b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/fvSolution new file mode 100644 index 000000000..f8d6e665f --- /dev/null +++ b/tutorials/overset/flowTests/channelSimpleOverlapicoOversetFoam/system/fvSolution @@ -0,0 +1,71 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { +// solver smoothSolver; +// smoother GaussSeidel; +// nSweeps 1; + + solver CG; +// solver BiCGStab; +// preconditioner DILU; + preconditioner diagonal; + +// solver CG; +// preconditioner DIC; + + minIter 1; + maxIter 1000; + tolerance 1e-10; + relTol 0; + } + + U + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 1; + +// solver BiCGStab; +// preconditioner DILU; + + minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0; + } +} + + +SIMPLE +{ + pRefCell 0; + pRefValue 0; +} + +PISO +{ + pRefCell 0; + pRefValue 0; + + nCorrectors 4; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/.gitignore b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/0/U b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/0/U new file mode 100644 index 000000000..b8271b63e --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/0/U @@ -0,0 +1,68 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (0 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type zeroGradient; + } + top + { + type fixedValue; + value uniform (0 0 0); + } + bottom + { + type fixedValue; + value uniform (0 0 0); + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/0/p b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/0/p new file mode 100644 index 000000000..e6f30b72d --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/0/p @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { +// type zeroGradient; + + type fixedValue; + value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/Allclean b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/Allclean new file mode 100755 index 000000000..a28e8aa7d --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/Allclean @@ -0,0 +1,10 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +\rm -f .setSet constant/cellDecomposition constant/cellDecomposition.gz +\rm -rf constant/polyMesh/ +\rm -rf 0 holeTri* +cp -r save 0 diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/Allrun b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/Allrun new file mode 100755 index 000000000..6a4b6cd64 --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/Allrun @@ -0,0 +1,19 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="icoOversetFoam" + +mkdir constant/polyMesh +\cp -f blockMeshDict constant/polyMesh/blockMeshDict +runApplication blockMesh +\cp -f boundary constant/polyMesh/boundary +runApplication setSet -batch setBatch.batch +\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz + +runApplication $application + +#runApplication decomposePar -cellDist +#runApplication decomposeSets -writeEmptySets +#runParallel $application 3 diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/blockMeshDict b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/blockMeshDict new file mode 100644 index 000000000..1e4a3d3d6 --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/blockMeshDict @@ -0,0 +1,148 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 0.1; + +vertices +( + // Background mesh + (-10 -5 0) + (20 -5 0) + (20 5.01 0) + (-10 5.01 0) + (-10 -5 0.5) + (20 -5 0.5) + (20 5.01 0.5) // Note: point in cell issue + (-10 5.01 0.5) + + // Cylinder, back + ( 0 -2.5 0) + ( 2.5 0 0) + ( 0 2.5 0) + (-2.5 0 0) + + ( 0 -4 0) + ( 4 0 0) + ( 0 4 0) + (-4 0 0) + + // Cylinder, front + ( 0 -2.5 0.5) + ( 2.5 0 0.5) + ( 0 2.5 0.5) + (-2.5 0 0.5) + + ( 0 -4 0.5) + ( 4 0 0.5) + ( 0 4 0.5) + (-4 0 0.5) +); + +blocks +( + // Background + hex (0 1 2 3 4 5 6 7) background (75 25 1) simpleGrading (1 1 1) + + // Front + hex (8 12 13 9 16 20 21 17) front (10 20 1) simpleGrading (1 1 1) + hex (9 13 14 10 17 21 22 18) front (10 20 1) simpleGrading (1 1 1) + hex (10 14 15 11 18 22 23 19) front (10 20 1) simpleGrading (1 1 1) + hex (11 15 12 8 19 23 20 16) front (10 20 1) simpleGrading (1 1 1) +); + +edges +( + // Inner arc, back + arc 8 9 ( 1.767767 -1.767767 0) + arc 9 10 ( 1.767767 1.767767 0) + arc 10 11 (-1.767767 1.767767 0) + arc 11 8 (-1.767767 -1.767767 0) + + // Inner arc, front + arc 16 17 ( 1.767767 -1.767767 0.5) + arc 17 18 ( 1.767767 1.767767 0.5) + arc 18 19 (-1.767767 1.767767 0.5) + arc 19 16 (-1.767767 -1.767767 0.5) + + // Outer arc, back + arc 12 13 ( 2.828427 -2.828427 0) + arc 13 14 ( 2.828427 2.828427 0) + arc 14 15 (-2.828427 2.828427 0) + arc 15 12 (-2.828427 -2.828427 0) + + // Outer arc, front + arc 20 21 ( 2.828427 -2.828427 0.5) + arc 21 22 ( 2.828427 2.828427 0.5) + arc 22 23 (-2.828427 2.828427 0.5) + arc 23 20 (-2.828427 -2.828427 0.5) +); + +patches +( + patch in + ( + (0 4 7 3) + ) + patch out + ( + (2 6 5 1) + ) + wall top + ( + (3 7 6 2) + ) + wall bottom + ( + (1 5 4 0) + ) + wall cylinder + ( + (8 16 17 9) + (9 17 18 10) + (10 18 19 11) + (11 19 16 8) + ) + + patch outerCylinder + ( + (12 13 21 20) + (13 14 22 21) + (14 15 23 22) + (15 12 20 23) + ) + + empty frontAndBack + ( + (0 3 2 1) + (4 5 6 7) + + (8 9 13 12) + (9 10 14 13) + (10 11 15 14) + (11 8 12 15) + + (16 20 21 17) + (17 21 22 18) + (18 22 23 19) + (19 23 20 16) + ) +); + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/boundary b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/boundary new file mode 100644 index 000000000..23207bbca --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/boundary @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format binary; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +8 +( + oversetFaces + { + type overset; + nFaces 0; + startFace 5170; + } + in + { + type patch; + nFaces 25; + startFace 5170; + } + out + { + type patch; + nFaces 25; + startFace 5195; + } + top + { + type wall; + nFaces 75; + startFace 5220; + } + bottom + { + type wall; + nFaces 75; + startFace 5295; + } + cylinder + { + type wall; + nFaces 80; + startFace 5370; + } + outerCylinder + { + type patch; + nFaces 80; + startFace 5450; + } + frontAndBack + { + type empty; + nFaces 5350; + startFace 5530; + } +) + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/constant/oversetMeshDict b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/constant/oversetMeshDict new file mode 100644 index 000000000..ddc265c46 --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/constant/oversetMeshDict @@ -0,0 +1,71 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolation +{ + interpolationSchemes (injection); + + default injection; +} + +// Names or patches that determine hole cells +holePatches ( cylinder ); + +regions +( + background + { + // Donor regions + donorRegions ( front ); + +// fringe +// { +// type manual; +// holes "backHole"; +// acceptors "backFringe"; +// } + + fringe + { + type overlap; + + suitablePairFraction 0.5; + cacheFringe no; + + donorSuitability + { + type noSuitability; + threshold 1; + } + } + } + + front + { + donorRegions ( background ); + + fringe + { + type faceCells; + patches ( outerCylinder ); + } + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/constant/transportProperties b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/constant/transportProperties new file mode 100644 index 000000000..c86a8105a --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/constant/transportProperties @@ -0,0 +1,22 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object transportProperties; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +nu nu [0 2 -1 0 0 0 0] 0.001; + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/save/U b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/save/U new file mode 100644 index 000000000..b8271b63e --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/save/U @@ -0,0 +1,68 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (0 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type zeroGradient; + } + top + { + type fixedValue; + value uniform (0 0 0); + } + bottom + { + type fixedValue; + value uniform (0 0 0); + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/save/p b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/save/p new file mode 100644 index 000000000..e6f30b72d --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/save/p @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { +// type zeroGradient; + + type fixedValue; + value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/setBatch.batch b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/setBatch.batch new file mode 100644 index 000000000..2423be573 --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/setBatch.batch @@ -0,0 +1,8 @@ +cellSet backFringe new cellToCell background +cellSet backFringe subset sphereToCell (0 0 0) 0.36 +cellSet backHole new cellToCell background +cellSet backHole subset sphereToCell (0 0 0) 0.3 +cellSet backFringe delete cellToCell backHole +cellSet empty new labelToCell 0 () + +quit diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/controlDict b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/controlDict new file mode 100644 index 000000000..d220e9ced --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/controlDict @@ -0,0 +1,59 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application icoOversetFoam; + +// startFrom startTime; +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 30; + +deltaT 0.01; + +writeControl runTime; + +writeInterval 0.2; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 10; + +writeCompression uncompressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +libs +( + "libfoam.so" + "libmeshTools.so" + "libsurfMesh.so" + "libsampling.so" + "libdynamicMesh.so" + "liboversetMesh.so" +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/decomposeParDict b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/decomposeParDict new file mode 100644 index 000000000..0feef0178 --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/decomposeParDict @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 3; + +method simple; + +simpleCoeffs +{ + n (1 3 1); + delta 0.001; +} + +hierarchicalCoeffs +{ + n (1 1 1); + delta 0.001; + order xyz; +} + +metisCoeffs +{ + processorWeights 4(1 1 1 1); +} + +manualCoeffs +{ + dataFile "cellDecomposition"; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSchemes b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSchemes new file mode 100644 index 000000000..592fda97c --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSchemes @@ -0,0 +1,48 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default Euler; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + div(phi,U) Gauss upwind; +} + +laplacianSchemes +{ + default Gauss linear uncorrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSolution b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSolution new file mode 100644 index 000000000..d885e442b --- /dev/null +++ b/tutorials/overset/flowTests/cylinderInChannelicoOversetFoam/system/fvSolution @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { +// solver smoothSolver; +// smoother GaussSeidel; +// nSweeps 1; + + solver BiCGStab; + preconditioner DILU; + +// solver CG; +// preconditioner DIC; + + minIter 1; + maxIter 1000; + tolerance 1e-10; + relTol 0; + } + + U + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 1; + +// solver BiCGStab; +// preconditioner DILU; + + minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0; + } +} + + +SIMPLE +{ + pRefCell 0; + pRefValue 0; +} + + +PISO +{ + pRefCell 0; + pRefValue 0; + + nCorrectors 4; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/Allclean b/tutorials/overset/flowTests/navyCylinderSheddingTest/Allclean new file mode 100755 index 000000000..a6d9ea36d --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/Allclean @@ -0,0 +1,5 @@ +#!/bin/sh + +( cd bodyFittedCylinderCircular ; ./Allclean ) +( cd oversetCylinderTwoLevels ; ./Allclean ) +( cd oversetCylinderThreeLevels ; ./Allclean ) diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/Allrun b/tutorials/overset/flowTests/navyCylinderSheddingTest/Allrun new file mode 100755 index 000000000..f74676e3c --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/Allrun @@ -0,0 +1,5 @@ +#!/bin/sh + +( cd bodyFittedCylinderCircular ; ./Allrun ) +( cd oversetCylinderTwoLevels ; ./Allrun ) +( cd oversetCylinderThreeLevels ; ./Allrun ) diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/.gitignore b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/.setSet b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/.setSet new file mode 100644 index 000000000..27cef2c06 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/.setSet @@ -0,0 +1,16 @@ +cellSet backFringe new cellToCell background +cellSet backFringe subset sphereToCell (0 0 0) 7.8 +cellSet backHole new cellToCell background +cellSet backHole subset sphereToCell (0 0 0) 7.2 +cellSet backFringe delete cellToCell backHole +cellSet backFringe new cellToCell background +cellSet backFringe subset sphereToCell (0 0 0) 7.6 +cellSet backHole new cellToCell background +cellSet backHole subset sphereToCell (0 0 0) 7.0 +cellSet backFringe delete cellToCell backHole +quit +cellSet backFringe new cellToCell background +cellSet backFringe subset sphereToCell (0 0 0) 7.4 +cellSet backHole new cellToCell background +cellSet backHole subset sphereToCell (0 0 0) 6.8 +cellSet backFringe delete cellToCell backHole diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/0/U b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/0/U new file mode 100644 index 000000000..11ada87ce --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/0/U @@ -0,0 +1,43 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + farField + { + type inletOutlet; + inletValue uniform (1 0 0); + value uniform (1 0 0); + phi phi; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/0/p b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/0/p new file mode 100644 index 000000000..71835369b --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/0/p @@ -0,0 +1,41 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + farField + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/Allclean b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/Allclean new file mode 100755 index 000000000..391d31127 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/Allclean @@ -0,0 +1,9 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanTimeDirectories +\rm -rf 0 +\cp -r save 0 +\rm -rf *.dat probes forces diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/Allrun b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/Allrun new file mode 100755 index 000000000..2298f0ece --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/Allrun @@ -0,0 +1,9 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="icoFoam" + +runApplication potentialFoam -writep +runApplication $application diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/oversetMeshDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/oversetMeshDict new file mode 100644 index 000000000..310bef61f --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/oversetMeshDict @@ -0,0 +1,62 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +interpolation +{ + type injection; +} + +regions +( + // Background + { + index 0; + + // Donor regions + donorRegions ( 1 ); + + // Names or patches that determine hole cells + holePatches (); + + fringe + { + type manual; + holes "backHole"; + acceptors "backFringe"; + } + } + + // Cylinder + { + index 1; + + donorRegions ( 0 ); + + holePatches ( cylinder ); + + fringe + { + type faceCells; + patches ( outerCylinder ); + } + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/polyMesh/blockMeshDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/polyMesh/blockMeshDict new file mode 100644 index 000000000..7b634fc1f --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/polyMesh/blockMeshDict @@ -0,0 +1,146 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 10; + +vertices +( + // Cylinder, back + ( 0 -0.05 0) + ( 0.05 0 0) + ( 0 0.05 0) + (-0.05 0 0) + + ( 0 -0.8 0) + ( 0.8 0 0) + ( 0 0.8 0) + (-0.8 0 0) + + ( 0 -2 0) + ( 2 0 0) + ( 0 2 0) + ( -2 0 0) + + // Cylinder, front + ( 0 -0.05 0.05) + ( 0.05 0 0.05) + ( 0 0.05 0.05) + (-0.05 0 0.05) + + ( 0 -0.8 0.05) + ( 0.8 0 0.05) + ( 0 0.8 0.05) + (-0.8 0 0.05) + + ( 0 -2 0.05) + ( 2 0 0.05) + ( 0 2 0.05) + ( -2 0 0.05) +); + +blocks +( + // Inner, with grading + hex (0 4 5 1 12 16 17 13) (78 30 1) simpleGrading (34.8 1 1) + hex (1 5 6 2 13 17 18 14) (78 30 1) simpleGrading (34.8 1 1) + hex (2 6 7 3 14 18 19 15) (78 30 1) simpleGrading (34.8 1 1) + hex (3 7 4 0 15 19 16 12) (78 30 1) simpleGrading (34.8 1 1) + + // Outer, uniform + hex (0 4 5 1 12 16 17 13) (78 30 1) simpleGrading (34.8 1 1) + hex (1 5 6 2 13 17 18 14) (78 30 1) simpleGrading (34.8 1 1) + hex (2 6 7 3 14 18 19 15) (78 30 1) simpleGrading (34.8 1 1) + hex (3 7 4 0 15 19 16 12) (78 30 1) simpleGrading (34.8 1 1) + +); + +edges +( + // Inner arc, back + arc 0 1 ( 0.035355 -0.035355 0) + arc 1 2 ( 0.035355 0.035355 0) + arc 2 3 (-0.035355 0.035355 0) + arc 3 0 (-0.035355 -0.035355 0) + + // Inner arc, front + arc 12 13 ( 0.035355 -0.035355 0.05) + arc 13 14 ( 0.035355 0.035355 0.05) + arc 14 15 (-0.035355 0.035355 0.05) + arc 15 12 (-0.035355 -0.035355 0.05) + + // Middle arc, back + arc 4 5 ( 0.565685 -0.565685 0) + arc 5 6 ( 0.565685 0.565685 0) + arc 6 7 (-0.565685 0.565685 0) + arc 7 4 (-0.565685 -0.565685 0) + + // Middle arc, front + arc 16 17 ( 0.565685 -0.565685 0.05) + arc 17 18 ( 0.565685 0.565685 0.05) + arc 18 19 (-0.565685 0.565685 0.05) + arc 19 16 (-0.565685 -0.565685 0.05) + + // Outer arc, back + arc 8 9 ( 1.4142125 -1.4.142125 0) + arc 9 10 ( 1.4142125 1.4.142125 0) + arc 10 11 (-1.4142125 1.4.142125 0) + arc 11 8 (-1.4142125 -1.4.142125 0) + + // Outer arc, front + arc 20 21 ( 1.4142125 -1.4142125 0.05) + arc 21 22 ( 1.4142125 1.4142125 0.05) + arc 22 23 (-1.4142125 1.4142125 0.05) + arc 23 20 (-1.4142125 -1.4142125 0.05) +); + +patches +( + wall cylinder + ( + ( 0 12 13 1) + ( 1 13 14 2) + ( 2 14 15 3) + ( 3 15 12 0) + ) + +// patch outerCylinder +// ( +// ( 4 5 13 12) +// ( 5 6 14 13) +// ( 6 7 15 14) +// ( 7 4 12 15) +// ) + +// empty frontAndBack +// ( +// (8 9 13 12) +// (9 10 14 13) +// (10 11 15 14) +// (11 8 12 15) + +// (16 20 21 17) +// (17 21 22 18) +// (18 22 23 19) +// (19 23 20 16) +// ) +); + + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/transportProperties b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/transportProperties new file mode 100644 index 000000000..f8199f6bc --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/constant/transportProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object transportProperties; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +nu nu [0 2 -1 0 0 0 0] 5.0e-05; + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/cylinder.foam b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/cylinder.foam new file mode 100644 index 000000000..e69de29bb diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/plotForce.py b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/plotForce.py new file mode 100755 index 000000000..13f6de2ab --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/plotForce.py @@ -0,0 +1,53 @@ +#!/usr/bin/python + +import pylab +import re +import pickle + +forceRegex=r"([0-9.Ee\-+]+)\s+\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9 .Ee\-+]+)\)+\s\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)+" +t = [] +fpx = []; fpy = []; fpz = [] +fvx = []; fvy = []; fvz = [] +mpx = []; mpy = []; mpz = [] +mvx = []; mvy = []; mvz = [] +pipefile=open('forces/0/forces.dat','r') +lines = pipefile.readlines() +for line in lines: + match=re.search(forceRegex,line) + if match: + t.append(float(match.group(1))) + fpx.append(float(match.group(2))) + fpy.append(float(match.group(3))) + fpz.append(float(match.group(4))) + fvx.append(float(match.group(5))) + fvy.append(float(match.group(6))) + fvz.append(float(match.group(7))) + mpx.append(float(match.group(8))) + mpy.append(float(match.group(9))) + mpz.append(float(match.group(10))) + mvx.append(float(match.group(11))) + mvy.append(float(match.group(12))) + mvz.append(float(match.group(13))) + +# Calculate total forces +fx = [x + y for x, y in zip(fpx, fvx)] +fy = [x + y for x, y in zip(fpy, fvy)] +fz = [x + y for x, y in zip(fpz, fvz)] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +with open('pressureForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fpx, fpy): + print >> f, f1, f2, f3 + +with open('viscousForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fvx, fvy): + print >> f, f1, f2, f3 + +with open('totalForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fx, fy): + print >> f, f1, f2, f3 diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/save/U b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/save/U new file mode 100644 index 000000000..11ada87ce --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/save/U @@ -0,0 +1,43 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + farField + { + type inletOutlet; + inletValue uniform (1 0 0); + value uniform (1 0 0); + phi phi; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/save/p b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/save/p new file mode 100644 index 000000000..71835369b --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/save/p @@ -0,0 +1,41 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + farField + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/controlDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/controlDict new file mode 100644 index 000000000..31967b399 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/controlDict @@ -0,0 +1,101 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application icoOversetFoam; + +// startFrom startTime; +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 100; + +deltaT 0.02; + +writeControl runTime; + +writeInterval 2; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 6; + +writeCompression compressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +libs +( + "libfoam.so" + "libmeshTools.so" + "libsurfMesh.so" + "libsampling.so" + "libdynamicMesh.so" + "liboversetMesh.so" +); + + + +functions +( + forces + { + type forces; + functionObjectLibs ( "libforces.so" ); + outputControl timeStep; + outputInterval 1; + patches ( cylinder ); + pName p; + UName U; + rhoName rhoInf; + log true; + rhoInf 1; + CofR (0 0 0); + } + + probes + { + type probes; + functionObjectLibs ("libsampling.so"); + enabled true; + outputControl timeStep; + outputInterval 1; + probeLocations + ( + ( 1 0 0 ) + ( 3 0 0 ) + ( 5 0 0 ) + ); + + fields + ( + p + ); + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/decomposeParDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/decomposeParDict new file mode 100644 index 000000000..f9a343802 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/decomposeParDict @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method simple; + +simpleCoeffs +{ + n (4 1 1); + delta 0.001; +} + +hierarchicalCoeffs +{ + n (1 1 1); + delta 0.001; + order xyz; +} + +metisCoeffs +{ + processorWeights 4(1 1 1 1); +} + +manualCoeffs +{ + dataFile "cellDecomposition"; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/fvSchemes b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/fvSchemes new file mode 100644 index 000000000..25b152fa7 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/fvSchemes @@ -0,0 +1,48 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default Euler; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + div(phi,U) Gauss upwind; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/fvSolution b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/fvSolution new file mode 100644 index 000000000..dcd3fda65 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/bodyFittedCylinderCircular/system/fvSolution @@ -0,0 +1,63 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { + solver CG; + preconditioner DIC; + + minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0; + } + + U + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 1; + +// solver BiCGStab; +// preconditioner DILU; + +// minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0; + } +} + + +SIMPLE +{ + pRefCell 0; + pRefValue 0; +} + + +PISO +{ + pRefCell 0; + pRefValue 0; + + nCorrectors 4; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/.gitignore b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/0/U b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/0/U new file mode 100644 index 000000000..e2274ee30 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/0/U @@ -0,0 +1,73 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + phi phi; + } + top + { + type slip; + } + bottom + { + type slip; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + refine + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/0/p b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/0/p new file mode 100644 index 000000000..33f73f0e3 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/0/p @@ -0,0 +1,74 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho none; + psi none; + gamma 1; + value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + refine + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/Allclean b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/Allclean new file mode 100755 index 000000000..754a9ac18 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/Allclean @@ -0,0 +1,13 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +rm -rf constant/polyMesh/ +mkdir constant/polyMesh + +\rm -rf 0 +\cp -r save 0 +\rm -f *.dat +\rm -f *vtk diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/Allrun b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/Allrun new file mode 100755 index 000000000..dd4eab60b --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/Allrun @@ -0,0 +1,16 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="icoOversetFoam" + +\cp -f blockMeshDict constant/polyMesh/blockMeshDict +runApplication blockMesh +\cp -f boundary constant/polyMesh/boundary +runApplication setSet -batch setBatch.batch +\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz +runApplication setsToZones + +runApplication potentialOversetFoam -writep +runApplication $application diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/blockMeshDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/blockMeshDict new file mode 100644 index 000000000..65113eaff --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/blockMeshDict @@ -0,0 +1,175 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 10; + +vertices +( + // Background mesh + (-2.5 -2.5 0) + ( 2.5 -2.5 0) + ( 2.5 2.5 0) + (-2.5 2.5 0) + (-2.5 -2.5 0.5) + ( 2.5 -2.5 0.5) + ( 2.5 2.5 0.5) + (-2.5 2.5 0.5) + + // Cylinder, back + ( 0 -0.05 0) + ( 0.05 0 0) + ( 0 0.05 0) + (-0.05 0 0) + + ( 0 -0.8 0) + ( 0.8 0 0) + ( 0 0.8 0) + (-0.8 0 0) + + // Cylinder, front + ( 0 -0.05 0.5) + ( 0.05 0 0.5) + ( 0 0.05 0.5) + (-0.05 0 0.5) + + ( 0 -0.8 0.5) + ( 0.8 0 0.5) + ( 0 0.8 0.5) + (-0.8 0 0.5) + + // Refine box + (-1.5 -1.5 0) + ( 1.5 -1.5 0) + ( 1.5 1.5 0) + (-1.5 1.5 0) + (-1.5 -1.5 0.5) + ( 1.5 -1.5 0.5) + ( 1.5 1.5 0.5) + (-1.5 1.5 0.5) + +); + +blocks +( + // Background + hex (0 1 2 3 4 5 6 7) background (82 82 1) simpleGrading (1 1 1) + + // Refine box + hex (24 25 26 27 28 29 30 31) refine (70 70 1) simpleGrading (1 1 1) + + // Front + hex (8 12 13 9 16 20 21 17) front (78 30 1) simpleGrading (34.8 1 1) + hex (9 13 14 10 17 21 22 18) front (78 30 1) simpleGrading (34.8 1 1) + hex (10 14 15 11 18 22 23 19) front (78 30 1) simpleGrading (34.8 1 1) + hex (11 15 12 8 19 23 20 16) front (78 30 1) simpleGrading (34.8 1 1) + +); + +edges +( + // Inner arc, back + arc 8 9 ( 0.035355 -0.035355 0) + arc 9 10 ( 0.035355 0.035355 0) + arc 10 11 (-0.035355 0.035355 0) + arc 11 8 (-0.035355 -0.035355 0) + + // Inner arc, front + arc 16 17 ( 0.035355 -0.035355 0.5) + arc 17 18 ( 0.035355 0.035355 0.5) + arc 18 19 (-0.035355 0.035355 0.5) + arc 19 16 (-0.035355 -0.035355 0.5) + + // Outer arc, back + arc 12 13 ( 0.565685 -0.565685 0) + arc 13 14 ( 0.565685 0.565685 0) + arc 14 15 (-0.565685 0.565685 0) + arc 15 12 (-0.565685 -0.565685 0) + + // Outer arc, front + arc 20 21 ( 0.565685 -0.565685 0.5) + arc 21 22 ( 0.565685 0.565685 0.5) + arc 22 23 (-0.565685 0.565685 0.5) + arc 23 20 (-0.565685 -0.565685 0.5) +); + +patches +( + patch in + ( + (0 4 7 3) + ) + patch out + ( + (2 6 5 1) + ) + wall top + ( + (3 7 6 2) + ) + wall bottom + ( + (1 5 4 0) + ) + wall cylinder + ( + (8 16 17 9) + (9 17 18 10) + (10 18 19 11) + (11 19 16 8) + ) + + patch outerCylinder + ( + (12 13 21 20) + (13 14 22 21) + (14 15 23 22) + (15 12 20 23) + ) + + patch refine + ( + (24 28 31 27) + (26 30 29 25) + (27 31 30 26) + (25 29 28 24) + ) + + empty frontAndBack + ( + (0 3 2 1) + (4 5 6 7) + + (8 9 13 12) + (9 10 14 13) + (10 11 15 14) + (11 8 12 15) + + (16 20 21 17) + (17 21 22 18) + (18 22 23 19) + (19 23 20 16) + + (24 27 26 25) + (28 29 30 31) + ) +); + + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/boundary b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/boundary new file mode 100644 index 000000000..c11d5dfe4 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/boundary @@ -0,0 +1,76 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +9 +( + oversetFaces + { + type overset; + nFaces 0; + startFace 41544; + } + in + { + type patch; + nFaces 82; + startFace 41544; + } + out + { + type patch; + nFaces 82; + startFace 41626; + } + top + { + type wall; + nFaces 82; + startFace 41708; + } + bottom + { + type wall; + nFaces 82; + startFace 41790; + } + cylinder + { + type wall; + nFaces 120; + startFace 41872; + } + outerCylinder + { + type patch; + nFaces 120; + startFace 41992; + } + refine + { + type patch; + nFaces 280; + startFace 42112; + } + frontAndBack + { + type empty; + nFaces 41968; + startFace 42392; + } +) + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/constant/oversetMeshDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/constant/oversetMeshDict new file mode 100644 index 000000000..35d72e30d --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/constant/oversetMeshDict @@ -0,0 +1,83 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +interpolation +{ + interpolationSchemes (injection); + + default injection; +} + +holePatches ( cylinder ); + +regions +( + background + { + // Donor regions + donorRegions ( refine ); + + fringe + { + type manual; + holes "backHole"; + acceptors "backFringe"; + } + } + + refine + { + // Donor regions + donorRegions ( background front ); + + fringe + { + type composite; + + baseFringes + ( + inner + { + type manual; + holes "refineHole"; + acceptors "refineFringe"; + } + outer + { + type faceCells; + patches ( refine ); + } + ); + } + } + + front + { + donorRegions ( refine ); + + fringe + { + type faceCells; + patches ( outerCylinder ); + } + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/constant/transportProperties b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/constant/transportProperties new file mode 100644 index 000000000..f8199f6bc --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/constant/transportProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object transportProperties; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +nu nu [0 2 -1 0 0 0 0] 5.0e-05; + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/plotForce.py b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/plotForce.py new file mode 100755 index 000000000..13f6de2ab --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/plotForce.py @@ -0,0 +1,53 @@ +#!/usr/bin/python + +import pylab +import re +import pickle + +forceRegex=r"([0-9.Ee\-+]+)\s+\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9 .Ee\-+]+)\)+\s\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)+" +t = [] +fpx = []; fpy = []; fpz = [] +fvx = []; fvy = []; fvz = [] +mpx = []; mpy = []; mpz = [] +mvx = []; mvy = []; mvz = [] +pipefile=open('forces/0/forces.dat','r') +lines = pipefile.readlines() +for line in lines: + match=re.search(forceRegex,line) + if match: + t.append(float(match.group(1))) + fpx.append(float(match.group(2))) + fpy.append(float(match.group(3))) + fpz.append(float(match.group(4))) + fvx.append(float(match.group(5))) + fvy.append(float(match.group(6))) + fvz.append(float(match.group(7))) + mpx.append(float(match.group(8))) + mpy.append(float(match.group(9))) + mpz.append(float(match.group(10))) + mvx.append(float(match.group(11))) + mvy.append(float(match.group(12))) + mvz.append(float(match.group(13))) + +# Calculate total forces +fx = [x + y for x, y in zip(fpx, fvx)] +fy = [x + y for x, y in zip(fpy, fvy)] +fz = [x + y for x, y in zip(fpz, fvz)] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +with open('pressureForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fpx, fpy): + print >> f, f1, f2, f3 + +with open('viscousForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fvx, fvy): + print >> f, f1, f2, f3 + +with open('totalForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fx, fy): + print >> f, f1, f2, f3 diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/save/U b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/save/U new file mode 100644 index 000000000..e2274ee30 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/save/U @@ -0,0 +1,73 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + phi phi; + } + top + { + type slip; + } + bottom + { + type slip; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + refine + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/save/p b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/save/p new file mode 100644 index 000000000..33f73f0e3 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/save/p @@ -0,0 +1,74 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho none; + psi none; + gamma 1; + value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + refine + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/setBatch.batch b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/setBatch.batch new file mode 100644 index 000000000..b3f96118a --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/setBatch.batch @@ -0,0 +1,16 @@ +cellSet backFringe new cellToCell background +cellSet backFringe subset boxToCell (-14 -14 0) (14 14 5) +cellSet backHole new cellToCell background +cellSet backHole subset boxToCell (-13 -13 0) (13 13 5) +cellSet backFringe delete cellToCell backHole + +cellSet refineFringe new cellToCell refine +cellSet refineFringe subset sphereToCell (0 0 0) 7.8 +cellSet refineHole new cellToCell refine +cellSet refineHole subset sphereToCell (0 0 0) 7.2 +cellSet refineFringe delete cellToCell refineHole + + +cellSet empty new labelToCell 0 () + +quit diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/controlDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/controlDict new file mode 100644 index 000000000..95d22ee95 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/controlDict @@ -0,0 +1,102 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application icoOversetFoam; + +// startFrom startTime; +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 100; + +deltaT 0.02; + +writeControl runTime; + +writeInterval 2; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 6; + +writeCompression compressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +libs +( + "libfoam.so" + "libmeshTools.so" + "libsurfMesh.so" + "libsampling.so" + "libdynamicMesh.so" + "liboversetMesh.so" +); + + + +functions +( + forces + { + type forces; + functionObjectLibs ( "libforces.so" ); + outputControl timeStep; + outputInterval 1; + patches ( cylinder ); + pName p; + UName U; + rhoName rhoInf; + log true; + rhoInf 1; + CofR (0 0 0); + } + + probes + { + type probes; + functionObjectLibs ("libsampling.so"); + enabled true; + outputControl timeStep; + outputInterval 1; + probeLocations + ( + ( 1 0 0 ) + ( 3 0 0 ) + ( 5 0 0 ) + (15 0 0 ) + ); + + fields + ( + p + ); + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/decomposeParDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/decomposeParDict new file mode 100644 index 000000000..f9a343802 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/decomposeParDict @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method simple; + +simpleCoeffs +{ + n (4 1 1); + delta 0.001; +} + +hierarchicalCoeffs +{ + n (1 1 1); + delta 0.001; + order xyz; +} + +metisCoeffs +{ + processorWeights 4(1 1 1 1); +} + +manualCoeffs +{ + dataFile "cellDecomposition"; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/fvSchemes b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/fvSchemes new file mode 100644 index 000000000..78a2a613d --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/fvSchemes @@ -0,0 +1,49 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default Euler; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + div(phi,U) Gauss upwind; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/fvSolution b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/fvSolution new file mode 100644 index 000000000..14e3a803b --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevels/system/fvSolution @@ -0,0 +1,66 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { + solver BiCGStab; + preconditioner DILU; + +// solver CG; +// preconditioner DIC; + +// minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0; + } + + U + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 1; + +// solver BiCGStab; +// preconditioner DILU; + +// minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0; + } +} + + +SIMPLE +{ + pRefCell 0; + pRefValue 0; +} + + +PISO +{ + pRefCell 0; + pRefValue 0; + + nCorrectors 4; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/.gitignore b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/0/U b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/0/U new file mode 100644 index 000000000..e2274ee30 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/0/U @@ -0,0 +1,73 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + phi phi; + } + top + { + type slip; + } + bottom + { + type slip; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + refine + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/0/p b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/0/p new file mode 100644 index 000000000..33f73f0e3 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/0/p @@ -0,0 +1,74 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho none; + psi none; + gamma 1; + value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + refine + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/Allclean b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/Allclean new file mode 100755 index 000000000..754a9ac18 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/Allclean @@ -0,0 +1,13 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +rm -rf constant/polyMesh/ +mkdir constant/polyMesh + +\rm -rf 0 +\cp -r save 0 +\rm -f *.dat +\rm -f *vtk diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/Allrun b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/Allrun new file mode 100755 index 000000000..25fbb98eb --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/Allrun @@ -0,0 +1,16 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="simpleOversetFoam" + +\cp -f blockMeshDict constant/polyMesh/blockMeshDict +runApplication blockMesh +\cp -f boundary constant/polyMesh/boundary +runApplication setSet -batch setBatch.batch +\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz +runApplication setsToZones + +runApplication potentialOversetFoam -writep +runApplication $application diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/blockMeshDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/blockMeshDict new file mode 100644 index 000000000..65113eaff --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/blockMeshDict @@ -0,0 +1,175 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 10; + +vertices +( + // Background mesh + (-2.5 -2.5 0) + ( 2.5 -2.5 0) + ( 2.5 2.5 0) + (-2.5 2.5 0) + (-2.5 -2.5 0.5) + ( 2.5 -2.5 0.5) + ( 2.5 2.5 0.5) + (-2.5 2.5 0.5) + + // Cylinder, back + ( 0 -0.05 0) + ( 0.05 0 0) + ( 0 0.05 0) + (-0.05 0 0) + + ( 0 -0.8 0) + ( 0.8 0 0) + ( 0 0.8 0) + (-0.8 0 0) + + // Cylinder, front + ( 0 -0.05 0.5) + ( 0.05 0 0.5) + ( 0 0.05 0.5) + (-0.05 0 0.5) + + ( 0 -0.8 0.5) + ( 0.8 0 0.5) + ( 0 0.8 0.5) + (-0.8 0 0.5) + + // Refine box + (-1.5 -1.5 0) + ( 1.5 -1.5 0) + ( 1.5 1.5 0) + (-1.5 1.5 0) + (-1.5 -1.5 0.5) + ( 1.5 -1.5 0.5) + ( 1.5 1.5 0.5) + (-1.5 1.5 0.5) + +); + +blocks +( + // Background + hex (0 1 2 3 4 5 6 7) background (82 82 1) simpleGrading (1 1 1) + + // Refine box + hex (24 25 26 27 28 29 30 31) refine (70 70 1) simpleGrading (1 1 1) + + // Front + hex (8 12 13 9 16 20 21 17) front (78 30 1) simpleGrading (34.8 1 1) + hex (9 13 14 10 17 21 22 18) front (78 30 1) simpleGrading (34.8 1 1) + hex (10 14 15 11 18 22 23 19) front (78 30 1) simpleGrading (34.8 1 1) + hex (11 15 12 8 19 23 20 16) front (78 30 1) simpleGrading (34.8 1 1) + +); + +edges +( + // Inner arc, back + arc 8 9 ( 0.035355 -0.035355 0) + arc 9 10 ( 0.035355 0.035355 0) + arc 10 11 (-0.035355 0.035355 0) + arc 11 8 (-0.035355 -0.035355 0) + + // Inner arc, front + arc 16 17 ( 0.035355 -0.035355 0.5) + arc 17 18 ( 0.035355 0.035355 0.5) + arc 18 19 (-0.035355 0.035355 0.5) + arc 19 16 (-0.035355 -0.035355 0.5) + + // Outer arc, back + arc 12 13 ( 0.565685 -0.565685 0) + arc 13 14 ( 0.565685 0.565685 0) + arc 14 15 (-0.565685 0.565685 0) + arc 15 12 (-0.565685 -0.565685 0) + + // Outer arc, front + arc 20 21 ( 0.565685 -0.565685 0.5) + arc 21 22 ( 0.565685 0.565685 0.5) + arc 22 23 (-0.565685 0.565685 0.5) + arc 23 20 (-0.565685 -0.565685 0.5) +); + +patches +( + patch in + ( + (0 4 7 3) + ) + patch out + ( + (2 6 5 1) + ) + wall top + ( + (3 7 6 2) + ) + wall bottom + ( + (1 5 4 0) + ) + wall cylinder + ( + (8 16 17 9) + (9 17 18 10) + (10 18 19 11) + (11 19 16 8) + ) + + patch outerCylinder + ( + (12 13 21 20) + (13 14 22 21) + (14 15 23 22) + (15 12 20 23) + ) + + patch refine + ( + (24 28 31 27) + (26 30 29 25) + (27 31 30 26) + (25 29 28 24) + ) + + empty frontAndBack + ( + (0 3 2 1) + (4 5 6 7) + + (8 9 13 12) + (9 10 14 13) + (10 11 15 14) + (11 8 12 15) + + (16 20 21 17) + (17 21 22 18) + (18 22 23 19) + (19 23 20 16) + + (24 27 26 25) + (28 29 30 31) + ) +); + + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/boundary b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/boundary new file mode 100644 index 000000000..c11d5dfe4 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/boundary @@ -0,0 +1,76 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +9 +( + oversetFaces + { + type overset; + nFaces 0; + startFace 41544; + } + in + { + type patch; + nFaces 82; + startFace 41544; + } + out + { + type patch; + nFaces 82; + startFace 41626; + } + top + { + type wall; + nFaces 82; + startFace 41708; + } + bottom + { + type wall; + nFaces 82; + startFace 41790; + } + cylinder + { + type wall; + nFaces 120; + startFace 41872; + } + outerCylinder + { + type patch; + nFaces 120; + startFace 41992; + } + refine + { + type patch; + nFaces 280; + startFace 42112; + } + frontAndBack + { + type empty; + nFaces 41968; + startFace 42392; + } +) + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/RASProperties b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/RASProperties new file mode 100644 index 000000000..fb335debd --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/RASProperties @@ -0,0 +1,25 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object RASProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +RASModel laminar; +// RASModel kEpsilon; + +turbulence on; + +printCoeffs on; + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/oversetMeshDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/oversetMeshDict new file mode 100644 index 000000000..35d72e30d --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/oversetMeshDict @@ -0,0 +1,83 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +interpolation +{ + interpolationSchemes (injection); + + default injection; +} + +holePatches ( cylinder ); + +regions +( + background + { + // Donor regions + donorRegions ( refine ); + + fringe + { + type manual; + holes "backHole"; + acceptors "backFringe"; + } + } + + refine + { + // Donor regions + donorRegions ( background front ); + + fringe + { + type composite; + + baseFringes + ( + inner + { + type manual; + holes "refineHole"; + acceptors "refineFringe"; + } + outer + { + type faceCells; + patches ( refine ); + } + ); + } + } + + front + { + donorRegions ( refine ); + + fringe + { + type faceCells; + patches ( outerCylinder ); + } + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/transportProperties b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/transportProperties new file mode 100644 index 000000000..b521d5b42 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/constant/transportProperties @@ -0,0 +1,23 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object transportProperties; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +transportModel Newtonian; + +nu nu [0 2 -1 0 0 0 0] 5.0e-05; + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/plotForce.py b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/plotForce.py new file mode 100755 index 000000000..13f6de2ab --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/plotForce.py @@ -0,0 +1,53 @@ +#!/usr/bin/python + +import pylab +import re +import pickle + +forceRegex=r"([0-9.Ee\-+]+)\s+\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9 .Ee\-+]+)\)+\s\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)+" +t = [] +fpx = []; fpy = []; fpz = [] +fvx = []; fvy = []; fvz = [] +mpx = []; mpy = []; mpz = [] +mvx = []; mvy = []; mvz = [] +pipefile=open('forces/0/forces.dat','r') +lines = pipefile.readlines() +for line in lines: + match=re.search(forceRegex,line) + if match: + t.append(float(match.group(1))) + fpx.append(float(match.group(2))) + fpy.append(float(match.group(3))) + fpz.append(float(match.group(4))) + fvx.append(float(match.group(5))) + fvy.append(float(match.group(6))) + fvz.append(float(match.group(7))) + mpx.append(float(match.group(8))) + mpy.append(float(match.group(9))) + mpz.append(float(match.group(10))) + mvx.append(float(match.group(11))) + mvy.append(float(match.group(12))) + mvz.append(float(match.group(13))) + +# Calculate total forces +fx = [x + y for x, y in zip(fpx, fvx)] +fy = [x + y for x, y in zip(fpy, fvy)] +fz = [x + y for x, y in zip(fpz, fvz)] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +with open('pressureForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fpx, fpy): + print >> f, f1, f2, f3 + +with open('viscousForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fvx, fvy): + print >> f, f1, f2, f3 + +with open('totalForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fx, fy): + print >> f, f1, f2, f3 diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/save/U b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/save/U new file mode 100644 index 000000000..e2274ee30 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/save/U @@ -0,0 +1,73 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + phi phi; + } + top + { + type slip; + } + bottom + { + type slip; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + refine + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/save/p b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/save/p new file mode 100644 index 000000000..33f73f0e3 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/save/p @@ -0,0 +1,74 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho none; + psi none; + gamma 1; + value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + refine + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/setBatch.batch b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/setBatch.batch new file mode 100644 index 000000000..b3f96118a --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/setBatch.batch @@ -0,0 +1,16 @@ +cellSet backFringe new cellToCell background +cellSet backFringe subset boxToCell (-14 -14 0) (14 14 5) +cellSet backHole new cellToCell background +cellSet backHole subset boxToCell (-13 -13 0) (13 13 5) +cellSet backFringe delete cellToCell backHole + +cellSet refineFringe new cellToCell refine +cellSet refineFringe subset sphereToCell (0 0 0) 7.8 +cellSet refineHole new cellToCell refine +cellSet refineHole subset sphereToCell (0 0 0) 7.2 +cellSet refineFringe delete cellToCell refineHole + + +cellSet empty new labelToCell 0 () + +quit diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/controlDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/controlDict new file mode 100644 index 000000000..fcf97a723 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/controlDict @@ -0,0 +1,104 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application simpleOversetFoam; + +// startFrom startTime; +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 1000; + +deltaT 1; + +// writeControl runTime; +// writeInterval 2; + +writeControl timeStep; +writeInterval 5; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 6; + +writeCompression compressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +libs +( + "libfoam.so" + "libmeshTools.so" + "libsurfMesh.so" + "libsampling.so" + "libdynamicMesh.so" + "liboversetMesh.so" +); + + + +functions +( + forces + { + type forces; + functionObjectLibs ( "libforces.so" ); + outputControl timeStep; + outputInterval 1; + patches ( cylinder ); + pName p; + UName U; + rhoName rhoInf; + log true; + rhoInf 1; + CofR (0 0 0); + } + + probes + { + type probes; + functionObjectLibs ("libsampling.so"); + enabled true; + outputControl timeStep; + outputInterval 1; + probeLocations + ( + ( 1 0 0 ) + ( 3 0 0 ) + ( 5 0 0 ) + (15 0 0 ) + ); + + fields + ( + p + ); + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/decomposeParDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/decomposeParDict new file mode 100644 index 000000000..f9a343802 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/decomposeParDict @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method simple; + +simpleCoeffs +{ + n (4 1 1); + delta 0.001; +} + +hierarchicalCoeffs +{ + n (1 1 1); + delta 0.001; + order xyz; +} + +metisCoeffs +{ + processorWeights 4(1 1 1 1); +} + +manualCoeffs +{ + dataFile "cellDecomposition"; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/fvSchemes b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/fvSchemes new file mode 100644 index 000000000..58e6a5be3 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/fvSchemes @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default steadyState; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + div(phi,U) Gauss upwind; + + div((nuEff*dev(T(grad(U))))) Gauss linear; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/fvSolution b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/fvSolution new file mode 100644 index 000000000..4d884deae --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderThreeLevelssimpleOversetFoam/system/fvSolution @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { + solver BiCGStab; + preconditioner DILU; + +// solver CG; +// preconditioner DIC; + + minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0; + } + + U + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 1; + +// solver BiCGStab; +// preconditioner DILU; + + minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0; + } +} + + +SIMPLE +{ + pRefCell 0; + pRefValue 0; +} + + +relaxationFactors +{ + fields + { + p 0.3; + } + equations + { + U 0.5; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/.gitignore b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/.setSet b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/.setSet new file mode 100644 index 000000000..27cef2c06 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/.setSet @@ -0,0 +1,16 @@ +cellSet backFringe new cellToCell background +cellSet backFringe subset sphereToCell (0 0 0) 7.8 +cellSet backHole new cellToCell background +cellSet backHole subset sphereToCell (0 0 0) 7.2 +cellSet backFringe delete cellToCell backHole +cellSet backFringe new cellToCell background +cellSet backFringe subset sphereToCell (0 0 0) 7.6 +cellSet backHole new cellToCell background +cellSet backHole subset sphereToCell (0 0 0) 7.0 +cellSet backFringe delete cellToCell backHole +quit +cellSet backFringe new cellToCell background +cellSet backFringe subset sphereToCell (0 0 0) 7.4 +cellSet backHole new cellToCell background +cellSet backHole subset sphereToCell (0 0 0) 6.8 +cellSet backFringe delete cellToCell backHole diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/0/U b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/0/U new file mode 100644 index 000000000..d0aa0eb16 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/0/U @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + phi phi; + } + top + { + type slip; + } + bottom + { + type slip; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/0/p b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/0/p new file mode 100644 index 000000000..6156d35dd --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/0/p @@ -0,0 +1,73 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho none; + psi none; + gamma 1; + value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/Allclean b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/Allclean new file mode 100755 index 000000000..754a9ac18 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/Allclean @@ -0,0 +1,13 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +rm -rf constant/polyMesh/ +mkdir constant/polyMesh + +\rm -rf 0 +\cp -r save 0 +\rm -f *.dat +\rm -f *vtk diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/Allrun b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/Allrun new file mode 100755 index 000000000..a2b832179 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/Allrun @@ -0,0 +1,16 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="icoOversetFoam" + +\cp -f blockMeshDict constant/polyMesh/blockMeshDict +runApplication blockMesh +\cp -f boundary constant/polyMesh/boundary +runApplication setSet -batch setBatch.batch +\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz +runApplication setsToZones -batch + +runApplication potentialOversetFoam -writep +runApplication $application diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/blockMeshDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/blockMeshDict new file mode 100644 index 000000000..fd6cfc323 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/blockMeshDict @@ -0,0 +1,150 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 10; + +vertices +( + // Background mesh + (-2.5 -2.5 0) + ( 2.5 -2.5 0) + ( 2.5 2.5 0) + (-2.5 2.5 0) + (-2.5 -2.5 0.5) + ( 2.5 -2.5 0.5) + ( 2.5 2.5 0.5) + (-2.5 2.5 0.5) + + // Cylinder, back + ( 0 -0.05 0) + ( 0.05 0 0) + ( 0 0.05 0) + (-0.05 0 0) + + ( 0 -0.8 0) + ( 0.8 0 0) + ( 0 0.8 0) + (-0.8 0 0) + + // Cylinder, front + ( 0 -0.05 0.5) + ( 0.05 0 0.5) + ( 0 0.05 0.5) + (-0.05 0 0.5) + + ( 0 -0.8 0.5) + ( 0.8 0 0.5) + ( 0 0.8 0.5) + (-0.8 0 0.5) +); + +blocks +( + // Background + hex (0 1 2 3 4 5 6 7) background (82 82 1) simpleGrading (1 1 1) + + // Front + hex (8 12 13 9 16 20 21 17) front (78 30 1) simpleGrading (34.8 1 1) + hex (9 13 14 10 17 21 22 18) front (78 30 1) simpleGrading (34.8 1 1) + hex (10 14 15 11 18 22 23 19) front (78 30 1) simpleGrading (34.8 1 1) + hex (11 15 12 8 19 23 20 16) front (78 30 1) simpleGrading (34.8 1 1) + +); + +edges +( + // Inner arc, back + arc 8 9 ( 0.035355 -0.035355 0) + arc 9 10 ( 0.035355 0.035355 0) + arc 10 11 (-0.035355 0.035355 0) + arc 11 8 (-0.035355 -0.035355 0) + + // Inner arc, front + arc 16 17 ( 0.035355 -0.035355 0.5) + arc 17 18 ( 0.035355 0.035355 0.5) + arc 18 19 (-0.035355 0.035355 0.5) + arc 19 16 (-0.035355 -0.035355 0.5) + + // Outer arc, back + arc 12 13 ( 0.565685 -0.565685 0) + arc 13 14 ( 0.565685 0.565685 0) + arc 14 15 (-0.565685 0.565685 0) + arc 15 12 (-0.565685 -0.565685 0) + + // Outer arc, front + arc 20 21 ( 0.565685 -0.565685 0.5) + arc 21 22 ( 0.565685 0.565685 0.5) + arc 22 23 (-0.565685 0.565685 0.5) + arc 23 20 (-0.565685 -0.565685 0.5) +); + +patches +( + patch in + ( + (0 4 7 3) + ) + patch out + ( + (2 6 5 1) + ) + wall top + ( + (3 7 6 2) + ) + wall bottom + ( + (1 5 4 0) + ) + wall cylinder + ( + (8 16 17 9) + (9 17 18 10) + (10 18 19 11) + (11 19 16 8) + ) + + patch outerCylinder + ( + (12 13 21 20) + (13 14 22 21) + (14 15 23 22) + (15 12 20 23) + ) + + empty frontAndBack + ( + (0 3 2 1) + (4 5 6 7) + + (8 9 13 12) + (9 10 14 13) + (10 11 15 14) + (11 8 12 15) + + (16 20 21 17) + (17 21 22 18) + (18 22 23 19) + (19 23 20 16) + ) +); + + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/boundary b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/boundary new file mode 100644 index 000000000..e8b6e6a73 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/boundary @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +8 +( + oversetFaces + { + type overset; + nFaces 0; + startFace 31884; + } + in + { + type patch; + nFaces 82; + startFace 31884; + } + out + { + type patch; + nFaces 82; + startFace 31966; + } + top + { + type wall; + nFaces 82; + startFace 32048; + } + bottom + { + type wall; + nFaces 82; + startFace 32130; + } + cylinder + { + type wall; + nFaces 120; + startFace 32212; + } + outerCylinder + { + type patch; + nFaces 120; + startFace 32332; + } + frontAndBack + { + type empty; + nFaces 32168; + startFace 32452; + } +) + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/constant/oversetMeshDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/constant/oversetMeshDict new file mode 100644 index 000000000..8c6645928 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/constant/oversetMeshDict @@ -0,0 +1,56 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +interpolation +{ + interpolationSchemes (injection); + + default injection; +} + +holePatches ( cylinder ); + +regions +( + background + { + donorRegions ( front ); + + fringe + { + type manual; + holes "backHole"; + acceptors "backFringe"; + } + } + + front + { + donorRegions ( background ); + + fringe + { + type faceCells; + patches ( outerCylinder ); + } + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/constant/transportProperties b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/constant/transportProperties new file mode 100644 index 000000000..f8199f6bc --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/constant/transportProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object transportProperties; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +nu nu [0 2 -1 0 0 0 0] 5.0e-05; + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/overset2.foam b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/overset2.foam new file mode 100644 index 000000000..e69de29bb diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/plotForce.py b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/plotForce.py new file mode 100755 index 000000000..13f6de2ab --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/plotForce.py @@ -0,0 +1,53 @@ +#!/usr/bin/python + +import pylab +import re +import pickle + +forceRegex=r"([0-9.Ee\-+]+)\s+\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9 .Ee\-+]+)\)+\s\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)+" +t = [] +fpx = []; fpy = []; fpz = [] +fvx = []; fvy = []; fvz = [] +mpx = []; mpy = []; mpz = [] +mvx = []; mvy = []; mvz = [] +pipefile=open('forces/0/forces.dat','r') +lines = pipefile.readlines() +for line in lines: + match=re.search(forceRegex,line) + if match: + t.append(float(match.group(1))) + fpx.append(float(match.group(2))) + fpy.append(float(match.group(3))) + fpz.append(float(match.group(4))) + fvx.append(float(match.group(5))) + fvy.append(float(match.group(6))) + fvz.append(float(match.group(7))) + mpx.append(float(match.group(8))) + mpy.append(float(match.group(9))) + mpz.append(float(match.group(10))) + mvx.append(float(match.group(11))) + mvy.append(float(match.group(12))) + mvz.append(float(match.group(13))) + +# Calculate total forces +fx = [x + y for x, y in zip(fpx, fvx)] +fy = [x + y for x, y in zip(fpy, fvy)] +fz = [x + y for x, y in zip(fpz, fvz)] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +with open('pressureForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fpx, fpy): + print >> f, f1, f2, f3 + +with open('viscousForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fvx, fvy): + print >> f, f1, f2, f3 + +with open('totalForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fx, fy): + print >> f, f1, f2, f3 diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/save/U b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/save/U new file mode 100644 index 000000000..d0aa0eb16 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/save/U @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + phi phi; + } + top + { + type slip; + } + bottom + { + type slip; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/save/p b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/save/p new file mode 100644 index 000000000..6156d35dd --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/save/p @@ -0,0 +1,73 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho none; + psi none; + gamma 1; + value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/setBatch.batch b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/setBatch.batch new file mode 100644 index 000000000..4781c0a0e --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/setBatch.batch @@ -0,0 +1,10 @@ +cellSet backFringe new cellToCell background +cellSet backFringe subset sphereToCell (0 0 0) 7.4 +cellSet backHole new cellToCell background +cellSet backHole subset sphereToCell (0 0 0) 6.8 +cellSet backFringe delete cellToCell backHole + + +cellSet empty new labelToCell 0 () + +quit diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/controlDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/controlDict new file mode 100644 index 000000000..95d22ee95 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/controlDict @@ -0,0 +1,102 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application icoOversetFoam; + +// startFrom startTime; +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 100; + +deltaT 0.02; + +writeControl runTime; + +writeInterval 2; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 6; + +writeCompression compressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +libs +( + "libfoam.so" + "libmeshTools.so" + "libsurfMesh.so" + "libsampling.so" + "libdynamicMesh.so" + "liboversetMesh.so" +); + + + +functions +( + forces + { + type forces; + functionObjectLibs ( "libforces.so" ); + outputControl timeStep; + outputInterval 1; + patches ( cylinder ); + pName p; + UName U; + rhoName rhoInf; + log true; + rhoInf 1; + CofR (0 0 0); + } + + probes + { + type probes; + functionObjectLibs ("libsampling.so"); + enabled true; + outputControl timeStep; + outputInterval 1; + probeLocations + ( + ( 1 0 0 ) + ( 3 0 0 ) + ( 5 0 0 ) + (15 0 0 ) + ); + + fields + ( + p + ); + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/decomposeParDict b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/decomposeParDict new file mode 100644 index 000000000..f9a343802 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/decomposeParDict @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method simple; + +simpleCoeffs +{ + n (4 1 1); + delta 0.001; +} + +hierarchicalCoeffs +{ + n (1 1 1); + delta 0.001; + order xyz; +} + +metisCoeffs +{ + processorWeights 4(1 1 1 1); +} + +manualCoeffs +{ + dataFile "cellDecomposition"; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/fvSchemes b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/fvSchemes new file mode 100644 index 000000000..25b152fa7 --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/fvSchemes @@ -0,0 +1,48 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default Euler; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + div(phi,U) Gauss upwind; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/fvSolution b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/fvSolution new file mode 100644 index 000000000..14e3a803b --- /dev/null +++ b/tutorials/overset/flowTests/navyCylinderSheddingTest/oversetCylinderTwoLevels/system/fvSolution @@ -0,0 +1,66 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { + solver BiCGStab; + preconditioner DILU; + +// solver CG; +// preconditioner DIC; + +// minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0; + } + + U + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 1; + +// solver BiCGStab; +// preconditioner DILU; + +// minIter 1; + maxIter 1000; + tolerance 1e-7; + relTol 0; + } +} + + +SIMPLE +{ + pRefCell 0; + pRefValue 0; +} + + +PISO +{ + pRefCell 0; + pRefValue 0; + + nCorrectors 4; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/Allclean b/tutorials/overset/flowTests/staticCylinderSheddingTest/Allclean new file mode 100755 index 000000000..1404891eb --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/Allclean @@ -0,0 +1,4 @@ +#!/bin/sh + +( cd bodyFittedCylinder ; ./Allclean ) +( cd oversetCylinder ; ./Allclean ) diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/Allrun b/tutorials/overset/flowTests/staticCylinderSheddingTest/Allrun new file mode 100755 index 000000000..3374eaf01 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/Allrun @@ -0,0 +1,4 @@ +#!/bin/sh + +( cd bodyFittedCylinder ; ./Allrun ) +( cd oversetCylinder ; ./Allrun ) diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/.gitignore b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/0/U b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/0/U new file mode 100644 index 000000000..868a77e9a --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/0/U @@ -0,0 +1,56 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + inlet + { + type fixedValue; + value uniform (1 0 0); + } + outlet + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + phi phi; + } + bottom + { + type slip; + } + top + { + type slip; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + defaultFaces + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/0/p b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/0/p new file mode 100644 index 000000000..74aff2042 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/0/p @@ -0,0 +1,59 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + inlet + { + type zeroGradient; + } + outlet + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho none; + psi none; + gamma 1; + value uniform 0; + } + bottom + { + type zeroGradient; + } + top + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + defaultFaces + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/Allclean b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/Allclean new file mode 100755 index 000000000..406a56cdc --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/Allclean @@ -0,0 +1,9 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +\rm -rf 0 +\cp -r save 0 +\rm -f *.dat diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/Allrun b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/Allrun new file mode 100755 index 000000000..18e2002cc --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/Allrun @@ -0,0 +1,10 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="icoFoam" + +runApplication blockMesh +runApplication potentialFoam -writep +runApplication $application diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/bodyFittedCylinder.foam b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/bodyFittedCylinder.foam new file mode 100644 index 000000000..e69de29bb diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/constant/polyMesh/blockMeshDict b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/constant/polyMesh/blockMeshDict new file mode 100644 index 000000000..478189edb --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/constant/polyMesh/blockMeshDict @@ -0,0 +1,169 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +convertToMeters 1.0e-02; + +vertices +( + (-4 -4 -0.1) + (-1.4142 -4 -0.1) + (1.4142 -4 -0.1) + (8 -4 -0.1) + (16 -4 -0.1) + (-4 -1.4142 -0.1) + (-1.4142 -1.4142 -0.1) + (1.4142 -1.4142 -0.1) + (8 -1.4142 -0.1) + (16 -1.4142 -0.1) + (-4 1.4142 -0.1) + (-1.4142 1.4142 -0.1) + (1.4142 1.4142 -0.1) + (8 1.4142 -0.1) + (16 1.4142 -0.1) + (-4 4 -0.1) + (-1.4142 4 -0.1) + (1.4142 4 -0.1) + (8 4 -0.1) + (16 4 -0.1) + (-0.707 -0.707 -0.1) + (0.707 -0.707 -0.1) + (-0.707 0.707 -0.1) + (0.707 0.707 -0.1) + (-4 -4 0.1) + (-1.4142 -4 0.1) + (1.4142 -4 0.1) + (8 -4 0.1) + (16 -4 0.1) + (-4 -1.4142 0.1) + (-1.4142 -1.4142 0.1) + (1.4142 -1.4142 0.1) + (8 -1.4142 0.1) + (16 -1.4142 0.1) + (-4 1.4142 0.1) + (-1.4142 1.4142 0.1) + (1.4142 1.4142 0.1) + (8 1.4142 0.1) + (16 1.4142 0.1) + (-4 4 0.1) + (-1.4142 4 0.1) + (1.4142 4 0.1) + (8 4 0.1) + (16 4 0.1) + (-0.707 -0.707 0.1) + (0.707 -0.707 0.1) + (-0.707 0.707 0.1) + (0.707 0.707 0.1) +); + + +edges +( +// inside edges + arc 20 21 (0 -1 -0.1) + arc 21 23 (1 0 -0.1) + arc 23 22 (0 1 -0.1) + arc 22 20 (-1 0 -0.1) + arc 44 45 (0 -1 0.1) + arc 45 47 (1 0 0.1) + arc 47 46 (0 1 0.1) + arc 46 44 (-1 0 0.1) + +// outside edges + arc 6 7 (0 -2 -0.1) + arc 7 12 (2 0 -0.1) + arc 12 11 (0 2 -0.1) + arc 11 6 (-2 0 -0.1) + arc 30 31 (0 -2 0.1) + arc 31 36 (2 0 0.1) + arc 36 35 (0 2 0.1) + arc 35 30 (-2 0 0.1) +); + + +blocks +( + hex (0 1 6 5 24 25 30 29) (20 20 1) simpleGrading (1.0 1.0 1.0) + hex (1 2 7 6 25 26 31 30) (20 20 1) simpleGrading (1.0 1.0 1.0) + hex (2 3 8 7 26 27 32 31) (40 20 1) simpleGrading (1.0 1.0 1.0) + hex (3 4 9 8 27 28 33 32) (60 20 1) simpleGrading (1.0 1.0 1.0) + hex (5 6 11 10 29 30 35 34) (20 20 1) simpleGrading (1.0 1.0 1.0) + hex (7 8 13 12 31 32 37 36) (40 20 1) simpleGrading (1.0 1.0 1.0) + hex (8 9 14 13 32 33 38 37) (60 20 1) simpleGrading (1.0 1.0 1.0) + hex (10 11 16 15 34 35 40 39) (20 20 1) simpleGrading (1.0 1.0 1.0) + hex (11 12 17 16 35 36 41 40) (20 20 1) simpleGrading (1.0 1.0 1.0) + hex (12 13 18 17 36 37 42 41) (40 20 1) simpleGrading (1.0 1.0 1.0) + hex (13 14 19 18 37 38 43 42) (60 20 1) simpleGrading (1.0 1.0 1.0) + hex (6 7 21 20 30 31 45 44) (20 15 1) simpleGrading (1.0 1.0 1.0) + hex (7 12 23 21 31 36 47 45) (20 15 1) simpleGrading (1.0 1.0 1.0) + hex (12 11 22 23 36 35 46 47) (20 15 1) simpleGrading (1.0 1.0 1.0) + hex (11 6 20 22 35 30 44 46) (20 15 1) simpleGrading (1.0 1.0 1.0) +); + +patches +( + patch + inlet + ( + 4(0 24 29 5) + 4(5 29 34 10) + 4(10 34 39 15) + ) + + patch + outlet + ( + 4(4 9 33 28) + 4(9 14 38 33) + 4(14 19 43 38) + ) + + patch + bottom + ( + 4(0 1 25 24) + 4(1 2 26 25) + 4(2 3 27 26) + 4(3 4 28 27) + ) + + patch + top + ( + 4(15 39 40 16) + 4(16 40 41 17) + 4(17 41 42 18) + 4(18 42 43 19) + ) + + wall + cylinder + ( + 4(20 44 45 21) + 4(21 45 47 23) + 4(23 47 46 22) + 4(22 46 44 20) + ) +); + +mergePatchPairs +( +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/constant/transportProperties b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/constant/transportProperties new file mode 100644 index 000000000..f8199f6bc --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/constant/transportProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object transportProperties; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +nu nu [0 2 -1 0 0 0 0] 5.0e-05; + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/plotForce.py b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/plotForce.py new file mode 100755 index 000000000..13f6de2ab --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/plotForce.py @@ -0,0 +1,53 @@ +#!/usr/bin/python + +import pylab +import re +import pickle + +forceRegex=r"([0-9.Ee\-+]+)\s+\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9 .Ee\-+]+)\)+\s\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)+" +t = [] +fpx = []; fpy = []; fpz = [] +fvx = []; fvy = []; fvz = [] +mpx = []; mpy = []; mpz = [] +mvx = []; mvy = []; mvz = [] +pipefile=open('forces/0/forces.dat','r') +lines = pipefile.readlines() +for line in lines: + match=re.search(forceRegex,line) + if match: + t.append(float(match.group(1))) + fpx.append(float(match.group(2))) + fpy.append(float(match.group(3))) + fpz.append(float(match.group(4))) + fvx.append(float(match.group(5))) + fvy.append(float(match.group(6))) + fvz.append(float(match.group(7))) + mpx.append(float(match.group(8))) + mpy.append(float(match.group(9))) + mpz.append(float(match.group(10))) + mvx.append(float(match.group(11))) + mvy.append(float(match.group(12))) + mvz.append(float(match.group(13))) + +# Calculate total forces +fx = [x + y for x, y in zip(fpx, fvx)] +fy = [x + y for x, y in zip(fpy, fvy)] +fz = [x + y for x, y in zip(fpz, fvz)] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +with open('pressureForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fpx, fpy): + print >> f, f1, f2, f3 + +with open('viscousForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fvx, fvy): + print >> f, f1, f2, f3 + +with open('totalForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fx, fy): + print >> f, f1, f2, f3 diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/save/U b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/save/U new file mode 100644 index 000000000..868a77e9a --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/save/U @@ -0,0 +1,56 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + inlet + { + type fixedValue; + value uniform (1 0 0); + } + outlet + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + phi phi; + } + bottom + { + type slip; + } + top + { + type slip; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + defaultFaces + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/save/p b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/save/p new file mode 100644 index 000000000..74aff2042 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/save/p @@ -0,0 +1,59 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + inlet + { + type zeroGradient; + } + outlet + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho none; + psi none; + gamma 1; + value uniform 0; + } + bottom + { + type zeroGradient; + } + top + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + defaultFaces + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/controlDict b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/controlDict new file mode 100644 index 000000000..2791c6d6e --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/controlDict @@ -0,0 +1,88 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application icoFoam; + +// startFrom startTime; +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 3; + +deltaT 5.0e-04; + +writeControl runTime; + +writeInterval 0.1; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 6; + +writeCompression compressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +functions +( + forces + { + type forces; + functionObjectLibs ( "libforces.so" ); + outputControl timeStep; + outputInterval 1; + patches ( cylinder ); + pName p; + UName U; + rhoName rhoInf; + log true; + rhoInf 1; + CofR (0 0 0); + } + + probes + { + type probes; + functionObjectLibs ("libsampling.so"); + enabled true; + outputControl timeStep; + outputInterval 1; + probeLocations + ( + ( 0.012 0 0 ) + ( 0.05 0 0 ) + ); + + fields + ( + p + ); + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/fvSchemes b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/fvSchemes new file mode 100644 index 000000000..45d0bfcd0 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/fvSchemes @@ -0,0 +1,49 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default Euler; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + div(phi,U) Gauss upwind; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/fvSolution b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/fvSolution new file mode 100644 index 000000000..6c737461c --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/fvSolution @@ -0,0 +1,60 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { +// solver BiCGStab; +// preconditioner DILU; + + solver CG; + preconditioner DIC; + + maxIter 1000; + tolerance 1e-7; + relTol 0; + } + + U + { + solver BiCGStab; + preconditioner DILU; + + tolerance 1e-06; + relTol 0; + maxIter 200; + } +} + +PISO +{ + nCorrectors 4; + nNonOrthogonalCorrectors 0; + pRefCell 0; + pRefValue 0; +} + + +// Potential flow solution +SIMPLE +{ + nNonOrthogonalCorrectors 1; + pRefCell 0; + pRefValue 0; +} + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/tetFemSolution b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/tetFemSolution new file mode 100644 index 000000000..24b35a75f --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/bodyFittedCylinder/system/tetFemSolution @@ -0,0 +1,42 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object tetFemSolution; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + motionU + { + solver amgSolver; + cycle W-cycle; + policy AAMG; + nPreSweeps 2; + nPostSweeps 2; + groupSize 4; + minCoarseEqns 30; + nMaxLevels 100; + scale on; + smoother ILU; + + minIter 0; + maxIter 500; + tolerance 1e-8; + relTol 0.001; + }; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/.gitignore b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/0/U b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/0/U new file mode 100644 index 000000000..d0aa0eb16 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/0/U @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + phi phi; + } + top + { + type slip; + } + bottom + { + type slip; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/0/p b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/0/p new file mode 100644 index 000000000..187e9a6fc --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/0/p @@ -0,0 +1,73 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho none; + psi none; + gamma 1; + value uniform 0; + } + bottom + { + type zeroGradient; + } + top + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/Allclean b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/Allclean new file mode 100755 index 000000000..49393b78c --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/Allclean @@ -0,0 +1,11 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +rm -rf constant/polyMesh/ + +\rm -rf 0 +\cp -r save 0 +\rm -f *.dat holeTri* diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/Allrun b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/Allrun new file mode 100755 index 000000000..c0d1b4e69 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/Allrun @@ -0,0 +1,16 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="icoOversetFoam" + +mkdir constant/polyMesh +\cp -f blockMeshDict constant/polyMesh/blockMeshDict +runApplication blockMesh +\cp -f boundary constant/polyMesh/boundary +runApplication setSet -batch setBatch.batch +\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz + +runApplication potentialOversetFoam -writep +runApplication $application diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/blockMeshDict b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/blockMeshDict new file mode 100644 index 000000000..a7c7012cd --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/blockMeshDict @@ -0,0 +1,148 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 1.0e-02; + +vertices +( + // Background mesh + (-4 -4 -0.1) + (16 -4 -0.1) + (16 4 -0.1) + (-4 4 -0.1) + (-4 -4 0.1) + (16 -4 0.1) + (16 4 0.1) + (-4 4 0.1) + + // Cylinder, back + ( 0 -1 -0.1) + ( 1 0 -0.1) + ( 0 1 -0.1) + (-1 0 -0.1) + + ( 0 -2 -0.1) + ( 2 0 -0.1) + ( 0 2 -0.1) + (-2 0 -0.1) + + // Cylinder, front + ( 0 -1 0.1) + ( 1 0 0.1) + ( 0 1 0.1) + (-1 0 0.1) + + ( 0 -2 0.1) + ( 2 0 0.1) + ( 0 2 0.1) + (-2 0 0.1) +); + +blocks +( + // Background + hex (0 1 2 3 4 5 6 7) background (140 60 1) simpleGrading (1 1 1) + + // Front + hex (8 12 13 9 16 20 21 17) front (15 20 1) simpleGrading (1 1 1) + hex (9 13 14 10 17 21 22 18) front (15 20 1) simpleGrading (1 1 1) + hex (10 14 15 11 18 22 23 19) front (15 20 1) simpleGrading (1 1 1) + hex (11 15 12 8 19 23 20 16) front (15 20 1) simpleGrading (1 1 1) +); + +edges +( + // Inner arc, back + arc 8 9 ( 0.707067 -0.707067 -0.1) + arc 9 10 ( 0.707067 0.707067 -0.1) + arc 10 11 (-0.707067 0.707067 -0.1) + arc 11 8 (-0.707067 -0.707067 -0.1) + + // Inner arc, front + arc 16 17 ( 0.707067 -0.707067 0.1) + arc 17 18 ( 0.707067 0.707067 0.1) + arc 18 19 (-0.707067 0.707067 0.1) + arc 19 16 (-0.707067 -0.707067 0.1) + + // Outer arc, back + arc 12 13 ( 1.414213 -1.414213 -0.1) + arc 13 14 ( 1.414213 1.414213 -0.1) + arc 14 15 (-1.414213 1.414213 -0.1) + arc 15 12 (-1.414213 -1.414213 -0.1) + + // Outer arc, front + arc 20 21 ( 1.414213 -1.414213 0.1) + arc 21 22 ( 1.414213 1.414213 0.1) + arc 22 23 (-1.414213 1.414213 0.1) + arc 23 20 (-1.414213 -1.414213 0.1) +); + +patches +( + patch in + ( + (0 4 7 3) + ) + patch out + ( + (2 6 5 1) + ) + wall top + ( + (3 7 6 2) + ) + wall bottom + ( + (1 5 4 0) + ) + wall cylinder + ( + (8 16 17 9) + (9 17 18 10) + (10 18 19 11) + (11 19 16 8) + ) + + patch outerCylinder + ( + (12 13 21 20) + (13 14 22 21) + (14 15 23 22) + (15 12 20 23) + ) + + empty frontAndBack + ( + (0 3 2 1) + (4 5 6 7) + + (8 9 13 12) + (9 10 14 13) + (10 11 15 14) + (11 8 12 15) + + (16 20 21 17) + (17 21 22 18) + (18 22 23 19) + (19 23 20 16) + ) +); + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/boundary b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/boundary new file mode 100644 index 000000000..3136127b6 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/boundary @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +8 +( + oversetFaces + { + type overset; + nFaces 0; + startFace 18920; + } + in + { + type patch; + nFaces 60; + startFace 18920; + } + out + { + type patch; + nFaces 60; + startFace 18980; + } + top + { + type wall; + nFaces 140; + startFace 19040; + } + bottom + { + type wall; + nFaces 140; + startFace 19180; + } + cylinder + { + type wall; + nFaces 80; + startFace 19320; + } + outerCylinder + { + type patch; + nFaces 80; + startFace 19400; + } + frontAndBack + { + type empty; + nFaces 19200; + startFace 19480; + } +) + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/constant/oversetMeshDict b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/constant/oversetMeshDict new file mode 100644 index 000000000..72508833d --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/constant/oversetMeshDict @@ -0,0 +1,61 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolation +{ + interpolationSchemes (injection); + + default injection; +} + +// Names or patches that determine hole cells +holePatches ( cylinder ); + +regions +( + background + { + // Donor regions + donorRegions ( front ); + + fringe + { + type manual; + holes "backHole"; + acceptors "backFringe"; + } +// fringe +// { +// type overlap; +// } + } + + front + { + donorRegions ( background ); + + fringe + { + type faceCells; + patches ( outerCylinder ); + } + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/constant/transportProperties b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/constant/transportProperties new file mode 100644 index 000000000..f8199f6bc --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/constant/transportProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object transportProperties; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +nu nu [0 2 -1 0 0 0 0] 5.0e-05; + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/plotForce.py b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/plotForce.py new file mode 100755 index 000000000..13f6de2ab --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/plotForce.py @@ -0,0 +1,53 @@ +#!/usr/bin/python + +import pylab +import re +import pickle + +forceRegex=r"([0-9.Ee\-+]+)\s+\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9 .Ee\-+]+)\)+\s\(+([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)\s\(([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\s([0-9.Ee\-+]+)\)+" +t = [] +fpx = []; fpy = []; fpz = [] +fvx = []; fvy = []; fvz = [] +mpx = []; mpy = []; mpz = [] +mvx = []; mvy = []; mvz = [] +pipefile=open('forces/0/forces.dat','r') +lines = pipefile.readlines() +for line in lines: + match=re.search(forceRegex,line) + if match: + t.append(float(match.group(1))) + fpx.append(float(match.group(2))) + fpy.append(float(match.group(3))) + fpz.append(float(match.group(4))) + fvx.append(float(match.group(5))) + fvy.append(float(match.group(6))) + fvz.append(float(match.group(7))) + mpx.append(float(match.group(8))) + mpy.append(float(match.group(9))) + mpz.append(float(match.group(10))) + mvx.append(float(match.group(11))) + mvy.append(float(match.group(12))) + mvz.append(float(match.group(13))) + +# Calculate total forces +fx = [x + y for x, y in zip(fpx, fvx)] +fy = [x + y for x, y in zip(fpy, fvy)] +fz = [x + y for x, y in zip(fpz, fvz)] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +for i in range(len(t)): + fx[i] = fpx[i] + fvx[i] + +with open('pressureForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fpx, fpy): + print >> f, f1, f2, f3 + +with open('viscousForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fvx, fvy): + print >> f, f1, f2, f3 + +with open('totalForces.dat', 'w') as f: + for f1, f2, f3 in zip(t, fx, fy): + print >> f, f1, f2, f3 diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/save/U b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/save/U new file mode 100644 index 000000000..d0aa0eb16 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/save/U @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + phi phi; + } + top + { + type slip; + } + bottom + { + type slip; + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/save/p b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/save/p new file mode 100644 index 000000000..187e9a6fc --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/save/p @@ -0,0 +1,73 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho none; + psi none; + gamma 1; + value uniform 0; + } + bottom + { + type zeroGradient; + } + top + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/setBatch.batch b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/setBatch.batch new file mode 100644 index 000000000..d5c305454 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/setBatch.batch @@ -0,0 +1,8 @@ +cellSet backFringe new cellToCell background +cellSet backFringe subset sphereToCell (0 0 0) 0.018 +cellSet backHole new cellToCell background +cellSet backHole subset sphereToCell (0 0 0) 0.016 +cellSet backFringe delete cellToCell backHole +cellSet empty new labelToCell 0 () + +quit diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/controlDict b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/controlDict new file mode 100644 index 000000000..b04aa170e --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/controlDict @@ -0,0 +1,100 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application icoOversetFoam; + +// startFrom startTime; +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 3; + +deltaT 5.0e-04; + +writeControl runTime; + +writeInterval 0.1; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 6; + +writeCompression compressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +libs +( + "libfoam.so" + "libmeshTools.so" + "libsurfMesh.so" + "libsampling.so" + "libdynamicMesh.so" + "liboversetMesh.so" +); + + + +functions +( + forces + { + type forces; + functionObjectLibs ( "libforces.so" ); + outputControl timeStep; + outputInterval 1; + patches ( cylinder ); + pName p; + UName U; + rhoName rhoInf; + log true; + rhoInf 1; + CofR (0 0 0); + } + + probes + { + type probes; + functionObjectLibs ("libsampling.so"); + enabled true; + outputControl timeStep; + outputInterval 1; + probeLocations + ( + ( 0.012 0 0 ) + ( 0.05 0 0 ) + ); + + fields + ( + p + ); + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/decomposeParDict b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/decomposeParDict new file mode 100644 index 000000000..f9a343802 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/decomposeParDict @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method simple; + +simpleCoeffs +{ + n (4 1 1); + delta 0.001; +} + +hierarchicalCoeffs +{ + n (1 1 1); + delta 0.001; + order xyz; +} + +metisCoeffs +{ + processorWeights 4(1 1 1 1); +} + +manualCoeffs +{ + dataFile "cellDecomposition"; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/fvSchemes b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/fvSchemes new file mode 100644 index 000000000..45d0bfcd0 --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/fvSchemes @@ -0,0 +1,49 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default Euler; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + div(phi,U) Gauss upwind; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/fvSolution b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/fvSolution new file mode 100644 index 000000000..22b1553be --- /dev/null +++ b/tutorials/overset/flowTests/staticCylinderSheddingTest/oversetCylinder/system/fvSolution @@ -0,0 +1,60 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { + solver BiCGStab; + preconditioner DILU; + +// solver CG; +// preconditioner DIC; + + maxIter 1000; + tolerance 1e-7; + relTol 0; + } + + U + { + solver BiCGStab; + preconditioner DILU; + + tolerance 1e-06; + relTol 0; + maxIter 200; + } +} + +PISO +{ + nCorrectors 4; + nNonOrthogonalCorrectors 0; + pRefCell 0; + pRefValue 0; +} + + +// Potential flow solution +SIMPLE +{ + nNonOrthogonalCorrectors 1; + pRefCell 0; + pRefValue 0; +} + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/Allclean b/tutorials/overset/freeSurfaceTests/Allclean new file mode 100755 index 000000000..db0f461dd --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/Allclean @@ -0,0 +1,3 @@ +#!/bin/sh + +( cd cylBumpinterOversetFoam ; ./Allclean ) diff --git a/tutorials/overset/freeSurfaceTests/Allrun b/tutorials/overset/freeSurfaceTests/Allrun new file mode 100755 index 000000000..d19a6971a --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/Allrun @@ -0,0 +1,3 @@ +#!/bin/sh + +( cd cylBumpinterOversetFoam ; ./Allrun ) diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/.gitignore b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/U b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/U new file mode 100644 index 000000000..f354fc668 --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/U @@ -0,0 +1,74 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (0 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + left + { + type fixedValue; + value uniform (0 0 0); + } + right + { + type fixedValue; + value uniform (0 0 0); + } + top + { + type pressureInletOutletVelocity; + value uniform (0 0 0); + } + bottom + { + type fixedValue; + value uniform (0 0 0); + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + cylBottom + { + type fixedValue; + value uniform (0 0 0); + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/alpha1.org b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/alpha1.org new file mode 100644 index 000000000..940065abc --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/alpha1.org @@ -0,0 +1,71 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object alpha1; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 0 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + left + { + type zeroGradient; + } + right + { + type zeroGradient; + } + top + { + type inletOutlet; + inletValue uniform 0; + value uniform 0; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + cylBottom + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/pd b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/pd new file mode 100644 index 000000000..d40517eec --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/0/pd @@ -0,0 +1,76 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object pd; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + left + { + type zeroGradient; + } + right + { + type zeroGradient; + } + top + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho rho; + psi none; + gamma 1; + value uniform 0; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + cylBottom + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/Allclean b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/Allclean new file mode 100755 index 000000000..448e279eb --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/Allclean @@ -0,0 +1,11 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +\rm -rf .setSet 0/cellDist 0/cellDist.gz constant/cellDecomposition +\rm -rf *.vtk +\rm -rf constant/polyMesh/ +\rm -rf 0 holeTri* +cp -r save 0 diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/Allrun b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/Allrun new file mode 100755 index 000000000..534b5650a --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/Allrun @@ -0,0 +1,25 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="interOversetFoam" + +\rm -rf 0 +cp -r save 0 +mkdir constant/polyMesh +\cp -f blockMeshDict constant/polyMesh/blockMeshDict +runApplication blockMesh +\cp -f boundary constant/polyMesh/boundary +runApplication setSet -batch setBatch.batch +\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz + +\mv 0/alpha1.org 0/alpha1 +runApplication setFields + +#runApplication $application + +runApplication decomposePar -cellDist +runApplication decomposeSets -writeEmptySets +runParallel $application 4 + diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/blockMeshDict b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/blockMeshDict new file mode 100644 index 000000000..4282234d1 --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/blockMeshDict @@ -0,0 +1,130 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 1; + +vertices +( + // Background mesh + (-1 0 0) + ( 1 0 0) + ( 1 2 0) + (-1 2 0) + (-1 0 0.1) + ( 1 0 0.1) + ( 1 2 0.1) + (-1 2 0.1) + + (-0.5 0 0) + (-0.25 0 0) + ( 0.25 0 0) + ( 0.5 0 0) + ( 0 0.25 0) + ( 0 0.5 0) + + (-0.5 0 0.1) + (-0.25 0 0.1) + ( 0.25 0 0.1) + ( 0.5 0 0.1) + ( 0 0.25 0.1) + ( 0 0.5 0.1) +); + +blocks +( + // Background + hex (0 1 2 3 4 5 6 7) background (80 80 1) simpleGrading (1 1 1) + + // Front + hex (8 9 12 13 14 15 18 19) front (20 40 1) simpleGrading (0.25 1 1) + hex (13 12 10 11 19 18 16 17) front (20 40 1) simpleGrading (0.25 1 1) + +// hex (8 9 12 13 14 15 18 19) front (10 30 1) simpleGrading (1 1 1) +// hex (13 12 10 11 19 18 16 17) front (10 30 1) simpleGrading (1 1 1) +); + +edges +( + // Inner arc, back + arc 9 12 ( -0.1767767 0.1767767 0) + arc 12 10 ( 0.1767767 0.1767767 0) + + // Inner arc, front + arc 15 18 ( -0.1767767 0.1767767 0.1) + arc 18 16 ( 0.1767767 0.1767767 0.1) + + // Outer arc, back + arc 8 13 ( -0.3535534 0.3535534 0) + arc 13 11 ( 0.3535534 0.3535534 0) + + // Outer arc, front + arc 14 19 ( -0.3535534 0.3535534 0.1) + arc 19 17 ( 0.3535534 0.3535534 0.1) +); + +patches +( + wall left + ( + (0 4 7 3) + ) + wall right + ( + (2 6 5 1) + ) + patch top + ( + (3 7 6 2) + ) + wall bottom + ( + (1 5 4 0) + ) + wall cylinder + ( + (9 12 18 15) + (12 10 16 18) + ) + + patch outerCylinder + ( + (8 14 19 13) + (13 19 17 11) + ) + + wall cylBottom + ( + (8 9 15 14) + (10 11 17 16) + ) + + empty frontAndBack + ( + (0 3 2 1) + (4 5 6 7) + + (8 13 12 9) + (13 11 10 12) + (14 15 18 19) + (18 16 17 19) + ) +); + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/boundary b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/boundary new file mode 100644 index 000000000..c7300ac2b --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/boundary @@ -0,0 +1,76 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +9 +( + oversetFaces + { + type overset; + nFaces 0; + startFace 15740; + } + left + { + type patch; + nFaces 80; + startFace 15740; + } + right + { + type patch; + nFaces 80; + startFace 15820; + } + top + { + type patch; + nFaces 80; + startFace 15900; + } + bottom + { + type patch; + nFaces 80; + startFace 15980; + } + cylinder + { + type wall; + nFaces 80; + startFace 16060; + } + outerCylinder + { + type patch; + nFaces 80; + startFace 16140; + } + cylBottom + { + type wall; + nFaces 40; + startFace 16220; + } + frontAndBack + { + type empty; + nFaces 16000; + startFace 16260; + } +) + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/g b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/g new file mode 100644 index 000000000..2415ec95f --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/g @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class uniformDimensionedVectorField; + location "constant"; + object g; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -2 0 0 0 0]; +value ( 0 -9.81 0 ); + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/oversetMeshDict b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/oversetMeshDict new file mode 100644 index 000000000..f31abc632 --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/oversetMeshDict @@ -0,0 +1,61 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolation +{ + interpolationSchemes (injection); + + default injection; +} + +// Names or patches that determine hole cells +holePatches ( cylinder ); + +regions +( + background + { + // Donor regions + donorRegions ( front ); + + fringe + { + type manual; + holes "backHole"; + acceptors "backFringe"; + } +// fringe +// { +// type overlap; +// } + } + + front + { + donorRegions ( background ); + + fringe + { + type faceCells; + patches ( outerCylinder ); + } + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/transportProperties b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/transportProperties new file mode 100644 index 000000000..311b7c8e1 --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/transportProperties @@ -0,0 +1,34 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object transportProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +phase1 +{ + transportModel Newtonian; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 1000; +} + +phase2 +{ + transportModel Newtonian; + nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; +} + +sigma sigma [ 1 0 -2 0 0 0 0 ] 0.07; + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/turbulenceProperties b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/turbulenceProperties new file mode 100644 index 000000000..1188c3520 --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/constant/turbulenceProperties @@ -0,0 +1,20 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType laminar; + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/U b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/U new file mode 100644 index 000000000..f354fc668 --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/U @@ -0,0 +1,74 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (0 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + left + { + type fixedValue; + value uniform (0 0 0); + } + right + { + type fixedValue; + value uniform (0 0 0); + } + top + { + type pressureInletOutletVelocity; + value uniform (0 0 0); + } + bottom + { + type fixedValue; + value uniform (0 0 0); + } + cylinder + { + type fixedValue; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + cylBottom + { + type fixedValue; + value uniform (0 0 0); + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/alpha1.org b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/alpha1.org new file mode 100644 index 000000000..940065abc --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/alpha1.org @@ -0,0 +1,71 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object alpha1; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 0 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + left + { + type zeroGradient; + } + right + { + type zeroGradient; + } + top + { + type inletOutlet; + inletValue uniform 0; + value uniform 0; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + cylBottom + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/pd b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/pd new file mode 100644 index 000000000..d40517eec --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/save/pd @@ -0,0 +1,76 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object pd; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + left + { + type zeroGradient; + } + right + { + type zeroGradient; + } + top + { + type totalPressure; + p0 uniform 0; + U U; + phi phi; + rho rho; + psi none; + gamma 1; + value uniform 0; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + cylBottom + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/setBatch.batch b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/setBatch.batch new file mode 100644 index 000000000..2aea454fd --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/setBatch.batch @@ -0,0 +1,8 @@ +cellSet backFringe new cellToCell background +cellSet backFringe subset sphereToCell (0 0 0) 0.45 +cellSet backHole new cellToCell background +cellSet backHole subset sphereToCell (0 0 0) 0.42 +cellSet backFringe delete cellToCell backHole +cellSet empty new labelToCell 0 () + +quit diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/setFieldsDict b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/setFieldsDict new file mode 100644 index 000000000..29a75b481 --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/setFieldsDict @@ -0,0 +1,35 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object setFieldsDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +defaultFieldValues +( + volScalarFieldValue alpha1 0 +); + +regions +( + boxToCell + { + box (-1 0 -1) (-0.46 1 1); + fieldValues + ( + volScalarFieldValue alpha1 1 + ); + } +); + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/controlDict b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/controlDict new file mode 100644 index 000000000..3504a7f3f --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/controlDict @@ -0,0 +1,54 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application interOversetFoam; + +startFrom startTime; + +startTime 0; + +stopAt endTime; + +endTime 2; + +deltaT 0.001; + +writeControl adjustableRunTime; +writeInterval 0.02; + +// writeControl timeStep; +// writeInterval 10; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 6; + +writeCompression compressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +adjustTimeStep yes; + +maxCo 0.5; + + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/decomposeParDict b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/decomposeParDict new file mode 100644 index 000000000..be47593bd --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/decomposeParDict @@ -0,0 +1,33 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method simple; + +simpleCoeffs +{ + n (2 2 1); + delta 0.001; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/fvSchemes b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/fvSchemes new file mode 100644 index 000000000..624ec87d2 --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/fvSchemes @@ -0,0 +1,56 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +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(rho*phi,U) Gauss vanLeerDC; +// div(rho*phi,U) Gauss upwind; + + div(phi,alpha) Gauss vanLeer01; +// div(phi,alpha) Gauss upwind; + div(phirb,alpha) Gauss interfaceCompression; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; + interpolate(HbyA) linear; +} + +snGradSchemes +{ + default corrected; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/fvSolution b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/fvSolution new file mode 100644 index 000000000..4300554ef --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/fvSolution @@ -0,0 +1,114 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + pcorr + { + solver PCG; + preconditioner DIC; + + minIter 1; + maxIter 1000; + tolerance 1e-08; + relTol 0.01; + } + + pd + { + solver BiCGStab; + preconditioner DILU; + +// solver PCG; +// preconditioner DIC; + + minIter 0; + maxIter 1000; + tolerance 1e-08; + relTol 0.01; + } + + pdFinal + { + solver BiCGStab; + preconditioner DILU; + +// solver PCG; +// preconditioner DIC; + + minIter 0; + maxIter 1000; + tolerance 1e-08; + relTol 0.0; + } + + U + { + solver BiCGStab; + preconditioner DILU; + + minIter 0; + maxIter 100; + tolerance 1e-08; + relTol 0; + } + + alpha1 + { + solver BiCGStab; + preconditioner DILU; + + minIter 0; + maxIter 100; + tolerance 1e-08; + relTol 0; + } +} + +PISO +{ + cAlpha 1; +} + +PIMPLE +{ + nOuterCorrectors 2; + nCorrectors 6; + nNonOrthogonalCorrectors 0; + + pdRefPoint (-0.9 1.4 0.05); + pdRefValue 0; + + pRefPoint (-0.9 1.4 0.05); + pRefValue 0; + + limitMagU 30; +} + +relaxationFactors +{ + fields + { + pd 0.7; + } + equations + { + U 0.8; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/setFieldsDict b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/setFieldsDict new file mode 100644 index 000000000..76608c8d0 --- /dev/null +++ b/tutorials/overset/freeSurfaceTests/cylBumpinterOversetFoam/system/setFieldsDict @@ -0,0 +1,36 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object setFieldsDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +defaultFieldValues +( + volScalarFieldValue alpha1 0 +); + +regions +( + boxToCell + { +// box (-1 0 -1) (-0.46 1 1); + box (-1 0 -1) (-0.55 1 1); + fieldValues + ( + volScalarFieldValue alpha1 1 + ); + } +); + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/Allclean b/tutorials/overset/movingMeshTests/Allclean new file mode 100755 index 000000000..0133b81d7 --- /dev/null +++ b/tutorials/overset/movingMeshTests/Allclean @@ -0,0 +1,4 @@ +#!/bin/sh + +( cd movingCylinderInChannelicoDyMOversetFoam ; ./Allclean ) +( cd movingCylinderInChannelpimpleDyMOversetFoam ; ./Allclean ) diff --git a/tutorials/overset/movingMeshTests/Allrun b/tutorials/overset/movingMeshTests/Allrun new file mode 100755 index 000000000..ab4f72718 --- /dev/null +++ b/tutorials/overset/movingMeshTests/Allrun @@ -0,0 +1,4 @@ +#!/bin/sh + +( cd movingCylinderInChannelicoDyMOversetFoam ; ./Allrun ) +( cd movingCylinderInChannelpimpleDyMOversetFoam ; ./Allrun ) diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/.gitignore b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/0/U b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/0/U new file mode 100644 index 000000000..1d59becb7 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/0/U @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + } + top + { + type fixedValue; + value uniform (0 0 0); + } + bottom + { + type fixedValue; + value uniform (0 0 0); + } + cylinder + { + type movingWallVelocity; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/0/p b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/0/p new file mode 100644 index 000000000..28e487462 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/0/p @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type zeroGradient; + +// type fixedValue; +// value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/Allclean b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/Allclean new file mode 100755 index 000000000..3ccbbafb7 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/Allclean @@ -0,0 +1,12 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +\rm -f *.vtk +\rm -f constant/cellDecomposition constant/cellDecomposition.gz +\rm -rf constant/polyMesh/ +mkdir constant/polyMesh +\rm -rf 0 +cp -r save 0 diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/Allrun b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/Allrun new file mode 100755 index 000000000..e265c37db --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/Allrun @@ -0,0 +1,13 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="icoDyMOversetFoam" + +\cp -f blockMeshDict constant/polyMesh/blockMeshDict +runApplication blockMesh +\cp -f boundary constant/polyMesh/boundary + +runApplication potentialOversetFoam +runApplication $application diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/blockMeshDict b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/blockMeshDict new file mode 100644 index 000000000..1e4a3d3d6 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/blockMeshDict @@ -0,0 +1,148 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 0.1; + +vertices +( + // Background mesh + (-10 -5 0) + (20 -5 0) + (20 5.01 0) + (-10 5.01 0) + (-10 -5 0.5) + (20 -5 0.5) + (20 5.01 0.5) // Note: point in cell issue + (-10 5.01 0.5) + + // Cylinder, back + ( 0 -2.5 0) + ( 2.5 0 0) + ( 0 2.5 0) + (-2.5 0 0) + + ( 0 -4 0) + ( 4 0 0) + ( 0 4 0) + (-4 0 0) + + // Cylinder, front + ( 0 -2.5 0.5) + ( 2.5 0 0.5) + ( 0 2.5 0.5) + (-2.5 0 0.5) + + ( 0 -4 0.5) + ( 4 0 0.5) + ( 0 4 0.5) + (-4 0 0.5) +); + +blocks +( + // Background + hex (0 1 2 3 4 5 6 7) background (75 25 1) simpleGrading (1 1 1) + + // Front + hex (8 12 13 9 16 20 21 17) front (10 20 1) simpleGrading (1 1 1) + hex (9 13 14 10 17 21 22 18) front (10 20 1) simpleGrading (1 1 1) + hex (10 14 15 11 18 22 23 19) front (10 20 1) simpleGrading (1 1 1) + hex (11 15 12 8 19 23 20 16) front (10 20 1) simpleGrading (1 1 1) +); + +edges +( + // Inner arc, back + arc 8 9 ( 1.767767 -1.767767 0) + arc 9 10 ( 1.767767 1.767767 0) + arc 10 11 (-1.767767 1.767767 0) + arc 11 8 (-1.767767 -1.767767 0) + + // Inner arc, front + arc 16 17 ( 1.767767 -1.767767 0.5) + arc 17 18 ( 1.767767 1.767767 0.5) + arc 18 19 (-1.767767 1.767767 0.5) + arc 19 16 (-1.767767 -1.767767 0.5) + + // Outer arc, back + arc 12 13 ( 2.828427 -2.828427 0) + arc 13 14 ( 2.828427 2.828427 0) + arc 14 15 (-2.828427 2.828427 0) + arc 15 12 (-2.828427 -2.828427 0) + + // Outer arc, front + arc 20 21 ( 2.828427 -2.828427 0.5) + arc 21 22 ( 2.828427 2.828427 0.5) + arc 22 23 (-2.828427 2.828427 0.5) + arc 23 20 (-2.828427 -2.828427 0.5) +); + +patches +( + patch in + ( + (0 4 7 3) + ) + patch out + ( + (2 6 5 1) + ) + wall top + ( + (3 7 6 2) + ) + wall bottom + ( + (1 5 4 0) + ) + wall cylinder + ( + (8 16 17 9) + (9 17 18 10) + (10 18 19 11) + (11 19 16 8) + ) + + patch outerCylinder + ( + (12 13 21 20) + (13 14 22 21) + (14 15 23 22) + (15 12 20 23) + ) + + empty frontAndBack + ( + (0 3 2 1) + (4 5 6 7) + + (8 9 13 12) + (9 10 14 13) + (10 11 15 14) + (11 8 12 15) + + (16 20 21 17) + (17 21 22 18) + (18 22 23 19) + (19 23 20 16) + ) +); + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/boundary b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/boundary new file mode 100644 index 000000000..23207bbca --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/boundary @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format binary; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +8 +( + oversetFaces + { + type overset; + nFaces 0; + startFace 5170; + } + in + { + type patch; + nFaces 25; + startFace 5170; + } + out + { + type patch; + nFaces 25; + startFace 5195; + } + top + { + type wall; + nFaces 75; + startFace 5220; + } + bottom + { + type wall; + nFaces 75; + startFace 5295; + } + cylinder + { + type wall; + nFaces 80; + startFace 5370; + } + outerCylinder + { + type patch; + nFaces 80; + startFace 5450; + } + frontAndBack + { + type empty; + nFaces 5350; + startFace 5530; + } +) + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/dynamicMeshDict b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/dynamicMeshDict new file mode 100644 index 000000000..55ec74187 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/dynamicMeshDict @@ -0,0 +1,45 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object dynamicMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +// dynamicFvMesh staticFvMesh; +dynamicFvMesh oversetSolidBodyMotionFvMesh; + +oversetSolidBodyMotionFvMeshCoeffs +{ + motionFunctions + ( + front + { + movingZones ( front ); + +// solidBodyMotionFunction translation; +// translationCoeffs +// { +// velocity (0.1 0 0); +// } + + solidBodyMotionFunction linearOscillation; + linearOscillationCoeffs + { + amplitude (0.5 0 0); + period 2.5; + } + } + ); +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/oversetMeshDict b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/oversetMeshDict new file mode 100644 index 000000000..cfcdd4fbe --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/oversetMeshDict @@ -0,0 +1,62 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolation +{ + interpolationSchemes (injection); + + default injection; +} + +holePatches ( cylinder ); + +regions +( + background + { + donorRegions ( front ); + + fringe + { + type overlap; + + suitablePairFraction 0.5; + cacheFringe no; + + donorSuitability + { + type cellVolumes; + threshold 0.99; + } + } + } + + front + { + donorRegions ( background ); + + fringe + { + type faceCells; + patches ( outerCylinder ); + } + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/transportProperties b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/transportProperties new file mode 100644 index 000000000..c86a8105a --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/constant/transportProperties @@ -0,0 +1,22 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object transportProperties; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +nu nu [0 2 -1 0 0 0 0] 0.001; + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/save/U b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/save/U new file mode 100644 index 000000000..1d59becb7 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/save/U @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + } + top + { + type fixedValue; + value uniform (0 0 0); + } + bottom + { + type fixedValue; + value uniform (0 0 0); + } + cylinder + { + type movingWallVelocity; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/save/p b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/save/p new file mode 100644 index 000000000..28e487462 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/save/p @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type zeroGradient; + +// type fixedValue; +// value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/controlDict b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/controlDict new file mode 100644 index 000000000..ab14e4d63 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/controlDict @@ -0,0 +1,61 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application icoDyMOversetFoam; + +// startFrom startTime; +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 5; + +deltaT 0.01; + +writeControl runTime; + +writeInterval 0.2; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 10; + +writeCompression uncompressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +libs +( + "libfoam.so" + "libmeshTools.so" + "libsurfMesh.so" + "libsampling.so" + "libdynamicMesh.so" + "libdynamicFvMesh.so" + "liboversetMesh.so" + "liboversetDynamicFvMesh.so" +); + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/decomposeParDict b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/decomposeParDict new file mode 100644 index 000000000..f9a343802 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/decomposeParDict @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method simple; + +simpleCoeffs +{ + n (4 1 1); + delta 0.001; +} + +hierarchicalCoeffs +{ + n (1 1 1); + delta 0.001; + order xyz; +} + +metisCoeffs +{ + processorWeights 4(1 1 1 1); +} + +manualCoeffs +{ + dataFile "cellDecomposition"; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/fvSchemes b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/fvSchemes new file mode 100644 index 000000000..29455a589 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/fvSchemes @@ -0,0 +1,48 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default Euler; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + div(phi,U) Gauss upwind; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/fvSolution b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/fvSolution new file mode 100644 index 000000000..9abee4637 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelicoDyMOversetFoam/system/fvSolution @@ -0,0 +1,57 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + p + { + solver BiCGStab; + preconditioner DILU; + + maxIter 1000; + tolerance 1e-7; + relTol 0; + } + + U + { + solver BiCGStab; + preconditioner DILU; + + maxIter 1000; + tolerance 1e-7; + relTol 0; + } +} + + +SIMPLE +{ + pRefPoint (1.9 0.49 0); + pRefValue 0; +} + + +PISO +{ + pRefPoint (1.9 0.49 0); + pRefValue 0; + + nCorrectors 4; +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/.gitignore b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/.gitignore new file mode 100644 index 000000000..a39e37d99 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/.gitignore @@ -0,0 +1,56 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. + +# editor and misc backup files - anywhere +*~ +.*~ +*.bak +*.bak[0-9][0-9] +*.orig +*.orig[0-9][0-9] +\#*\# + +# file-browser settings - anywhere +.directory + +# data files +*.dat + +# CVS recovered versions - anywhere +.#* + +# SVN directories - anywhere + +.svn/ + +# OpenFOAM results + +[0-9]*/ +!/0/ +processor* +*/polyMesh/* +!*/polyMesh/blockMeshDict +cellToRegion* +log* +VTK + +# packages - anywhere + +*.tar.bz2 +*.tar.gz +*.tar +*.tgz +*.gtgz + +# Pictures and movies + +*.png +*.jpg +*.jpeg +*.bmp +*.png +*.avi +*.mp4 +*.mpg + +#end-of-file diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/0/U b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/0/U new file mode 100644 index 000000000..1d59becb7 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/0/U @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + } + top + { + type fixedValue; + value uniform (0 0 0); + } + bottom + { + type fixedValue; + value uniform (0 0 0); + } + cylinder + { + type movingWallVelocity; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/0/p b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/0/p new file mode 100644 index 000000000..28e487462 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/0/p @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type zeroGradient; + +// type fixedValue; +// value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/Allclean b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/Allclean new file mode 100755 index 000000000..8fbb1220f --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/Allclean @@ -0,0 +1,11 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +\rm -f *.vtk +\rm -f constant/cellDecomposition constant/cellDecomposition.gz +\rm -rf constant/polyMesh/ +\rm -rf 0 +cp -r save 0 diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/Allrun b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/Allrun new file mode 100755 index 000000000..1ae9923db --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/Allrun @@ -0,0 +1,14 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application="pimpleDyMOversetFoam" + +mkdir constant/polyMesh +\cp -f blockMeshDict constant/polyMesh/blockMeshDict +runApplication blockMesh +\cp -f boundary constant/polyMesh/boundary + +runApplication potentialOversetFoam +runApplication $application diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/blockMeshDict b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/blockMeshDict new file mode 100644 index 000000000..8c32728a6 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/blockMeshDict @@ -0,0 +1,148 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +convertToMeters 0.1; + +vertices +( + // Background mesh + (-10 -5 0) + (20 -5 0) + (20 5.01 0) + (-10 5.01 0) + (-10 -5 0.5) + (20 -5 0.5) + (20 5.01 0.5) // Note: point in cell issue + (-10 5.01 0.5) + + // Cylinder, back + ( 0 -2.5 0) + ( 2.5 0 0) + ( 0 2.5 0) + (-2.5 0 0) + + ( 0 -4 0) + ( 4 0 0) + ( 0 4 0) + (-4 0 0) + + // Cylinder, front + ( 0 -2.5 0.5) + ( 2.5 0 0.5) + ( 0 2.5 0.5) + (-2.5 0 0.5) + + ( 0 -4 0.5) + ( 4 0 0.5) + ( 0 4 0.5) + (-4 0 0.5) +); + +blocks +( + // Background + hex (0 1 2 3 4 5 6 7) background (300 100 1) simpleGrading (1 1 1) + + // Front + hex (8 12 13 9 16 20 21 17) front (40 80 1) simpleGrading (1 1 1) + hex (9 13 14 10 17 21 22 18) front (40 80 1) simpleGrading (1 1 1) + hex (10 14 15 11 18 22 23 19) front (40 80 1) simpleGrading (1 1 1) + hex (11 15 12 8 19 23 20 16) front (40 80 1) simpleGrading (1 1 1) +); + +edges +( + // Inner arc, back + arc 8 9 ( 1.767767 -1.767767 0) + arc 9 10 ( 1.767767 1.767767 0) + arc 10 11 (-1.767767 1.767767 0) + arc 11 8 (-1.767767 -1.767767 0) + + // Inner arc, front + arc 16 17 ( 1.767767 -1.767767 0.5) + arc 17 18 ( 1.767767 1.767767 0.5) + arc 18 19 (-1.767767 1.767767 0.5) + arc 19 16 (-1.767767 -1.767767 0.5) + + // Outer arc, back + arc 12 13 ( 2.828427 -2.828427 0) + arc 13 14 ( 2.828427 2.828427 0) + arc 14 15 (-2.828427 2.828427 0) + arc 15 12 (-2.828427 -2.828427 0) + + // Outer arc, front + arc 20 21 ( 2.828427 -2.828427 0.5) + arc 21 22 ( 2.828427 2.828427 0.5) + arc 22 23 (-2.828427 2.828427 0.5) + arc 23 20 (-2.828427 -2.828427 0.5) +); + +patches +( + patch in + ( + (0 4 7 3) + ) + patch out + ( + (2 6 5 1) + ) + wall top + ( + (3 7 6 2) + ) + wall bottom + ( + (1 5 4 0) + ) + wall cylinder + ( + (8 16 17 9) + (9 17 18 10) + (10 18 19 11) + (11 19 16 8) + ) + + patch outerCylinder + ( + (12 13 21 20) + (13 14 22 21) + (14 15 23 22) + (15 12 20 23) + ) + + empty frontAndBack + ( + (0 3 2 1) + (4 5 6 7) + + (8 9 13 12) + (9 10 14 13) + (10 11 15 14) + (11 8 12 15) + + (16 20 21 17) + (17 21 22 18) + (18 22 23 19) + (19 23 20 16) + ) +); + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/boundary b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/boundary new file mode 100644 index 000000000..0cb07bdc2 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/boundary @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +8 +( + oversetFaces + { + type overset; + nFaces 0; + startFace 84880; + } + in + { + type patch; + nFaces 100; + startFace 84880; + } + out + { + type patch; + nFaces 100; + startFace 84980; + } + top + { + type wall; + nFaces 300; + startFace 85080; + } + bottom + { + type wall; + nFaces 300; + startFace 85380; + } + cylinder + { + type wall; + nFaces 320; + startFace 85680; + } + outerCylinder + { + type patch; + nFaces 320; + startFace 86000; + } + frontAndBack + { + type empty; + nFaces 85600; + startFace 86320; + } +) + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/dynamicMeshDict b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/dynamicMeshDict new file mode 100644 index 000000000..55ec74187 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/dynamicMeshDict @@ -0,0 +1,45 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object dynamicMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +// dynamicFvMesh staticFvMesh; +dynamicFvMesh oversetSolidBodyMotionFvMesh; + +oversetSolidBodyMotionFvMeshCoeffs +{ + motionFunctions + ( + front + { + movingZones ( front ); + +// solidBodyMotionFunction translation; +// translationCoeffs +// { +// velocity (0.1 0 0); +// } + + solidBodyMotionFunction linearOscillation; + linearOscillationCoeffs + { + amplitude (0.5 0 0); + period 2.5; + } + } + ); +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/oversetMeshDict b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/oversetMeshDict new file mode 100644 index 000000000..cfcdd4fbe --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/oversetMeshDict @@ -0,0 +1,62 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object oversetMeshDict; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +interpolation +{ + interpolationSchemes (injection); + + default injection; +} + +holePatches ( cylinder ); + +regions +( + background + { + donorRegions ( front ); + + fringe + { + type overlap; + + suitablePairFraction 0.5; + cacheFringe no; + + donorSuitability + { + type cellVolumes; + threshold 0.99; + } + } + } + + front + { + donorRegions ( background ); + + fringe + { + type faceCells; + patches ( outerCylinder ); + } + } +); + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/transportProperties b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/transportProperties new file mode 100644 index 000000000..3d7441794 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/transportProperties @@ -0,0 +1,24 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object transportProperties; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +transportModel Newtonian; + +nu nu [0 2 -1 0 0 0 0] 0.001; + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/turbulenceProperties b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/turbulenceProperties new file mode 100644 index 000000000..a99cadfc9 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/constant/turbulenceProperties @@ -0,0 +1,20 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType laminar; + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/save/U b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/save/U new file mode 100644 index 000000000..1d59becb7 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/save/U @@ -0,0 +1,70 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (1 0 0); + +boundaryField +{ + oversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue (0 0 0); + } + in + { + type fixedValue; + value uniform (1 0 0); + } + out + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (1 0 0); + } + top + { + type fixedValue; + value uniform (0 0 0); + } + bottom + { + type fixedValue; + value uniform (0 0 0); + } + cylinder + { + type movingWallVelocity; + value uniform (0 0 0); + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/save/p b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/save/p new file mode 100644 index 000000000..28e487462 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/save/p @@ -0,0 +1,69 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + oversetFaces + { + type overset; + value uniform 0; + coupledFringe yes; + conservativeCorrection yes; + setHoleCellValue yes; + holeCellValue 0; + } + in + { + type zeroGradient; + } + out + { + type zeroGradient; + +// type fixedValue; +// value uniform 0; + } + top + { + type zeroGradient; + } + bottom + { + type zeroGradient; + } + cylinder + { + type zeroGradient; + } + outerCylinder + { + type zeroGradient; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/controlDict b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/controlDict new file mode 100644 index 000000000..ed3a6b754 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/controlDict @@ -0,0 +1,83 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +application icoDyMOversetFoam; + +// startFrom startTime; +startFrom latestTime; + +startTime 0; + +stopAt endTime; + +endTime 5; + +deltaT 0.01; + +writeControl runTime; + +writeInterval 0.2; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 10; + +writeCompression uncompressed; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +adjustTimeStep no; +maxCo 1; + +libs +( + "libfoam.so" + "libmeshTools.so" + "libsurfMesh.so" + "libsampling.so" + "libdynamicMesh.so" + "libdynamicFvMesh.so" + "liboversetMesh.so" + "liboversetDynamicFvMesh.so" +); + +functions +( + forces + { + type forces; + functionObjectLibs ( "libforces.so" ); + outputControl timeStep; + outputInterval 1; + patches ( cylinder ); + pName p; + UName U; + rhoName rhoInf; + log true; + rhoInf 1; + CofR ( 0 0 0 ); + } + +); + + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/decomposeParDict b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/decomposeParDict new file mode 100644 index 000000000..f9a343802 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/decomposeParDict @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method simple; + +simpleCoeffs +{ + n (4 1 1); + delta 0.001; +} + +hierarchicalCoeffs +{ + n (1 1 1); + delta 0.001; + order xyz; +} + +metisCoeffs +{ + processorWeights 4(1 1 1 1); +} + +manualCoeffs +{ + dataFile "cellDecomposition"; +} + +distributed no; + +roots +( +); + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/fvSchemes b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/fvSchemes new file mode 100644 index 000000000..bbbf9dbb5 --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/fvSchemes @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default Euler; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + div(phi,U) Gauss upwind; + + div((nuEff*dev(T(grad(U))))) Gauss linear; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + +// ************************************************************************* // diff --git a/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/fvSolution b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/fvSolution new file mode 100644 index 000000000..8983432bc --- /dev/null +++ b/tutorials/overset/movingMeshTests/movingCylinderInChannelpimpleDyMOversetFoam/system/fvSolution @@ -0,0 +1,82 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + "p|pFinal" + { + solver BiCGStab; + preconditioner DILU; + + maxIter 1000; + tolerance 1e-7; + relTol 0; + } + + "U|UFinal" + { + solver BiCGStab; + preconditioner DILU; + + maxIter 1000; + tolerance 1e-7; + relTol 0; + } +} + + +SIMPLE +{ + pRefPoint (1.9 0.49 0); + pRefValue 0; +} + + +PISO +{ + pRefPoint (1.9 0.49 0); + pRefValue 0; + + nCorrectors 4; +} + + +PIMPLE +{ + pRefPoint (1.9 0.49 0); + pRefValue 0; + + nOuterCorrectors 4; + nCorrectors 4; + nNonOrthogonalCorrectors 0; +} + +relaxationFactors +{ + equations + { + U 1; + UFinal 1; + } + fields + { + p 1; + pFinal 1; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/U b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/U new file mode 100644 index 000000000..a7cb574ca --- /dev/null +++ b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/U @@ -0,0 +1,82 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (26.3389 0 6.5036); + +boundaryField +{ + OversetFaces + { + type overset; + value uniform (0 0 0); + coupledFringe yes; + setHoleCellValue yes; + holeCellValue (0 0 0); + } + + Inflow + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Outflow + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + Lower + { + type fixedValue; + value uniform (26.3389 0 6.5036); + } + Upper + { + type inletOutlet; + inletValue uniform (0 0 0); + value uniform (0 0 0); + } + + airfoil + { + type fixedValue; + value uniform (0 0 0); + } + + frontAndBack + { + type empty; + } + + OversetMiddle + { + type emptyOverset; + value uniform (0 0 0); + } + + OversetFront + { + type emptyOverset; + value uniform (0 0 0); + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/k b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/k new file mode 100644 index 000000000..408455c9f --- /dev/null +++ b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/k @@ -0,0 +1,84 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object k; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0.0005723; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.0005723; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.0005723; + } + + Inflow + { + type fixedValue; + value uniform 0.0005723; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + Lower + { + type fixedValue; + value uniform 0.0005723; + } + Upper + { + type inletOutlet; + inletValue uniform 0.0005723; + value uniform 0.0005723; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type kqRWallFunction; + value uniform 0.0005723; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.0005723; + } + OversetFront + { + type emptyOverset; + value uniform 0.0005723; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/nut b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/nut new file mode 100644 index 000000000..3e82586b6 --- /dev/null +++ b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/nut @@ -0,0 +1,85 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object nut; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type calculated; + value uniform 0; + } + Outflow + { + type calculated; + value uniform 0; + } + + Lower + { + type calculated; + value uniform 0; + } + Upper + { + type calculated; + value uniform 0; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/omega b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/omega new file mode 100644 index 000000000..170d28faf --- /dev/null +++ b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/omega @@ -0,0 +1,90 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object omega; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 -1 0 0 0 0]; + +internalField uniform 0.42797; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0.42797; + + coupledFringe yes; + + setHoleCellValue yes; + holeCellValue 0.42797; + } + + Inflow + { + type fixedValue; + value uniform 0.42797; + } + Outflow + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + Lower + { + type fixedValue; + value uniform 0.42797; + } + Upper + { + type inletOutlet; + inletValue uniform 0.42797; + value uniform 0.42797; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type omegaWallFunction; + refValue uniform 0; + value uniform 0.42797; + + Cmu 0.09; + kappa 0.41; + E 9.8; + beta1 0.075; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0.42797; + } + OversetFront + { + type emptyOverset; + value uniform 0.42797; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/p b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/p new file mode 100644 index 000000000..87b94eca1 --- /dev/null +++ b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/0/p @@ -0,0 +1,79 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 1.4 | +| \\ / A nd | Web: http://www.openfoam.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p; +} + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + OversetFaces + { + type overset; + value uniform 0; + + coupledFringe yes; + conservativeCorrection yes; + + setHoleCellValue yes; + holeCellValue 0; + } + + Inflow + { + type zeroGradient; + } + Outflow + { + type fixedValue; + value uniform 0; + } + + Lower + { + type zeroGradient; + } + Upper + { + type zeroGradient; + } + + frontAndBack + { + type empty; + } + + airfoil + { + type zeroGradient; + } + + OversetMiddle + { + type emptyOverset; + value uniform 0; + } + OversetFront + { + type emptyOverset; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/Allclean b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/Allclean new file mode 100755 index 000000000..80d3753d4 --- /dev/null +++ b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/Allclean @@ -0,0 +1,16 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +\rm -f .setSet +\rm -rf 0/cellDist 0/cellDist.gz constant/cellDecomposition +\rm -rf *.vtk VTK +\rm -rf constant/polyMesh/ +\rm -rf 0 holeTri* +\rm -rf surfaces +\rm -f *raw + +mkdir constant/polyMesh +cp -r save 0 diff --git a/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/Allrun b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/Allrun new file mode 100755 index 000000000..b0904548c --- /dev/null +++ b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/Allrun @@ -0,0 +1,48 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Copy background grid +\cp -r backgroundMesh/constant/polyMesh constant/. + +# Merge meshes and clean up +runApplication mergeMeshes ..\ + NACA4412-ThreeLayerOverlapFringeAssemby-100Processors . middleMesh +\rm -rf constant/polyMesh +\mv 1/polyMesh constant +rm -rf 1 +\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz\ + constant/polyMesh/faceZones constant/polyMesh/faceZones.gz\ + constant/polyMesh/cellZones constant/polyMesh/cellZones.gz +\mv log.mergeMeshes log.mergeMeshes-backgroundMiddle + +runApplication mergeMeshes ..\ + NACA4412-ThreeLayerOverlapFringeAssemby-100Processors . frontMesh +\rm -rf constant/polyMesh +\mv 1/polyMesh constant +rm -rf 1 +\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz\ + constant/polyMesh/faceZones constant/polyMesh/faceZones.gz\ + constant/polyMesh/cellZones constant/polyMesh/cellZones.gz +\mv log.mergeMeshes log.mergeMeshes-backgroundMiddleFront + +# Make cell zones for all regions and clean up +runApplication regionCellSets +runApplication setSet -batch setBatch.batch +\rm -f log.setSet +\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz +\rm -f constant/polyMesh/sets/cellRegion0 constant/polyMesh/sets/cellRegion0.gz\ + constant/polyMesh/sets/cellRegion1 constant/polyMesh/sets/cellRegion1.gz +runApplication setsToZones + +# Scale x and y directions to have the same setup as the case from +# foam-extend-4.0 validationSuite +transformPoints -scale "(0.901 1 0.905512)" > log.transformPoints + +# Set up boundary patches +\cp -f boundary constant/polyMesh/boundary + +runApplication decomposePar -cellDist +runApplication decomposeSets -writeEmptySets +runParallel calcOverset 100 +runParallel oversetRegionIndex 100 diff --git a/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/boundary b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/boundary new file mode 100644 index 000000000..1939d6b57 --- /dev/null +++ b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/boundary @@ -0,0 +1,52 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.0 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +5 +( + Inflow + { + type patch; + nFaces 112; + startFace 10592; + } + Lower + { + type patch; + nFaces 48; + startFace 10704; + } + frontAndBack + { + type empty; + nFaces 10752; + startFace 10752; + } + Outflow + { + type patch; + nFaces 112; + startFace 21504; + } + Upper + { + type patch; + nFaces 48; + startFace 21616; + } +) + +// ************************************************************************* // diff --git a/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/cellZones b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/cellZones new file mode 100644 index 000000000..36af17a67 --- /dev/null +++ b/tutorials/overset/parallelTests/NACA4412-ThreeLayerOverlapFringeAssemby-100Processors/backgroundMesh/constant/polyMesh/cellZones @@ -0,0 +1,5407 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 2.3.0 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class regIOobject; + location "constant/polyMesh"; + object cellZones; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +1 +( +VOL +{ + type cellZone; +cellLabels List