From 3c2db201b70a3f0138b609c92968d5f5b4f8476c Mon Sep 17 00:00:00 2001 From: mattijs Date: Wed, 2 Mar 2022 14:41:03 +0000 Subject: [PATCH] BUG: createPatch: make tutorial run parallel. See #2386 --- .../system/bottomSolid/decomposeParDict | 1 + .../system/decomposeParDict | 24 +++++++++++++++++++ .../system/leftSolid/decomposeParDict | 1 + .../system/rightSolid/decomposeParDict | 1 + .../system/topAir/decomposeParDict | 1 + 5 files changed, 28 insertions(+) create mode 120000 tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/bottomSolid/decomposeParDict create mode 100644 tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/decomposeParDict create mode 120000 tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/leftSolid/decomposeParDict create mode 120000 tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/rightSolid/decomposeParDict create mode 120000 tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/topAir/decomposeParDict diff --git a/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/bottomSolid/decomposeParDict b/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/bottomSolid/decomposeParDict new file mode 120000 index 0000000000..46638e60f6 --- /dev/null +++ b/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/bottomSolid/decomposeParDict @@ -0,0 +1 @@ +../decomposeParDict \ No newline at end of file diff --git a/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/decomposeParDict b/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/decomposeParDict new file mode 100644 index 0000000000..6c40bf6d69 --- /dev/null +++ b/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/decomposeParDict @@ -0,0 +1,24 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2112 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + note "mesh decomposition control dictionary"; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +//- The total number of domains (mandatory) +numberOfSubdomains 3; + +//- The decomposition method (mandatory) +method scotch; + +// ************************************************************************* // diff --git a/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/leftSolid/decomposeParDict b/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/leftSolid/decomposeParDict new file mode 120000 index 0000000000..46638e60f6 --- /dev/null +++ b/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/leftSolid/decomposeParDict @@ -0,0 +1 @@ +../decomposeParDict \ No newline at end of file diff --git a/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/rightSolid/decomposeParDict b/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/rightSolid/decomposeParDict new file mode 120000 index 0000000000..46638e60f6 --- /dev/null +++ b/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/rightSolid/decomposeParDict @@ -0,0 +1 @@ +../decomposeParDict \ No newline at end of file diff --git a/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/topAir/decomposeParDict b/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/topAir/decomposeParDict new file mode 120000 index 0000000000..46638e60f6 --- /dev/null +++ b/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/system/topAir/decomposeParDict @@ -0,0 +1 @@ +../decomposeParDict \ No newline at end of file