From bc78513955214ff3200fd9c7660d8baad4aae43b Mon Sep 17 00:00:00 2001 From: Vuko Vukcevic Date: Wed, 28 Feb 2018 10:57:14 +0100 Subject: [PATCH] Updates to tutorials --- .../equationReaderDemo/pitzDaily/system/fvSchemes | 2 +- .../immersedBoundary/pitzDailyBodyFitted/system/fvSchemes | 2 +- .../RichardsonFoam/oneDimensionalSoilTransport/Allrun | 1 - .../incompressible/channelFoam/channel395/system/fvSchemes | 2 +- .../twoBlocksMixingPlaneMismatch_dirY_spanZ/system/fvSchemes | 2 +- .../twoBlocksMixingPlane_dirY_spanZ/system/fvSchemes | 2 +- .../twoBlocksMixingPlane_dirZ_spanY/system/fvSchemes | 2 +- .../nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes | 2 +- .../incompressible/pimpleDyMFoam/movingCone/system/fvSchemes | 2 +- .../incompressible/pimpleFoam/t-junction/system/fvSchemes | 2 +- .../incompressible/pisoFoam/les/pitzDaily/system/fvSchemes | 2 +- .../pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes | 2 +- tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes | 2 +- .../simpleFoam/mixingPlaneAxial/system/fvSchemes | 2 +- tutorials/incompressible/simpleFoam/pitzDaily/system/fvSchemes | 2 +- .../simpleFoam/pitzDaily3Blocks/system/fvSchemes | 2 +- .../simpleFoam/pitzDailyExptInlet/system/fvSchemes | 2 +- .../incompressible/simpleSRFFoam/axialTurbine/system/fvSchemes | 2 +- tutorials/incompressible/simpleSRFFoam/mixer/Allrun | 3 --- tutorials/incompressible/simpleSRFFoam/mixer/system/fvSchemes | 2 +- tutorials/incompressible/simpleSRFFoam/mixer/system/fvSolution | 2 +- 21 files changed, 19 insertions(+), 23 deletions(-) diff --git a/tutorials/equationReader/equationReaderDemo/pitzDaily/system/fvSchemes b/tutorials/equationReader/equationReaderDemo/pitzDaily/system/fvSchemes index c55706236..1cb68b978 100644 --- a/tutorials/equationReader/equationReaderDemo/pitzDaily/system/fvSchemes +++ b/tutorials/equationReader/equationReaderDemo/pitzDaily/system/fvSchemes @@ -43,7 +43,7 @@ laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; diff --git a/tutorials/immersedBoundary/pitzDailyBodyFitted/system/fvSchemes b/tutorials/immersedBoundary/pitzDailyBodyFitted/system/fvSchemes index 217ccfa8f..c2995c535 100644 --- a/tutorials/immersedBoundary/pitzDailyBodyFitted/system/fvSchemes +++ b/tutorials/immersedBoundary/pitzDailyBodyFitted/system/fvSchemes @@ -42,7 +42,7 @@ laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; diff --git a/tutorials/incompressible/RichardsonFoam/oneDimensionalSoilTransport/Allrun b/tutorials/incompressible/RichardsonFoam/oneDimensionalSoilTransport/Allrun index cfb31d809..355e43ffd 100755 --- a/tutorials/incompressible/RichardsonFoam/oneDimensionalSoilTransport/Allrun +++ b/tutorials/incompressible/RichardsonFoam/oneDimensionalSoilTransport/Allrun @@ -4,4 +4,3 @@ runApplication blockMesh runApplication RichardsFoam -runApplication spatialMeanValueRichardsonFoam psi diff --git a/tutorials/incompressible/channelFoam/channel395/system/fvSchemes b/tutorials/incompressible/channelFoam/channel395/system/fvSchemes index 920cda943..cc0935bb6 100644 --- a/tutorials/incompressible/channelFoam/channel395/system/fvSchemes +++ b/tutorials/incompressible/channelFoam/channel395/system/fvSchemes @@ -41,7 +41,7 @@ laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DBEff,B) Gauss linear corrected; laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; diff --git a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/system/fvSchemes b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/system/fvSchemes index 0c4395e7e..41a90a0d2 100644 --- a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/system/fvSchemes +++ b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/system/fvSchemes @@ -35,7 +35,7 @@ laplacianSchemes { default none; laplacian(nu,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; } interpolationSchemes diff --git a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlane_dirY_spanZ/system/fvSchemes b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlane_dirY_spanZ/system/fvSchemes index 0c4395e7e..41a90a0d2 100644 --- a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlane_dirY_spanZ/system/fvSchemes +++ b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlane_dirY_spanZ/system/fvSchemes @@ -35,7 +35,7 @@ laplacianSchemes { default none; laplacian(nu,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; } interpolationSchemes diff --git a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlane_dirZ_spanY/system/fvSchemes b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlane_dirZ_spanY/system/fvSchemes index 0c4395e7e..41a90a0d2 100644 --- a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlane_dirZ_spanY/system/fvSchemes +++ b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlane_dirZ_spanY/system/fvSchemes @@ -35,7 +35,7 @@ laplacianSchemes { default none; laplacian(nu,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; } interpolationSchemes diff --git a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes index 2e2c17463..e243f3aa8 100644 --- a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes +++ b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes @@ -35,7 +35,7 @@ laplacianSchemes { default none; laplacian(nu,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; } interpolationSchemes diff --git a/tutorials/incompressible/pimpleDyMFoam/movingCone/system/fvSchemes b/tutorials/incompressible/pimpleDyMFoam/movingCone/system/fvSchemes index a56cd418b..158ac53cc 100644 --- a/tutorials/incompressible/pimpleDyMFoam/movingCone/system/fvSchemes +++ b/tutorials/incompressible/pimpleDyMFoam/movingCone/system/fvSchemes @@ -38,7 +38,7 @@ laplacianSchemes default none; laplacian(nu,U) Gauss linear corrected; laplacian((1|aU),pcorr) Gauss linear corrected; - laplacian((1|aU),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(diffusivity,cellMotionU) Gauss linear uncorrected; laplacian(nuEff,U) Gauss linear uncorrected; } diff --git a/tutorials/incompressible/pimpleFoam/t-junction/system/fvSchemes b/tutorials/incompressible/pimpleFoam/t-junction/system/fvSchemes index b820f0c4d..937280a64 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/system/fvSchemes +++ b/tutorials/incompressible/pimpleFoam/t-junction/system/fvSchemes @@ -43,7 +43,7 @@ laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|aU),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes index 2b222218e..a65b6ca9f 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes @@ -42,7 +42,7 @@ laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DBEff,B) Gauss linear corrected; laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes index 0a3673c0d..efb24cb54 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes @@ -42,7 +42,7 @@ laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DBEff,B) Gauss linear corrected; laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes b/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes index fa7565f4a..0dee2b909 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes +++ b/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes @@ -43,7 +43,7 @@ laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; diff --git a/tutorials/incompressible/simpleFoam/mixingPlaneAxial/system/fvSchemes b/tutorials/incompressible/simpleFoam/mixingPlaneAxial/system/fvSchemes index e58de0f3d..59ae36864 100644 --- a/tutorials/incompressible/simpleFoam/mixingPlaneAxial/system/fvSchemes +++ b/tutorials/incompressible/simpleFoam/mixingPlaneAxial/system/fvSchemes @@ -43,7 +43,7 @@ laplacianSchemes default none; laplacian(1,p) Gauss linear corrected; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSchemes b/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSchemes index d4997136b..3d9cc4ed6 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSchemes +++ b/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSchemes @@ -40,7 +40,7 @@ laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; diff --git a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/system/fvSchemes b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/system/fvSchemes index 34d30750c..40ebc2d9c 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/system/fvSchemes +++ b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/system/fvSchemes @@ -42,7 +42,7 @@ laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSchemes b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSchemes index 34d30750c..40ebc2d9c 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSchemes +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSchemes @@ -42,7 +42,7 @@ laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; diff --git a/tutorials/incompressible/simpleSRFFoam/axialTurbine/system/fvSchemes b/tutorials/incompressible/simpleSRFFoam/axialTurbine/system/fvSchemes index 3288dbdfe..fae061f6d 100644 --- a/tutorials/incompressible/simpleSRFFoam/axialTurbine/system/fvSchemes +++ b/tutorials/incompressible/simpleSRFFoam/axialTurbine/system/fvSchemes @@ -43,7 +43,7 @@ laplacianSchemes { default none; laplacian(nuEff,Urel) Gauss linear corrected; - laplacian((1|A(Urel)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DomegaEff,omega) Gauss linear corrected; diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/Allrun b/tutorials/incompressible/simpleSRFFoam/mixer/Allrun index d1cf77d18..40af11470 100755 --- a/tutorials/incompressible/simpleSRFFoam/mixer/Allrun +++ b/tutorials/incompressible/simpleSRFFoam/mixer/Allrun @@ -5,8 +5,5 @@ # Get application from system/controlDict application=`getApplication` -# make sure the application is compiled -wmake ../$application - runApplication blockMesh runApplication $application diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSchemes b/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSchemes index 40263a7f6..74dbc7077 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSchemes +++ b/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSchemes @@ -43,7 +43,7 @@ laplacianSchemes { default none; laplacian(nuEff,Urel) Gauss linear corrected; - laplacian((1|A(Urel)),p) Gauss linear corrected; + laplacian(rAU,p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DomegaEff,omega) Gauss linear corrected; diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSolution b/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSolution index b27459bda..a54c78e3c 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSolution +++ b/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSolution @@ -74,7 +74,7 @@ SIMPLE relaxationFactors { - p 0.3; + p 0.1; Urel 0.5; k 0.7; epsilon 0.7;