From cd8b38fede428120f55cae9c3c7bc3d3f17969f2 Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 7 Jul 2009 19:47:51 +0100 Subject: [PATCH 01/11] zone flip only for zone faces --- .../autoHexMesh/meshRefinement/meshRefinementBaffles.C | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C index b5b4174fb3..88f806b5dd 100644 --- a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C +++ b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C @@ -100,6 +100,12 @@ Foam::label Foam::meshRefinement::createBaffle << " ownPatch:" << ownPatch << abort(FatalError); } + bool reverseFlip = false; + if (zoneID >= 0) + { + reverseFlip = !zoneFlip; + } + dupFaceI = meshMod.setAction ( polyAddFace @@ -113,7 +119,7 @@ Foam::label Foam::meshRefinement::createBaffle true, // face flip neiPatch, // patch for face zoneID, // zone for face - !zoneFlip // face flip in zone + reverseFlip // face flip in zone ) ); } From cd3b5808dfe1197287fe8a15bac17bf9a560cc54 Mon Sep 17 00:00:00 2001 From: henry Date: Wed, 8 Jul 2009 22:45:05 +0100 Subject: [PATCH 02/11] Corrected class. --- tutorials/combustion/XiFoam/les/pitzDaily/constant/g | 2 +- tutorials/combustion/XiFoam/les/pitzDaily3D/constant/g | 2 +- tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/g | 2 +- tutorials/combustion/dieselFoam/aachenBomb/constant/g | 2 +- tutorials/combustion/engineFoam/kivaTest/constant/g | 2 +- .../heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/constant/g | 2 +- .../heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/constant/g | 2 +- .../buoyantBoussinesqSimpleFoam/iglooWithFridges/constant/g | 2 +- tutorials/heatTransfer/buoyantPisoFoam/hotRoom/constant/g | 2 +- tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/g | 2 +- .../buoyantSimpleRadiationFoam/hotRadiationRoom/constant/g | 2 +- .../buoyantSimpleRadiationFoam/hotRadiationRoomFvDOM/constant/g | 2 +- .../chtMultiRegionFoam/multiRegionHeater/constant/bottomAir/g | 2 +- tutorials/incompressible/shallowWaterFoam/squareBump/constant/g | 2 +- .../lagrangian/coalChemistryFoam/simplifiedSiwek/constant/g | 2 +- .../porousExplicitSourceReactingParcelFoam/filter/constant/g | 2 +- .../lagrangian/reactingParcelFoam/evaporationTest/constant/g | 2 +- .../lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/g | 2 +- .../mesh/snappyHexMesh/multiRegionMesh/constant/bottomAir/g | 2 +- tutorials/multiphase/bubbleFoam/bubbleColumn/constant/g | 2 +- .../compressibleInterFoam/les/depthCharge2D/constant/g | 2 +- .../compressibleInterFoam/les/depthCharge3D/constant/g | 2 +- .../multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/g | 2 +- tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/g | 2 +- .../multiphase/interDyMFoam/ras/sloshingTank2D3DoF/constant/g | 2 +- tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/constant/g | 2 +- .../multiphase/interDyMFoam/ras/sloshingTank3D3DoF/constant/g | 2 +- .../multiphase/interDyMFoam/ras/sloshingTank3D6DoF/constant/g | 2 +- .../multiphase/interFoam/MRFInterFoam/mixerVessel2D/constant/g | 2 +- tutorials/multiphase/interFoam/laminar/damBreak/constant/g | 2 +- tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/g | 2 +- tutorials/multiphase/interFoam/ras/damBreak/constant/g | 2 +- .../multiphaseInterFoam/laminar/damBreak4phase/constant/g | 2 +- .../multiphaseInterFoam/laminar/damBreak4phaseFine/constant/g | 2 +- tutorials/multiphase/settlingFoam/ras/dahl/constant/g | 2 +- tutorials/multiphase/settlingFoam/ras/tank3D/constant/g | 2 +- tutorials/multiphase/twoPhaseEulerFoam/bed/constant/g | 2 +- tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/g | 2 +- tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/g | 2 +- 39 files changed, 39 insertions(+), 39 deletions(-) diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/constant/g b/tutorials/combustion/XiFoam/les/pitzDaily/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/constant/g +++ b/tutorials/combustion/XiFoam/les/pitzDaily/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/g b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/g index e6c990ee7a..057403310a 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/g +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/g b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/g index c86cc8bb1f..ebc338b6f9 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/g +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/g b/tutorials/combustion/dieselFoam/aachenBomb/constant/g index 71a0e64789..8978a89abf 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/g +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format binary; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/combustion/engineFoam/kivaTest/constant/g b/tutorials/combustion/engineFoam/kivaTest/constant/g index c86cc8bb1f..ebc338b6f9 100644 --- a/tutorials/combustion/engineFoam/kivaTest/constant/g +++ b/tutorials/combustion/engineFoam/kivaTest/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/constant/g b/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/constant/g +++ b/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/constant/g b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/constant/g +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/constant/g b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/constant/g index 4f39592714..772688943e 100644 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/constant/g +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/constant/g b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/constant/g +++ b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/g b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/g +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/g b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/g index 427e0d5515..52301bd399 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/g +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoomFvDOM/constant/g b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoomFvDOM/constant/g index 427e0d5515..52301bd399 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoomFvDOM/constant/g +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoomFvDOM/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/bottomAir/g b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/bottomAir/g index 4c5b83c843..4cada4ce7a 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/bottomAir/g +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/bottomAir/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; object g; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/incompressible/shallowWaterFoam/squareBump/constant/g b/tutorials/incompressible/shallowWaterFoam/squareBump/constant/g index 0125923f1e..5f7711c728 100644 --- a/tutorials/incompressible/shallowWaterFoam/squareBump/constant/g +++ b/tutorials/incompressible/shallowWaterFoam/squareBump/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; object g; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/constant/g b/tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/constant/g index c9406d1b60..2a85082e8b 100644 --- a/tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/constant/g +++ b/tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/constant/g b/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/constant/g index 6d92743032..bdd1817328 100644 --- a/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/constant/g +++ b/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/lagrangian/reactingParcelFoam/evaporationTest/constant/g b/tutorials/lagrangian/reactingParcelFoam/evaporationTest/constant/g index 6d92743032..bdd1817328 100644 --- a/tutorials/lagrangian/reactingParcelFoam/evaporationTest/constant/g +++ b/tutorials/lagrangian/reactingParcelFoam/evaporationTest/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/g b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/g +++ b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/bottomAir/g b/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/bottomAir/g index 4c5b83c843..4cada4ce7a 100644 --- a/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/bottomAir/g +++ b/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/bottomAir/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; object g; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/g b/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/g +++ b/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/constant/g b/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/constant/g index 5eec6f2b2e..e0ac2653b5 100644 --- a/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/constant/g +++ b/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/constant/g b/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/constant/g index 5eec6f2b2e..e0ac2653b5 100644 --- a/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/constant/g +++ b/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/g b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/g index 427e0d5515..52301bd399 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/g +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/g b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/g index c6d6aa8eef..897615a50d 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/g +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/constant/g b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/constant/g index c6d6aa8eef..897615a50d 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/constant/g +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/constant/g b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/constant/g index c6d6aa8eef..897615a50d 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/constant/g +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/constant/g b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/constant/g index c6d6aa8eef..897615a50d 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/constant/g +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/constant/g b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/constant/g index c6d6aa8eef..897615a50d 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/constant/g +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/constant/g b/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/constant/g index 844d7a8378..7b4411955d 100644 --- a/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/constant/g +++ b/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/constant/g b/tutorials/multiphase/interFoam/laminar/damBreak/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/constant/g +++ b/tutorials/multiphase/interFoam/laminar/damBreak/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/g b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/g index c86cc8bb1f..ebc338b6f9 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/g +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/interFoam/ras/damBreak/constant/g b/tutorials/multiphase/interFoam/ras/damBreak/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/constant/g +++ b/tutorials/multiphase/interFoam/ras/damBreak/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/constant/g b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/constant/g +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/constant/g b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/constant/g +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/constant/g b/tutorials/multiphase/settlingFoam/ras/dahl/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/constant/g +++ b/tutorials/multiphase/settlingFoam/ras/dahl/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/constant/g b/tutorials/multiphase/settlingFoam/ras/tank3D/constant/g index 5eec6f2b2e..e0ac2653b5 100644 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/constant/g +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/g b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/g index 03586845f3..8b2810b651 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/g +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format binary; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/g b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/g +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/g b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/g index 22bddf9891..2b77c937a2 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/g +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/g @@ -9,7 +9,7 @@ FoamFile { version 2.0; format ascii; - class dictionary; + class uniformDimensionedVectorField; location "constant"; object g; } From fda6bcbc0cc2df41ea07b9164c9673637c40e60c Mon Sep 17 00:00:00 2001 From: henry Date: Wed, 8 Jul 2009 22:45:21 +0100 Subject: [PATCH 03/11] Minor correction to comments. --- .../fields/UniformDimensionedFields/UniformDimensionedField.H | 2 +- .../fields/UniformDimensionedFields/uniformDimensionedFields.H | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenFOAM/fields/UniformDimensionedFields/UniformDimensionedField.H b/src/OpenFOAM/fields/UniformDimensionedFields/UniformDimensionedField.H index 2d3ff83144..1793a67c6f 100644 --- a/src/OpenFOAM/fields/UniformDimensionedFields/UniformDimensionedField.H +++ b/src/OpenFOAM/fields/UniformDimensionedFields/UniformDimensionedField.H @@ -60,7 +60,7 @@ class UniformDimensionedField public: //- Runtime type information - TypeName("DimensionedType"); + TypeName("UniformDimensionedField"); // Constructors diff --git a/src/OpenFOAM/fields/UniformDimensionedFields/uniformDimensionedFields.H b/src/OpenFOAM/fields/UniformDimensionedFields/uniformDimensionedFields.H index a59298e8d7..c84b153574 100644 --- a/src/OpenFOAM/fields/UniformDimensionedFields/uniformDimensionedFields.H +++ b/src/OpenFOAM/fields/UniformDimensionedFields/uniformDimensionedFields.H @@ -28,7 +28,7 @@ InClass Description SourceFiles - UniformDimensionedFields.C + uniformDimensionedFields.C \*---------------------------------------------------------------------------*/ From 3a37e1a0536c41a4ad68be2063dd88d988f9f3f4 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 9 Jul 2009 11:55:40 +0100 Subject: [PATCH 04/11] pass through readFields --- src/lagrangian/molecularDynamics/molecule/molecule/moleculeIO.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lagrangian/molecularDynamics/molecule/molecule/moleculeIO.C b/src/lagrangian/molecularDynamics/molecule/molecule/moleculeIO.C index 04ae825df5..fa2e239304 100644 --- a/src/lagrangian/molecularDynamics/molecule/molecule/moleculeIO.C +++ b/src/lagrangian/molecularDynamics/molecule/molecule/moleculeIO.C @@ -37,7 +37,7 @@ Foam::molecule::molecule bool readFields ) : - Particle(cloud, is, true), + Particle(cloud, is, readFields), Q_(tensor::zero), v_(vector::zero), a_(vector::zero), From 4c13ef589b6831dfc8cbe4510b91a6cf00b0485b Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 9 Jul 2009 11:57:21 +0100 Subject: [PATCH 05/11] faceZone checking. wip --- .../utilities/mesh/manipulation/checkMesh/checkTopology.C | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C index 9ce34cda1c..fa51928f99 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C @@ -67,8 +67,13 @@ Foam::label Foam::checkTopology { forAll(mesh.faceZones(), zoneI) { - if (mesh.faceZones()[zoneI].checkParallelSync(true)) + if (mesh.faceZones()[zoneI].checkParallelSync(false)) { + Info<< " ***FaceZone " << mesh.faceZones()[zoneI].name() + << " is not correctly synchronised" + << " acrosss coupled boundaries." + << " (coupled faces both" + << " present in set but with opposite flipmap)" << endl; noFailedChecks++; } } From 990b54a3d3243a08bbbdf2bbd4169f022d347065 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 9 Jul 2009 12:43:40 +0100 Subject: [PATCH 06/11] new bc --- src/finiteVolume/Make/files | 1 + .../activeBaffleVelocityFvPatchVectorField.C | 274 ++++++++++++++++++ .../activeBaffleVelocityFvPatchVectorField.H | 193 ++++++++++++ 3 files changed, 468 insertions(+) create mode 100644 src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C create mode 100644 src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.H diff --git a/src/finiteVolume/Make/files b/src/finiteVolume/Make/files index 54bfbc7cf6..6be4b7f3f4 100644 --- a/src/finiteVolume/Make/files +++ b/src/finiteVolume/Make/files @@ -104,6 +104,7 @@ $(constraintFvPatchFields)/wedge/wedgeFvPatchFields.C $(constraintFvPatchFields)/wedge/wedgeFvPatchScalarField.C derivedFvPatchFields = $(fvPatchFields)/derived +$(derivedFvPatchFields)/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C $(derivedFvPatchFields)/advective/advectiveFvPatchFields.C $(derivedFvPatchFields)/directMappedFixedValue/directMappedFixedValueFvPatchFields.C $(derivedFvPatchFields)/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C diff --git a/src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C new file mode 100644 index 0000000000..c090d52968 --- /dev/null +++ b/src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C @@ -0,0 +1,274 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / F ield | OpenFOAM: The Open Source CFD Toolbox + \\ / O peration | + \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd. + \\/ M anipulation | +------------------------------------------------------------------------------- +License + This file is part of OpenFOAM. + + OpenFOAM is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + + OpenFOAM is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + along with OpenFOAM; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +\*---------------------------------------------------------------------------*/ + +#include "activeBaffleVelocityFvPatchVectorField.H" +#include "addToRunTimeSelectionTable.H" +#include "volFields.H" +#include "surfaceFields.H" + +// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // + +Foam::activeBaffleVelocityFvPatchVectorField:: +activeBaffleVelocityFvPatchVectorField +( + const fvPatch& p, + const DimensionedField& iF +) +: + fixedValueFvPatchVectorField(p, iF), + pName_("p"), + cyclicPatchName_(), + cyclicPatchLabel_(-1), + orientation_(1), + initWallSf_(0), + initCyclicSf_(0), + openFraction_(0), + openingTime_(0), + maxOpenFractionDelta_(0), + curTimeIndex_(-1) +{} + + +Foam::activeBaffleVelocityFvPatchVectorField:: +activeBaffleVelocityFvPatchVectorField +( + const activeBaffleVelocityFvPatchVectorField& ptf, + const fvPatch& p, + const DimensionedField& iF, + const fvPatchFieldMapper& mapper +) +: + fixedValueFvPatchVectorField(ptf, p, iF, mapper), + pName_(ptf.pName_), + cyclicPatchName_(ptf.cyclicPatchName_), + cyclicPatchLabel_(ptf.cyclicPatchLabel_), + orientation_(ptf.orientation_), + initWallSf_(ptf.initWallSf_), + initCyclicSf_(ptf.initCyclicSf_), + openFraction_(ptf.openFraction_), + openingTime_(ptf.openingTime_), + maxOpenFractionDelta_(ptf.maxOpenFractionDelta_), + curTimeIndex_(-1) +{} + + +Foam::activeBaffleVelocityFvPatchVectorField:: +activeBaffleVelocityFvPatchVectorField +( + const fvPatch& p, + const DimensionedField& iF, + const dictionary& dict +) +: + fixedValueFvPatchVectorField(p, iF), + pName_("p"), + cyclicPatchName_(dict.lookup("cyclicPatch")), + cyclicPatchLabel_(p.patch().boundaryMesh().findPatchID(cyclicPatchName_)), + orientation_(readLabel(dict.lookup("orientation"))), + initWallSf_(p.Sf()), + initCyclicSf_(p.boundaryMesh()[cyclicPatchLabel_].Sf()), + openFraction_(readScalar(dict.lookup("openFraction"))), + openingTime_(readScalar(dict.lookup("openingTime"))), + maxOpenFractionDelta_(readScalar(dict.lookup("maxOpenFractionDelta"))), + curTimeIndex_(-1) +{ + fvPatchVectorField::operator=(vector::zero); + + if (dict.found("p")) + { + dict.lookup("p") >> pName_; + } +} + + +Foam::activeBaffleVelocityFvPatchVectorField:: +activeBaffleVelocityFvPatchVectorField +( + const activeBaffleVelocityFvPatchVectorField& ptf +) +: + fixedValueFvPatchVectorField(ptf), + pName_(ptf.pName_), + cyclicPatchName_(ptf.cyclicPatchName_), + cyclicPatchLabel_(ptf.cyclicPatchLabel_), + orientation_(ptf.orientation_), + initWallSf_(ptf.initWallSf_), + initCyclicSf_(ptf.initCyclicSf_), + openFraction_(ptf.openFraction_), + openingTime_(ptf.openingTime_), + maxOpenFractionDelta_(ptf.maxOpenFractionDelta_), + curTimeIndex_(-1) +{} + + +Foam::activeBaffleVelocityFvPatchVectorField:: +activeBaffleVelocityFvPatchVectorField +( + const activeBaffleVelocityFvPatchVectorField& ptf, + const DimensionedField& iF +) +: + fixedValueFvPatchVectorField(ptf, iF), + pName_(ptf.pName_), + cyclicPatchName_(ptf.cyclicPatchName_), + cyclicPatchLabel_(ptf.cyclicPatchLabel_), + orientation_(ptf.orientation_), + initWallSf_(ptf.initWallSf_), + initCyclicSf_(ptf.initCyclicSf_), + openFraction_(ptf.openFraction_), + openingTime_(ptf.openingTime_), + maxOpenFractionDelta_(ptf.maxOpenFractionDelta_), + curTimeIndex_(-1) +{} + + +// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // + +void Foam::activeBaffleVelocityFvPatchVectorField::autoMap +( + const fvPatchFieldMapper& m +) +{ + fixedValueFvPatchVectorField::autoMap(m); + + //- Note: cannot map field from cyclic patch anyway so just recalculate + // Areas should be consistent when doing autoMap except in case of + // topo changes. + initWallSf_ = patch().Sf(); + initCyclicSf_ = patch().boundaryMesh()[cyclicPatchLabel_].Sf(); +} + +void Foam::activeBaffleVelocityFvPatchVectorField::rmap +( + const fvPatchVectorField& ptf, + const labelList& addr +) +{ + fixedValueFvPatchVectorField::rmap(ptf, addr); + + //- Note: cannot map field from cyclic patch anyway so just recalculate + // Areas should be consistent when doing rmap (mainly reconstructPar) + initWallSf_ = patch().Sf(); + initCyclicSf_ = patch().boundaryMesh()[cyclicPatchLabel_].Sf(); +} + + +void Foam::activeBaffleVelocityFvPatchVectorField::updateCoeffs() +{ + if (updated()) + { + return; + } + + // Execute the change to the openFraction only once per time-step + if (curTimeIndex_ != this->db().time().timeIndex()) + { + const volScalarField& p = db().lookupObject + ( + pName_ + ); + + const fvPatch& cyclicPatch = patch().boundaryMesh()[cyclicPatchLabel_]; + const labelList& cyclicFaceCells = cyclicPatch.patch().faceCells(); + label nCyclicFaces = cyclicFaceCells.size(); + label nCyclicFacesPerSide = nCyclicFaces/2; + + scalar forceDiff = 0; + + for (label facei=0; faceidb().time().deltaT().value()/openingTime_, + maxOpenFractionDelta_ + ) + *(orientation_*sign(forceDiff)), + 1 - 1e-6), 1e-6); + + Info<< "openFraction = " << openFraction_ << endl; + + vectorField::subField Sfw = patch().patch().faceAreas(); + vectorField newSfw = (1 - openFraction_)*initWallSf_; + forAll(Sfw, facei) + { + Sfw[facei] = newSfw[facei]; + } + const_cast(patch().magSf()) = mag(patch().Sf()); + + const_cast(cyclicPatch.Sf()) = + openFraction_*initCyclicSf_; + const_cast(cyclicPatch.magSf()) = + mag(cyclicPatch.Sf()); + + curTimeIndex_ = this->db().time().timeIndex(); + } + + fixedValueFvPatchVectorField::updateCoeffs(); +} + + +void Foam::activeBaffleVelocityFvPatchVectorField::write(Ostream& os) const +{ + fvPatchVectorField::write(os); + os.writeKeyword("cyclicPatch") + << cyclicPatchName_ << token::END_STATEMENT << nl; + os.writeKeyword("orientation") + << orientation_ << token::END_STATEMENT << nl; + os.writeKeyword("openingTime") + << openingTime_ << token::END_STATEMENT << nl; + os.writeKeyword("maxOpenFractionDelta") + << maxOpenFractionDelta_ << token::END_STATEMENT << nl; + os.writeKeyword("openFraction") + << openFraction_ << token::END_STATEMENT << nl; + os.writeKeyword("p") + << pName_ << token::END_STATEMENT << nl; + writeEntry("value", os); +} + + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + makePatchTypeField + ( + fvPatchVectorField, + activeBaffleVelocityFvPatchVectorField + ); +} + +// ************************************************************************* // diff --git a/src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.H new file mode 100644 index 0000000000..1f4f3d2b90 --- /dev/null +++ b/src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.H @@ -0,0 +1,193 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / F ield | OpenFOAM: The Open Source CFD Toolbox + \\ / O peration | + \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd. + \\/ M anipulation | +------------------------------------------------------------------------------- +License + This file is part of OpenFOAM. + + OpenFOAM is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + + OpenFOAM is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + along with OpenFOAM; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Class + Foam::activeBaffleVelocityFvPatchVectorField + +Description + Boundary condition that modifies mesh areas based on velocity. + +SourceFiles + activeBaffleVelocityFvPatchVectorField.C + +\*---------------------------------------------------------------------------*/ + +#ifndef activeBaffleVelocityFvPatchVectorField_H +#define activeBaffleVelocityFvPatchVectorField_H + +#include "fvPatchFields.H" +#include "fixedValueFvPatchFields.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + +/*---------------------------------------------------------------------------*\ + Class activeBaffleVelocityFvPatch Declaration +\*---------------------------------------------------------------------------*/ + +class activeBaffleVelocityFvPatchVectorField +: + public fixedValueFvPatchVectorField +{ + // Private data + + //- Name of the pressure field used to calculate the force + // on the active baffle + word pName_; + + //- Name of the cyclic patch used when the active baffle is open + word cyclicPatchName_; + + //- Index of the cyclic patch used when the active baffle is open + label cyclicPatchLabel_; + + //- Orientation (1 or -1) of the active baffle patch. + // Used to change the direction of opening without the need for + // reordering the patch faces + label orientation_; + + //- Initial wall patch areas + vectorField initWallSf_; + + //- Initial cyclic patch areas + vectorField initCyclicSf_; + + //- Current fraction of the active baffle which is open + scalar openFraction_; + + //- Time taken for the active baffle to open + scalar openingTime_; + + //- Maximum fractional change to the active baffle openness + // per time-step + scalar maxOpenFractionDelta_; + + label curTimeIndex_; + + +public: + + //- Runtime type information + TypeName("activeBaffleVelocity"); + + + // Constructors + + //- Construct from patch and internal field + activeBaffleVelocityFvPatchVectorField + ( + const fvPatch&, + const DimensionedField& + ); + + //- Construct from patch, internal field and dictionary + activeBaffleVelocityFvPatchVectorField + ( + const fvPatch&, + const DimensionedField&, + const dictionary& + ); + + //- Construct by mapping given activeBaffleVelocityFvPatchVectorField + // onto a new patch + activeBaffleVelocityFvPatchVectorField + ( + const activeBaffleVelocityFvPatchVectorField&, + const fvPatch&, + const DimensionedField&, + const fvPatchFieldMapper& + ); + + //- Construct as copy + activeBaffleVelocityFvPatchVectorField + ( + const activeBaffleVelocityFvPatchVectorField& + ); + + //- Construct and return a clone + virtual tmp clone() const + { + return tmp + ( + new activeBaffleVelocityFvPatchVectorField(*this) + ); + } + + //- Construct as copy setting internal field reference + activeBaffleVelocityFvPatchVectorField + ( + const activeBaffleVelocityFvPatchVectorField&, + const DimensionedField& + ); + + //- Construct and return a clone setting internal field reference + virtual tmp clone + ( + const DimensionedField& iF + ) const + { + return tmp + ( + new activeBaffleVelocityFvPatchVectorField(*this, iF) + ); + } + + + // Member functions + + // Mapping functions + + //- Map (and resize as needed) from self given a mapping object + virtual void autoMap + ( + const fvPatchFieldMapper& + ); + + //- Reverse map the given fvPatchField onto this fvPatchField + virtual void rmap + ( + const fvPatchVectorField&, + const labelList& + ); + + + //- Update the coefficients associated with the patch field + virtual void updateCoeffs(); + + //- Write + virtual void write(Ostream&) const; +}; + + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +} // End namespace Foam + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +#endif + +// ************************************************************************* // From caff5576b16ca3a82e71b17372c5de580ad85db7 Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 9 Jul 2009 13:23:55 +0100 Subject: [PATCH 07/11] Reinstated "application" entry in controlDict. Upgraded 1.4 cases to 1.5. --- .../DNS/dnsFoam/boxTurb16/system/controlDict | 2 ++ .../laplacianFoam/flange/system/controlDict | 2 ++ .../potentialFoam/cylinder/system/controlDict | 2 ++ .../pitzDaily/system/controlDict | 2 ++ .../pitzDaily/system/controlDict | 2 ++ .../XiFoam/les/pitzDaily/system/controlDict | 2 ++ .../XiFoam/les/pitzDaily3D/system/controlDict | 2 ++ .../moriyoshiHomogeneous/system/controlDict | 2 ++ .../dieselFoam/aachenBomb/system/controlDict | 2 ++ .../LadenburgJet60psi/system/controlDict | 2 ++ .../biconic25-55Run35/system/controlDict | 2 ++ .../forwardStep/system/controlDict | 2 ++ .../obliqueShock/system/controlDict | 2 ++ .../shockTube/system/controlDict | 2 ++ .../wedge15Ma5/system/controlDict | 2 ++ .../angledDuct/system/controlDict | 2 ++ .../les/pitzDaily/system/controlDict | 2 ++ .../rhoPisoFoam/ras/cavity/system/controlDict | 2 ++ .../angledDuctExplicit/system/controlDict | 2 ++ .../angledDuctImplicit/system/controlDict | 2 ++ .../forwardStep/system/controlDict | 2 ++ .../rhoSonicFoam/shockTube/system/controlDict | 2 ++ .../shockTube/system/controlDict | 2 ++ .../wedge15Ma5/system/controlDict | 2 ++ .../laminar/forwardStep/system/controlDict | 2 ++ .../laminar/shockTube/system/controlDict | 2 ++ .../ras/nacaAirfoil/system/controlDict | 2 ++ .../sonicFoam/ras/prism/system/controlDict | 2 ++ .../decompressionTank/system/controlDict | 2 ++ .../dsmc/freeSpacePeriodic/system/controlDict | 2 ++ .../dsmc/freeSpaceStream/system/controlDict | 2 ++ .../dsmc/supersonicCorner/system/controlDict | 2 ++ .../dsmc/wedge15Ma5/system/controlDict | 2 ++ .../periodicCubeArgon/system/controlDict | 2 ++ .../periodicCubeWater/system/controlDict | 2 ++ .../mdFoam/nanoNozzle/system/controlDict | 2 ++ .../chargedWire/system/controlDict | 2 ++ .../mhdFoam/hartmann/system/controlDict | 2 ++ .../europeanCall/system/controlDict | 2 ++ .../hotRoom/system/controlDict | 2 ++ .../hotRoom/system/controlDict | 2 ++ .../iglooWithFridges/system/controlDict | 2 ++ .../hotRoom/system/controlDict | 2 ++ .../hotRoom/system/controlDict | 2 ++ .../hotRadiationRoom/system/controlDict | 2 ++ .../hotRadiationRoomFvDOM/system/controlDict | 2 ++ .../multiRegionHeater/system/controlDict | 2 ++ .../mixerVessel2D/system/controlDict | 2 ++ .../boundaryLaunderSharma/system/controlDict | 2 ++ .../boundaryWallFunctions/system/controlDict | 2 ++ .../channelFoam/channel395/system/controlDict | 2 ++ .../icoFoam/cavity/system/controlDict | 2 ++ .../icoFoam/cavityClipped/system/controlDict | 2 ++ .../icoFoam/cavityGrade/system/controlDict | 2 ++ .../icoFoam/elbow/system/controlDict | 2 ++ .../offsetCylinder/system/controlDict | 2 ++ .../movingCone/system/controlDict | 2 ++ .../pimpleFoam/t-junction/system/controlDict | 2 ++ .../pisoFoam/les/pitzDaily/system/controlDict | 2 ++ .../pitzDailyDirectMapped/system/controlDict | 2 ++ .../pisoFoam/ras/cavity/system/controlDict | 2 ++ .../constant/{g => gravitationalProperties} | 11 +++--- .../constant/polyMesh/blockMeshDict | 22 ++++-------- .../squareBump/system/controlDict | 2 ++ .../simpleFoam/airFoil2D/system/controlDict | 2 ++ .../simpleFoam/pitzDaily/system/controlDict | 2 ++ .../pitzDailyExptInlet/system/controlDict | 2 ++ .../simpleSRFFoam/mixer/system/controlDict | 2 ++ .../filter/system/controlDict | 2 ++ .../evaporationTest/system/controlDict | 2 ++ .../simplifiedSiwek/system/controlDict | 2 ++ .../SnakeRiverCanyon/0/pointDisplacement | 23 +++++------- .../SnakeRiverCanyon/constant/dynamicMeshDict | 22 +++++------- .../constant/transportProperties | 23 +++++------- .../SnakeRiverCanyon/system/controlDict | 25 +++++-------- .../SnakeRiverCanyon/system/decomposeParDict | 28 +-------------- .../SnakeRiverCanyon/system/fvSchemes | 23 +++++------- .../SnakeRiverCanyon/system/fvSolution | 35 +++++-------------- .../multiRegionMesh/system/controlDict | 2 ++ .../bubbleColumn/system/controlDict | 2 ++ .../les/throttle/system/controlDict | 2 ++ .../les/throttle3D/system/controlDict | 2 ++ .../ras/throttle/system/controlDict | 2 ++ .../les/depthCharge2D/system/controlDict | 2 ++ .../les/depthCharge3D/system/controlDict | 2 ++ .../damBreakWithObstacle/system/controlDict | 2 ++ .../ras/sloshingTank2D/system/controlDict | 2 ++ .../ras/sloshingTank2D3DoF/system/controlDict | 2 ++ .../ras/sloshingTank3D/system/controlDict | 2 ++ .../ras/sloshingTank3D3DoF/system/controlDict | 2 ++ .../ras/sloshingTank3D6DoF/system/controlDict | 2 ++ .../mixerVessel2D/system/controlDict | 2 ++ .../laminar/damBreak/system/controlDict | 2 ++ .../les/nozzleFlow2D/system/controlDict | 2 ++ .../interFoam/ras/damBreak/system/controlDict | 2 ++ .../laminar/damBreak4phase/system/controlDict | 2 ++ .../damBreak4phaseFine/system/controlDict | 2 ++ .../settlingFoam/ras/dahl/system/controlDict | 2 ++ .../ras/tank3D/system/controlDict | 2 ++ .../twoPhaseEulerFoam/bed/system/controlDict | 2 ++ .../twoPhaseEulerFoam/bed2/system/controlDict | 2 ++ .../bubbleColumn/system/controlDict | 2 ++ .../plateHole/system/controlDict | 2 ++ .../beamEndLoad/system/controlDict | 2 ++ 104 files changed, 252 insertions(+), 150 deletions(-) rename tutorials/incompressible/shallowWaterFoam/squareBump/constant/{g => gravitationalProperties} (79%) diff --git a/tutorials/DNS/dnsFoam/boxTurb16/system/controlDict b/tutorials/DNS/dnsFoam/boxTurb16/system/controlDict index bbbc76ae09..d364fb9eff 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/system/controlDict +++ b/tutorials/DNS/dnsFoam/boxTurb16/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application dnsFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/basic/laplacianFoam/flange/system/controlDict b/tutorials/basic/laplacianFoam/flange/system/controlDict index f936785ffa..c709023a0e 100644 --- a/tutorials/basic/laplacianFoam/flange/system/controlDict +++ b/tutorials/basic/laplacianFoam/flange/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application laplacianFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/basic/potentialFoam/cylinder/system/controlDict b/tutorials/basic/potentialFoam/cylinder/system/controlDict index c160f2f414..5a1215ddd8 100644 --- a/tutorials/basic/potentialFoam/cylinder/system/controlDict +++ b/tutorials/basic/potentialFoam/cylinder/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application potentialFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/basic/potentialFoam/pitzDaily/system/controlDict b/tutorials/basic/potentialFoam/pitzDaily/system/controlDict index c160f2f414..5a1215ddd8 100644 --- a/tutorials/basic/potentialFoam/pitzDaily/system/controlDict +++ b/tutorials/basic/potentialFoam/pitzDaily/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application potentialFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/basic/scalarTransportFoam/pitzDaily/system/controlDict b/tutorials/basic/scalarTransportFoam/pitzDaily/system/controlDict index 83058ea620..e3503c07da 100644 --- a/tutorials/basic/scalarTransportFoam/pitzDaily/system/controlDict +++ b/tutorials/basic/scalarTransportFoam/pitzDaily/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application scalarTransportFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict b/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict index bc4e09f514..23b481bcaf 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict +++ b/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application XiFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict index c507917d6c..b9073e146d 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application XiFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/controlDict b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/controlDict index 576ae51176..0345a04be3 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/controlDict +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application XiFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/combustion/dieselFoam/aachenBomb/system/controlDict b/tutorials/combustion/dieselFoam/aachenBomb/system/controlDict index 081c1d7369..4e04649935 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/system/controlDict +++ b/tutorials/combustion/dieselFoam/aachenBomb/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application dieselFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/controlDict b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/controlDict index 3652392f93..03c341ba69 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoCentralFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/controlDict b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/controlDict index b2f7a33295..bfd3bedeab 100644 --- a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoCentralFoam; + startFrom latestTime; startTime 0.005; diff --git a/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict b/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict index 8b725998ed..800bed68a0 100644 --- a/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoCentralFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoCentralFoam/obliqueShock/system/controlDict b/tutorials/compressible/rhoCentralFoam/obliqueShock/system/controlDict index 5fa869b4cd..7def1dc4ad 100644 --- a/tutorials/compressible/rhoCentralFoam/obliqueShock/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/obliqueShock/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoCentralFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/system/controlDict b/tutorials/compressible/rhoCentralFoam/shockTube/system/controlDict index 37f1018867..67c440e293 100644 --- a/tutorials/compressible/rhoCentralFoam/shockTube/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/shockTube/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoCentralFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/controlDict b/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/controlDict index a65835e805..26903b96f9 100644 --- a/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoCentralFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/system/controlDict b/tutorials/compressible/rhoPimpleFoam/angledDuct/system/controlDict index d7d107cf4c..3bf2b82d26 100644 --- a/tutorials/compressible/rhoPimpleFoam/angledDuct/system/controlDict +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoPimpleFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/controlDict b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/controlDict index 3fccde63c4..4bcaa9191c 100644 --- a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/controlDict +++ b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoPisoFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/system/controlDict b/tutorials/compressible/rhoPisoFoam/ras/cavity/system/controlDict index c90f2db15f..c420a4f51c 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/system/controlDict +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoPisoFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/controlDict b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/controlDict index 23e7202b52..06a09839b7 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/controlDict +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoPorousSimpleFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/controlDict b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/controlDict index 85cf9616b9..5f4c0f7557 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/controlDict +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoPorousSimpleFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoSonicFoam/forwardStep/system/controlDict b/tutorials/compressible/rhoSonicFoam/forwardStep/system/controlDict index 11edd652c6..79e2a46768 100644 --- a/tutorials/compressible/rhoSonicFoam/forwardStep/system/controlDict +++ b/tutorials/compressible/rhoSonicFoam/forwardStep/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoSonicFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/compressible/rhoSonicFoam/shockTube/system/controlDict b/tutorials/compressible/rhoSonicFoam/shockTube/system/controlDict index e22c10e25d..c9d4347215 100644 --- a/tutorials/compressible/rhoSonicFoam/shockTube/system/controlDict +++ b/tutorials/compressible/rhoSonicFoam/shockTube/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoSonicFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/system/controlDict b/tutorials/compressible/rhopSonicFoam/shockTube/system/controlDict index 581f82c6b5..e1a3170a6a 100644 --- a/tutorials/compressible/rhopSonicFoam/shockTube/system/controlDict +++ b/tutorials/compressible/rhopSonicFoam/shockTube/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhopSonicFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/controlDict b/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/controlDict index a65835e805..3aca5f02ea 100644 --- a/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/controlDict +++ b/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhopSonicFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/sonicFoam/laminar/forwardStep/system/controlDict b/tutorials/compressible/sonicFoam/laminar/forwardStep/system/controlDict index 7bf4401d7d..826220ef25 100644 --- a/tutorials/compressible/sonicFoam/laminar/forwardStep/system/controlDict +++ b/tutorials/compressible/sonicFoam/laminar/forwardStep/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application sonicFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/system/controlDict b/tutorials/compressible/sonicFoam/laminar/shockTube/system/controlDict index e22c10e25d..61cc1551ef 100644 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/system/controlDict +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application sonicFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/controlDict b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/controlDict index aad6ecd97e..2929b3f01f 100644 --- a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/controlDict +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application sonicFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/compressible/sonicFoam/ras/prism/system/controlDict b/tutorials/compressible/sonicFoam/ras/prism/system/controlDict index ebaf12e759..1daa0096a8 100644 --- a/tutorials/compressible/sonicFoam/ras/prism/system/controlDict +++ b/tutorials/compressible/sonicFoam/ras/prism/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application sonicFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/controlDict b/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/controlDict index 8607f0b47e..db06a27ea6 100644 --- a/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/controlDict +++ b/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application sonicLiquidFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/controlDict b/tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/controlDict index 2a3172775a..bcaa42ac59 100644 --- a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/controlDict +++ b/tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application dsmc; + startFrom startTime; startTime 0; diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/system/controlDict b/tutorials/discreteMethods/dsmc/freeSpaceStream/system/controlDict index f123a03086..55367aef56 100644 --- a/tutorials/discreteMethods/dsmc/freeSpaceStream/system/controlDict +++ b/tutorials/discreteMethods/dsmc/freeSpaceStream/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application dsmc; + startFrom startTime; startTime 0; diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/system/controlDict b/tutorials/discreteMethods/dsmc/supersonicCorner/system/controlDict index 2e92a436f3..f494aa8edf 100644 --- a/tutorials/discreteMethods/dsmc/supersonicCorner/system/controlDict +++ b/tutorials/discreteMethods/dsmc/supersonicCorner/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application dsmc; + startFrom startTime; startTime 0; diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/system/controlDict b/tutorials/discreteMethods/dsmc/wedge15Ma5/system/controlDict index b069a96856..2ae7d6767a 100644 --- a/tutorials/discreteMethods/dsmc/wedge15Ma5/system/controlDict +++ b/tutorials/discreteMethods/dsmc/wedge15Ma5/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application dsmc; + startFrom latestTime; startTime 0; diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict index 76f7ed8a7e..0059f938cb 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict @@ -14,6 +14,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application molecularDynamics; + startFrom startTime; startTime 0; diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict index 51a42ecc0e..35ef2b6286 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict @@ -14,6 +14,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application molecularDynamics; + startFrom startTime; startTime 0; diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict index 51a42ecc0e..35ef2b6286 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict @@ -14,6 +14,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application molecularDynamics; + startFrom startTime; startTime 0; diff --git a/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/controlDict b/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/controlDict index 25b59d0c42..a9876dcd10 100644 --- a/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/controlDict +++ b/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application electrostaticFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/electromagnetics/mhdFoam/hartmann/system/controlDict b/tutorials/electromagnetics/mhdFoam/hartmann/system/controlDict index 4e7c7961ef..fa24046d94 100644 --- a/tutorials/electromagnetics/mhdFoam/hartmann/system/controlDict +++ b/tutorials/electromagnetics/mhdFoam/hartmann/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application mhdFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/financial/financialFoam/europeanCall/system/controlDict b/tutorials/financial/financialFoam/europeanCall/system/controlDict index d24c182349..ddd946cc15 100644 --- a/tutorials/financial/financialFoam/europeanCall/system/controlDict +++ b/tutorials/financial/financialFoam/europeanCall/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application financialFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/system/controlDict b/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/system/controlDict index 26a1219ee0..d2c25a1dd4 100644 --- a/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/system/controlDict +++ b/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application buoyantBoussinesqPisoFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/system/controlDict b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/system/controlDict index bfc52cf914..448819d5ba 100644 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/system/controlDict +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application buoyantBoussinesqSimpleFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/controlDict b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/controlDict index 46e7cd00c3..1bd2ee7655 100644 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/controlDict +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application buoyantBoussinesqSimpleFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/system/controlDict b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/system/controlDict index 26a1219ee0..0b0fa52f64 100644 --- a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/system/controlDict +++ b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application buoyantPisoFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/controlDict b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/controlDict index bfc52cf914..6444cdb4c7 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/controlDict +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application buoyantSimpleFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/controlDict b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/controlDict index bfc52cf914..79836223f4 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/controlDict +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application buoyantSimpleRadiationFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoomFvDOM/system/controlDict b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoomFvDOM/system/controlDict index 06eec5ead0..cc94e95fd8 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoomFvDOM/system/controlDict +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoomFvDOM/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application buoyantSimpleRadiationFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/controlDict b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/controlDict index ba30afed2a..d48d6c9db6 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/controlDict +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application chtMultiRegionFoam; + startFrom latestTime; startTime 0.001; diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/controlDict b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/controlDict index 5ffeca45c1..fb109fe38d 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/controlDict +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application MRFSimpleFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/controlDict b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/controlDict index d3dd7b0ae5..3d317faf0c 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/controlDict +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application boundaryFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/controlDict b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/controlDict index d3dd7b0ae5..3d317faf0c 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/controlDict +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application boundaryFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/channelFoam/channel395/system/controlDict b/tutorials/incompressible/channelFoam/channel395/system/controlDict index 43a6a70428..6f90b085f8 100644 --- a/tutorials/incompressible/channelFoam/channel395/system/controlDict +++ b/tutorials/incompressible/channelFoam/channel395/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application channelFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/icoFoam/cavity/system/controlDict b/tutorials/incompressible/icoFoam/cavity/system/controlDict index d2d91fe2ec..389301fe14 100644 --- a/tutorials/incompressible/icoFoam/cavity/system/controlDict +++ b/tutorials/incompressible/icoFoam/cavity/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application icoFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/icoFoam/cavityClipped/system/controlDict b/tutorials/incompressible/icoFoam/cavityClipped/system/controlDict index 07204830ae..e3a5ae8738 100644 --- a/tutorials/incompressible/icoFoam/cavityClipped/system/controlDict +++ b/tutorials/incompressible/icoFoam/cavityClipped/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application icoFoam; + startFrom startTime; startTime 0.5; diff --git a/tutorials/incompressible/icoFoam/cavityGrade/system/controlDict b/tutorials/incompressible/icoFoam/cavityGrade/system/controlDict index db02226048..cf1e5568d0 100644 --- a/tutorials/incompressible/icoFoam/cavityGrade/system/controlDict +++ b/tutorials/incompressible/icoFoam/cavityGrade/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application icoFoam; + startFrom startTime; startTime 0.7; diff --git a/tutorials/incompressible/icoFoam/elbow/system/controlDict b/tutorials/incompressible/icoFoam/elbow/system/controlDict index da4697ad55..589cc5f873 100644 --- a/tutorials/incompressible/icoFoam/elbow/system/controlDict +++ b/tutorials/incompressible/icoFoam/elbow/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application icoFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/controlDict b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/controlDict index 55886792bd..83863029a0 100644 --- a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/controlDict +++ b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application nonNewtonianIcoFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/pimpleDyMFoam/movingCone/system/controlDict b/tutorials/incompressible/pimpleDyMFoam/movingCone/system/controlDict index 3e9d4d5576..81b44e5ee6 100644 --- a/tutorials/incompressible/pimpleDyMFoam/movingCone/system/controlDict +++ b/tutorials/incompressible/pimpleDyMFoam/movingCone/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application pimpleDyMFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/pimpleFoam/t-junction/system/controlDict b/tutorials/incompressible/pimpleFoam/t-junction/system/controlDict index 2d7aaa81da..aab1b1fa25 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/system/controlDict +++ b/tutorials/incompressible/pimpleFoam/t-junction/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application pimpleFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict index a4b46af8cc..03fbddb7a8 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application pisoFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/controlDict b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/controlDict index 4f36f59c28..91b740c5c3 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/controlDict +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application pisoFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/system/controlDict b/tutorials/incompressible/pisoFoam/ras/cavity/system/controlDict index c7ddb43b7d..db3bfaaf82 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/system/controlDict +++ b/tutorials/incompressible/pisoFoam/ras/cavity/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application pisoFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/shallowWaterFoam/squareBump/constant/g b/tutorials/incompressible/shallowWaterFoam/squareBump/constant/gravitationalProperties similarity index 79% rename from tutorials/incompressible/shallowWaterFoam/squareBump/constant/g rename to tutorials/incompressible/shallowWaterFoam/squareBump/constant/gravitationalProperties index 5f7711c728..85d821d0f7 100644 --- a/tutorials/incompressible/shallowWaterFoam/squareBump/constant/g +++ b/tutorials/incompressible/shallowWaterFoam/squareBump/constant/gravitationalProperties @@ -9,14 +9,13 @@ FoamFile { version 2.0; format ascii; - class uniformDimensionedVectorField; - object g; + class dictionary; + object gravitationalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 1 -2 0 0 0 0]; -value (0 0 -9.81); -rotating true; -Omega Omega [0 0 -1 0 0] (0 0 7.292e-5); +g g [0 1 -2 0 0 0 0] (0 0 -9.81); +rotating true; +Omega Omega [0 0 -1 0 0 0 0] (0 0 7.292e-5); // ************************************************************************* // diff --git a/tutorials/incompressible/shallowWaterFoam/squareBump/constant/polyMesh/blockMeshDict b/tutorials/incompressible/shallowWaterFoam/squareBump/constant/polyMesh/blockMeshDict index 47585411fb..beb11eb7b1 100644 --- a/tutorials/incompressible/shallowWaterFoam/squareBump/constant/polyMesh/blockMeshDict +++ b/tutorials/incompressible/shallowWaterFoam/squareBump/constant/polyMesh/blockMeshDict @@ -1,25 +1,17 @@ -/*---------------------------------------------------------------------------*\ +/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ - FoamFile { - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object blockMeshDict; + version 2.0; + format ascii; + class dictionary; + object blockMeshDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; diff --git a/tutorials/incompressible/shallowWaterFoam/squareBump/system/controlDict b/tutorials/incompressible/shallowWaterFoam/squareBump/system/controlDict index 0dee06d265..c141656ff2 100644 --- a/tutorials/incompressible/shallowWaterFoam/squareBump/system/controlDict +++ b/tutorials/incompressible/shallowWaterFoam/squareBump/system/controlDict @@ -14,6 +14,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application shallowWaterFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/system/controlDict b/tutorials/incompressible/simpleFoam/airFoil2D/system/controlDict index 0b19a7dffe..3b82bd5fd3 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/system/controlDict +++ b/tutorials/incompressible/simpleFoam/airFoil2D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application simpleFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict b/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict index 29292679f2..7adb0530bd 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict +++ b/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application simpleFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict index 29292679f2..7adb0530bd 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application simpleFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/system/controlDict b/tutorials/incompressible/simpleSRFFoam/mixer/system/controlDict index 46e7cd00c3..37cfa54f25 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/system/controlDict +++ b/tutorials/incompressible/simpleSRFFoam/mixer/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application simpleSRFFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/system/controlDict b/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/system/controlDict index a1aa89cd09..4195af2aea 100644 --- a/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/system/controlDict +++ b/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application porousExplicitSourceReactingParcelFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/lagrangian/reactingParcelFoam/evaporationTest/system/controlDict b/tutorials/lagrangian/reactingParcelFoam/evaporationTest/system/controlDict index fb4a4c45a7..9aa53af3ad 100644 --- a/tutorials/lagrangian/reactingParcelFoam/evaporationTest/system/controlDict +++ b/tutorials/lagrangian/reactingParcelFoam/evaporationTest/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application reactingParcelFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/controlDict b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/controlDict index 498ad80a54..036c3ab56d 100644 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/controlDict +++ b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application rhoPisoTwinParcelFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/0/pointDisplacement b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/0/pointDisplacement index 5ffe633e92..4b04de43b1 100644 --- a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/0/pointDisplacement +++ b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/0/pointDisplacement @@ -1,25 +1,18 @@ -/*---------------------------------------------------------------------------*\ +/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ - FoamFile { - version 2.0; - format ascii; - - root "/home/hunt2/mattijs/OpenFOAM/mattijs-1.4/run/testLoop1.4/moveMesh"; - case "cone"; - instance "0"; - local ""; - - class pointVectorField; - object pointMotionU; + version 2.0; + format ascii; + class pointVectorField; + location "0"; + object pointMotionU; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 0 0 0 0 0]; diff --git a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/constant/dynamicMeshDict b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/constant/dynamicMeshDict index 65894a796c..a246aec3c1 100644 --- a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/constant/dynamicMeshDict +++ b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/constant/dynamicMeshDict @@ -1,23 +1,17 @@ -/*---------------------------------------------------------------------------*\ +/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ - FoamFile { - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object motionProperties; + version 2.0; + format ascii; + class dictionary; + location "system"; + object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/constant/transportProperties b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/constant/transportProperties index 7aed29e935..17862ed509 100644 --- a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/constant/transportProperties +++ b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/constant/transportProperties @@ -1,25 +1,18 @@ -/*---------------------------------------------------------------------------*\ +/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ - FoamFile { - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object transportProperties; + version 2.0; + format ascii; + class dictionary; + location "constant"; + object transportProperties; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // nu nu [0 2 -1 0 0 0 0] 0.01; diff --git a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/controlDict b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/controlDict index 195bead7ba..4c7d3c41e6 100644 --- a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/controlDict +++ b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/controlDict @@ -1,28 +1,21 @@ -/*---------------------------------------------------------------------------*\ +/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ - FoamFile { - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object controlDict; + version 2.0; + format ascii; + class dictionary; + location "system"; + object controlDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -application icoFoam; +application moveDynamicMesh; startFrom startTime; diff --git a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/decomposeParDict b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/decomposeParDict index 441595307a..cc32e107da 100644 --- a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/decomposeParDict +++ b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/decomposeParDict @@ -19,13 +19,7 @@ FoamFile numberOfSubdomains 2; -// preservePatches (inlet); -// preserveFaceZones (heater solid1 solid3); - -// method simple; method hierarchical; -// method metis; -// method manual; simpleCoeffs { @@ -41,17 +35,7 @@ hierarchicalCoeffs } metisCoeffs -{ - /* - processorWeights - ( - 1 - 1 - 1 - 1 - ); - */ -} +{} manualCoeffs { @@ -59,14 +43,4 @@ manualCoeffs } -//// Is the case distributed -//distributed yes; -//// Per slave (so nProcs-1 entries) the directory above the case. -//roots -//( -// "/tmp" -// "/tmp" -//); - - // ************************************************************************* // diff --git a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/fvSchemes b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/fvSchemes index ebcd685575..1570532442 100644 --- a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/fvSchemes +++ b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/fvSchemes @@ -1,25 +1,18 @@ -/*---------------------------------------------------------------------------*\ +/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ - FoamFile { - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSchemes; + version 2.0; + format ascii; + class dictionary; + location "system"; + object fvSchemes; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes diff --git a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/fvSolution b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/fvSolution index 9fff602af6..ea03559dfb 100644 --- a/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/fvSolution +++ b/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/system/fvSolution @@ -1,25 +1,18 @@ -/*---------------------------------------------------------------------------*\ +/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.4 | -| \\ / A nd | Web: http://www.openfoam.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ - FoamFile { - version 2.0; - format ascii; - - root ""; - case ""; - instance ""; - local ""; - - class dictionary; - object fvSolution; + version 2.0; + format ascii; + class dictionary; + location "system"; + object fvSolution; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers @@ -66,17 +59,5 @@ solvers }; } -//PISO -//{ -// nCorrectors 2; -// nNonOrthogonalCorrectors 2; -// pRefCell 0; -// pRefValue 0; -//} -// -//relaxationFactors -//{ -//} - // ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/multiRegionMesh/system/controlDict b/tutorials/mesh/snappyHexMesh/multiRegionMesh/system/controlDict index 71de8302ef..b4e6cadd37 100644 --- a/tutorials/mesh/snappyHexMesh/multiRegionMesh/system/controlDict +++ b/tutorials/mesh/snappyHexMesh/multiRegionMesh/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application snappyHexMesh; + startFrom latestTime; startTime 0.001; diff --git a/tutorials/multiphase/bubbleFoam/bubbleColumn/system/controlDict b/tutorials/multiphase/bubbleFoam/bubbleColumn/system/controlDict index 3691a7b810..d584775d4d 100644 --- a/tutorials/multiphase/bubbleFoam/bubbleColumn/system/controlDict +++ b/tutorials/multiphase/bubbleFoam/bubbleColumn/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application bubbleFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict b/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict index 2ba1fabc2b..430402cef8 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application cavitatingFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict index c87d60631d..e96753b556 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application cavitatingFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/controlDict b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/controlDict index d541a7c7ef..551e130622 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/controlDict +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application cavitatingFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/system/controlDict b/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/system/controlDict index 53a30129f4..4c225df9c7 100644 --- a/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/system/controlDict +++ b/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application compressibleInterFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/system/controlDict b/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/system/controlDict index 53a30129f4..4c225df9c7 100644 --- a/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/system/controlDict +++ b/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application compressibleInterFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/controlDict b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/controlDict index 4790e5fc3f..ffd38fe43b 100644 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application interDyMFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/controlDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/controlDict index 35735bacbb..2da46048d7 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application interDyMFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/controlDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/controlDict index 9fe32ebf04..c0adba94fb 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application interDyMFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/controlDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/controlDict index 5823d9fbbd..08aaf802e1 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application interDyMFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/controlDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/controlDict index 5823d9fbbd..08aaf802e1 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application interDyMFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/controlDict b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/controlDict index 5823d9fbbd..08aaf802e1 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application interDyMFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/system/controlDict b/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/system/controlDict index 249378f87c..bacc92bb3f 100644 --- a/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/system/controlDict +++ b/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application interFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/system/controlDict b/tutorials/multiphase/interFoam/laminar/damBreak/system/controlDict index 5546d05292..d2cc91af3f 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/system/controlDict +++ b/tutorials/multiphase/interFoam/laminar/damBreak/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application interFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/controlDict b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/controlDict index 58243b4b8d..1473b07fb8 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/controlDict +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application interFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/interFoam/ras/damBreak/system/controlDict b/tutorials/multiphase/interFoam/ras/damBreak/system/controlDict index e2b799e52f..bfec9ff0e4 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/system/controlDict +++ b/tutorials/multiphase/interFoam/ras/damBreak/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application interFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/system/controlDict b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/system/controlDict index 7a68f62840..970e7d234b 100644 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/system/controlDict +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application multiphaseInterFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/system/controlDict b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/system/controlDict index 7a68f62840..970e7d234b 100644 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/system/controlDict +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application multiphaseInterFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/system/controlDict b/tutorials/multiphase/settlingFoam/ras/dahl/system/controlDict index e4ca7a8049..50ff9097b0 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/system/controlDict +++ b/tutorials/multiphase/settlingFoam/ras/dahl/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application settlingFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/system/controlDict b/tutorials/multiphase/settlingFoam/ras/tank3D/system/controlDict index 1adf79151c..94a0abb1b7 100644 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/system/controlDict +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application settlingFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict index 8fc8f27669..97e7ff813c 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application twoPhaseEulerFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict index d5eaba87fe..87b8ec7ad6 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application twoPhaseEulerFoam; + startFrom latestTime; startTime 0; diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/controlDict index 1b724308f1..15bbbbf318 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/controlDict +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application twoPhaseEulerFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/controlDict b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/controlDict index a6c2f2ec34..9c2031f4a6 100644 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/controlDict +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application solidDisplacementFoam; + startFrom startTime; startTime 0; diff --git a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict index 70865b72da..4d8455c81f 100644 --- a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict +++ b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict @@ -15,6 +15,8 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +application solidEquilibriumDisplacementFoam; + startFrom startTime; startTime 0; From 4665779145f66499b96a435179d69d17696001b3 Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 9 Jul 2009 14:41:54 +0100 Subject: [PATCH 08/11] Renamed for consistency with other tutorials. --- .../{dsmc => dsmcFoam}/freeSpacePeriodic/0/boundaryT | 0 .../{dsmc => dsmcFoam}/freeSpacePeriodic/0/boundaryU | 0 .../{dsmc => dsmcFoam}/freeSpacePeriodic/0/dsmcRhoN | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/fD | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/iDof | 0 .../{dsmc => dsmcFoam}/freeSpacePeriodic/0/internalE | 0 .../{dsmc => dsmcFoam}/freeSpacePeriodic/0/linearKE | 0 .../{dsmc => dsmcFoam}/freeSpacePeriodic/0/momentum | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/q | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/rhoM | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/rhoN | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/Allclean | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/Allrun | 0 .../{dsmc => dsmcFoam}/freeSpacePeriodic/constant/dsmcProperties | 0 .../freeSpacePeriodic/constant/polyMesh/blockMeshDict | 0 .../freeSpacePeriodic/constant/polyMesh/boundary | 0 .../{dsmc => dsmcFoam}/freeSpacePeriodic/system/controlDict | 0 .../{dsmc => dsmcFoam}/freeSpacePeriodic/system/decomposeParDict | 0 .../freeSpacePeriodic/system/dsmcInitialiseDict | 0 .../{dsmc => dsmcFoam}/freeSpacePeriodic/system/fvSchemes | 0 .../{dsmc => dsmcFoam}/freeSpacePeriodic/system/fvSolution | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/0/boundaryT | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/0/boundaryU | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/dsmcRhoN | 0 tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/fD | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/iDof | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/0/internalE | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/0/interpolaterhoN | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/linearKE | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/momentum | 0 tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/q | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/rhoM | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/rhoN | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/Allclean | 0 .../discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/Allrun | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/constant/dsmcProperties | 0 .../freeSpaceStream/constant/polyMesh/blockMeshDict | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/constant/polyMesh/boundary | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/system/controlDict | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/system/decomposeParDict | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/system/dsmcInitialiseDict | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/system/fvSchemes | 0 .../{dsmc => dsmcFoam}/freeSpaceStream/system/fvSolution | 0 .../{dsmc => dsmcFoam}/supersonicCorner/0/boundaryT | 0 .../{dsmc => dsmcFoam}/supersonicCorner/0/boundaryU | 0 .../{dsmc => dsmcFoam}/supersonicCorner/0/dsmcRhoN | 0 .../discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/fD | 0 .../discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/iDof | 0 .../{dsmc => dsmcFoam}/supersonicCorner/0/internalE | 0 .../{dsmc => dsmcFoam}/supersonicCorner/0/linearKE | 0 .../{dsmc => dsmcFoam}/supersonicCorner/0/momentum | 0 tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/q | 0 .../discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/rhoM | 0 .../discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/rhoN | 0 .../discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/Allclean | 0 .../discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/Allrun | 0 .../{dsmc => dsmcFoam}/supersonicCorner/constant/dsmcProperties | 0 .../supersonicCorner/constant/polyMesh/blockMeshDict | 0 .../supersonicCorner/constant/polyMesh/boundary | 0 .../{dsmc => dsmcFoam}/supersonicCorner/system/controlDict | 0 .../{dsmc => dsmcFoam}/supersonicCorner/system/decomposeParDict | 0 .../{dsmc => dsmcFoam}/supersonicCorner/system/dsmcInitialiseDict | 0 .../{dsmc => dsmcFoam}/supersonicCorner/system/fvSchemes | 0 .../{dsmc => dsmcFoam}/supersonicCorner/system/fvSolution | 0 .../discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/boundaryT | 0 .../discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/boundaryU | 0 .../discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/dsmcRhoN | 0 tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/fD | 0 tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/iDof | 0 .../discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/internalE | 0 .../discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/linearKE | 0 .../discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/momentum | 0 tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/q | 0 tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/rhoM | 0 tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/rhoN | 0 tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/Allclean | 0 tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/Allrun | 0 .../{dsmc => dsmcFoam}/wedge15Ma5/constant/dsmcProperties | 0 .../{dsmc => dsmcFoam}/wedge15Ma5/constant/polyMesh/blockMeshDict | 0 .../{dsmc => dsmcFoam}/wedge15Ma5/constant/polyMesh/boundary | 0 .../{dsmc => dsmcFoam}/wedge15Ma5/system/controlDict | 0 .../{dsmc => dsmcFoam}/wedge15Ma5/system/decomposeParDict | 0 .../{dsmc => dsmcFoam}/wedge15Ma5/system/dsmcInitialiseDict | 0 .../{dsmc => dsmcFoam}/wedge15Ma5/system/fvSchemes | 0 .../{dsmc => dsmcFoam}/wedge15Ma5/system/fvSolution | 0 85 files changed, 0 insertions(+), 0 deletions(-) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/boundaryT (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/boundaryU (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/dsmcRhoN (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/fD (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/iDof (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/internalE (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/linearKE (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/momentum (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/q (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/rhoM (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/0/rhoN (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/Allclean (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/Allrun (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/constant/dsmcProperties (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/constant/polyMesh/blockMeshDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/constant/polyMesh/boundary (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/system/controlDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/system/decomposeParDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/system/dsmcInitialiseDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/system/fvSchemes (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpacePeriodic/system/fvSolution (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/boundaryT (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/boundaryU (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/dsmcRhoN (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/fD (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/iDof (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/internalE (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/interpolaterhoN (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/linearKE (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/momentum (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/q (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/rhoM (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/0/rhoN (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/Allclean (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/Allrun (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/constant/dsmcProperties (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/constant/polyMesh/blockMeshDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/constant/polyMesh/boundary (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/system/controlDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/system/decomposeParDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/system/dsmcInitialiseDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/system/fvSchemes (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/freeSpaceStream/system/fvSolution (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/boundaryT (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/boundaryU (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/dsmcRhoN (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/fD (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/iDof (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/internalE (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/linearKE (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/momentum (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/q (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/rhoM (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/0/rhoN (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/Allclean (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/Allrun (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/constant/dsmcProperties (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/constant/polyMesh/blockMeshDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/constant/polyMesh/boundary (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/system/controlDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/system/decomposeParDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/system/dsmcInitialiseDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/system/fvSchemes (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/supersonicCorner/system/fvSolution (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/boundaryT (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/boundaryU (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/dsmcRhoN (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/fD (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/iDof (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/internalE (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/linearKE (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/momentum (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/q (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/rhoM (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/0/rhoN (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/Allclean (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/Allrun (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/constant/dsmcProperties (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/constant/polyMesh/blockMeshDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/constant/polyMesh/boundary (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/system/controlDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/system/decomposeParDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/system/dsmcInitialiseDict (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/system/fvSchemes (100%) rename tutorials/discreteMethods/{dsmc => dsmcFoam}/wedge15Ma5/system/fvSolution (100%) diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/boundaryT b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/boundaryT similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/boundaryT rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/boundaryT diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/boundaryU b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/boundaryU similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/boundaryU rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/boundaryU diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/dsmcRhoN b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/dsmcRhoN similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/dsmcRhoN rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/dsmcRhoN diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/fD b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/fD similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/fD rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/fD diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/iDof b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/iDof similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/iDof rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/iDof diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/internalE b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/internalE similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/internalE rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/internalE diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/linearKE b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/linearKE similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/linearKE rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/linearKE diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/momentum b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/momentum similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/momentum rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/momentum diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/q b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/q similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/q rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/q diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/rhoM b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/rhoM similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/rhoM rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/rhoM diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/rhoN b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/rhoN similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/0/rhoN rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/rhoN diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/Allclean b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allclean similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/Allclean rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allclean diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/Allrun b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/Allrun rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/constant/dsmcProperties b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/dsmcProperties similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/constant/dsmcProperties rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/dsmcProperties diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/constant/polyMesh/blockMeshDict b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/polyMesh/blockMeshDict similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/constant/polyMesh/blockMeshDict rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/polyMesh/blockMeshDict diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/constant/polyMesh/boundary b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/polyMesh/boundary similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/constant/polyMesh/boundary rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/polyMesh/boundary diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/controlDict b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/controlDict rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/decomposeParDict b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/decomposeParDict similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/decomposeParDict rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/decomposeParDict diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/dsmcInitialiseDict b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/dsmcInitialiseDict similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/dsmcInitialiseDict rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/dsmcInitialiseDict diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/fvSchemes b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSchemes similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/fvSchemes rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSchemes diff --git a/tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/fvSolution b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSolution similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpacePeriodic/system/fvSolution rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSolution diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/boundaryT b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/boundaryT similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/boundaryT rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/boundaryT diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/boundaryU b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/boundaryU similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/boundaryU rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/boundaryU diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/dsmcRhoN b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/dsmcRhoN similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/dsmcRhoN rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/dsmcRhoN diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/fD b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/fD similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/fD rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/fD diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/iDof b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/iDof similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/iDof rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/iDof diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/internalE b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/internalE similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/internalE rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/internalE diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/interpolaterhoN b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/interpolaterhoN similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/interpolaterhoN rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/interpolaterhoN diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/linearKE b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/linearKE similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/linearKE rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/linearKE diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/momentum b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/momentum similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/momentum rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/momentum diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/q b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/q similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/q rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/q diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/rhoM b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/rhoM similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/rhoM rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/rhoM diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/0/rhoN b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/rhoN similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/0/rhoN rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/rhoN diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/Allclean b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allclean similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/Allclean rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allclean diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/Allrun b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/Allrun rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/constant/dsmcProperties b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/dsmcProperties similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/constant/dsmcProperties rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/dsmcProperties diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/constant/polyMesh/blockMeshDict b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/polyMesh/blockMeshDict similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/constant/polyMesh/blockMeshDict rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/polyMesh/blockMeshDict diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/constant/polyMesh/boundary b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/polyMesh/boundary similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/constant/polyMesh/boundary rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/polyMesh/boundary diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/system/controlDict b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/system/controlDict rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/system/decomposeParDict b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/decomposeParDict similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/system/decomposeParDict rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/decomposeParDict diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/system/dsmcInitialiseDict b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/dsmcInitialiseDict similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/system/dsmcInitialiseDict rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/dsmcInitialiseDict diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/system/fvSchemes b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSchemes similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/system/fvSchemes rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSchemes diff --git a/tutorials/discreteMethods/dsmc/freeSpaceStream/system/fvSolution b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSolution similarity index 100% rename from tutorials/discreteMethods/dsmc/freeSpaceStream/system/fvSolution rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSolution diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/boundaryT b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/boundaryT similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/boundaryT rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/boundaryT diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/boundaryU b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/boundaryU similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/boundaryU rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/boundaryU diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/dsmcRhoN b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/dsmcRhoN similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/dsmcRhoN rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/dsmcRhoN diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/fD b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/fD similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/fD rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/fD diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/iDof b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/iDof similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/iDof rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/iDof diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/internalE b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/internalE similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/internalE rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/internalE diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/linearKE b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/linearKE similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/linearKE rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/linearKE diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/momentum b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/momentum similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/momentum rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/momentum diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/q b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/q similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/q rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/q diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/rhoM b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/rhoM similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/rhoM rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/rhoM diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/0/rhoN b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/rhoN similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/0/rhoN rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/rhoN diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/Allclean b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allclean similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/Allclean rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allclean diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/Allrun b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/Allrun rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/constant/dsmcProperties b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/constant/dsmcProperties similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/constant/dsmcProperties rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/constant/dsmcProperties diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/constant/polyMesh/blockMeshDict b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/constant/polyMesh/blockMeshDict similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/constant/polyMesh/blockMeshDict rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/constant/polyMesh/blockMeshDict diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/constant/polyMesh/boundary b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/constant/polyMesh/boundary similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/constant/polyMesh/boundary rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/constant/polyMesh/boundary diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/system/controlDict b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/system/controlDict rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/system/decomposeParDict b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/decomposeParDict similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/system/decomposeParDict rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/decomposeParDict diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/system/dsmcInitialiseDict b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/dsmcInitialiseDict similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/system/dsmcInitialiseDict rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/dsmcInitialiseDict diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/system/fvSchemes b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSchemes similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/system/fvSchemes rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSchemes diff --git a/tutorials/discreteMethods/dsmc/supersonicCorner/system/fvSolution b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSolution similarity index 100% rename from tutorials/discreteMethods/dsmc/supersonicCorner/system/fvSolution rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSolution diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/boundaryT b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/boundaryT similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/boundaryT rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/boundaryT diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/boundaryU b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/boundaryU similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/boundaryU rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/boundaryU diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/dsmcRhoN b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/dsmcRhoN similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/dsmcRhoN rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/dsmcRhoN diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/fD b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/fD similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/fD rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/fD diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/iDof b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/iDof similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/iDof rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/iDof diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/internalE b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/internalE similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/internalE rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/internalE diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/linearKE b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/linearKE similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/linearKE rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/linearKE diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/momentum b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/momentum similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/momentum rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/momentum diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/q b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/q similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/q rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/q diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/rhoM b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/rhoM similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/rhoM rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/rhoM diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/0/rhoN b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/rhoN similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/0/rhoN rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/rhoN diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/Allclean b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allclean similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/Allclean rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allclean diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/Allrun b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/Allrun rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/constant/dsmcProperties b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/constant/dsmcProperties similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/constant/dsmcProperties rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/constant/dsmcProperties diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/constant/polyMesh/blockMeshDict b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/constant/polyMesh/blockMeshDict similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/constant/polyMesh/blockMeshDict rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/constant/polyMesh/blockMeshDict diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/constant/polyMesh/boundary b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/constant/polyMesh/boundary similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/constant/polyMesh/boundary rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/constant/polyMesh/boundary diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/system/controlDict b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/system/controlDict rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/system/decomposeParDict b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/decomposeParDict similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/system/decomposeParDict rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/decomposeParDict diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/system/dsmcInitialiseDict b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/dsmcInitialiseDict similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/system/dsmcInitialiseDict rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/dsmcInitialiseDict diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/system/fvSchemes b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSchemes similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/system/fvSchemes rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSchemes diff --git a/tutorials/discreteMethods/dsmc/wedge15Ma5/system/fvSolution b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSolution similarity index 100% rename from tutorials/discreteMethods/dsmc/wedge15Ma5/system/fvSolution rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSolution From 4c3c9f2c38cc3d9e7e7da83464e0c6cb07dac6c8 Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 9 Jul 2009 14:42:17 +0100 Subject: [PATCH 09/11] Corrected application entry. --- tutorials/combustion/engineFoam/kivaTest/system/controlDict | 2 +- tutorials/combustion/engineFoam/kivaTest/system/controlDict.1st | 2 +- tutorials/combustion/engineFoam/kivaTest/system/controlDict.2nd | 2 +- .../dsmcFoam/freeSpacePeriodic/system/controlDict | 2 +- .../discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict | 2 +- .../dsmcFoam/supersonicCorner/system/controlDict | 2 +- .../discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict | 2 +- .../mdEquilibrationFoam/periodicCubeArgon/system/controlDict | 2 +- .../mdEquilibrationFoam/periodicCubeWater/system/controlDict | 2 +- .../molecularDynamics/mdFoam/nanoNozzle/system/controlDict | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tutorials/combustion/engineFoam/kivaTest/system/controlDict b/tutorials/combustion/engineFoam/kivaTest/system/controlDict index 2ae209cb5f..987fc847a9 100644 --- a/tutorials/combustion/engineFoam/kivaTest/system/controlDict +++ b/tutorials/combustion/engineFoam/kivaTest/system/controlDict @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass engineFoam; +application engineFoam; startFrom startTime; diff --git a/tutorials/combustion/engineFoam/kivaTest/system/controlDict.1st b/tutorials/combustion/engineFoam/kivaTest/system/controlDict.1st index 2ae209cb5f..987fc847a9 100644 --- a/tutorials/combustion/engineFoam/kivaTest/system/controlDict.1st +++ b/tutorials/combustion/engineFoam/kivaTest/system/controlDict.1st @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass engineFoam; +application engineFoam; startFrom startTime; diff --git a/tutorials/combustion/engineFoam/kivaTest/system/controlDict.2nd b/tutorials/combustion/engineFoam/kivaTest/system/controlDict.2nd index 4ec457ba62..fe08c9afe3 100644 --- a/tutorials/combustion/engineFoam/kivaTest/system/controlDict.2nd +++ b/tutorials/combustion/engineFoam/kivaTest/system/controlDict.2nd @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass engineFoam; +application engineFoam; startFrom startTime; diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict index bcaa42ac59..d423b5c236 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -application dsmc; +application dsmcFoam; startFrom startTime; diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict index 55367aef56..0c87d7f4fc 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -application dsmc; +application dsmcFoam; startFrom startTime; diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict index f494aa8edf..6cb632a80f 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -application dsmc; +application dsmcFoam; startFrom startTime; diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict index 2ae7d6767a..7add42226a 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -application dsmc; +application dsmcFoam; startFrom latestTime; diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict index 0059f938cb..948cb3fe85 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict @@ -14,7 +14,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -application molecularDynamics; +application mdEquilibrationFoam; startFrom startTime; diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict index 35ef2b6286..678ba34929 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict @@ -14,7 +14,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -application molecularDynamics; +application mdEquilibrationFoam; startFrom startTime; diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict index 35ef2b6286..801608a895 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict @@ -14,7 +14,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -application molecularDynamics; +application mdFoam; startFrom startTime; From e6cdada5d6e336755f0559c6cd233d2b5509f36d Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 9 Jul 2009 16:01:36 +0100 Subject: [PATCH 10/11] correct extrudeMesh --- .../mesh/generation/extrudeMesh/extrudeMesh.C | 26 ++++-- .../extrudeModel/linearNormal/linearNormal.C | 9 ++- .../generation/extrudeMesh/extrudeProperties | 21 +++-- .../extrudeMesh/extrudedMesh/extrudedMesh.C | 80 ++++++++++++------- 4 files changed, 94 insertions(+), 42 deletions(-) diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C index 69dc36bccf..7380562664 100644 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C +++ b/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C @@ -23,8 +23,9 @@ License Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Description - Extrude mesh from existing patch (flipped so has inwards pointing - normals) or from patch read from file. + Extrude mesh from existing patch (by default outwards facing normals; + optional flips faces) + or from patch read from file. Note: Merges close points so be careful. Type of extrusion prescribed by run-time selectable model. @@ -108,14 +109,11 @@ int main(int argc, char *argv[]) const polyPatch& pp = mesh.boundaryMesh()[patchID]; fMesh.reset(new faceMesh(pp.localFaces(), pp.localPoints())); - fMesh().flip(); { - fileName surfName(patchName + ".sMesh"); - - Info<< "Writing (flipped) patch as surfaceMesh to " + fileName surfName(runTime.path()/patchName + ".sMesh"); + Info<< "Writing patch as surfaceMesh to " << surfName << nl << endl; - OFstream os(surfName); os << fMesh() << nl; } @@ -142,6 +140,20 @@ int main(int argc, char *argv[]) << "patch or surface." << exit(FatalError); } + Switch flipNormals(dict.lookup("flipNormals")); + + if (flipNormals) + { + Info<< "Flipping faces." << nl << endl; + + faceList faces(fMesh().size()); + forAll(faces, i) + { + faces[i] = fMesh()[i].reverseFace(); + } + fMesh.reset(new faceMesh(faces, fMesh().localPoints())); + } + Info<< "Extruding patch with :" << nl << " points : " << fMesh().points().size() << nl diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C index 99c02d214f..c36098ab1e 100644 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C +++ b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C @@ -47,7 +47,14 @@ linearNormal::linearNormal(const dictionary& dict) : extrudeModel(typeName, dict), thickness_(readScalar(coeffDict_.lookup("thickness"))) -{} +{ + if (thickness_ <= 0) + { + FatalErrorIn("linearNormal(const dictionary&)") + << "thickness should be positive : " << thickness_ + << exit(FatalError); + } +} // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeProperties b/applications/utilities/mesh/generation/extrudeMesh/extrudeProperties index 20de7b2152..8bf73c4bf2 100644 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeProperties +++ b/applications/utilities/mesh/generation/extrudeMesh/extrudeProperties @@ -19,31 +19,40 @@ FoamFile constructFrom patch; //surface; // If construct from (flipped) patch -sourceCase "../cavity"; +sourceCase "$FOAM_RUN/icoFoam/cavity"; sourcePatch movingWall; +// Flip surface normals before usage. +flipNormals false; + // If construct from surface surface "movingWall.sMesh"; -// Do front and back need to be merged? -mergeFaces false; +// Do front and back need to be merged? Usually only makes sense for 360 +// degree wedges. +mergeFaces true; + //- Linear extrusion in point-normal direction //extrudeModel linearNormal; + //- Wedge extrusion. If nLayers is 1 assumes symmetry around plane. extrudeModel wedge; + //- Extrudes into sphere around (0 0 0) //extrudeModel linearRadial; + +//- Extrudes into sphere with grading according to pressure (atmospherics) //extrudeModel sigmaRadial; -nLayers 6; +nLayers 20; wedgeCoeffs { axisPt (0 0.1 0); - axis (1 0 0); - angle 90.0; // For nLayers=1 assume symmetry so angle/2 on each side + axis (-1 0 0); + angle 360; // For nLayers=1 assume symmetry so angle/2 on each side } linearNormalCoeffs diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudedMesh/extrudedMesh.C b/applications/utilities/mesh/generation/extrudeMesh/extrudedMesh/extrudedMesh.C index b258c59445..16bab41094 100644 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudedMesh/extrudedMesh.C +++ b/applications/utilities/mesh/generation/extrudeMesh/extrudedMesh/extrudedMesh.C @@ -109,15 +109,33 @@ Foam::Xfer Foam::extrudedMesh::extrudedFaces label currentLayerOffset = layer*surfacePoints.size(); label nextLayerOffset = currentLayerOffset + surfacePoints.size(); - // Side faces from layer to layer+1 - for (label i=0; i Foam::extrudedMesh::extrudedFaces eFaces[facei++] = face ( - surfaceFaces[i].reverseFace() + surfaceFaces[i] //.reverseFace() + nextLayerOffset - ).reverseFace(); + ); } } } @@ -142,40 +160,46 @@ Foam::Xfer Foam::extrudedMesh::extrudedFaces label nextLayerOffset = currentLayerOffset + surfacePoints.size(); // Side faces across layer - for (label i=nInternalEdges; i Date: Thu, 9 Jul 2009 17:44:50 +0100 Subject: [PATCH 11/11] Get the application from the controlDict where necessary. --- bin/foamRunTutorials | 2 +- bin/tools/RunFunctions | 5 ++ tutorials/DNS/dnsFoam/boxTurb16/Allrun | 4 +- tutorials/basic/laplacianFoam/flange/Allrun | 4 +- tutorials/basic/potentialFoam/cylinder/Allrun | 2 +- .../basic/potentialFoam/pitzDaily/Allrun | 2 +- tutorials/combustion/XiFoam/ras/Allrun | 2 +- .../combustion/engineFoam/kivaTest/Allrun | 4 +- tutorials/compressible/rhoCentralFoam/Allrun | 4 +- .../rhoSonicFoam/shockTube/Allrun | 5 +- .../rhopSonicFoam/shockTube/Allrun | 2 +- tutorials/compressible/sonicFoam/Allrun | 5 -- .../compressible/sonicFoam/laminar/Allrun | 22 --------- .../sonicFoam/laminar/shockTube/Allrun | 2 +- tutorials/compressible/sonicFoam/ras/Allrun | 29 ----------- .../sonicFoam/ras/nacaAirfoil/Allrun | 23 +++++++++ .../ras/{ => nacaAirfoil}/Running_Notes | 10 ++-- tutorials/compressible/sonicLiquidFoam/Allrun | 4 +- .../molecularDynamics/mdFoam/Allclean | 10 ---- .../molecularDynamics/mdFoam/Allrun | 19 -------- .../mdFoam/nanoNozzle/Allclean | 8 ++++ .../mdFoam/nanoNozzle/Allrun | 16 +++++++ tutorials/electromagnetics/mhdFoam/Allrun | 2 +- .../buoyantBoussinesqPisoFoam/hotRoom/Allrun | 2 +- .../hotRoom/Allrun | 2 +- .../buoyantPisoFoam/hotRoom/Allrun | 4 +- .../buoyantSimpleFoam/hotRoom/Allrun | 2 +- .../MRFSimpleFoam/mixerVessel2D/Allrun | 2 +- .../channelFoam/channel395/Allrun | 2 +- tutorials/incompressible/icoFoam/Allrun | 4 +- .../incompressible/icoFoam/resetFixedWallsScr | 8 ++++ tutorials/incompressible/pisoFoam/Allrun | 37 -------------- .../les/pitzDaily/constant/polyMesh/boundary | 2 +- .../pisoFoam/les/pitzDailyDirectMapped/Allrun | 4 +- .../simpleFoam/airFoil2D/Allrun | 2 +- .../filter/Allrun | 2 +- .../multiphase/cavitatingFoam/les/Allrun | 1 + .../cavitatingFoam/ras/throttle/Allrun | 2 +- .../les/depthCharge2D/Allrun | 4 +- .../les/depthCharge3D/Allrun | 4 +- tutorials/multiphase/interFoam/Allrun | 48 ------------------- .../MRFInterFoam/mixerVessel2D/Allrun | 2 +- tutorials/multiphase/interFoam/laminar/Allrun | 2 +- .../interFoam/les/nozzleFlow2D/Allrun | 4 +- tutorials/multiphase/interFoam/ras/Allrun | 3 +- .../multiphase/interFoam/ras/damBreak/Allrun | 4 +- .../multiphase/settlingFoam/ras/tank3D/Allrun | 2 +- 47 files changed, 112 insertions(+), 223 deletions(-) delete mode 100755 tutorials/compressible/sonicFoam/Allrun delete mode 100755 tutorials/compressible/sonicFoam/laminar/Allrun delete mode 100755 tutorials/compressible/sonicFoam/ras/Allrun create mode 100755 tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun rename tutorials/compressible/sonicFoam/ras/{ => nacaAirfoil}/Running_Notes (65%) delete mode 100755 tutorials/discreteMethods/molecularDynamics/mdFoam/Allclean delete mode 100755 tutorials/discreteMethods/molecularDynamics/mdFoam/Allrun create mode 100755 tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allclean create mode 100755 tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun create mode 100644 tutorials/incompressible/icoFoam/resetFixedWallsScr delete mode 100755 tutorials/incompressible/pisoFoam/Allrun delete mode 100755 tutorials/multiphase/interFoam/Allrun diff --git a/bin/foamRunTutorials b/bin/foamRunTutorials index c4d7c85acb..210b1bcc60 100755 --- a/bin/foamRunTutorials +++ b/bin/foamRunTutorials @@ -50,7 +50,7 @@ elif [ -d "./system" ] then # Normal case. parentDir=`dirname $PWD` - application=`basename $parentDir` + application=`getApplication` runApplication blockMesh runApplication $application else diff --git a/bin/tools/RunFunctions b/bin/tools/RunFunctions index 5afb39a950..6907b291ef 100644 --- a/bin/tools/RunFunctions +++ b/bin/tools/RunFunctions @@ -29,6 +29,11 @@ # #------------------------------------------------------------------------------ +getApplication () +{ + grep application system/controlDict | sed "s/application *\([a-zA-Z]*\);/\1/" +} + runApplication () { APP_RUN=$1; shift diff --git a/tutorials/DNS/dnsFoam/boxTurb16/Allrun b/tutorials/DNS/dnsFoam/boxTurb16/Allrun index b78ade21c1..e005157d09 100755 --- a/tutorials/DNS/dnsFoam/boxTurb16/Allrun +++ b/tutorials/DNS/dnsFoam/boxTurb16/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application="dnsFoam" +# Get application name +application=`getApplication` runApplication blockMesh runApplication boxTurb diff --git a/tutorials/basic/laplacianFoam/flange/Allrun b/tutorials/basic/laplacianFoam/flange/Allrun index 497eed73f8..d6a968af46 100755 --- a/tutorials/basic/laplacianFoam/flange/Allrun +++ b/tutorials/basic/laplacianFoam/flange/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application directory -application="laplacianFoam" +# Get application name +application=`getApplication` runAnsysToFoam() { diff --git a/tutorials/basic/potentialFoam/cylinder/Allrun b/tutorials/basic/potentialFoam/cylinder/Allrun index b4a0869ee5..36e2229aa6 100755 --- a/tutorials/basic/potentialFoam/cylinder/Allrun +++ b/tutorials/basic/potentialFoam/cylinder/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="potentialFoam" +application=`getApplication` runApplication blockMesh runApplication $application diff --git a/tutorials/basic/potentialFoam/pitzDaily/Allrun b/tutorials/basic/potentialFoam/pitzDaily/Allrun index 6019032881..cadfe86d27 100755 --- a/tutorials/basic/potentialFoam/pitzDaily/Allrun +++ b/tutorials/basic/potentialFoam/pitzDaily/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="potentialFoam" +application=`getApplication` runApplication blockMesh runApplication $application diff --git a/tutorials/combustion/XiFoam/ras/Allrun b/tutorials/combustion/XiFoam/ras/Allrun index a48aed068d..0c311946f1 100755 --- a/tutorials/combustion/XiFoam/ras/Allrun +++ b/tutorials/combustion/XiFoam/ras/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory +# Set application name application="XiFoam" setControlDict () { diff --git a/tutorials/combustion/engineFoam/kivaTest/Allrun b/tutorials/combustion/engineFoam/kivaTest/Allrun index 0912af15e2..e8de444229 100755 --- a/tutorials/combustion/engineFoam/kivaTest/Allrun +++ b/tutorials/combustion/engineFoam/kivaTest/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application="engineFoam" +# Get application name +application=`getApplication` runKivaToFoam () { diff --git a/tutorials/compressible/rhoCentralFoam/Allrun b/tutorials/compressible/rhoCentralFoam/Allrun index dbd8b7758f..d20d46fdd9 100755 --- a/tutorials/compressible/rhoCentralFoam/Allrun +++ b/tutorials/compressible/rhoCentralFoam/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application=${PWD##*/} +# Get application name +application="rhoCentralFoam" cases=" \ shockTube \ diff --git a/tutorials/compressible/rhoSonicFoam/shockTube/Allrun b/tutorials/compressible/rhoSonicFoam/shockTube/Allrun index 6ce183dba8..4f0a80edd8 100755 --- a/tutorials/compressible/rhoSonicFoam/shockTube/Allrun +++ b/tutorials/compressible/rhoSonicFoam/shockTube/Allrun @@ -1,9 +1,10 @@ #!/bin/sh + # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application="rhoSonicFoam" +# Get application name +application=`getApplication` runApplication blockMesh runApplication setFields diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/Allrun b/tutorials/compressible/rhopSonicFoam/shockTube/Allrun index 6415109243..eede9049d7 100755 --- a/tutorials/compressible/rhopSonicFoam/shockTube/Allrun +++ b/tutorials/compressible/rhopSonicFoam/shockTube/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="rhopSonicFoam" +application=`getApplication` runApplication blockMesh runApplication setFields diff --git a/tutorials/compressible/sonicFoam/Allrun b/tutorials/compressible/sonicFoam/Allrun deleted file mode 100755 index 4f1a1e464a..0000000000 --- a/tutorials/compressible/sonicFoam/Allrun +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -set -x - -(cd laminar && ./Allrun) -(cd ras && ./Allrun) diff --git a/tutorials/compressible/sonicFoam/laminar/Allrun b/tutorials/compressible/sonicFoam/laminar/Allrun deleted file mode 100755 index 573ff3a12d..0000000000 --- a/tutorials/compressible/sonicFoam/laminar/Allrun +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# Source tutorial run functions -. $WM_PROJECT_DIR/bin/tools/RunFunctions - -# Get application name from directory -application=sonicFoam - -cases=" \ -forwardStep \ -shockTube \ -" -for case in $cases -do - (cd $case && runApplication blockMesh) -# - if [ "$case" = "shockTube" ] ; then - (cd $case && ./Allrun) - else - (cd $case && runApplication $application) - fi -# -done diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun b/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun index 6dc6509c85..bb2d19c9ea 100755 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="sonicFoam" +application=`getApplication` runApplication blockMesh runApplication setFields diff --git a/tutorials/compressible/sonicFoam/ras/Allrun b/tutorials/compressible/sonicFoam/ras/Allrun deleted file mode 100755 index 810c6525eb..0000000000 --- a/tutorials/compressible/sonicFoam/ras/Allrun +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# Source tutorial run functions -. $WM_PROJECT_DIR/bin/tools/RunFunctions - -# Get application name from directory -application=${PWD##*/} - -runStarToFoam () -{ - if [ -f log.starToFoam ] ; then - echo "starToFoam already run on $PWD: remove log file to run" - else - echo "starToFoam: converting mesh $1" - starToFoam $1 > log.starToFoam 2>&1 - fi -} - -# Do prism -(cd prism && foamRunTutorials) - -# Special handling for nacaAirfoil -cd nacaAirfoil - runStarToFoam prostar/nacaAirfoil - mv constant/polyMesh/boundary temp - sed -e s/"\([\t ]*type[\t ]*\)symmetryPlane"/"\1empty"/g \ - temp > constant/polyMesh/boundary - rm temp - runApplication $application -cd .. diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun new file mode 100755 index 0000000000..29cc29abd5 --- /dev/null +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun @@ -0,0 +1,23 @@ +#!/bin/sh +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application name +application=`getApplication` + +runStarToFoam () +{ + if [ -f log.starToFoam ] ; then + echo "starToFoam already run on $PWD: remove log file to run" + else + echo "starToFoam: converting mesh $1" + starToFoam $1 > log.starToFoam 2>&1 + fi +} + +runStarToFoam prostar/nacaAirfoil +mv constant/polyMesh/boundary temp +sed -e s/"\([\t ]*type[\t ]*\)symmetryPlane"/"\1empty"/g \ + temp > constant/polyMesh/boundary +rm temp +runApplication $application diff --git a/tutorials/compressible/sonicFoam/ras/Running_Notes b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Running_Notes similarity index 65% rename from tutorials/compressible/sonicFoam/ras/Running_Notes rename to tutorials/compressible/sonicFoam/ras/nacaAirfoil/Running_Notes index b666005280..5bfc37a862 100644 --- a/tutorials/compressible/sonicFoam/ras/Running_Notes +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Running_Notes @@ -2,11 +2,7 @@ nacaAirfoil ~~~~~~~~~~~ * large domain with airfoil section near centre * extremely non-orthogonal, highly skew mesh refined around the airfoil -* running at Mach 1.78 +* running at Mach 1.78 * limited 0.5 on all laplacianSchemes because the mesh is so poor -* run to t = 0.02 with nextWrite; change to stopAt endTime to continue running -* deltaT can be increased later in the run to 2e-07 - -prism -~~~~~ -* run to t = 0.0014 for convergence +* run to t = 0.02 with nextWrite; change to stopAt endTime to continue running +* deltaT can be increased later in the run to 2e-07 diff --git a/tutorials/compressible/sonicLiquidFoam/Allrun b/tutorials/compressible/sonicLiquidFoam/Allrun index db8cdfa08a..6d1d356b34 100755 --- a/tutorials/compressible/sonicLiquidFoam/Allrun +++ b/tutorials/compressible/sonicLiquidFoam/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application=${PWD##*/} +# Set application name +application="sonicLiquidFoam" setDecompressionTankFine () { diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/Allclean b/tutorials/discreteMethods/molecularDynamics/mdFoam/Allclean deleted file mode 100755 index 7ff7776cb1..0000000000 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/Allclean +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# Source tutorial clean functions -. $WM_PROJECT_DIR/bin/tools/CleanFunctions - -cd nanoNozzle - rm -rf constant/polyMesh/sets - rm -rf processor[0-9] - cleanCase -cd .. diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/Allrun b/tutorials/discreteMethods/molecularDynamics/mdFoam/Allrun deleted file mode 100755 index c756b2ca7e..0000000000 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/Allrun +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -# Source tutorial run functions -. $WM_PROJECT_DIR/bin/tools/RunFunctions - -application="mdFoam" - -cd nanoNozzle - runApplication blockMesh - - runApplication decomposePar - hostname > system/machines - - runParallel mdInitialise 4 system/machines - runParallel $application 4 system/machines - - runApplication reconstructPar -cd .. - diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allclean b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allclean new file mode 100755 index 0000000000..8b3a55f408 --- /dev/null +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allclean @@ -0,0 +1,8 @@ +#!/bin/sh + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +rm -rf constant/polyMesh/sets +rm -rf processor[0-9] +cleanCase diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun new file mode 100755 index 0000000000..defa2cb875 --- /dev/null +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun @@ -0,0 +1,16 @@ +#!/bin/sh + +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +application=`getApplication` + +runApplication blockMesh + +runApplication decomposePar +hostname > system/machines + +runParallel mdInitialise 4 system/machines +runParallel $application 4 system/machines + +runApplication reconstructPar diff --git a/tutorials/electromagnetics/mhdFoam/Allrun b/tutorials/electromagnetics/mhdFoam/Allrun index aca66b3533..f664a09698 100755 --- a/tutorials/electromagnetics/mhdFoam/Allrun +++ b/tutorials/electromagnetics/mhdFoam/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory +# Set application name application="mhdFoam" (cd hartmann && runApplication blockMesh) diff --git a/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/Allrun b/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/Allrun index 92490b5b5e..c3373651df 100755 --- a/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/Allrun +++ b/tutorials/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="buoyantBoussinesqPisoFoam" +application=`getApplication` compileApplication ../../buoyantPisoFoam/hotRoom/setHotRoom runApplication blockMesh diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/Allrun b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/Allrun index 628624c702..c3373651df 100755 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/Allrun +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="buoyantBoussinesqSimpleFoam" +application=`getApplication` compileApplication ../../buoyantPisoFoam/hotRoom/setHotRoom runApplication blockMesh diff --git a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/Allrun b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/Allrun index 165068eca7..e9bbb2d0c0 100755 --- a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/Allrun +++ b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application="buoyantPisoFoam" +# Get application name +application=`getApplication` compileApplication setHotRoom runApplication blockMesh diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/Allrun b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/Allrun index 6a98e5715d..c3373651df 100755 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/Allrun +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="buoyantSimpleFoam" +application=`getApplication` compileApplication ../../buoyantPisoFoam/hotRoom/setHotRoom runApplication blockMesh diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/Allrun b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/Allrun index f0d118b12b..836276fe9c 100755 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/Allrun +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/Allrun @@ -3,7 +3,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="MRFSimpleFoam" +application=`getApplication` ./makeMesh runApplication $application diff --git a/tutorials/incompressible/channelFoam/channel395/Allrun b/tutorials/incompressible/channelFoam/channel395/Allrun index d4e6877e32..05cd6dfdf0 100755 --- a/tutorials/incompressible/channelFoam/channel395/Allrun +++ b/tutorials/incompressible/channelFoam/channel395/Allrun @@ -3,7 +3,7 @@ . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application directory -application="channelFoam" +application=`getApplication` runApplication blockMesh runApplication $application diff --git a/tutorials/incompressible/icoFoam/Allrun b/tutorials/incompressible/icoFoam/Allrun index 914e53d07d..1a93d4eb32 100755 --- a/tutorials/incompressible/icoFoam/Allrun +++ b/tutorials/incompressible/icoFoam/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application=${PWD##*/} +# Get application name +application="icoFoam" cavityCases="cavity cavityFine cavityGrade cavityHighRe cavityClipped" diff --git a/tutorials/incompressible/icoFoam/resetFixedWallsScr b/tutorials/incompressible/icoFoam/resetFixedWallsScr new file mode 100644 index 0000000000..5a8d98ce46 --- /dev/null +++ b/tutorials/incompressible/icoFoam/resetFixedWallsScr @@ -0,0 +1,8 @@ +/fixedWalls/,/}/{ +/fixedWalls/p +/{/p +/type fixedValue;/p +s/value[ \t]*nonuniform[ \t]*List[ \t]*/value uniform (0 0 0);/p +/}/p +d +} diff --git a/tutorials/incompressible/pisoFoam/Allrun b/tutorials/incompressible/pisoFoam/Allrun deleted file mode 100755 index 7d6114dd50..0000000000 --- a/tutorials/incompressible/pisoFoam/Allrun +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# Source tutorial run functions -. $WM_PROJECT_DIR/bin/tools/RunFunctions - -# Get application name from directory -application="pisoFoam" - -rasCases="cavity" -lesCases="pitzDaily pitzDailyDirectMapped" - -computeCase() -{ - if [ -f Allrun ] ; then - ./Allrun - else - runApplication blockMesh - runApplication $application - fi -} - -cd ras -for case in $rasCases -do - cd $case - computeCase - cd .. -done -cd .. - -cd les -for case in $lesCases -do - cd $case - computeCase - cd .. -done -cd .. diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/polyMesh/boundary b/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/polyMesh/boundary index 903f3ef57e..313dcceba1 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/polyMesh/boundary +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | +| \\ / O peration | Version: dev | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/Allrun b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/Allrun index d23000a160..aeb984814c 100755 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/Allrun +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application="pisoFoam" +# Get application name +application=`getApplication` runApplication blockMesh runApplication changeDictionary diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/Allrun b/tutorials/incompressible/simpleFoam/airFoil2D/Allrun index 97fb4bc591..411704d783 100755 --- a/tutorials/incompressible/simpleFoam/airFoil2D/Allrun +++ b/tutorials/incompressible/simpleFoam/airFoil2D/Allrun @@ -3,6 +3,6 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="simpleFoam" +application=`getApplication` runApplication $application diff --git a/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/Allrun b/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/Allrun index 701d55dc28..04eb8794e0 100755 --- a/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/Allrun +++ b/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/Allrun @@ -3,7 +3,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="porousExplicitSourceReactingParcelFoam" +application=`getApplication` # create mesh runApplication blockMesh diff --git a/tutorials/multiphase/cavitatingFoam/les/Allrun b/tutorials/multiphase/cavitatingFoam/les/Allrun index 45b6257d4b..ba35093d07 100755 --- a/tutorials/multiphase/cavitatingFoam/les/Allrun +++ b/tutorials/multiphase/cavitatingFoam/les/Allrun @@ -3,6 +3,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions +# Set application name application="cavitatingFoam" refineMeshByCellSet() diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun b/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun index 0a3298e8e8..7f095c44f1 100755 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun @@ -3,7 +3,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="cavitatingFoam" +application=`getApplication` refineMeshByCellSet() { diff --git a/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/Allrun b/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/Allrun index f2a0345d68..a3d54875d4 100755 --- a/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/Allrun +++ b/tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application="compressibleInterFoam" +# Get application name +application=`getApplication` runApplication blockMesh cp 0/alpha1.org 0/alpha1 diff --git a/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/Allrun b/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/Allrun index 7b9b11445e..0f09de5ddc 100755 --- a/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/Allrun +++ b/tutorials/multiphase/compressibleInterFoam/les/depthCharge3D/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application="compressibleInterFoam" +# Get application name +application=`getApplication` runApplication blockMesh cp 0/alpha1.org 0/alpha1 diff --git a/tutorials/multiphase/interFoam/Allrun b/tutorials/multiphase/interFoam/Allrun deleted file mode 100755 index 91f49e0a7f..0000000000 --- a/tutorials/multiphase/interFoam/Allrun +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# Source tutorial run functions -. $WM_PROJECT_DIR/bin/tools/RunFunctions - -# Get application name from directory -application="interFoam" - -laminarCases="damBreak" -rasCases="damBreak" -lesCases="nozzleFlow2D" - -computeCase() -{ - if [ -f Allrun ] ; then - ./Allrun - else - runApplication blockMesh - runApplication changeDictionary - runApplication $application - fi -} - -cd laminar -for case in $laminarCases -do - cd $case - computeCase - cd .. -done -cd .. - -cd ras -for case in $rasCases -do - cd $case - computeCase - cd .. -done -cd .. - -cd les -for case in $lesCases -do - cd $case - computeCase - cd .. -done -cd .. diff --git a/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/Allrun b/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/Allrun index e8e310bf86..836276fe9c 100755 --- a/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/Allrun +++ b/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/Allrun @@ -3,7 +3,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="MRFInterFoam" +application=`getApplication` ./makeMesh runApplication $application diff --git a/tutorials/multiphase/interFoam/laminar/Allrun b/tutorials/multiphase/interFoam/laminar/Allrun index 9f2498ca88..22d86c6b68 100755 --- a/tutorials/multiphase/interFoam/laminar/Allrun +++ b/tutorials/multiphase/interFoam/laminar/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory +# Set application name application="interFoam" setDamBreakFine () diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun b/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun index 8f801cc9ce..655eb4c887 100755 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application="interFoam" +# Get application name +application=`getApplication` runRefineMesh () { diff --git a/tutorials/multiphase/interFoam/ras/Allrun b/tutorials/multiphase/interFoam/ras/Allrun index e222cf7e15..45bd89d849 100755 --- a/tutorials/multiphase/interFoam/ras/Allrun +++ b/tutorials/multiphase/interFoam/ras/Allrun @@ -2,7 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="rasInterFoam" +# Set application name +application="interFoam" setDamBreakFine () { diff --git a/tutorials/multiphase/interFoam/ras/damBreak/Allrun b/tutorials/multiphase/interFoam/ras/damBreak/Allrun index 599b286f3d..90917ec795 100755 --- a/tutorials/multiphase/interFoam/ras/damBreak/Allrun +++ b/tutorials/multiphase/interFoam/ras/damBreak/Allrun @@ -2,8 +2,8 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application name from directory -application="interFoam" +# Get application name +application=`getApplication` runApplication blockMesh runApplication setFields diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/Allrun b/tutorials/multiphase/settlingFoam/ras/tank3D/Allrun index 1ce228b8f6..231be44262 100755 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/Allrun +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/Allrun @@ -2,7 +2,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application="settlingFoam" +application=`getApplication` #runApplication blockMesh runApplication $application