diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/U b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/U deleted file mode 100644 index de115cd676..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/U +++ /dev/null @@ -1,55 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - location "0"; - object U; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 1 -1 0 0 0 0 ]; - -internalField uniform ( 0.3 0 0 ); - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type fixedValue; - value uniform ( 0 0 0 ); - } - lower - { - type fixedValue; - value uniform ( 0 0 0 ); - } - upper - { - type fixedValue; - value uniform ( 0 0 0 ); - } - Inlet - { - type fixedValue; - value uniform ( 0.3 0 0 ); - } - Outlet - { - type zeroGradient; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/Ua b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/Ua deleted file mode 100644 index 465d3a935b..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/Ua +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - location "0"; - object Ua; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 1 -1 0 0 0 0 ]; - -internalField uniform ( 0 0 0 ); - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type adjointWallVelocity; - value uniform ( 0 0 0 ); - } - upper - { - type adjointWallVelocity; - value uniform ( 0 0 0 ); - } - Inlet - { - type adjointInletVelocity; - value uniform ( 0 0 0 ); - } - Outlet - { - type adjointOutletVelocity; - value uniform ( 0 0 0 ); - } - lower - { - type adjointWallVelocity; - value uniform ( 0 0 0 ); - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/Up2 b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/Up2 deleted file mode 100644 index a70232fe46..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/Up2 +++ /dev/null @@ -1,55 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - location "0"; - object U; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 1 -1 0 0 0 0 ]; - -internalField uniform ( 4.95 0 0 ); - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type fixedValue; - value uniform ( 0 0 0 ); - } - lower - { - type fixedValue; - value uniform ( 0 0 0 ); - } - upper - { - type fixedValue; - value uniform ( 0 0 0 ); - } - Inlet - { - type fixedValue; - value uniform ( 4.95 0 0 ); - } - Outlet - { - type zeroGradient; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/nuTilda b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/nuTilda deleted file mode 100644 index a7f8dfed2e..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/nuTilda +++ /dev/null @@ -1,55 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object nuTilda; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -1 0 0 0 0 ]; - -internalField uniform 4.5e-05; - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type fixedValue; - value uniform 0; - } - upper - { - type fixedValue; - value uniform 0; - } - lower - { - type fixedValue; - value uniform 0; - } - Inlet - { - type fixedValue; - value uniform 4.5e-05; - } - Outlet - { - type zeroGradient; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/nuaTilda b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/nuaTilda deleted file mode 100644 index 24b5f41f45..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/nuaTilda +++ /dev/null @@ -1,60 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object nuaTilda; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 0 -1 0 0 0 0 ]; - -internalField uniform 0; - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type fixedValue; - value uniform 0; - } - upper - { - type fixedValue; - value uniform 0; - } - lower - { - type fixedValue; - value uniform 0; - } - Inlet - { - type adjointInletNuaTilda; - value uniform 0; - } - Outlet - { - type adjointOutletNuaTilda; - value uniform 0; - } - defaultFaces - { - type empty; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/nut b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/nut deleted file mode 100644 index 206a8db763..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/nut +++ /dev/null @@ -1,55 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object nut; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -1 0 0 0 0 ]; - -internalField uniform 3.15e-06; - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type nutLowReWallFunction; - value uniform 0; - } - upper - { - type nutLowReWallFunction; - value uniform 0; - } - lower - { - type nutLowReWallFunction; - value uniform 0; - } - Inlet - { - type fixedValue; - value uniform 3.15e-06; - } - Outlet - { - type zeroGradient; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/p b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/p deleted file mode 100644 index 7c186dde34..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/p +++ /dev/null @@ -1,52 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object p; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -2 0 0 0 0 ]; - -internalField uniform 0; - -boundaryField -{ - frontBack - { - type empty; - } - lower - { - type zeroGradient; - } - upper - { - type zeroGradient; - } - sideWall - { - type zeroGradient; - } - Inlet - { - type zeroGradient; - } - Outlet - { - type fixedValue; - value uniform 0; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/pa b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/pa deleted file mode 100644 index 59938b12cd..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/0.orig/pa +++ /dev/null @@ -1,52 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object pa; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -2 0 0 0 0 ]; - -internalField uniform 0; - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type zeroGradient; - } - upper - { - type zeroGradient; - } - Inlet - { - type zeroGradient; - } - Outlet - { - type adjointOutletPressure; - value uniform 0; - } - lower - { - type zeroGradient; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/Allclean b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/Allclean deleted file mode 100755 index 6940d2c680..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/Allclean +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -cd "${0%/*}" || exit # Run from this directory -. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions -#------------------------------------------------------------------------------ - -cleanCase0 -rm -f system/fvSchemes.gz - -#------------------------------------------------------------------------------ diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/Allrun b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/Allrun deleted file mode 100755 index 62945cb440..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/Allrun +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -cd "${0%/*}" || exit # Run from this directory -. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions -#------------------------------------------------------------------------------ - -resourcesDir="$FOAM_TUTORIALS"/incompressible/adjointOptimisationFoam/resources - -restore0Dir - -cp -rf "$resourcesDir"/meshes/sbend/polyMesh/ constant/ -cp -f system/fvSchemes.org system/fvSchemes -runApplication decomposePar - -runParallel $(getApplication) - -runParallel cumulativeDisplacement - -#------------------------------------------------------------------------------ diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/adjointRASProperties b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/adjointRASProperties deleted file mode 100644 index fe7739dc1f..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/adjointRASProperties +++ /dev/null @@ -1,22 +0,0 @@ -/*--------------------------------*- 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; - object adjointTurbulenceProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -adjointRASModel adjointSpalartAllmaras; - -adjointTurbulence on; - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/dynamicMeshDict b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/dynamicMeshDict deleted file mode 100644 index 2c3a5b924a..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/dynamicMeshDict +++ /dev/null @@ -1,48 +0,0 @@ -/*--------------------------------*- 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; - object dynamicMeshDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solver volumetricBSplinesMotionSolver; - -volumetricBSplinesMotionSolverCoeffs -{ - duct - { - type cartesian; - nCPsU 9; - nCPsV 5; - nCPsW 3; - degreeU 3; - degreeV 3; - degreeW 2; - - controlPointsDefinition axisAligned; - lowerCpBounds (-1.1 -0.21 -0.05); - upperCpBounds ( 1.1 0.39 0.15); - - confineUMovement false; - confineVMovement false; - confineWMovement true; - confineBoundaryControlPoints false; - - confineUMinCPs ( (true true true) (true true true) ); - confineUMaxCPs ( (true true true) (true true true) ); - confineWMinCPs ( (true true true) ); - confineWMaxCPs ( (true true true) ); - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/transportProperties b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/transportProperties deleted file mode 100644 index ac1d6ef1a5..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/transportProperties +++ /dev/null @@ -1,21 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object transportProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -transportModel Newtonian; - -nu 1.5e-05; - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/turbulenceProperties b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/turbulenceProperties deleted file mode 100644 index 07d6f4982c..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/constant/turbulenceProperties +++ /dev/null @@ -1,29 +0,0 @@ -/*--------------------------------*- 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; - object turbulenceProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -simulationType RAS; - -RAS -{ - RASModel SpalartAllmaras; - - turbulence on; - - printCoeffs on; -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/controlDict b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/controlDict deleted file mode 100644 index 5daee5d77d..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/controlDict +++ /dev/null @@ -1,48 +0,0 @@ -/*--------------------------------*- 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; - object controlDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -application adjointOptimisationFoam; - -startFrom latestTime; - -startTime 0; - -stopAt endTime; - -endTime 5; - -deltaT 1; - -writeControl timeStep; - -writeInterval 1; - -purgeWrite 0; - -writeFormat ascii; - -writePrecision 16; - -writeCompression true; - -timeFormat general; - -timePrecision 6; - -runTimeModifiable yes; - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/decomposeParDict b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/decomposeParDict deleted file mode 100644 index 920ee23c6d..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/decomposeParDict +++ /dev/null @@ -1,26 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object decomposeParDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -numberOfSubdomains 4; - -method hierarchical; - -coeffs -{ - n (4 1 1); -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/fvSchemes.org b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/fvSchemes.org deleted file mode 100644 index 5c9d97a452..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/fvSchemes.org +++ /dev/null @@ -1,71 +0,0 @@ -/*--------------------------------*- 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; - object fvSchemes; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default steadyState; -} - -gradSchemes -{ - default Gauss linear; - gradDConv cellLimited Gauss linear 1; -} - -divSchemes -{ - default Gauss linear; - - div(phi,U) bounded Gauss linearUpwind gradUConv; - div(phi,nuTilda) bounded Gauss linearUpwind gradNuTildaConv; - - div(yPhi,yWall) Gauss linearUpwind gradDConv; - - div(-phi,Ua) bounded Gauss linearUpwind gradUaConv; - div(-phi,nuaTilda) bounded Gauss linearUpwind gradNuaTildaConv; - - div(-yPhi,da) Gauss linearUpwind gradDaConv; -} - -laplacianSchemes -{ - default Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -wallDist -{ - method advectionDiffusion; - advectionDiffusionCoeffs - { - method meshWave; - tolerance 1.e-6; - maxIter 1000; - epsilon 0.1; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/fvSolution b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/fvSolution deleted file mode 100644 index 009e4c67c6..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/fvSolution +++ /dev/null @@ -1,68 +0,0 @@ -/*--------------------------------*- 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; - object fvSolution; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -SIMPLE -{ - nNonOrthogonalCorrectors 0; -} - -solvers -{ - "(p|pa).*" - { - solver PCG; - preconditioner DIC; - tolerance 1e-9; - relTol 0.01; - }; - - "(m|ma).*" - { - solver PCG; - preconditioner DIC; - tolerance 1e-9; - relTol 0.01; - }; - - "(U.*|Ua.*|nuTilda.*|nuaTilda.*|yWall|da.*)" - { - solver PBiCGStab; - preconditioner DILU; - tolerance 1e-9; - relTol 0.1; - }; -} - -relaxationFactors -{ - fields - { - "p.*" 0.5; - "pa.*" 0.5; - } - equations - { - "U.*" 0.7; - "Ua.*" 0.7; - "nuTilda.*" 0.7; - "nuaTilda.*" 0.7; - yWall 0.7; - "da.*" 0.7; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/optimisationDict b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/optimisationDict deleted file mode 100644 index 5cdbced928..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/multiPoint-fallBackSchemes/system/optimisationDict +++ /dev/null @@ -1,195 +0,0 @@ -/*--------------------------------*- 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; - object optimisationDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -optimisationManager steadyOptimisation; - -primalSolvers -{ - p1 - { - active true; - type incompressible; - solver simple; - - solutionControls - { - nIters 3000; - residualControl - { - "p.*" 1.e-7; - "U.*" 1.e-7; - "nuTilda.*" 1.e-7; - } - } - } - p2 - { - active true; - type incompressible; - solver simple; - - solutionControls - { - nIters 3000; - residualControl - { - "p.*" 1.e-7; - "U.*" 1.e-7; - "nuTilda.*" 1.e-7; - } - } - } -} - -adjointManagers -{ - am1 - { - primalSolver p1; - operatingPointWeight 1; - adjointSolvers - { - as1 - { - // choose adjoint solver - //---------------------- - active true; - type incompressible; - solver adjointSimple; - - // manage objectives - //------------------ - objectives - { - type incompressible; - objectiveNames - { - losses - { - weight 1; - type PtLosses; - patches (Inlet Outlet); - } - } - } - - // ATC treatment - //-------------- - ATCModel - { - ATCModel standard; - } - - // solution control - //------------------ - solutionControls - { - nIters 3000; - residualControl - { - "pa.*" 1.e-7; - "Ua.*" 1.e-7; - "nuaTilda.*" 1.e-7; - } - } - } - } - } - am2 - { - primalSolver p2; - operatingPointWeight 300; - adjointSolvers - { - as2 - { - // choose adjoint solver - //---------------------- - active true; - type incompressible; - solver adjointSimple; - - // manage objectives - //------------------ - objectives - { - type incompressible; - objectiveNames - { - losses - { - weight 1; - type PtLosses; - } - } - } - - // ATC treatment - //-------------- - ATCModel - { - ATCModel standard; - } - - // solution control - //------------------ - solutionControls - { - nIters 3000; - residualControl - { - "pa.*" 1.e-7; - "Ua.*" 1.e-7; - "nuaTilda.*" 1.e-7; - } - } - } - } - } -} - -optimisation -{ - optimisationType - { - type shapeOptimisation; - writeEachMesh true; - } - - sensitivities - { - type volumetricBSplinesFI; - patches (lower upper); - } - updateMethod - { - method BFGS; - BFGS - { - etaHessian 0.8; - nSteepestDescent 1; - scaleFirstHessian true; - } - } - meshMovement - { - type volumetricBSplines; - maxAllowedDisplacement 2.e-3; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/U b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/U deleted file mode 100644 index fd6ca7b6aa..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/U +++ /dev/null @@ -1,53 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2109 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - object U; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 1 -1 0 0 0 0 ]; - -internalField uniform ( 3.95 0 0 ); - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type fixedValue; - value uniform ( 0 0 0 ); - } - lower - { - type fixedValue; - value uniform ( 0 0 0 ); - } - upper - { - type fixedValue; - value uniform ( 0 0 0 ); - } - Inlet - { - type fixedValue; - value uniform ( 3.95 0 0 ); - } - Outlet - { - type zeroGradient; - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/Ua b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/Ua deleted file mode 100644 index 328d19066a..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/Ua +++ /dev/null @@ -1,54 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2109 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - object Ua; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 1 -1 0 0 0 0 ]; - -internalField uniform ( 0 0 0 ); - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type adjointWallVelocity; - value uniform ( 0 0 0 ); - } - upper - { - type adjointWallVelocity; - value uniform ( 0 0 0 ); - } - Inlet - { - type adjointInletVelocity; - value uniform ( 0 0 0 ); - } - Outlet - { - type adjointOutletVelocity; - value uniform ( 0 0 0 ); - } - lower - { - type adjointWallVelocity; - value uniform ( 0 0 0 ); - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/nuTilda b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/nuTilda deleted file mode 100644 index 5be20fd9f4..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/nuTilda +++ /dev/null @@ -1,53 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2109 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object nuTilda; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -1 0 0 0 0 ]; - -internalField uniform 4.5e-05; - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type fixedValue; - value uniform 0; - } - upper - { - type fixedValue; - value uniform 0; - } - lower - { - type fixedValue; - value uniform 0; - } - Inlet - { - type fixedValue; - value uniform 4.5e-05; - } - Outlet - { - type zeroGradient; - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/nuaTilda b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/nuaTilda deleted file mode 100644 index 5e8a55277a..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/nuaTilda +++ /dev/null @@ -1,58 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2109 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object nuaTilda; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 0 -1 0 0 0 0 ]; - -internalField uniform 0; - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type fixedValue; - value uniform 0; - } - upper - { - type fixedValue; - value uniform 0; - } - lower - { - type fixedValue; - value uniform 0; - } - Inlet - { - type adjointInletNuaTilda; - value uniform 0; - } - Outlet - { - type adjointOutletNuaTilda; - value uniform 0; - } - defaultFaces - { - type empty; - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/nut b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/nut deleted file mode 100644 index 047e1f2c13..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/nut +++ /dev/null @@ -1,53 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2109 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object nut; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -1 0 0 0 0 ]; - -internalField uniform 3.15e-06; - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type nutLowReWallFunction; - value uniform 0; - } - upper - { - type nutLowReWallFunction; - value uniform 0; - } - lower - { - type nutLowReWallFunction; - value uniform 0; - } - Inlet - { - type fixedValue; - value uniform 3.15e-06; - } - Outlet - { - type zeroGradient; - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/p b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/p deleted file mode 100644 index d5ed89870e..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/p +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2109 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object p; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -2 0 0 0 0 ]; - -internalField uniform 0; - -boundaryField -{ - frontBack - { - type empty; - } - lower - { - type zeroGradient; - } - upper - { - type zeroGradient; - } - sideWall - { - type zeroGradient; - } - Inlet - { - type zeroGradient; - } - Outlet - { - type fixedValue; - value uniform 0; - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/pa b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/pa deleted file mode 100644 index bc4c774a0e..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/SA/opt/BFGS/nutSqr/0/pa +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2109 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object pa; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -2 0 0 0 0 ]; - -internalField uniform 0; - -boundaryField -{ - frontBack - { - type empty; - } - sideWall - { - type zeroGradient; - } - upper - { - type zeroGradient; - } - Inlet - { - type zeroGradient; - } - Outlet - { - type adjointOutletPressure; - value uniform 0; - } - lower - { - type zeroGradient; - } -} - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/U b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/U deleted file mode 100644 index 298753e214..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/U +++ /dev/null @@ -1,59 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - object U; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 1 -1 0 0 0 0 ]; - -internalField uniform ( 3.95 0 0 ); - -boundaryField -{ - frontBack - { - type empty; - } - - sideWall - { - type fixedValue; - value uniform ( 0 0 0 ); - } - - lower - { - type fixedValue; - value uniform ( 0 0 0 ); - } - - upper - { - type fixedValue; - value uniform ( 0 0 0 ); - } - - Inlet - { - type fixedValue; - value uniform ( 3.95 0 0 ); - } - - Outlet - { - type zeroGradient; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/Ua b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/Ua deleted file mode 100644 index 1fc0fe4bd1..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/Ua +++ /dev/null @@ -1,60 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - object Ua; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 1 -1 0 0 0 0 ]; - -internalField uniform ( 0 0 0 ); - -boundaryField -{ - frontBack - { - type empty; - } - - sideWall - { - type adjointWallVelocity; - value uniform ( 0 0 0 ); - } - - upper - { - type adjointWallVelocity; - value uniform ( 0 0 0 ); - } - - Inlet - { - type adjointInletVelocity; - value uniform ( 0 0 0 ); - } - - Outlet - { - type adjointOutletVelocity; - value uniform ( 0 0 0 ); - } - - lower - { - type adjointWallVelocity; - value uniform ( 0 0 0 ); - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/nuTilda b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/nuTilda deleted file mode 100644 index c2700cf58a..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/nuTilda +++ /dev/null @@ -1,59 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object nuTilda; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -1 0 0 0 0 ]; - -internalField uniform 4.5e-05; - -boundaryField -{ - frontBack - { - type empty; - } - - sideWall - { - type fixedValue; - value uniform 0; - } - - upper - { - type fixedValue; - value uniform 0; - } - - lower - { - type fixedValue; - value uniform 0; - } - - Inlet - { - type fixedValue; - value uniform 4.5e-05; - } - - Outlet - { - type zeroGradient; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/nuaTilda b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/nuaTilda deleted file mode 100644 index 6db256c64d..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/nuaTilda +++ /dev/null @@ -1,65 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object nuaTilda; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 0 -1 0 0 0 0 ]; - -internalField uniform 0; - -boundaryField -{ - frontBack - { - type empty; - } - - sideWall - { - type fixedValue; - value uniform 0; - } - - upper - { - type fixedValue; - value uniform 0; - } - - lower - { - type fixedValue; - value uniform 0; - } - - Inlet - { - type adjointInletNuaTilda; - value uniform 0; - } - - Outlet - { - type adjointOutletNuaTilda; - value uniform 0; - } - - defaultFaces - { - type empty; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/nut b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/nut deleted file mode 100644 index 4a31a745ed..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/nut +++ /dev/null @@ -1,59 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object nut; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -1 0 0 0 0 ]; - -internalField uniform 3.15e-06; - -boundaryField -{ - frontBack - { - type empty; - } - - sideWall - { - type nutLowReWallFunction; - value uniform 0; - } - - upper - { - type nutLowReWallFunction; - value uniform 0; - } - - lower - { - type nutLowReWallFunction; - value uniform 0; - } - - Inlet - { - type fixedValue; - value uniform 3.15e-06; - } - - Outlet - { - type zeroGradient; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/p b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/p deleted file mode 100644 index 699b59ee70..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/p +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object p; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -2 0 0 0 0 ]; - -internalField uniform 0; - -boundaryField -{ - frontBack - { - type empty; - } - - lower - { - type zeroGradient; - } - - upper - { - type zeroGradient; - } - - sideWall - { - type zeroGradient; - } - - Inlet - { - type zeroGradient; - } - - Outlet - { - type fixedValue; - value uniform 0; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/pa b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/pa deleted file mode 100644 index ae3ee3de00..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/0.orig/pa +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object pa; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [ 0 2 -2 0 0 0 0 ]; - -internalField uniform 0; - -boundaryField -{ - frontBack - { - type empty; - } - - sideWall - { - type zeroGradient; - } - - upper - { - type zeroGradient; - } - - Inlet - { - type zeroGradient; - } - - Outlet - { - type adjointOutletPressure; - value uniform 0; - } - - lower - { - type zeroGradient; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/Allclean b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/Allclean deleted file mode 100755 index fb1f384730..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/Allclean +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -cd "${0%/*}" || exit # Run from this directory -. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions -#------------------------------------------------------------------------------ - -cleanCase0 - -#------------------------------------------------------------------------------ diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/Allrun b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/Allrun deleted file mode 100755 index b0a1e0e51b..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/Allrun +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -cd "${0%/*}" || exit # Run from this directory -. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions -#------------------------------------------------------------------------------ - -resourcesDir="$FOAM_TUTORIALS"/incompressible/adjointOptimisationFoam/resources - -restore0Dir - -cp -rf "$resourcesDir"/meshes/sbend/polyMesh/ constant/ - -runApplication decomposePar - -runParallel $(getApplication) - -runParallel cumulativeDisplacement - -#------------------------------------------------------------------------------ diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/adjointRASProperties b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/adjointRASProperties deleted file mode 100644 index e1a77480e6..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/adjointRASProperties +++ /dev/null @@ -1,22 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object adjointTurbulenceProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -adjointRASModel adjointSpalartAllmaras; - -adjointTurbulence on; - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/dynamicMeshDict b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/dynamicMeshDict deleted file mode 100644 index 207b369a45..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/dynamicMeshDict +++ /dev/null @@ -1,48 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object dynamicMeshDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solver volumetricBSplinesMotionSolver; - -volumetricBSplinesMotionSolverCoeffs -{ - duct - { - type cartesian; - nCPsU 9; - nCPsV 5; - nCPsW 3; - degreeU 3; - degreeV 3; - degreeW 2; - - controlPointsDefinition axisAligned; - lowerCpBounds (-1.1 -0.21 -0.05); - upperCpBounds ( 1.1 0.39 0.15); - - confineUMovement false; - confineVMovement false; - confineWMovement true; - confineBoundaryControlPoints false; - - confineUMinCPs ( (true true true) (true true true) ); - confineUMaxCPs ( (true true true) (true true true) ); - confineWMinCPs ( (true true true) ); - confineWMaxCPs ( (true true true) ); - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/transportProperties b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/transportProperties deleted file mode 100644 index 6c0ac43026..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/transportProperties +++ /dev/null @@ -1,22 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object transportProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -transportModel Newtonian; - -nu 1.5e-05; - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/turbulenceProperties b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/turbulenceProperties deleted file mode 100644 index 41fad5f8bd..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/constant/turbulenceProperties +++ /dev/null @@ -1,29 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object turbulenceProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -simulationType RAS; - -RAS -{ - RASModel SpalartAllmaras; - - turbulence on; - - printCoeffs on; -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/controlDict b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/controlDict deleted file mode 100644 index 3f5404dfa6..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/controlDict +++ /dev/null @@ -1,58 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object controlDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -application adjointOptimisationFoam; - -startFrom latestTime; - -startTime 0; - -stopAt endTime; - -endTime 10; - -deltaT 1; - -writeControl timeStep; - -writeInterval 1; - -purgeWrite 0; - -writeFormat ascii; - -writePrecision 16; - -writeCompression true; - -timeFormat general; - -timePrecision 6; - -runTimeModifiable yes; - -functions -{ - yPlus - { - type yPlus; - libs (fieldFunctionObjects); - writeControl writeTime; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/decomposeParDict b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/decomposeParDict deleted file mode 100644 index d5a60a630a..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/decomposeParDict +++ /dev/null @@ -1,27 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object decomposeParDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -numberOfSubdomains 4; - -method hierarchical; - -coeffs -{ - n (4 1 1); -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/fvSchemes b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/fvSchemes deleted file mode 100644 index ed12fcf5b5..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/fvSchemes +++ /dev/null @@ -1,71 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object fvSchemes; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default steadyState; -} - -gradSchemes -{ - default Gauss linear; - gradDConv cellLimited Gauss linear 1; -} - -divSchemes -{ - default Gauss linear; - - div(phi,U) bounded Gauss linearUpwind gradUConv; - div(phi,nuTilda) bounded Gauss linearUpwind gradNuTildaConv; - div(yPhi,yWall) Gauss linearUpwind gradDConv; - div(-phi,Ua) bounded Gauss linearUpwind gradUaConv; - div(-phi,nuaTilda) bounded Gauss linearUpwind gradNuaTildaConv; - div(-yPhi,da) Gauss linearUpwind gradDaConv; - - div((nuEff*dev(grad(U).T()))) Gauss linear; - div((nuEff*dev(grad(Ua).T()))) Gauss linear; -} - -laplacianSchemes -{ - default Gauss linear limited 0.333; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -wallDist -{ - method advectionDiffusion; - advectionDiffusionCoeffs - { - method meshWave; - tolerance 3.e-6; - maxIter 1000; - epsilon 0.1; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/fvSolution b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/fvSolution deleted file mode 100644 index f9b4f42755..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/fvSolution +++ /dev/null @@ -1,68 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object fvSolution; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -SIMPLE -{ - nNonOrthogonalCorrectors 0; -} - -solvers -{ - "(p|pa)" - { - solver PCG; - preconditioner DIC; - tolerance 1e-9; - relTol 0.01; - }; - - "(m|ma)" - { - solver PCG; - preconditioner DIC; - tolerance 1e-9; - relTol 0.01; - }; - - "(U|Ua|nuTilda|nuaTilda|yWall|da)" - { - solver PBiCGStab; - preconditioner DILU; - tolerance 1e-9; - relTol 0.1; - }; -} - -relaxationFactors -{ - fields - { - p 0.5; - pa 0.5; - } - equations - { - U 0.7; - Ua 0.7; - nuTilda 0.7; - nuaTilda 0.7; - yWall 0.7; - da 0.7; - } -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/optimisationDict b/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/optimisationDict deleted file mode 100644 index a56964e9e6..0000000000 --- a/tutorials/incompressible/adjointOptimisationFoam/shapeOptimisation/sbend/turbulent/opt/BFGS-oneGo/system/optimisationDict +++ /dev/null @@ -1,137 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2106 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object optimisationDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -optimisationManager steadyOptimisation; - -primalSolvers -{ - p1 - { - active true; - type incompressible; - solver simple; - solutionControls - { - nIters 3000; - residualControl - { - "p.*" 1.e-7; - "U.*" 1.e-7; - "nuTilda.*" 1.e-7; - } - } - } -} - -adjointManagers -{ - am1 - { - primalSolver p1; - adjointSolvers - { - as1 - { - // choose adjoint solver - //---------------------- - active true; - type incompressible; - solver adjointSimple; - - // manage objectives - //------------------ - objectives - { - type incompressible; - objectiveNames - { - losses - { - weight 1; - type PtLosses; - patches (Inlet Outlet); - } - } - } - - // ATC treatment - //-------------- - ATCModel - { - ATCModel standard; - } - - // solution control - //------------------ - solutionControls - { - nIters 3000; - residualControl - { - "pa.*" 1.e-7; - "Ua.*" 1.e-7; - } - } - } - } - } -} - -optimisation -{ - optimisationType - { - type shapeOptimisation; - writeEachMesh true; - } - - sensitivities - { - type volumetricBSplinesFI; - patches (lower upper); - } - updateMethod - { - method BFGS; - BFGS - { - etaHessian 0.8; - scaleFirstHessian true; - /* - activeDesignVariables - ( - 141 142 144 145 147 148 - 150 151 153 154 168 169 - 171 172 174 175 177 178 - 180 181 195 196 198 199 - 201 202 204 205 207 208 - 222 223 225 226 228 229 - 231 232 234 235 249 250 - 252 253 255 256 258 259 - 261 262 - ); - */ - } - } - meshMovement - { - type volumetricBSplines; - maxAllowedDisplacement 2.e-3; - } -} - - -// ************************************************************************* //