From b017ef47bb8ce735c58eb0c800f55e08022633a7 Mon Sep 17 00:00:00 2001 From: mattijs <> Date: Tue, 8 Dec 2020 13:59:53 +0000 Subject: [PATCH] ENH: Added new multiWorld test case --- applications/test/multiWorld/Allrun | 18 +++ .../chtMultiRegionSimpleFoam/fluid/0/topAir/T | 49 ++++++++ .../chtMultiRegionSimpleFoam/fluid/0/topAir/U | 50 +++++++++ .../fluid/0/topAir/epsilon | 50 +++++++++ .../chtMultiRegionSimpleFoam/fluid/0/topAir/k | 50 +++++++++ .../chtMultiRegionSimpleFoam/fluid/0/topAir/p | 49 ++++++++ .../fluid/0/topAir/p_rgh | 49 ++++++++ .../chtMultiRegionSimpleFoam/fluid/constant/g | 20 ++++ .../fluid/constant/regionProperties | 24 ++++ .../fluid/constant/topAir/radiationProperties | 22 ++++ .../constant/topAir/thermophysicalProperties | 47 ++++++++ .../constant/topAir/turbulenceProperties | 19 ++++ .../fluid/system/controlDict | 66 +++++++++++ .../fluid/system/decomposeParDict | 54 +++++++++ .../fluid/system/fvSchemes | 58 ++++++++++ .../fluid/system/fvSolution | 105 ++++++++++++++++++ .../fluid/system/topAir/blockMeshDict | 96 ++++++++++++++++ .../fluid/system/topAir/fvSchemes | 1 + .../fluid/system/topAir/fvSolution | 1 + .../fluid/system/vtkWrite | 61 ++++++++++ .../mpirun_fluid_solid.schema | 2 + .../chtMultiRegionSimpleFoam/run_fluid.sh | 6 + .../chtMultiRegionSimpleFoam/run_solid.sh | 6 + .../solid/0/bottomSolid/T | 53 +++++++++ .../solid/0/bottomSolid/p | 50 +++++++++ .../constant/bottomSolid/radiationProperties | 23 ++++ .../bottomSolid/thermophysicalProperties | 52 +++++++++ .../chtMultiRegionSimpleFoam/solid/constant/g | 20 ++++ .../solid/constant/regionProperties | 24 ++++ .../solid/system/bottomSolid/blockMeshDict | 96 ++++++++++++++++ .../solid/system/bottomSolid/decomposeParDict | 1 + .../solid/system/bottomSolid/fvSchemes | 50 +++++++++ .../solid/system/bottomSolid/fvSolution | 53 +++++++++ .../solid/system/controlDict | 66 +++++++++++ .../solid/system/decomposeParDict | 54 +++++++++ .../solid/system/fvSchemes | 57 ++++++++++ .../solid/system/fvSolution | 83 ++++++++++++++ .../solid/system/vtkWrite | 61 ++++++++++ applications/test/multiWorld/left/0/T | 80 +++++++++++++ .../left/constant/transportProperties | 21 ++++ .../test/multiWorld/left/system/blockMeshDict | 90 +++++++++++++++ .../test/multiWorld/left/system/controlDict | 75 +++++++++++++ .../multiWorld/left/system/decomposeParDict | 25 +++++ .../test/multiWorld/left/system/fvSchemes | 52 +++++++++ .../test/multiWorld/left/system/fvSolution | 35 ++++++ applications/test/multiWorld/mpirun.schema | 7 ++ .../test/multiWorld/mpirun_left_right.schema | 2 + applications/test/multiWorld/right/0/T | 79 +++++++++++++ .../right/constant/transportProperties | 1 + .../multiWorld/right/system/blockMeshDict | 89 +++++++++++++++ .../test/multiWorld/right/system/controlDict | 1 + .../multiWorld/right/system/decomposeParDict | 1 + .../test/multiWorld/right/system/fvSchemes | 1 + .../test/multiWorld/right/system/fvSolution | 1 + applications/test/multiWorld/run_left.sh | 3 + applications/test/multiWorld/run_right.sh | 3 + 56 files changed, 2212 insertions(+) create mode 100755 applications/test/multiWorld/Allrun create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/T create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/U create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/epsilon create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/k create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/p create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/p_rgh create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/g create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/regionProperties create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/radiationProperties create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/thermophysicalProperties create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/turbulenceProperties create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/controlDict create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/decomposeParDict create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/fvSchemes create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/fvSolution create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/blockMeshDict create mode 120000 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/fvSchemes create mode 120000 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/fvSolution create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/vtkWrite create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/mpirun_fluid_solid.schema create mode 100755 applications/test/multiWorld/chtMultiRegionSimpleFoam/run_fluid.sh create mode 100755 applications/test/multiWorld/chtMultiRegionSimpleFoam/run_solid.sh create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/0/bottomSolid/T create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/0/bottomSolid/p create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/bottomSolid/radiationProperties create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/bottomSolid/thermophysicalProperties create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/g create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/regionProperties create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/blockMeshDict create mode 120000 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/decomposeParDict create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/fvSchemes create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/fvSolution create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/controlDict create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/decomposeParDict create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/fvSchemes create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/fvSolution create mode 100644 applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/vtkWrite create mode 100644 applications/test/multiWorld/left/0/T create mode 100644 applications/test/multiWorld/left/constant/transportProperties create mode 100644 applications/test/multiWorld/left/system/blockMeshDict create mode 100644 applications/test/multiWorld/left/system/controlDict create mode 100644 applications/test/multiWorld/left/system/decomposeParDict create mode 100644 applications/test/multiWorld/left/system/fvSchemes create mode 100644 applications/test/multiWorld/left/system/fvSolution create mode 100644 applications/test/multiWorld/mpirun.schema create mode 100644 applications/test/multiWorld/mpirun_left_right.schema create mode 100644 applications/test/multiWorld/right/0/T create mode 120000 applications/test/multiWorld/right/constant/transportProperties create mode 100644 applications/test/multiWorld/right/system/blockMeshDict create mode 120000 applications/test/multiWorld/right/system/controlDict create mode 120000 applications/test/multiWorld/right/system/decomposeParDict create mode 120000 applications/test/multiWorld/right/system/fvSchemes create mode 120000 applications/test/multiWorld/right/system/fvSolution create mode 100755 applications/test/multiWorld/run_left.sh create mode 100755 applications/test/multiWorld/run_right.sh diff --git a/applications/test/multiWorld/Allrun b/applications/test/multiWorld/Allrun new file mode 100755 index 0000000000..b4c1b2cc65 --- /dev/null +++ b/applications/test/multiWorld/Allrun @@ -0,0 +1,18 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # Run from this directory +. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions + +# Run serial +(cd left && runApplication blockMesh) +(cd right && runApplication blockMesh) +mpirun -app ./mpirun_left_right.schema + +## Run parallel +#(cd left && runApplication blockMesh) +#(cd left && runApplication decomposePar) +#(cd right && runApplication blockMesh) +#(cd right && runApplication decomposePar) +# +#mpirun -app ./mpirun.schema + +#------------------------------------------------------------------------------ diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/T b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/T new file mode 100644 index 0000000000..8e76c650c3 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/T @@ -0,0 +1,49 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object T; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 0 1 0 0 0]; + +internalField uniform 300; + +boundaryField +{ + #includeEtc "caseDicts/setConstraintTypes" + + bottom + { + type compressible::turbulentTemperatureCoupledBaffle2Mixed; + value uniform 300; + Tnbr T; + kappaMethod fluidThermo; + } + top + { + type zeroGradient; + } + left + { + type fixedValue; + value uniform 300; + } + right + { + type inletOutlet; + value uniform 300; + inletValue uniform 300; + } +} + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/U b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/U new file mode 100644 index 0000000000..f22f2284b7 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/U @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: plus | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + location "0/topAir"; + object U; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 0 1 -1 0 0 0 0 ]; + +internalField uniform ( 0.1 0 0 ); + +boundaryField +{ + #includeEtc "caseDicts/setConstraintTypes" + + top + { + type fixedValue; + value uniform ( 0 0 0 ); + } + left + { + type fixedValue; + value uniform ( 0.1 0 0 ); + } + right + { + type inletOutlet; + value uniform ( 0.1 0 0 ); + inletValue uniform ( 0 0 0 ); + } + bottom + { + type fixedValue; + value uniform ( 0 0 0 ); + } +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/epsilon b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/epsilon new file mode 100644 index 0000000000..d68079ad98 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/epsilon @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: plus | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0/topAir"; + object epsilon; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 0 2 -3 0 0 0 0 ]; + +internalField uniform 0.01; + +boundaryField +{ + #includeEtc "caseDicts/setConstraintTypes" + + left + { + type fixedValue; + value $internalField; + } + right + { + type inletOutlet; + value $internalField; + inletValue $internalField; + } + top + { + type epsilonWallFunction; + value $internalField; + } + bottom + { + type epsilonWallFunction; + value $internalField; + } +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/k b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/k new file mode 100644 index 0000000000..e478f0e22a --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/k @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: plus | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0/topAir"; + object k; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 0 2 -2 0 0 0 0 ]; + +internalField uniform 0.1; + +boundaryField +{ + #includeEtc "caseDicts/setConstraintTypes" + + top + { + type kqRWallFunction; + value $internalField; + } + left + { + type fixedValue; + value $internalField; + } + right + { + type inletOutlet; + value $internalField; + inletValue $internalField; + } + bottom + { + type kqRWallFunction; + value $internalField; + } +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/p b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/p new file mode 100644 index 0000000000..2967cd16fb --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/p @@ -0,0 +1,49 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: plus | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0/topAir"; + object p; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 1 -1 -2 0 0 0 0 ]; + +internalField uniform 100000; + +boundaryField +{ + #includeEtc "caseDicts/setConstraintTypes" + + top + { + type calculated; + value uniform 100000; + } + left + { + type calculated; + value uniform 100000; + } + right + { + type calculated; + value uniform 100000; + } + bottom + { + type calculated; + value uniform 100000; + } +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/p_rgh b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/p_rgh new file mode 100644 index 0000000000..46c38a47ee --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/0/topAir/p_rgh @@ -0,0 +1,49 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: plus | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0/topAir"; + object p_rgh; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 1 -1 -2 0 0 0 0 ]; + +internalField uniform 100000; + +boundaryField +{ + #includeEtc "caseDicts/setConstraintTypes" + + left + { + type fixedFluxPressure; + value uniform 100000; + } + top + { + type fixedFluxPressure; + value uniform 100000; + } + right + { + type fixedValue; + value uniform 100000; + } + bottom + { + type fixedFluxPressure; + value uniform 100000; + } +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/g b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/g new file mode 100644 index 0000000000..f2de66e054 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/g @@ -0,0 +1,20 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class uniformDimensionedVectorField; + object g; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -2 0 0 0 0]; +value (0 -9.81 0); + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/regionProperties b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/regionProperties new file mode 100644 index 0000000000..0fae99d46d --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/regionProperties @@ -0,0 +1,24 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object regionProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +regions +( + fluid (topAir) + solid () +); + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/radiationProperties b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/radiationProperties new file mode 100644 index 0000000000..f5abc91cd8 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/radiationProperties @@ -0,0 +1,22 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object radiationProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +radiation off; + +radiationModel none; + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/thermophysicalProperties b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/thermophysicalProperties new file mode 100644 index 0000000000..e9256fed6d --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/thermophysicalProperties @@ -0,0 +1,47 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object thermophysicalProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +thermoType +{ + type heRhoThermo; + mixture pureMixture; + transport const; + thermo hConst; + equationOfState perfectGas; + specie specie; + energy sensibleEnthalpy; +} + +mixture +{ + specie + { + molWeight 28.9; + } + thermodynamics + { + Cp 1000; + Hf 0; + } + transport + { + mu 1.8e-05; + Pr 0.7; + } +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/turbulenceProperties b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/turbulenceProperties new file mode 100644 index 0000000000..c9c4ffa83e --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/constant/topAir/turbulenceProperties @@ -0,0 +1,19 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType laminar; + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/controlDict b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/controlDict new file mode 100644 index 0000000000..29dff68725 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/controlDict @@ -0,0 +1,66 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +DebugSwitches +{ + //UPstream 1; + mappedPatchBase 1; +} + +application chtMultiRegionFoam; + +startFrom startTime; + +startTime 0; + +stopAt endTime; + +endTime 1; + +deltaT 0.001; + +writeControl adjustable; + +writeInterval 0.1; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 8; + +writeCompression off; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +maxCo 0.6; + +// Maximum diffusion number +maxDi 10.0; + +adjustTimeStep yes; + +//functions +//{ +// #include "vtkWrite" +//} + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/decomposeParDict b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/decomposeParDict new file mode 100644 index 0000000000..bd76856b49 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/decomposeParDict @@ -0,0 +1,54 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method scotch; +// method hierarchical; +// method simple; + +regions +{ + heater + { + numberOfSubdomains 1; + method simple; // none; + + coeffs + { + n (1 1 1); + } + } +} + +coeffs +{ + n (2 2 1); +} + +/* +constraints +{ + //- Keep owner and neighbour on same processor for faces in zones: + faces + { + type preserveFaceZones; + zones (heater solid1 solid3); + } +} +*/ + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/fvSchemes b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/fvSchemes new file mode 100644 index 0000000000..01c9c5e83a --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/fvSchemes @@ -0,0 +1,58 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + //default Euler; + default steadyState; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; + + div(phi,U) Gauss upwind; + div(phi,K) Gauss linear; + div(phi,h) Gauss upwind; + div(phi,k) Gauss upwind; + div(phi,epsilon) Gauss upwind; + div(phi,R) Gauss upwind; + div(R) Gauss linear; + div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/fvSolution b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/fvSolution new file mode 100644 index 0000000000..3611eeaa3a --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/fvSolution @@ -0,0 +1,105 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + rho + { + solver PCG; + preconditioner DIC; + tolerance 1e-7; + relTol 0.1; + } + + rhoFinal + { + $rho; + tolerance 1e-7; + relTol 0; + } + + p_rgh + { + solver GAMG; + tolerance 1e-7; + relTol 0.01; + + smoother GaussSeidel; + + } + + p_rghFinal + { + $p_rgh; + tolerance 1e-7; + relTol 0; + } + + "(U|h|k|epsilon|R)" + { + solver PBiCGStab; + preconditioner DILU; + tolerance 1e-7; + relTol 0.1; + } + + "(U|h|k|epsilon|R)Final" + { + $U; + tolerance 1e-7; + relTol 0; + } +} + +//PIMPLE +//{ +// momentumPredictor yes; +// nCorrectors 2; +// nNonOrthogonalCorrectors 0; +//} +// +//relaxationFactors +//{ +// equations +// { +// "h.*" 1; +// "U.*" 1; +// } +//} + + +SIMPLE +{ + nNonOrthogonalCorrectors 0; +} + +relaxationFactors +{ + fields + { + rho 1; + p_rgh 0.7; + } + equations + { + U 0.3; + "(h|e)" 0.3; + k 0.3; + epsilon 0.3; + } +} + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/blockMeshDict b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/blockMeshDict new file mode 100644 index 0000000000..8c87420086 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/blockMeshDict @@ -0,0 +1,96 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +scale 1; + +vertices +( + (-0.1 0.00 -0.05) + ( 0.1 0.00 -0.05) + ( 0.1 0.04 -0.05) + (-0.1 0.04 -0.05) + (-0.1 0.00 0.05) + ( 0.1 0.00 0.05) + ( 0.1 0.04 0.05) + (-0.1 0.04 0.05) +); + +blocks +( + hex (0 1 2 3 4 5 6 7) (20 10 1) simpleGrading (1 1 1) +); + +edges +( +); + +boundary +( + bottom + { + type mappedWall; + inGroups 1 ( wall ); + sampleMode nearestPatchFace; + + sampleWorld solid; + sampleRegion bottomSolid; + samplePatch top; + + faces + ( + (1 5 4 0) + ); + } + top + { + type wall; + faces + ( + (3 7 6 2) + ); + } + left + { + type wall; + faces + ( + (0 4 7 3) + ); + } + right + { + type wall; + faces + ( + (2 6 5 1) + ); + } + frontAndBack + { + type empty; + faces + ( + (0 3 2 1) + (4 5 6 7) + ); + } +); + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/fvSchemes b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/fvSchemes new file mode 120000 index 0000000000..288d536c8b --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/fvSchemes @@ -0,0 +1 @@ +../fvSchemes \ No newline at end of file diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/fvSolution b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/fvSolution new file mode 120000 index 0000000000..4a4e96ba76 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/topAir/fvSolution @@ -0,0 +1 @@ +../fvSolution \ No newline at end of file diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/vtkWrite b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/vtkWrite new file mode 100644 index 0000000000..b9b5dd2301 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/fluid/system/vtkWrite @@ -0,0 +1,61 @@ +// -*- C++ -*- +// Use the vtkWrite function object + +vtkWrite +{ + type vtkWrite; + libs (utilityFunctionObjects); + log true; + + writeControl writeTime; + writeInterval 1; + + regions (".*"); + + internal true; + + boundary true; + + single false; + + interpolate true; + + // Fields to output (words or regex) + fields (".*"); + + //- Output format (ascii | binary) - Default=binary + // format binary; + + //- Use legacy output format - Default=false + // legacy false; + + //- Output directory name - Default="postProcessing/" + // directory "VTK"; + + //- Write cell ids as field - Default=true + writeIds false; +} + + +// Solid walls only +walls +{ + type vtkWrite; + libs (utilityFunctionObjects); + log true; + + writeControl writeTime; + writeInterval 1; + + internal false; + + // single true; + + regions ( heater "(?i).*solid" ); + patches ( "(?i).*solid_to.*" "heater.*(Air|Water)" ); + + fields (T); +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/mpirun_fluid_solid.schema b/applications/test/multiWorld/chtMultiRegionSimpleFoam/mpirun_fluid_solid.schema new file mode 100644 index 0000000000..12f4066180 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/mpirun_fluid_solid.schema @@ -0,0 +1,2 @@ +-np 1 xterm -font fixed -title fluid -geometry 200x15+0+0 -e ./run_fluid.sh +-np 1 xterm -font fixed -title solid -geometry 200x15+0+200 -e ./run_solid.sh diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/run_fluid.sh b/applications/test/multiWorld/chtMultiRegionSimpleFoam/run_fluid.sh new file mode 100755 index 0000000000..37ec3a924b --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/run_fluid.sh @@ -0,0 +1,6 @@ +#!/bin/bash +#. /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/etc/bashrc +. $WM_PROJECT_DIR/etc/bashrc +#cd /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/applications/test/multiWorld/chtMultiRegionSimpleFoam +chtMultiRegionSimpleFoam -case ./fluid -world fluid 2>&1 | tee run_fluid.log +read dummy diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/run_solid.sh b/applications/test/multiWorld/chtMultiRegionSimpleFoam/run_solid.sh new file mode 100755 index 0000000000..274ab99ffd --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/run_solid.sh @@ -0,0 +1,6 @@ +#!/bin/bash +. $WM_PROJECT_DIR/etc/bashrc +#. /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/etc/bashrc +#cd /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/applications/test/multiWorld/chtMultiRegionSimpleFoam +chtMultiRegionSimpleFoam -case ./solid -world solid 2>&1 | tee run_solid.log +read dummy diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/0/bottomSolid/T b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/0/bottomSolid/T new file mode 100644 index 0000000000..8e29af264e --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/0/bottomSolid/T @@ -0,0 +1,53 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: plus | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0/leftSolid"; + object T; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 0 0 0 1 0 0 0 ]; + +internalField uniform 300; + +boundaryField +{ + #includeEtc "caseDicts/setConstraintTypes" + + left + { + type zeroGradient; + value $internalField; + } + right + { + type zeroGradient; + value $internalField; + } + bottom + { + //type zeroGradient; + //value $internalField; + type uniformFixedValue; + uniformValue 270; + } + top + { + type compressible::turbulentTemperatureCoupledBaffle2Mixed; + value $internalField; + Tnbr T; + kappaMethod solidThermo; + } +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/0/bottomSolid/p b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/0/bottomSolid/p new file mode 100644 index 0000000000..906ea5aa3c --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/0/bottomSolid/p @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: plus | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0/leftSolid"; + object p; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -2 0 0 0 0]; + + +internalField uniform 100000; + +boundaryField +{ + #includeEtc "caseDicts/setConstraintTypes" + + left + { + type calculated; + value $internalField; + } + right + { + type calculated; + value $internalField; + } + top + { + type calculated; + value $internalField; + } + bottom + { + type calculated; + value $internalField; + } +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/bottomSolid/radiationProperties b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/bottomSolid/radiationProperties new file mode 100644 index 0000000000..acf3e6a24a --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/bottomSolid/radiationProperties @@ -0,0 +1,23 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ + +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object radiationProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +radiation off; + +radiationModel none; + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/bottomSolid/thermophysicalProperties b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/bottomSolid/thermophysicalProperties new file mode 100644 index 0000000000..ec1e5f5ca2 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/bottomSolid/thermophysicalProperties @@ -0,0 +1,52 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object thermophysicalProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +thermoType +{ + type heSolidThermo; + mixture pureMixture; + transport constIso; + thermo hConst; + equationOfState rhoConst; + specie specie; + energy sensibleEnthalpy; +} + +mixture +{ + specie + { + molWeight 50; + } + + transport + { + kappa 80; + } + + thermodynamics + { + Hf 0; + Cp 450; + } + + equationOfState + { + rho 8000; + } +} + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/g b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/g new file mode 100644 index 0000000000..f2de66e054 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/g @@ -0,0 +1,20 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class uniformDimensionedVectorField; + object g; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -2 0 0 0 0]; +value (0 -9.81 0); + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/regionProperties b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/regionProperties new file mode 100644 index 0000000000..d77300dc85 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/constant/regionProperties @@ -0,0 +1,24 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object regionProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +regions +( + fluid () + solid (bottomSolid) +); + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/blockMeshDict b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/blockMeshDict new file mode 100644 index 0000000000..2de0f2d710 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/blockMeshDict @@ -0,0 +1,96 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +scale 1; + +vertices +( + (-0.1 -0.04 -0.05) + ( 0.1 -0.04 -0.05) + ( 0.1 0.00 -0.05) + (-0.1 0.00 -0.05) + (-0.1 -0.04 0.05) + ( 0.1 -0.04 0.05) + ( 0.1 0.00 0.05) + (-0.1 0.00 0.05) +); + +blocks +( + hex (0 1 2 3 4 5 6 7) (20 10 1) simpleGrading (1 1 1) +); + +edges +( +); + +boundary +( + bottom + { + type wall; + faces + ( + (1 5 4 0) + ); + } + top + { + type mappedWall; + inGroups 1 ( wall ); + sampleMode nearestPatchFace; + + sampleWorld fluid; + sampleRegion topAir; + samplePatch bottom; + + faces + ( + (3 7 6 2) + ); + } + left + { + type wall; + faces + ( + (0 4 7 3) + ); + } + right + { + type wall; + faces + ( + (2 6 5 1) + ); + } + frontAndBack + { + type empty; + faces + ( + (0 3 2 1) + (4 5 6 7) + ); + } +); + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/decomposeParDict b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/decomposeParDict new file mode 120000 index 0000000000..46638e60f6 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/decomposeParDict @@ -0,0 +1 @@ +../decomposeParDict \ No newline at end of file diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/fvSchemes b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/fvSchemes new file mode 100644 index 0000000000..ae77e39fdc --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/fvSchemes @@ -0,0 +1,50 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + //default Euler; + default steadyState; +} + +gradSchemes +{ + default Gauss linear; +} + +divSchemes +{ + default none; +} + +laplacianSchemes +{ + default none; + laplacian(alpha,h) Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/fvSolution b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/fvSolution new file mode 100644 index 0000000000..f5430bb3ac --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/bottomSolid/fvSolution @@ -0,0 +1,53 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + h + { + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.1; + } + + hFinal + { + $h; + tolerance 1e-06; + relTol 0; + } +} + +//PIMPLE +//{ +// nNonOrthogonalCorrectors 0; +//} + +SIMPLE +{ + nNonOrthogonalCorrectors 0; +} + +relaxationFactors +{ + equations + { + h 0.7; + } +} + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/controlDict b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/controlDict new file mode 100644 index 0000000000..29dff68725 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/controlDict @@ -0,0 +1,66 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +DebugSwitches +{ + //UPstream 1; + mappedPatchBase 1; +} + +application chtMultiRegionFoam; + +startFrom startTime; + +startTime 0; + +stopAt endTime; + +endTime 1; + +deltaT 0.001; + +writeControl adjustable; + +writeInterval 0.1; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 8; + +writeCompression off; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable yes; + +maxCo 0.6; + +// Maximum diffusion number +maxDi 10.0; + +adjustTimeStep yes; + +//functions +//{ +// #include "vtkWrite" +//} + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/decomposeParDict b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/decomposeParDict new file mode 100644 index 0000000000..bd76856b49 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/decomposeParDict @@ -0,0 +1,54 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method scotch; +// method hierarchical; +// method simple; + +regions +{ + heater + { + numberOfSubdomains 1; + method simple; // none; + + coeffs + { + n (1 1 1); + } + } +} + +coeffs +{ + n (2 2 1); +} + +/* +constraints +{ + //- Keep owner and neighbour on same processor for faces in zones: + faces + { + type preserveFaceZones; + zones (heater solid1 solid3); + } +} +*/ + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/fvSchemes b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/fvSchemes new file mode 100644 index 0000000000..966ed57240 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/fvSchemes @@ -0,0 +1,57 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +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(phi,K) Gauss linear; + div(phi,h) Gauss upwind; + div(phi,k) Gauss upwind; + div(phi,epsilon) Gauss upwind; + div(phi,R) Gauss upwind; + div(R) Gauss linear; + div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; +} + +laplacianSchemes +{ + default Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/fvSolution b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/fvSolution new file mode 100644 index 0000000000..f0b782f544 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/fvSolution @@ -0,0 +1,83 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + rho + { + solver PCG; + preconditioner DIC; + tolerance 1e-7; + relTol 0.1; + } + + rhoFinal + { + $rho; + tolerance 1e-7; + relTol 0; + } + + p_rgh + { + solver GAMG; + tolerance 1e-7; + relTol 0.01; + + smoother GaussSeidel; + + } + + p_rghFinal + { + $p_rgh; + tolerance 1e-7; + relTol 0; + } + + "(U|h|k|epsilon|R)" + { + solver PBiCGStab; + preconditioner DILU; + tolerance 1e-7; + relTol 0.1; + } + + "(U|h|k|epsilon|R)Final" + { + $U; + tolerance 1e-7; + relTol 0; + } +} + +PIMPLE +{ + momentumPredictor yes; + nCorrectors 2; + nNonOrthogonalCorrectors 0; +} + +relaxationFactors +{ + equations + { + "h.*" 1; + "U.*" 1; + } +} + +// ************************************************************************* // diff --git a/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/vtkWrite b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/vtkWrite new file mode 100644 index 0000000000..b9b5dd2301 --- /dev/null +++ b/applications/test/multiWorld/chtMultiRegionSimpleFoam/solid/system/vtkWrite @@ -0,0 +1,61 @@ +// -*- C++ -*- +// Use the vtkWrite function object + +vtkWrite +{ + type vtkWrite; + libs (utilityFunctionObjects); + log true; + + writeControl writeTime; + writeInterval 1; + + regions (".*"); + + internal true; + + boundary true; + + single false; + + interpolate true; + + // Fields to output (words or regex) + fields (".*"); + + //- Output format (ascii | binary) - Default=binary + // format binary; + + //- Use legacy output format - Default=false + // legacy false; + + //- Output directory name - Default="postProcessing/" + // directory "VTK"; + + //- Write cell ids as field - Default=true + writeIds false; +} + + +// Solid walls only +walls +{ + type vtkWrite; + libs (utilityFunctionObjects); + log true; + + writeControl writeTime; + writeInterval 1; + + internal false; + + // single true; + + regions ( heater "(?i).*solid" ); + patches ( "(?i).*solid_to.*" "heater.*(Air|Water)" ); + + fields (T); +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/left/0/T b/applications/test/multiWorld/left/0/T new file mode 100644 index 0000000000..4b2a158a2a --- /dev/null +++ b/applications/test/multiWorld/left/0/T @@ -0,0 +1,80 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object T; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 0 1 0 0 0]; + +internalField uniform 1; + +boundaryField +{ + coupled + { + //type mappedField; + type mappedMixedField; + + // What to sample: + sampleMode nearestPatchFace; + + // Simulation world to sample + sampleWorld RIGHT; + + // Region to sample + sampleRegion region0; + + // If sampleMode is nearestPatchFace : patch to find faces of + samplePatch coupled; + + // Use database to get data from (one-way or loose coupling in + // combination with functionObject) + //sampleDatabase false; //true; + + // According to offsetMode (see above) supply one of + // offset, offsets or distance + offset (0 0 0); + + value uniform 0.0; + + + // For mappedMixed + //weightField DTV; + refValue $value; + refGradient uniform 0.0; + valueFraction uniform 1.0; + } + + top + { + type zeroGradient; + } + + bottom + { + type zeroGradient; + } + + left + { + type fixedValue; + value uniform 1; + } + + frontAndBack + { + type empty; + } +} + +// ************************************************************************* // diff --git a/applications/test/multiWorld/left/constant/transportProperties b/applications/test/multiWorld/left/constant/transportProperties new file mode 100644 index 0000000000..55a3eaa5b0 --- /dev/null +++ b/applications/test/multiWorld/left/constant/transportProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object transportProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +DT 4e-05; + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/left/system/blockMeshDict b/applications/test/multiWorld/left/system/blockMeshDict new file mode 100644 index 0000000000..11df606868 --- /dev/null +++ b/applications/test/multiWorld/left/system/blockMeshDict @@ -0,0 +1,90 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +scale 0.1; + +vertices +( + (0 0 0) + (0.5 0 0) + (0.5 1 0) + (0 1 0) + (0 0 0.1) + (0.5 0 0.1) + (0.5 1 0.1) + (0 1 0.1) +); + +blocks +( + hex (0 1 2 3 4 5 6 7) (2 2 1) simpleGrading (1 1 1) +); + +edges +( +); + +boundary +( + coupled + { + type wall; + faces + ( + (2 6 5 1) + ); + } + + top + { + type wall; + faces + ( + (3 7 6 2) + ); + } + bottom + { + type wall; + faces + ( + (1 5 4 0) + ); + } + left + { + type wall; + faces + ( + (0 4 7 3) + ); + } + frontAndBack + { + type empty; + faces + ( + (0 3 2 1) + (4 5 6 7) + ); + } +); + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/applications/test/multiWorld/left/system/controlDict b/applications/test/multiWorld/left/system/controlDict new file mode 100644 index 0000000000..d4e35ab139 --- /dev/null +++ b/applications/test/multiWorld/left/system/controlDict @@ -0,0 +1,75 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object controlDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +libs (utilityFunctionObjects); + +DebugSwitches +{ +// mappedPatchBase 1; +// syncObjects 1; + +} + + +application laplacianFoam; + +startFrom startTime; //latestTime; + +startTime 0; + +stopAt endTime; + +endTime 50; + +deltaT 1; + +//writeControl runTime; +//writeInterval 0.1; +writeControl timeStep; +writeInterval 1; + +purgeWrite 0; + +writeFormat ascii; + +writePrecision 6; + +writeCompression off; + +timeFormat general; + +timePrecision 6; + +runTimeModifiable true; + +functions +{ + syncObjects + { + type syncObjects; + libs (utilityFunctionObjects); + + // Where is data located relative to runTime. Given as a filename + // with every '/' indicating a sub-objectRegistry w.r.t. runTime. + // Local data is under /send/processorXXX. After execution + // data will be under the corresponding /receive/processorYYY + // objectRegistry + //root "level0/level1/level2"; + } +} + +// ************************************************************************* // diff --git a/applications/test/multiWorld/left/system/decomposeParDict b/applications/test/multiWorld/left/system/decomposeParDict new file mode 100644 index 0000000000..d915217b98 --- /dev/null +++ b/applications/test/multiWorld/left/system/decomposeParDict @@ -0,0 +1,25 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: 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 2; + +//- The decomposition method (mandatory) +method hierarchical; +n (2 1 1); + +// ************************************************************************* // diff --git a/applications/test/multiWorld/left/system/fvSchemes b/applications/test/multiWorld/left/system/fvSchemes new file mode 100644 index 0000000000..849b75c9ea --- /dev/null +++ b/applications/test/multiWorld/left/system/fvSchemes @@ -0,0 +1,52 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object fvSchemes; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +ddtSchemes +{ + default steadyState; //Euler; +} + +gradSchemes +{ + default Gauss linear; + grad(T) Gauss linear; +} + +divSchemes +{ + default none; +} + +laplacianSchemes +{ + default none; + laplacian(DT,T) Gauss linear corrected; + laplacian(DTV,T) Gauss linear corrected; +} + +interpolationSchemes +{ + default linear; +} + +snGradSchemes +{ + default corrected; +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/left/system/fvSolution b/applications/test/multiWorld/left/system/fvSolution new file mode 100644 index 0000000000..2e7f5d55e3 --- /dev/null +++ b/applications/test/multiWorld/left/system/fvSolution @@ -0,0 +1,35 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object fvSolution; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +solvers +{ + T + { + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } +} + +SIMPLE +{ + nNonOrthogonalCorrectors 2; +} + + +// ************************************************************************* // diff --git a/applications/test/multiWorld/mpirun.schema b/applications/test/multiWorld/mpirun.schema new file mode 100644 index 0000000000..faa5932bdb --- /dev/null +++ b/applications/test/multiWorld/mpirun.schema @@ -0,0 +1,7 @@ +-np 2 laplacianFoam -case ./left -world LEFT -parallel +-np 2 laplacianFoam -case ./right -world RIGHT -parallel + +#-np 1 xterm -font fixed -title processor0 -geometry 200x15+0+0 -e /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/applications/test/multiWorld/processor0.sh +#-np 1 xterm -font fixed -title processor1 -geometry 200x15+0+200 -e /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/applications/test/multiWorld/processor1.sh +#-np 1 xterm -font fixed -title processor2 -geometry 200x15+0+400 -e /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/applications/test/multiWorld/processor2.sh +#-np 1 xterm -font fixed -title processor3 -geometry 200x15+0+600 -e /home/mattijs/OpenFOAM/OpenFOAM-plus.feature-localWorld/applications/test/multiWorld/processor3.sh diff --git a/applications/test/multiWorld/mpirun_left_right.schema b/applications/test/multiWorld/mpirun_left_right.schema new file mode 100644 index 0000000000..c811e563f4 --- /dev/null +++ b/applications/test/multiWorld/mpirun_left_right.schema @@ -0,0 +1,2 @@ +-np 1 xterm -font fixed -title processor0 -geometry 200x15+0+0 -e ./run_left.sh +-np 1 xterm -font fixed -title processor1 -geometry 200x15+0+200 -e ./run_right.sh diff --git a/applications/test/multiWorld/right/0/T b/applications/test/multiWorld/right/0/T new file mode 100644 index 0000000000..6cc7739614 --- /dev/null +++ b/applications/test/multiWorld/right/0/T @@ -0,0 +1,79 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object T; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 0 1 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + coupled + { + //type mappedField; + type mappedMixedField; + + // What to sample: + sampleMode nearestPatchFace; + + // Simulation world to sample + sampleWorld LEFT; + + // Region to sample + sampleRegion region0; + + // If sampleMode is nearestPatchFace : patch to find faces of + samplePatch coupled; + + // Use database to get data from (one-way or loose coupling in + // combination with functionObject) + //sampleDatabase false; //true; + + // According to offsetMode (see above) supply one of + // offset, offsets or distance + offset (0 0 0); + + value uniform 1.1; + + // For mappedMixed + //weightField DTV; + refValue $value; + refGradient uniform 0.0; + valueFraction uniform 1.0; + } + + top + { + type zeroGradient; + } + + bottom + { + type zeroGradient; + } + + right + { + type fixedValue; + value uniform 0; + } + + frontAndBack + { + type empty; + } +} + +// ************************************************************************* // diff --git a/applications/test/multiWorld/right/constant/transportProperties b/applications/test/multiWorld/right/constant/transportProperties new file mode 120000 index 0000000000..d0e9cc0e1c --- /dev/null +++ b/applications/test/multiWorld/right/constant/transportProperties @@ -0,0 +1 @@ +../../left/constant/transportProperties \ No newline at end of file diff --git a/applications/test/multiWorld/right/system/blockMeshDict b/applications/test/multiWorld/right/system/blockMeshDict new file mode 100644 index 0000000000..24332c294a --- /dev/null +++ b/applications/test/multiWorld/right/system/blockMeshDict @@ -0,0 +1,89 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v1906 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +scale 0.1; + +vertices +( + (0.5 0 0) + (1 0 0) + (1 1 0) + (0.5 1 0) + (0.5 0 0.1) + (1 0 0.1) + (1 1 0.1) + (0.5 1 0.1) +); + +blocks +( + hex (0 1 2 3 4 5 6 7) (2 2 1) simpleGrading (1 1 1) +); + +edges +( +); + +boundary +( + coupled + { + type wall; + faces + ( + (0 4 7 3) + ); + } + top + { + type wall; + faces + ( + (3 7 6 2) + ); + } + bottom + { + type wall; + faces + ( + (1 5 4 0) + ); + } + right + { + type wall; + faces + ( + (2 6 5 1) + ); + } + frontAndBack + { + type empty; + faces + ( + (0 3 2 1) + (4 5 6 7) + ); + } +); + +mergePatchPairs +( +); + +// ************************************************************************* // diff --git a/applications/test/multiWorld/right/system/controlDict b/applications/test/multiWorld/right/system/controlDict new file mode 120000 index 0000000000..a538e4c6da --- /dev/null +++ b/applications/test/multiWorld/right/system/controlDict @@ -0,0 +1 @@ +../../left/system/controlDict \ No newline at end of file diff --git a/applications/test/multiWorld/right/system/decomposeParDict b/applications/test/multiWorld/right/system/decomposeParDict new file mode 120000 index 0000000000..44a7cb6766 --- /dev/null +++ b/applications/test/multiWorld/right/system/decomposeParDict @@ -0,0 +1 @@ +../../left/system/decomposeParDict \ No newline at end of file diff --git a/applications/test/multiWorld/right/system/fvSchemes b/applications/test/multiWorld/right/system/fvSchemes new file mode 120000 index 0000000000..d443e22599 --- /dev/null +++ b/applications/test/multiWorld/right/system/fvSchemes @@ -0,0 +1 @@ +../../left/system/fvSchemes \ No newline at end of file diff --git a/applications/test/multiWorld/right/system/fvSolution b/applications/test/multiWorld/right/system/fvSolution new file mode 120000 index 0000000000..30d61e5f30 --- /dev/null +++ b/applications/test/multiWorld/right/system/fvSolution @@ -0,0 +1 @@ +../../left/system/fvSolution \ No newline at end of file diff --git a/applications/test/multiWorld/run_left.sh b/applications/test/multiWorld/run_left.sh new file mode 100755 index 0000000000..ff10c97611 --- /dev/null +++ b/applications/test/multiWorld/run_left.sh @@ -0,0 +1,3 @@ +#!/bin/bash +laplacianFoam -case ./left -world LEFT 2>&1 | tee log.run_left +read dummy diff --git a/applications/test/multiWorld/run_right.sh b/applications/test/multiWorld/run_right.sh new file mode 100755 index 0000000000..529bea06fb --- /dev/null +++ b/applications/test/multiWorld/run_right.sh @@ -0,0 +1,3 @@ +#!/bin/bash +laplacianFoam -case ./right -world RIGHT 2>&1 | tee log.run_right +read dummy