diff --git a/src/simpleCubicFoam/system/collapseDict b/src/simpleCubicFoam/system/collapseDict new file mode 100644 index 0000000..7a19a37 --- /dev/null +++ b/src/simpleCubicFoam/system/collapseDict @@ -0,0 +1,28 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object collapseDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +collapseEdgesCoeffs +{ + // Edges shorter than this absolute value will be merged + minimumEdgeLength 2e-7; + + // The maximum angle between two edges that share a point attached to + // no other edges + maximumMergeAngle 5; +} + + +// ************************************************************************* // diff --git a/src/simpleCubicFoam/system/createPatchDict b/src/simpleCubicFoam/system/createPatchDict index e2efc6b..ed7f4a0 100644 --- a/src/simpleCubicFoam/system/createPatchDict +++ b/src/simpleCubicFoam/system/createPatchDict @@ -54,7 +54,7 @@ patches type cyclicAMI; neighbourPatch cyclicPlaneBW; transform translational; - separationVector (-2 2 0); + separationVector (2 2 0); matchTolerance 1e-4; inGroups (cyclic); } @@ -71,7 +71,7 @@ patches type cyclicAMI; neighbourPatch cyclicPlaneFW; transform translational; - separationVector (2 -2 0); + separationVector (-2 -2 0); matchTolerance 1e-4; inGroups (cyclic); } @@ -88,7 +88,7 @@ patches type cyclicAMI; neighbourPatch cyclicPlaneR; transform translational; - separationVector (2 2 0); + separationVector (-2 2 0); matchTolerance 1e-4; inGroups (cyclic); } @@ -105,7 +105,7 @@ patches type cyclicAMI; neighbourPatch cyclicPlaneL; transform translational; - separationVector (-2 -2 0); + separationVector (2 -2 0); matchTolerance 1e-4; inGroups (cyclic); }