From ef874be0b9b30e219b868ef946b759f91c47577c Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 13 Feb 2009 16:14:44 +0000 Subject: [PATCH] updates --- .../pitzDaily/constant/turbulenceProperties | 21 ++ .../XiFoam/les/pitzDaily/system/controlDict | 4 + .../pitzDaily3D/constant/turbulenceProperties | 21 ++ .../XiFoam/les/pitzDaily3D/system/controlDict | 4 + .../constant/turbulenceProperties | 21 ++ .../engineFoam/kivaTest/-180/alphat | 42 ++++ .../engineFoam/kivaTest/-180/epsilon | 42 ++++ .../engineFoam/kivaTest/-180/epsilon.gz | Bin 400 -> 0 bytes .../combustion/engineFoam/kivaTest/-180/k | 42 ++++ .../combustion/engineFoam/kivaTest/-180/k.gz | Bin 389 -> 0 bytes .../combustion/engineFoam/kivaTest/-180/mut | 42 ++++ .../kivaTest/constant/turbulenceProperties | 21 ++ .../rhoPimpleFoam/angledDuct/0/alphat | 57 ++++++ .../rhoPimpleFoam/angledDuct/0/epsilon | 30 +-- .../compressible/rhoPimpleFoam/angledDuct/0/k | 30 +-- .../rhoPimpleFoam/angledDuct/0/mut | 57 ++++++ .../boundaryWallFunctions/0/epsilon | 22 ++- .../boundaryFoam/boundaryWallFunctions/0/k | 186 +++++++++++++++++- .../boundaryFoam/boundaryWallFunctions/0/nut | 46 +++++ .../incompressible/icoFoam/resetFixedWallsScr | 8 - .../simpleFoam/pitzDaily/0/epsilon | 26 +-- .../incompressible/simpleFoam/pitzDaily/0/k | 26 +-- .../incompressible/simpleFoam/pitzDaily/0/nut | 51 +++++ .../simpleFoam/pitzDailyExptInlet/0/epsilon | 63 ++++-- .../simpleFoam/pitzDailyExptInlet/0/k | 63 ++++-- .../simpleFoam/pitzDailyExptInlet/0/nut | 51 +++++ 26 files changed, 868 insertions(+), 108 deletions(-) create mode 100644 tutorials/combustion/XiFoam/les/pitzDaily/constant/turbulenceProperties create mode 100644 tutorials/combustion/XiFoam/les/pitzDaily3D/constant/turbulenceProperties create mode 100644 tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/turbulenceProperties create mode 100644 tutorials/combustion/engineFoam/kivaTest/-180/alphat create mode 100644 tutorials/combustion/engineFoam/kivaTest/-180/epsilon delete mode 100644 tutorials/combustion/engineFoam/kivaTest/-180/epsilon.gz create mode 100644 tutorials/combustion/engineFoam/kivaTest/-180/k delete mode 100644 tutorials/combustion/engineFoam/kivaTest/-180/k.gz create mode 100644 tutorials/combustion/engineFoam/kivaTest/-180/mut create mode 100644 tutorials/combustion/engineFoam/kivaTest/constant/turbulenceProperties create mode 100644 tutorials/compressible/rhoPimpleFoam/angledDuct/0/alphat create mode 100644 tutorials/compressible/rhoPimpleFoam/angledDuct/0/mut create mode 100644 tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nut delete mode 100644 tutorials/incompressible/icoFoam/resetFixedWallsScr create mode 100644 tutorials/incompressible/simpleFoam/pitzDaily/0/nut create mode 100644 tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/nut diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/constant/turbulenceProperties b/tutorials/combustion/XiFoam/les/pitzDaily/constant/turbulenceProperties new file mode 100644 index 0000000000..2e42797ca9 --- /dev/null +++ b/tutorials/combustion/XiFoam/les/pitzDaily/constant/turbulenceProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.5 | +| \\ / 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/combustion/XiFoam/les/pitzDaily/system/controlDict b/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict index 3aefd793e1..0d13ac7ba5 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict +++ b/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict @@ -43,6 +43,10 @@ timePrecision 6; runTimeModifiable yes; +adjustTimeStep yes; + +maxCo 0.5; + functions ( fieldAverage1 diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/turbulenceProperties b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/turbulenceProperties new file mode 100644 index 0000000000..2e42797ca9 --- /dev/null +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/turbulenceProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.5 | +| \\ / 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/combustion/XiFoam/les/pitzDaily3D/system/controlDict b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict index d79aed22c6..693d3e125f 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict @@ -43,6 +43,10 @@ timePrecision 6; runTimeModifiable yes; +adjustTimeStep yes; + +maxCo 0.5; + functions ( fieldAverage1 diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/turbulenceProperties b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/turbulenceProperties new file mode 100644 index 0000000000..b70f6702e4 --- /dev/null +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/turbulenceProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType RASModel; + + +// ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/-180/alphat b/tutorials/combustion/engineFoam/kivaTest/-180/alphat new file mode 100644 index 0000000000..adf870f24a --- /dev/null +++ b/tutorials/combustion/engineFoam/kivaTest/-180/alphat @@ -0,0 +1,42 @@ +/*--------------------------------*- 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 volScalarField; + location "-180"; + object alphat; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + piston + { + type alphatWallFunction; + value uniform 0; + } + liner + { + type alphatWallFunction; + value uniform 0; + } + cylinderHead + { + type alphatWallFunction; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/-180/epsilon b/tutorials/combustion/engineFoam/kivaTest/-180/epsilon new file mode 100644 index 0000000000..a686c35955 --- /dev/null +++ b/tutorials/combustion/engineFoam/kivaTest/-180/epsilon @@ -0,0 +1,42 @@ +/*--------------------------------*- 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 volScalarField; + location "-180"; + object epsilon; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -3 0 0 0 0]; + +internalField uniform 450; + +boundaryField +{ + piston + { + type epsilonWallFunction; + value uniform 450; + } + liner + { + type epsilonWallFunction; + value uniform 450; + } + cylinderHead + { + type epsilonWallFunction; + value uniform 450; + } +} + + +// ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/-180/epsilon.gz b/tutorials/combustion/engineFoam/kivaTest/-180/epsilon.gz deleted file mode 100644 index 0ff7bad2641702a8c79a275b75753ebffd0e99f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 400 zcmV;B0dM{viwFof67fL*17&b?X>4z90IiZSPs1<}g?Imo6Jw<&p}>-gp#lY#szWOn zD1(z+sgdi89H*tw{&$=>KnRsUCFjMyXMcWrw%_Y_SG_sg!R1FmyLLZ1ztzt2=5sgq z0U{76(*|#np^7G>aR{>|Rx6lNp%a9w=o)53GNzXnuLfEiOdvzejUZL??oj7;6#|@k z!5{rOV2OhfsI;lVJ;tG%FOA7U-`{LD9$A|U;wz8z(?OmERyY^~S0XE9ZSk1==AFK; z&sb!gM?xZdW91ENm)Pfx11}g>!h-aQn=dOoPlOn?w94d155Qn5l+CRN*d z2w(vHGYH&xw8n)ps1=t{{mBa@$`IlF!bZwsDpbn#wo>cxGm)D{_E0sQRF>Ih-{O2l uO*fjS0+n$Y>|I<^DAe$OPO`P66!k6g^hk~+Rq1zCW%}=UUcmz71ONaKguNvI diff --git a/tutorials/combustion/engineFoam/kivaTest/-180/k b/tutorials/combustion/engineFoam/kivaTest/-180/k new file mode 100644 index 0000000000..e643a368e6 --- /dev/null +++ b/tutorials/combustion/engineFoam/kivaTest/-180/k @@ -0,0 +1,42 @@ +/*--------------------------------*- 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 volScalarField; + location "-180"; + object k; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -2 0 0 0 0]; + +internalField uniform 4; + +boundaryField +{ + piston + { + type kQRWallFunction; + value uniform 4; + } + liner + { + type kQRWallFunction; + value uniform 4; + } + cylinderHead + { + type kQRWallFunction; + value uniform 4; + } +} + + +// ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/-180/k.gz b/tutorials/combustion/engineFoam/kivaTest/-180/k.gz deleted file mode 100644 index 933ad7a5fa2db1f0c42a248ffea2b9abcac04261..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 389 zcmV;00eb!)iwFof67fL*18V@SlEF{HFcik`{VQHLlCVwUX~YB3OfQ53L=VnG*&b3Y zeM{GYDE#ks>(n_(G`QDG`@Z(qZ{O{hO$@&UQSw0Od#VdHtk4vhIe^gA2A&5NaCjjGJ3Hgq4r5C%gC+<35- zg)*oWmr?z^3nj|<;M{5pDpbn#uF~qzGm)D{=1?`ARF>Ig-(q}4P1l;I0+n&!esD2K jp-{vBImynFQq(ud(-S$CRAt{)mD#@oYq{a_+ynps>7>Jo diff --git a/tutorials/combustion/engineFoam/kivaTest/-180/mut b/tutorials/combustion/engineFoam/kivaTest/-180/mut new file mode 100644 index 0000000000..34a502ef77 --- /dev/null +++ b/tutorials/combustion/engineFoam/kivaTest/-180/mut @@ -0,0 +1,42 @@ +/*--------------------------------*- 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 volScalarField; + location "-180"; + object mut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + piston + { + type mutWallFunction; + value uniform 0; + } + liner + { + type mutWallFunction; + value uniform 0; + } + cylinderHead + { + type mutWallFunction; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/constant/turbulenceProperties b/tutorials/combustion/engineFoam/kivaTest/constant/turbulenceProperties new file mode 100644 index 0000000000..b70f6702e4 --- /dev/null +++ b/tutorials/combustion/engineFoam/kivaTest/constant/turbulenceProperties @@ -0,0 +1,21 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object turbulenceProperties; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +simulationType RASModel; + + +// ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/0/alphat b/tutorials/compressible/rhoPimpleFoam/angledDuct/0/alphat new file mode 100644 index 0000000000..f609fa6c14 --- /dev/null +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/0/alphat @@ -0,0 +1,57 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object alphat; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + front + { + type alphatWallFunction; + value uniform 0; + } + back + { + type alphatWallFunction; + value uniform 0; + } + wall + { + type alphatWallFunction; + value uniform 0; + } + porosityWall + { + type alphatWallFunction; + value uniform 0; + } + inlet + { + type calculated; + value uniform 0; + } + outlet + { + type calculated; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/0/epsilon b/tutorials/compressible/rhoPimpleFoam/angledDuct/0/epsilon index ca6ec2ff0d..502e048957 100644 --- a/tutorials/compressible/rhoPimpleFoam/angledDuct/0/epsilon +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,46 +10,50 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + dimensions [0 2 -3 0 0 0 0]; internalField uniform 200; boundaryField { - front { - type zeroGradient; + type epsilonWallFunction; + value uniform 200; } back { - type zeroGradient; + type epsilonWallFunction; + value uniform 200; } wall { - type zeroGradient; + type epsilonWallFunction; + value uniform 200; } porosityWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 200; } - inlet { type turbulentMixingLengthDissipationRateInlet; mixingLength 0.005; - value $internalField; + value uniform 200; } - outlet { type inletOutlet; - inletValue $internalField; - value $internalField; + inletValue uniform 200; + value uniform 200; } - } + + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/0/k b/tutorials/compressible/rhoPimpleFoam/angledDuct/0/k index c1cf0e833d..6171b9506b 100644 --- a/tutorials/compressible/rhoPimpleFoam/angledDuct/0/k +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,46 +10,50 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + dimensions [0 2 -2 0 0 0 0]; internalField uniform 1; boundaryField { - front { - type zeroGradient; + type kQRWallFunction; + value uniform 1; } back { - type zeroGradient; + type kQRWallFunction; + value uniform 1; } wall { - type zeroGradient; + type kQRWallFunction; + value uniform 1; } porosityWall { - type zeroGradient; + type kQRWallFunction; + value uniform 1; } - inlet { type turbulentIntensityKineticEnergyInlet; intensity 0.05; - value $internalField; + value uniform 1; } - outlet { type inletOutlet; - inletValue $internalField; - value $internalField; + inletValue uniform 1; + value uniform 1; } - } + + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/0/mut b/tutorials/compressible/rhoPimpleFoam/angledDuct/0/mut new file mode 100644 index 0000000000..9fab05e162 --- /dev/null +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/0/mut @@ -0,0 +1,57 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object mut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + front + { + type mutWallFunction; + value uniform 0; + } + back + { + type mutWallFunction; + value uniform 0; + } + wall + { + type mutWallFunction; + value uniform 0; + } + porosityWall + { + type mutWallFunction; + value uniform 0; + } + inlet + { + type calculated; + value uniform 0; + } + outlet + { + type calculated; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/epsilon b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/epsilon index f55c6401b2..0a998ced67 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/epsilon +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,25 +21,26 @@ internalField uniform 1e-08; boundaryField { - lowerWall + lowerWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 1e-08; } - - upperWall + upperWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 1e-08; } - frontBack { type cyclic; + value uniform 1e-08; } - - defaultFaces + defaultFaces { type empty; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/k b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/k index 8269406647..007ca48843 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/k +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,25 +21,190 @@ internalField uniform 1e-10; boundaryField { - lowerWall + lowerWall { - type zeroGradient; + type kQRWallFunction; + value uniform 1e-10; } - - upperWall + upperWall { - type zeroGradient; + type kQRWallFunction; + value uniform 1e-10; } - frontBack { type cyclic; + value nonuniform List +160 +( +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +1e-10 +) +; } - - defaultFaces + defaultFaces { type empty; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nut b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nut new file mode 100644 index 0000000000..0f7bcf36a7 --- /dev/null +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nut @@ -0,0 +1,46 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object nut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + lowerWall + { + type nutWallFunction; + value uniform 0; + } + upperWall + { + type nutWallFunction; + value uniform 0; + } + frontBack + { + type cyclic; + value uniform 0; + } + defaultFaces + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/resetFixedWallsScr b/tutorials/incompressible/icoFoam/resetFixedWallsScr deleted file mode 100644 index 5a8d98ce46..0000000000 --- a/tutorials/incompressible/icoFoam/resetFixedWallsScr +++ /dev/null @@ -1,8 +0,0 @@ -/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/simpleFoam/pitzDaily/0/epsilon b/tutorials/incompressible/simpleFoam/pitzDaily/0/epsilon index 1241e472d9..d82c45e629 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily/0/epsilon +++ b/tutorials/incompressible/simpleFoam/pitzDaily/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,31 +21,30 @@ internalField uniform 14.855; boundaryField { - inlet + inlet { type fixedValue; value uniform 14.855; } - - outlet + outlet { type zeroGradient; } - - upperWall + upperWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 14.855; } - - lowerWall + lowerWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 14.855; } - - frontAndBack + frontAndBack { type empty; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/0/k b/tutorials/incompressible/simpleFoam/pitzDaily/0/k index 329176cef2..41e4f133aa 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily/0/k +++ b/tutorials/incompressible/simpleFoam/pitzDaily/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,31 +21,30 @@ internalField uniform 0.375; boundaryField { - inlet + inlet { type fixedValue; value uniform 0.375; } - - outlet + outlet { type zeroGradient; } - - upperWall + upperWall { - type zeroGradient; + type kQRWallFunction; + value uniform 0.375; } - - lowerWall + lowerWall { - type zeroGradient; + type kQRWallFunction; + value uniform 0.375; } - - frontAndBack + frontAndBack { type empty; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/0/nut b/tutorials/incompressible/simpleFoam/pitzDaily/0/nut new file mode 100644 index 0000000000..7ac85d8a18 --- /dev/null +++ b/tutorials/incompressible/simpleFoam/pitzDaily/0/nut @@ -0,0 +1,51 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object nut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + inlet + { + type calculated; + value uniform 0; + } + outlet + { + type calculated; + value uniform 0; + } + upperWall + { + type nutWallFunction; + value uniform 0; + } + lowerWall + { + type nutWallFunction; + value uniform 0; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/epsilon b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/epsilon index 68d55b1cbd..2004b9a025 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/epsilon +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,31 +21,65 @@ internalField uniform 14.855; boundaryField { - inlet + inlet { type timeVaryingMappedFixedValue; - setAverage off; + setAverage 0; + value nonuniform List +30 +( +9813.84 +8665.24 +1866.31 +755.118 +205.654 +76.6694 +28.4518 +16.0868 +15.9867 +11.0187 +7.95753 +5.26064 +3.44136 +2.55317 +2.27183 +2.33608 +2.9115 +3.59492 +3.0497 +2.716 +2.9325 +3.88456 +6.91821 +14.9754 +37.5461 +217.022 +2043.58 +4864.22 +6244 +6334.7 +) +; } - - outlet + outlet { type zeroGradient; } - - upperWall + upperWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 14.855; } - - lowerWall + lowerWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 14.855; } - - frontAndBack + frontAndBack { type empty; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/k b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/k index c8418e6e43..d33d92f39f 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/k +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,31 +21,65 @@ internalField uniform 0.375; boundaryField { - inlet + inlet { type timeVaryingMappedFixedValue; - setAverage off; + setAverage 0; + value nonuniform List +30 +( +2.95219 +2.54219 +0.725449 +0.486465 +0.353566 +0.240375 +0.172984 +0.147052 +0.146827 +0.135658 +0.12147 +0.0942189 +0.0833465 +0.0828453 +0.0955983 +0.0920838 +0.0967682 +0.0990811 +0.100866 +0.101556 +0.0967155 +0.0841739 +0.0904567 +0.130411 +0.194046 +0.219327 +0.975528 +2.22578 +3.12421 +2.28104 +) +; } - - outlet + outlet { type zeroGradient; } - - upperWall + upperWall { - type zeroGradient; + type kQRWallFunction; + value uniform 0.375; } - - lowerWall + lowerWall { - type zeroGradient; + type kQRWallFunction; + value uniform 0.375; } - - frontAndBack + frontAndBack { type empty; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/nut b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/nut new file mode 100644 index 0000000000..7ac85d8a18 --- /dev/null +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/nut @@ -0,0 +1,51 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object nut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + inlet + { + type calculated; + value uniform 0; + } + outlet + { + type calculated; + value uniform 0; + } + upperWall + { + type nutWallFunction; + value uniform 0; + } + lowerWall + { + type nutWallFunction; + value uniform 0; + } + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* //