diff --git a/tutorials/incompressible/channelFoam/channel395/0.org/B b/tutorials/incompressible/pimpleFoam/channel395/0.org/B similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0.org/B rename to tutorials/incompressible/pimpleFoam/channel395/0.org/B diff --git a/tutorials/incompressible/channelFoam/channel395/0.org/U b/tutorials/incompressible/pimpleFoam/channel395/0.org/U similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0.org/U rename to tutorials/incompressible/pimpleFoam/channel395/0.org/U diff --git a/tutorials/incompressible/channelFoam/channel395/0.org/k b/tutorials/incompressible/pimpleFoam/channel395/0.org/k similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0.org/k rename to tutorials/incompressible/pimpleFoam/channel395/0.org/k diff --git a/tutorials/incompressible/channelFoam/channel395/0.org/nuSgs b/tutorials/incompressible/pimpleFoam/channel395/0.org/nuSgs similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0.org/nuSgs rename to tutorials/incompressible/pimpleFoam/channel395/0.org/nuSgs diff --git a/tutorials/incompressible/channelFoam/channel395/0.org/nuTilda b/tutorials/incompressible/pimpleFoam/channel395/0.org/nuTilda similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0.org/nuTilda rename to tutorials/incompressible/pimpleFoam/channel395/0.org/nuTilda diff --git a/tutorials/incompressible/channelFoam/channel395/0.org/p b/tutorials/incompressible/pimpleFoam/channel395/0.org/p similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0.org/p rename to tutorials/incompressible/pimpleFoam/channel395/0.org/p diff --git a/tutorials/incompressible/channelFoam/channel395/0/B.gz b/tutorials/incompressible/pimpleFoam/channel395/0/B.gz similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0/B.gz rename to tutorials/incompressible/pimpleFoam/channel395/0/B.gz diff --git a/tutorials/incompressible/channelFoam/channel395/0/U.gz b/tutorials/incompressible/pimpleFoam/channel395/0/U.gz similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0/U.gz rename to tutorials/incompressible/pimpleFoam/channel395/0/U.gz diff --git a/tutorials/incompressible/channelFoam/channel395/0/k.gz b/tutorials/incompressible/pimpleFoam/channel395/0/k.gz similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0/k.gz rename to tutorials/incompressible/pimpleFoam/channel395/0/k.gz diff --git a/tutorials/incompressible/channelFoam/channel395/0/nuSgs.gz b/tutorials/incompressible/pimpleFoam/channel395/0/nuSgs.gz similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0/nuSgs.gz rename to tutorials/incompressible/pimpleFoam/channel395/0/nuSgs.gz diff --git a/tutorials/incompressible/channelFoam/channel395/0/nuTilda.gz b/tutorials/incompressible/pimpleFoam/channel395/0/nuTilda.gz similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0/nuTilda.gz rename to tutorials/incompressible/pimpleFoam/channel395/0/nuTilda.gz diff --git a/tutorials/incompressible/channelFoam/channel395/0/p.gz b/tutorials/incompressible/pimpleFoam/channel395/0/p.gz similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/0/p.gz rename to tutorials/incompressible/pimpleFoam/channel395/0/p.gz diff --git a/tutorials/incompressible/channelFoam/channel395/Allrun b/tutorials/incompressible/pimpleFoam/channel395/Allrun similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/Allrun rename to tutorials/incompressible/pimpleFoam/channel395/Allrun diff --git a/tutorials/incompressible/channelFoam/channel395/constant/LESProperties b/tutorials/incompressible/pimpleFoam/channel395/constant/LESProperties similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/constant/LESProperties rename to tutorials/incompressible/pimpleFoam/channel395/constant/LESProperties diff --git a/tutorials/incompressible/channelFoam/channel395/constant/polyMesh/blockMeshDict b/tutorials/incompressible/pimpleFoam/channel395/constant/polyMesh/blockMeshDict similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/constant/polyMesh/blockMeshDict rename to tutorials/incompressible/pimpleFoam/channel395/constant/polyMesh/blockMeshDict diff --git a/tutorials/incompressible/channelFoam/channel395/constant/polyMesh/boundary b/tutorials/incompressible/pimpleFoam/channel395/constant/polyMesh/boundary similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/constant/polyMesh/boundary rename to tutorials/incompressible/pimpleFoam/channel395/constant/polyMesh/boundary diff --git a/tutorials/incompressible/channelFoam/channel395/constant/postChannelDict b/tutorials/incompressible/pimpleFoam/channel395/constant/postChannelDict similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/constant/postChannelDict rename to tutorials/incompressible/pimpleFoam/channel395/constant/postChannelDict diff --git a/tutorials/incompressible/pimpleFoam/channel395/constant/sourcesProperties b/tutorials/incompressible/pimpleFoam/channel395/constant/sourcesProperties new file mode 100644 index 0000000000000000000000000000000000000000..106403ce538c64a3dc839458182fb9f598f0a991 --- /dev/null +++ b/tutorials/incompressible/pimpleFoam/channel395/constant/sourcesProperties @@ -0,0 +1,35 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object sourcesProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +momentumSource +{ + type pressureGradientExplicitSource; + active on; //on/off switch + timeStart 0.0; //start time + duration 1000000.0; //duration + selectionMode all; //cellSet // points //cellZone + + pressureGradientExplicitSourceCoeffs + { + fieldNames (U); + Ubar ( 0.1335 0 0 ); + gradPini gradPIni [0 1 -2 0 0 ] 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/incompressible/channelFoam/channel395/constant/transportProperties b/tutorials/incompressible/pimpleFoam/channel395/constant/transportProperties similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/constant/transportProperties rename to tutorials/incompressible/pimpleFoam/channel395/constant/transportProperties diff --git a/tutorials/incompressible/pimpleFoam/channel395/constant/turbulenceProperties b/tutorials/incompressible/pimpleFoam/channel395/constant/turbulenceProperties new file mode 100644 index 0000000000000000000000000000000000000000..2d60fc8bf13bc5b8b17e602c318cdf69ef32ecc8 --- /dev/null +++ b/tutorials/incompressible/pimpleFoam/channel395/constant/turbulenceProperties @@ -0,0 +1,20 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType LESModel; + +// ************************************************************************* // diff --git a/tutorials/incompressible/channelFoam/channel395/system/controlDict b/tutorials/incompressible/pimpleFoam/channel395/system/controlDict similarity index 98% rename from tutorials/incompressible/channelFoam/channel395/system/controlDict rename to tutorials/incompressible/pimpleFoam/channel395/system/controlDict index a8083d93051b460bd9ed5f7978afb93892f30826..9dc482f5605df071db8dcd4d0f3c26352eb0093e 100644 --- a/tutorials/incompressible/channelFoam/channel395/system/controlDict +++ b/tutorials/incompressible/pimpleFoam/channel395/system/controlDict @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -application channelFoam; +application pimpleFoam; startFrom startTime; diff --git a/tutorials/incompressible/channelFoam/channel395/system/fvSchemes b/tutorials/incompressible/pimpleFoam/channel395/system/fvSchemes similarity index 100% rename from tutorials/incompressible/channelFoam/channel395/system/fvSchemes rename to tutorials/incompressible/pimpleFoam/channel395/system/fvSchemes diff --git a/tutorials/incompressible/channelFoam/channel395/system/fvSolution b/tutorials/incompressible/pimpleFoam/channel395/system/fvSolution similarity index 78% rename from tutorials/incompressible/channelFoam/channel395/system/fvSolution rename to tutorials/incompressible/pimpleFoam/channel395/system/fvSolution index 162111546797914165c94d104fb965656c74409b..cc56bcbe20f3a62b3a604b221161878cc84c6d3a 100644 --- a/tutorials/incompressible/channelFoam/channel395/system/fvSolution +++ b/tutorials/incompressible/pimpleFoam/channel395/system/fvSolution @@ -33,41 +33,25 @@ solvers relTol 0; } - U + "(U|k)" { solver PBiCG; preconditioner DILU; tolerance 1e-05; - relTol 0; + relTol 0.1; } - k + "(U|k)Final" { - solver PBiCG; - preconditioner DILU; - tolerance 1e-05; - relTol 0; - } - - B - { - solver PBiCG; - preconditioner DILU; - tolerance 1e-05; - relTol 0; - } - - nuTilda - { - solver PBiCG; - preconditioner DILU; + $U; tolerance 1e-05; relTol 0; } } -PISO +PIMPLE { + nOuterCorrectors 1; nCorrectors 2; nNonOrthogonalCorrectors 0; pRefCell 1001;