diff --git a/tutorials/mesh/cv2DMesh/OpenCFD/constant/polyMesh/boundary b/tutorials/mesh/cv2DMesh/OpenCFD/constant/polyMesh/boundary new file mode 100644 index 0000000000..35a7bfe82c --- /dev/null +++ b/tutorials/mesh/cv2DMesh/OpenCFD/constant/polyMesh/boundary @@ -0,0 +1,66 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +7 +( + letters_text + { + type patch; + nFaces 1064; + startFace 132063; + } + box_bottom + { + type patch; + nFaces 324; + startFace 133127; + } + box_top + { + type patch; + nFaces 324; + startFace 133451; + } + box_inlet + { + type patch; + nFaces 207; + startFace 133775; + } + box_outlet + { + type patch; + nFaces 207; + startFace 133982; + } + front + { + type empty; + inGroups 1(empty); + nFaces 64792; + startFace 134189; + } + back + { + type empty; + inGroups 1(empty); + nFaces 64792; + startFace 198981; + } +) + +// ************************************************************************* // diff --git a/tutorials/mesh/cv2DMesh/OpenCFD/system/controlDict b/tutorials/mesh/cv2DMesh/OpenCFD/system/controlDict index a2364b6303..142d2e116b 100644 --- a/tutorials/mesh/cv2DMesh/OpenCFD/system/controlDict +++ b/tutorials/mesh/cv2DMesh/OpenCFD/system/controlDict @@ -29,7 +29,7 @@ deltaT 0.001; writeControl adjustableRunTime; -writeInterval 1; +writeInterval 0.25; purgeWrite 0; diff --git a/tutorials/mesh/cv2DMesh/OpenCFD/system/controlDict.rhoCentralFoam b/tutorials/mesh/cv2DMesh/OpenCFD/system/controlDict.rhoCentralFoam index a2364b6303..142d2e116b 100644 --- a/tutorials/mesh/cv2DMesh/OpenCFD/system/controlDict.rhoCentralFoam +++ b/tutorials/mesh/cv2DMesh/OpenCFD/system/controlDict.rhoCentralFoam @@ -29,7 +29,7 @@ deltaT 0.001; writeControl adjustableRunTime; -writeInterval 1; +writeInterval 0.25; purgeWrite 0; diff --git a/tutorials/mesh/cv2DMesh/OpenCFD/system/cv2DMeshDict b/tutorials/mesh/cv2DMesh/OpenCFD/system/cv2DMeshDict index c90cb88c27..5ceb886e15 100644 --- a/tutorials/mesh/cv2DMesh/OpenCFD/system/cv2DMeshDict +++ b/tutorials/mesh/cv2DMesh/OpenCFD/system/cv2DMeshDict @@ -103,8 +103,8 @@ motionControl linearDistanceCoeffs { - distanceCellSize $minCellSize; - distance 1; + distanceCellSizeCoeff 1; + distanceCoeff 50; } uniformCoeffs {} @@ -112,7 +112,7 @@ motionControl surfaceCellSizeFunction uniformValue; uniformValueCoeffs { - surfaceCellSize $minCellSize; + surfaceCellSizeCoeff 1; } } } diff --git a/tutorials/mesh/cv2DMesh/jaggedBoundary/system/cv2DMeshDict b/tutorials/mesh/cv2DMesh/jaggedBoundary/system/cv2DMeshDict index 76d790c4c2..f23fbc6c5b 100644 --- a/tutorials/mesh/cv2DMesh/jaggedBoundary/system/cv2DMeshDict +++ b/tutorials/mesh/cv2DMesh/jaggedBoundary/system/cv2DMeshDict @@ -94,15 +94,15 @@ motionControl cellSizeFunction surfaceOffsetLinearDistance; surfaceOffsetLinearDistanceCoeffs { - distanceCellSize $minCellSize; - totalDistance 0.2; - surfaceOffset 0.05; + distanceCellSizeCoeff 1; + totalDistanceCoeff 5; + surfaceOffsetCoeff 1; } surfaceCellSizeFunction uniformValue; uniformValueCoeffs { - surfaceCellSize 0.005; + surfaceCellSizeCoeff 0.1; } } } diff --git a/tutorials/mesh/cv2DMesh/square/system/cv2DMeshDict b/tutorials/mesh/cv2DMesh/square/system/cv2DMeshDict index 160a2e7518..3f7c4d3bac 100644 --- a/tutorials/mesh/cv2DMesh/square/system/cv2DMeshDict +++ b/tutorials/mesh/cv2DMesh/square/system/cv2DMeshDict @@ -95,13 +95,13 @@ motionControl cellSizeFunction linearDistance; linearDistanceCoeffs { - distanceCellSize $minCellSize; - distance #calc"5*$minCellSize"; + distanceCellSizeCoeff 1; + distanceCoeff 5; } surfaceCellSizeFunction uniformValue; uniformValueCoeffs { - surfaceCellSize #calc"0.05*$minCellSize"; + surfaceCellSizeCoeff 0.05; } } @@ -113,13 +113,13 @@ motionControl cellSizeFunction linearDistance; linearDistanceCoeffs { - distanceCellSize $minCellSize; - distance #calc"5*$minCellSize"; + distanceCellSizeCoeff 1; + distanceCoeff 5; } surfaceCellSizeFunction uniformValue; uniformValueCoeffs { - surfaceCellSize #calc"0.05*$minCellSize"; + surfaceCellSizeCoeff 0.05; } } }