diff --git a/tutorials/DNS/dnsFoam/boxTurb16/constant/boxTurbDict b/tutorials/DNS/dnsFoam/boxTurb16/constant/boxTurbDict index 98503931acb817e533c4105aeead9526140315f8..515ad8fc854e67e34c2020d59e8a36f4ae9e6916 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/constant/boxTurbDict +++ b/tutorials/DNS/dnsFoam/boxTurb16/constant/boxTurbDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object boxTurbDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,4 +19,5 @@ Ea 10; k0 5; + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/constant/transportProperties b/tutorials/DNS/dnsFoam/boxTurb16/constant/transportProperties index 919c99624537d0701231d7e2c367cde5058a0248..39f1d33649e14760a4a7dde0d0d1a6bd2a15f8f6 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/constant/transportProperties +++ b/tutorials/DNS/dnsFoam/boxTurb16/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -nu nu [0 2 -1 0 0 0 0] 0.025; +nu nu [ 0 2 -1 0 0 0 0 ] 0.025; + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/constant/turbulenceProperties b/tutorials/DNS/dnsFoam/boxTurb16/constant/turbulenceProperties index 92118a1ff607141ec4c262f52e89448c09c448c2..9869493485c2915d7395c3b6f3175410a9a62a70 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/constant/turbulenceProperties +++ b/tutorials/DNS/dnsFoam/boxTurb16/constant/turbulenceProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,16 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -UOsigma 0.090295049; +UOsigma 0.090295; -UOalpha 0.81532036; +UOalpha 0.81532; UOKupper 10; UOKlower 7; + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/system/controlDict b/tutorials/DNS/dnsFoam/boxTurb16/system/controlDict index f059d93cded33ce2cef6394c0492ccefa8b50dd6..bbbc76ae09a81679c74be2307d9d1f80099f2468 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/system/controlDict +++ b/tutorials/DNS/dnsFoam/boxTurb16/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -45,4 +45,5 @@ runTimeModifiable yes; graphFormat raw; + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/system/fvSchemes b/tutorials/DNS/dnsFoam/boxTurb16/system/fvSchemes index 9d912c030fc5a00fb48a87f2bc3a365d61fdcb0c..845956eea894d5cc3f21e225551b5eece0c56720 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/system/fvSchemes +++ b/tutorials/DNS/dnsFoam/boxTurb16/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -53,7 +54,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/system/fvSolution b/tutorials/DNS/dnsFoam/boxTurb16/system/fvSolution index d2a0410ecf0f5d74726ead517a1f1388c5c28746..d58906f99c7e5c91999bc224262cd4b9652c68a3 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/system/fvSolution +++ b/tutorials/DNS/dnsFoam/boxTurb16/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,24 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -36,4 +40,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/RASProperties b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/RASProperties index 677850a27085cf68ceba7b2810b9149848acd177..26216fcde0621aa1c526ab843d2825da511d520a 100644 --- a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/RASProperties +++ b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,145 +10,91 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Turbulence model selection -RASModel kEpsilon; +RASModel kEpsilon; -// Do you wish to calculate turbulence? -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; -// Laminar model coefficients laminarCoeffs { } -// Standard k-epsilon model coefficients kEpsilonCoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // C3 - C3 -0.33; - // alphah - alphah 1; - // alphak - alphak 1; - // alphaEps - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } -// RNG k-epsilon model coefficients RNGkEpsilonCoeffs { - // Cmu - Cmu 0.0845; - // C1 - C1 1.42; - // C2 - C2 1.68; - // C3 - C3 -0.33; - // alphah - alphah 1; - // alphak - alphak 1.39; - // alphaEps - alphaEps 1.39; - // eta0 - eta0 4.38; - // beta - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } -// Launder-Sharma low Reynolds number k-epsilon model coefficients LaunderSharmaKECoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // C3 - C3 -0.33; - // alphah - alphah 1; - // alphak - alphak 1; - // alphaEps - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } -// Launder-Reece-Rodi RSTM with wall functions model coefficients LRRCoeffs { - // Cmu - Cmu 0.09; - // Clrr1 - Clrr1 1.8; - // Clrr2 - Clrr2 0.6; - // C1 - C1 1.44; - // C2 - C2 1.92; - // Cs - Cs 0.25; - // Ceps - Ceps 0.15; - // alphah - alphah 1; - // alphaEps - alphaEps 0.76923; - // alphaR - alphaR 1.22; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } -// Launder-Gibson RSTM with wall reflection and wall functions model coefficients LaunderGibsonRSTMCoeffs { - // Cmu - Cmu 0.09; - // Clg1 - Clg1 1.8; - // Clg2 - Clg2 0.6; - // C1 - C1 1.44; - // C2 - C2 1.92; - // C1Ref - C1Ref 0.5; - // C2Ref - C2Ref 0.3; - // Cs - Cs 0.25; - // Ceps - Ceps 0.15; - // alphah - alphah 1; - // alphaEps - alphaEps 0.76923; - // alphaR - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } -// Wall function coefficients wallFunctionCoeffs { - // kappa - kappa 0.4187; - // E - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/environmentalProperties b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..a866ff549fd799e63d2d6946a66cf3da14d092bd 100644 --- a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/environmentalProperties +++ b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Properties b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Properties index d883b02f398eba97138b752952c0146f9c1bdc7f..4a7f8b7b2b5d0f5f7c8e979a07185eb634c9a8c5 100644 --- a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Properties +++ b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Properties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,108 +10,108 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object kinematicCloud1Properties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Particle sub-models -InjectionModel ManualInjection; -DragModel SphereDrag; -DispersionModel StochasticDispersionRAS; -WallInteractionModel StandardWallInteraction; +InjectionModel ManualInjection; -// Minimum particle mass -minParticleMass minParticleMass [ 1 0 0 0 0] 1.0e-15; +DragModel SphereDrag; -// Parcel thermo properties -rho0 rho0 [ 1 -3 0 0 0] 5000; +DispersionModel StochasticDispersionRAS; -// Coupling between particles and carrier phase via source terms -coupled true; +WallInteractionModel StandardWallInteraction; -// Integer used to identify different parcel types -parcelTypeId 2; +minParticleMass minParticleMass [ 1 0 0 0 0 ] 1e-15; + +rho0 rho0 [ 1 -3 0 0 0 ] 5000; + +coupled true; + +parcelTypeId 2; interpolationSchemes { - rho cell; - U cellPointFace; - mu cell; + rho cell; + U cellPointFace; + mu cell; } integrationSchemes { - U Euler; + U Euler; } ManualInjectionCoeffs { - // Parcel basis type - parcelBasisType mass; - - // Total mass to inject - massTotal massTotal [ 1 0 0 0 0] 2.0e-4; - - SOI 0.0; - positionsFile kinematicCloud1Positions; - U0 (0 0 0); + parcelBasisType mass; + massTotal massTotal [ 1 0 0 0 0 ] 0.0002; + SOI 0; + positionsFile kinematicCloud1Positions; + U0 ( 0 0 0 ); parcelPDF { - pdfType RosinRammler; + pdfType RosinRammler; RosinRammlerPDF { - minValue 50.0e-06; - maxValue 100.0e-06; - d (75.0e-06); - n (0.5); + minValue 5e-05; + maxValue 0.0001; + d ( 7.5e-05 ); + n ( 0.5 ); } } } ConeInjectionCoeffs { - SOI 0.001; - duration 0.005; - position (0.25 0.25 0.05); - direction (0 -1 0); - parcelsPerSecond 10000; - volumeFlowRate Constant; + SOI 0.001; + duration 0.005; + position ( 0.25 0.25 0.05 ); + direction ( 0 -1 0 ); + parcelsPerSecond 10000; + volumeFlowRate Constant; volumeFlowRateCoeffs { - value 0.01; + value 0.01; } - Umag Constant; + + Umag Constant; UmagCoeffs { - value 50.0; + value 50; } - thetaInner Constant; + + thetaInner Constant; thetaInnerCoeffs { - value 0.0; + value 0; } - thetaOuter Constant; + + thetaOuter Constant; thetaOuterCoeffs { - value 30.0; + value 30; } + parcelPDF { - pdfType RosinRammler; + pdfType RosinRammler; RosinRammlerPDF { - minValue 50.0e-06; - maxValue 100.0e-06; - d (75.0e-06); - n (0.5); + minValue 5e-05; + maxValue 0.0001; + d ( 7.5e-05 ); + n ( 0.5 ); } } } StandardWallInteractionCoeffs { - e e [ 0 0 0 0 0] 1; - mu mu [ 0 0 0 0 0] 0; + e e [ 0 0 0 0 0 ] 1; + mu mu [ 0 0 0 0 0 ] 0; } + // ************************************************************************* // diff --git a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Properties b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Properties index 795aeda2cdef76f183e59a7ae53a07aa0f1d7008..fd752a082c9d60ef27277908ec50e7bf425a3970 100644 --- a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Properties +++ b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Properties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,83 +10,84 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermoCloud1Properties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Particle sub-models -InjectionModel ManualInjection; -DragModel SphereDrag; -DispersionModel StochasticDispersionRAS; -WallInteractionModel StandardWallInteraction; -HeatTransferModel RanzMarshall; +InjectionModel ManualInjection; -radiation off; +DragModel SphereDrag; -// Minimum particle mass -minParticleMass minParticleMass [ 1 0 0 0 0] 1.0e-15; +DispersionModel StochasticDispersionRAS; -// Parcel thermo properties -rho0 rho0 [ 1 -3 0 0 0] 2500; -T0 T0 [ 0 0 0 1 0] 300; -cp0 cp0 [ 0 2 -2 -1 0] 900; -epsilon0 epsilon0 [ 0 0 0 0 0] 1; -f0 f0 [ 0 0 0 0 0] 0.5; +WallInteractionModel StandardWallInteraction; -// Coupling between particles and carrier phase via source terms -coupled true; +HeatTransferModel RanzMarshall; -// Integer used to identify different parcel types -parcelTypeId 1; +radiation off; + +minParticleMass minParticleMass [ 1 0 0 0 0 ] 1e-15; + +rho0 rho0 [ 1 -3 0 0 0 ] 2500; + +T0 T0 [ 0 0 0 1 0 ] 300; + +cp0 cp0 [ 0 2 -2 -1 0 ] 900; + +epsilon0 epsilon0 [ 0 0 0 0 0 ] 1; + +f0 f0 [ 0 0 0 0 0 ] 0.5; + +coupled true; + +parcelTypeId 1; interpolationSchemes { - rho cell; - U cellPointFace; - mu cell; - T cell; - Cp cell; + rho cell; + U cellPointFace; + mu cell; + T cell; + Cp cell; } integrationSchemes { - U Euler; - T Analytical; + U Euler; + T Analytical; } ManualInjectionCoeffs { - // Total mass to inject - massTotal massTotal [ 1 0 0 0 0] 1e-4; - - // Parcel basis type - parcelBasisType mass; - - SOI 0.0; - positionsFile thermoCloud1Positions; - U0 (0 0 0); + massTotal massTotal [ 1 0 0 0 0 ] 0.0001; + parcelBasisType mass; + SOI 0; + positionsFile thermoCloud1Positions; + U0 ( 0 0 0 ); parcelPDF { - pdfType RosinRammler; + pdfType RosinRammler; RosinRammlerPDF { - minValue 5.0e-06; - maxValue 500.0e-06; - d (50.0e-06); - n (0.5); + minValue 5e-06; + maxValue 0.0005; + d ( 5e-05 ); + n ( 0.5 ); } } } StandardWallInteractionCoeffs { - e e [ 0 0 0 0 0] 1; - mu mu [ 0 0 0 0 0] 0; + e e [ 0 0 0 0 0 ] 1; + mu mu [ 0 0 0 0 0 ] 0; } RanzMarshallCoeffs { - Pr Pr [ 0 0 0 0 0] 0.7; + Pr Pr [ 0 0 0 0 0 ] 0.7; } + // ************************************************************************* // diff --git a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/thermophysicalProperties b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/thermophysicalProperties index 0b16fbae765198099571a7abfe177e43e63ebe07..d02b85fec4397d8da50129dd6d2374b56619abe6 100644 --- a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/thermophysicalProperties +++ b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Thermophysical model thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; mixture air 1 28.9 1007 0 1.84e-05 0.7; + // ************************************************************************* // diff --git a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/controlDict b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/controlDict index 02438600d45b5de30a38cabe9c62bb3cdda06ebe..498ad80a5436cbc895f2694fa68119f4fc090543 100644 --- a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/controlDict +++ b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,61 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Foam Application Class - -// Start point of run startFrom latestTime; -// Calculation start time startTime 0; -// End point of run stopAt endTime; -// Calculation end time endTime 0.5; -// Calculation time step -deltaT 1.0e-4; +deltaT 0.0001; -// Type of write output control writeControl adjustableRunTime; -// Interval with which the results are output writeInterval 0.01; -// Limits number of time directories before overwriting purgeWrite 0; -// Write Format writeFormat ascii; -// Significant figures of written ASCII data writePrecision 10; -// Write Compression writeCompression uncompressed; -// Time directories name format timeFormat general; -// Decimal precision of time directory names timePrecision 6; -// Can parameters be modified during run time? runTimeModifiable yes; -// Automatic adjustment of time step? adjustTimeStep yes; -// maxCo maxCo 0.2; -// maxDeltaT maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/decomposeParDict b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/decomposeParDict index d99b832df1fcc5b92a81b2ae29ad56b282204915..5b181b0e75a720fea3208f1e448f60a7aef8546d 100644 --- a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/decomposeParDict +++ b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,26 +21,20 @@ method metis; simpleCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; } hierarchicalCoeffs { - n (1 1 1); + n ( 1 1 1 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -49,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/fvSchemes b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/fvSchemes index 9f6d1424511d6dae84c429b4c92ba7aef10a003d..9f72da684a1205fade3c6f7ba1328ac21b6f947f 100644 --- a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/fvSchemes +++ b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,29 +10,24 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Time derivative discretisation schemes ddtSchemes { - // Default scheme default Euler; } -// Gradient discretisation schemes gradSchemes { - // Default gradient scheme default Gauss linear; grad(p) Gauss linear; } -// Convection discretisation schemes divSchemes { - // Default scheme default none; div(phi,U) Gauss upwind; div(phid,p) Gauss upwind; @@ -42,14 +37,12 @@ divSchemes div(phi,epsilon) Gauss upwind; div(U) Gauss linear; div((muEff*dev2(grad(U).T()))) Gauss linear; - div(phi,Yi_h) Gauss upwind; + div(phi,Yi_h) Gauss upwind; } -// Laplacian discretisation schemes laplacianSchemes { - // Default scheme - default Gauss linear corrected; + default Gauss linear corrected; laplacian(muEff,U) Gauss linear corrected; laplacian(mut,U) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; @@ -59,26 +52,21 @@ laplacianSchemes laplacian(alphaEff,h) Gauss linear corrected; } -// Interpolation schemes interpolationSchemes { - // Default scheme default linear; } -// Surface normal gradient schemes snGradSchemes { - // Default scheme default corrected; } -// Calculation of flux fluxRequired { - // Create storage for flux for all solved variables? default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/fvSolution b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/fvSolution index 699b805794a5fd554d31b4138cf34bae58ffaf6a..219c7b1dbfcf72204cb60028597aa8550b9333d1 100644 --- a/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/fvSolution +++ b/tutorials/Lagrangian/rhoTurbTwinParcelFoam/simplifiedSiwek/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,128 +10,149 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - // Solver for the rho equation - rho PCG - { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; - // Solver for the U equation - U PBiCG - { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - // Solver for the p equation - p PBiCG - { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - G PCG - { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; - Yi PBiCG - { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - CO2 PBiCG - { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - O2 PBiCG - { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - N2 PBiCG - { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - CH4 PBiCG - { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - H2 PBiCG - { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - H2O PBiCG - { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - CO PBiCG - { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - - // Solver for the h equation - h PBiCG - { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - // Solver for the R equation - R PBiCG - { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - // Solver for the k equation - k PBiCG - { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - // Solver for the epsilon equation - epsilon PBiCG - { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + rho + { + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } + + U + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + p + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + G + { + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } + + Yi + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + CO2 + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + O2 + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + N2 + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + CH4 + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + H2 + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + H2O + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + CO + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + h + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + R + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO { - // Transonic? - transonic yes; - // Number of PISO correctors + transonic yes; nCorrectors 2; - // Number of non-orthogonal correctors nNonOrthogonalCorrectors 0; - // momentumPredictor? momentumPredictor yes; } + // ************************************************************************* // diff --git a/tutorials/basic/laplacianFoam/flange/constant/transportProperties b/tutorials/basic/laplacianFoam/flange/constant/transportProperties index e202aa0bc79b89adbce17e0f5ab6041bda60138b..38a48552bb701038b40714e3196aa772427af552 100644 --- a/tutorials/basic/laplacianFoam/flange/constant/transportProperties +++ b/tutorials/basic/laplacianFoam/flange/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -DT DT [0 2 -1 0 0 0 0] 4e-05; +DT DT [ 0 2 -1 0 0 0 0 ] 4e-05; + // ************************************************************************* // diff --git a/tutorials/basic/laplacianFoam/flange/system/controlDict b/tutorials/basic/laplacianFoam/flange/system/controlDict index 07a21543108361fa7020e9b6aebdff6d16117f2f..f936785ffabcb73f173ac5f5e5fb1706eab0706d 100644 --- a/tutorials/basic/laplacianFoam/flange/system/controlDict +++ b/tutorials/basic/laplacianFoam/flange/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/basic/laplacianFoam/flange/system/fvSchemes b/tutorials/basic/laplacianFoam/flange/system/fvSchemes index ecfee2c2c71ec111df94331a1bd3842448f43597..0791ea9054fa049ed91214ea8bfa4c6a20d80e85 100644 --- a/tutorials/basic/laplacianFoam/flange/system/fvSchemes +++ b/tutorials/basic/laplacianFoam/flange/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -33,7 +34,7 @@ divSchemes laplacianSchemes { default none; - laplacian(DT,T) Gauss linear corrected; + laplacian(DT,T) Gauss linear corrected; } interpolationSchemes @@ -49,7 +50,8 @@ snGradSchemes fluxRequired { default no; - T; + T ; } + // ************************************************************************* // diff --git a/tutorials/basic/laplacianFoam/flange/system/fvSolution b/tutorials/basic/laplacianFoam/flange/system/fvSolution index 13898e12f67d6d3bac1449567e2232ceb729711d..705e6c81f56bdee1f8f0d5af59ca45972e5cb79d 100644 --- a/tutorials/basic/laplacianFoam/flange/system/fvSolution +++ b/tutorials/basic/laplacianFoam/flange/system/fvSolution @@ -25,6 +25,7 @@ solvers relTol 0; } } + SIMPLE { nNonOrthogonalCorrectors 2; diff --git a/tutorials/basic/potentialFoam/cylinder/system/controlDict b/tutorials/basic/potentialFoam/cylinder/system/controlDict index 2300e2c09ea24050334b25de1cd227b6fbb88806..c160f2f414de84724ba785662c196277d8ab761b 100644 --- a/tutorials/basic/potentialFoam/cylinder/system/controlDict +++ b/tutorials/basic/potentialFoam/cylinder/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/basic/potentialFoam/cylinder/system/fvSchemes b/tutorials/basic/potentialFoam/cylinder/system/fvSchemes index ab3c77e43dee4dcca22732ee4a92d1f5d67ec05a..77418cb53a684445a0be22f23c0f8b839cf5dbfd 100644 --- a/tutorials/basic/potentialFoam/cylinder/system/fvSchemes +++ b/tutorials/basic/potentialFoam/cylinder/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes @@ -48,7 +49,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/basic/potentialFoam/cylinder/system/fvSolution b/tutorials/basic/potentialFoam/cylinder/system/fvSolution index 6626b9c525242c382731f9c74e0e956db72ad66c..231dfc27bb71dd44f151c36e22cc703274bcb549 100644 --- a/tutorials/basic/potentialFoam/cylinder/system/fvSolution +++ b/tutorials/basic/potentialFoam/cylinder/system/fvSolution @@ -25,6 +25,7 @@ solvers relTol 0; } } + SIMPLE { nNonOrthogonalCorrectors 3; diff --git a/tutorials/basic/potentialFoam/pitzDaily/system/controlDict b/tutorials/basic/potentialFoam/pitzDaily/system/controlDict index 2300e2c09ea24050334b25de1cd227b6fbb88806..c160f2f414de84724ba785662c196277d8ab761b 100644 --- a/tutorials/basic/potentialFoam/pitzDaily/system/controlDict +++ b/tutorials/basic/potentialFoam/pitzDaily/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/basic/potentialFoam/pitzDaily/system/fvSchemes b/tutorials/basic/potentialFoam/pitzDaily/system/fvSchemes index ab3c77e43dee4dcca22732ee4a92d1f5d67ec05a..77418cb53a684445a0be22f23c0f8b839cf5dbfd 100644 --- a/tutorials/basic/potentialFoam/pitzDaily/system/fvSchemes +++ b/tutorials/basic/potentialFoam/pitzDaily/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes @@ -48,7 +49,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/basic/potentialFoam/pitzDaily/system/fvSolution b/tutorials/basic/potentialFoam/pitzDaily/system/fvSolution index 0e3753d777657968c5fd7759953be304a880ba15..bff0832c0a29bc1f5dc1d21ac1d26aa37de21771 100644 --- a/tutorials/basic/potentialFoam/pitzDaily/system/fvSolution +++ b/tutorials/basic/potentialFoam/pitzDaily/system/fvSolution @@ -25,6 +25,7 @@ solvers relTol 0; } } + SIMPLE { nNonOrthogonalCorrectors 0; diff --git a/tutorials/basic/scalarTransportFoam/pitzDaily/constant/transportProperties b/tutorials/basic/scalarTransportFoam/pitzDaily/constant/transportProperties index 0621796365600d4d996ed9c0b67daedba279a998..080db3de4384102679e4121a5c546f7d96c50b8a 100644 --- a/tutorials/basic/scalarTransportFoam/pitzDaily/constant/transportProperties +++ b/tutorials/basic/scalarTransportFoam/pitzDaily/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -DT DT [0 2 -1 0 0 0 0] 0.01; +DT DT [ 0 2 -1 0 0 0 0 ] 0.01; + // ************************************************************************* // diff --git a/tutorials/basic/scalarTransportFoam/pitzDaily/system/controlDict b/tutorials/basic/scalarTransportFoam/pitzDaily/system/controlDict index 754277eb2551d37d6b5180d30402c53697e91de6..83058ea6202b5efcca411c72ef055a08547bf46b 100644 --- a/tutorials/basic/scalarTransportFoam/pitzDaily/system/controlDict +++ b/tutorials/basic/scalarTransportFoam/pitzDaily/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/basic/scalarTransportFoam/pitzDaily/system/fvSchemes b/tutorials/basic/scalarTransportFoam/pitzDaily/system/fvSchemes index 6c290f72df0dee86a8f64b9ab35b6a3f06605531..3ffd8859ee1269e3b8a8fff103d4e81722df6737 100644 --- a/tutorials/basic/scalarTransportFoam/pitzDaily/system/fvSchemes +++ b/tutorials/basic/scalarTransportFoam/pitzDaily/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -49,7 +50,8 @@ snGradSchemes fluxRequired { default no; - T; + T ; } + // ************************************************************************* // diff --git a/tutorials/basic/scalarTransportFoam/pitzDaily/system/fvSolution b/tutorials/basic/scalarTransportFoam/pitzDaily/system/fvSolution index 272840702dca5044a6aa02c116a46179bdcb07c5..44b0ece7910653243b9c652bc77cf22ba99cf3fe 100644 --- a/tutorials/basic/scalarTransportFoam/pitzDaily/system/fvSolution +++ b/tutorials/basic/scalarTransportFoam/pitzDaily/system/fvSolution @@ -25,6 +25,7 @@ solvers relTol 0; } } + SIMPLE { nNonOrthogonalCorrectors 0; diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/constant/LESProperties b/tutorials/combustion/XiFoam/les/pitzDaily/constant/LESProperties index 1976bb4dac82678e5b14d9dc109387edf1dae0e3..56c915c9248767858ba422364230811ed44db542 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/constant/LESProperties +++ b/tutorials/combustion/XiFoam/les/pitzDaily/constant/LESProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -LESModel oneEqEddy; +LESModel oneEqEddy; -delta cubeRootVol; +delta cubeRootVol; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,34 +27,34 @@ laminarCoeffs oneEqEddyCoeffs { - ce 1.048; - ck 0.094; + ce 1.048; + ck 0.094; } dynOneEqEddyCoeffs { - ce 1.05; - filter simple; + ce 1.05; + filter simple; } lowReOneEqEddyCoeffs { - ck 0.07; - ce 1.05; - beta 0.01; + ck 0.07; + ce 1.05; + beta 0.01; } SmagorinskyCoeffs { - ck 0.02; - ce 0.202; + ck 0.02; + ce 0.202; } DeardorffDiffStressCoeffs { - ce 1.048; - ck 0.094; - cm 4.13; + ce 1.048; + ck 0.094; + cm 4.13; } cubeRootVolCoeffs @@ -68,6 +69,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -75,9 +77,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -87,6 +91,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -94,10 +99,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -107,14 +114,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/constant/combustionProperties b/tutorials/combustion/XiFoam/les/pitzDaily/constant/combustionProperties index 88b91cb81a8d91f1e6674fa9e37be2ccb09e08b4..c82a1b4cc90caf39d28b1b34a2cbd30d40d1a398 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/constant/combustionProperties +++ b/tutorials/combustion/XiFoam/les/pitzDaily/constant/combustionProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object combustionProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,21 +19,21 @@ laminarFlameSpeedCorrelation constant; fuel Propane; -Su Su [0 1 -1 0 0 0 0] 0.135; +Su Su [ 0 1 -1 0 0 0 0 ] 0.135; SuModel transport; -equivalenceRatio equivalenceRatio [0 0 0 0 0 0 0] 0.6; +equivalenceRatio equivalenceRatio [ 0 0 0 0 0 0 0 ] 0.6; -sigmaExt sigmaExt [0 0 -1 0 0 0 0] 338; +sigmaExt sigmaExt [ 0 0 -1 0 0 0 0 ] 338; XiModel transport; -XiCoef XiCoef [0 0 0 0 0 0 0] 0.62; +XiCoef XiCoef [ 0 0 0 0 0 0 0 ] 0.62; -XiShapeCoef XiShapeCoef [0 0 0 0 0 0 0] 1; +XiShapeCoef XiShapeCoef [ 0 0 0 0 0 0 0 ] 1; -uPrimeCoef uPrimeCoef [0 0 0 0 0 0 0] 1; +uPrimeCoef uPrimeCoef [ 0 0 0 0 0 0 0 ] 1; GuldersCoeffs { @@ -45,6 +46,7 @@ GuldersCoeffs beta -0.5; f 2.3; } + Propane { W 0.446; @@ -54,6 +56,7 @@ GuldersCoeffs beta -0.2; f 2.3; } + IsoOctane { W 0.4658; @@ -67,16 +70,15 @@ GuldersCoeffs ignite no; -ignitionSites -( -); +ignitionSites ( ); ignitionSphereFraction 0; -ignitionThickness ignitionThickness [0 1 0 0 0 0 0] 0; +ignitionThickness ignitionThickness [ 0 1 0 0 0 0 0 ] 0; ignitionCircleFraction 0; -ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0; +ignitionKernelArea ignitionKernelArea [ 0 2 0 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/constant/environmentalProperties b/tutorials/combustion/XiFoam/les/pitzDaily/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..a866ff549fd799e63d2d6946a66cf3da14d092bd 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/constant/environmentalProperties +++ b/tutorials/combustion/XiFoam/les/pitzDaily/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/constant/thermophysicalProperties b/tutorials/combustion/XiFoam/les/pitzDaily/constant/thermophysicalProperties index 0ca3b84735fd93ef85e06251a0171939f4e10c56..8e705f32e59da3381e1c209e1c6ff830d3677756 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/constant/thermophysicalProperties +++ b/tutorials/combustion/XiFoam/les/pitzDaily/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType hhuMixtureThermo<homogeneousMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>; -stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 15.675; +stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [ 0 0 0 0 0 0 0 ] 15.675; fuel fuel 1 44.0962 200 5000 1000 7.53414 0.0188722 -6.27185e-06 9.14756e-10 -4.78381e-14 -16467.5 -17.8923 0.933554 0.0264246 6.10597e-06 -2.19775e-08 9.51493e-12 -13958.5 19.2017 1.67212e-06 170.672; @@ -28,14 +29,5 @@ products products 1 28.3233 200 5000 1000 3.106 0.00179682 -5.94382e-07 9 burntProducts burntProducts 25.8095 28.3233 200 6000 1000 3.106 0.00179682 -5.94382e-07 9.04998e-11 -5.08033e-15 -11003.7 5.11872 3.49612 0.000650364 -2.08029e-07 1.2291e-09 -7.73697e-13 -11080.3 3.18978 1.67212e-06 170.672; -/* -thermoType hhuMixtureThermo<homogeneousMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; - -stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 9.286; - -reactants reactants 1 28 1330.9 2.133e+06 1.798e-05 0.7; - -products products 1 28 1579.9 0 5.016e-05 0.7; -*/ // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict b/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict index eb71c634bbed219bdd043b57d6161d9901bdad21..3aefd793e1addecbe437ed1f5a687027e13c1fe6 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict +++ b/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -47,33 +47,28 @@ functions ( fieldAverage1 { - // Type of functionObject type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - + functionObjectLibs ( "libfieldFunctionObjects.so" ); enabled true; - outputControl outputTime; - - // Fields to be averaged - runTime modifiable fields ( U { - mean on; - prime2Mean on; - base time; + mean on; + prime2Mean on; + base time; } + p { - mean on; - prime2Mean on; - base time; + mean on; + prime2Mean on; + base time; } ); } ); + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSchemes b/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSchemes index 319151c4c3c754926946f10f755d5aa542f32104..78f524d421c2d8e8c137d01b889d28a43cc97051 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSchemes +++ b/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -37,14 +38,7 @@ divSchemes div(phiXi,Xi) Gauss limitedLinear 1; div(phiXi,Su) Gauss limitedLinear 1; div(phiSt,b) Gauss limitedLinear01 1; - div(phi,ft_b_h_hu) Gauss multivariateSelection - { - fu limitedLinear01 1; - ft limitedLinear01 1; - b limitedLinear01 1; - h limitedLinear 1; - hu limitedLinear 1; - }; + div(phi,ft_b_h_hu) Gauss multivariateSelection { fu limitedLinear01 1 ; ft limitedLinear01 1 ; b limitedLinear01 1 ; h limitedLinear 1 ; hu limitedLinear 1 ; }; div(U) Gauss linear; div((Su*grad(b))) Gauss linear; div((U+((Su*Xi)*grad(b)))) Gauss linear; @@ -77,7 +71,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSolution b/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSolution index 43ce07f2a08981802c16d6d1ed09232856fadae7..cd3fb63f14ed693afea0db5bfbf4af4b06dc61e2 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSolution +++ b/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,90 +10,116 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho PCG + rho { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - p PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - ft PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + ft { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - fu PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + fu { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - b PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + b { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Xi PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Xi { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Su PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Su { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - h PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - hu PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + hu { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -102,4 +128,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/LESProperties b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/LESProperties index fb22276165743d7d3aa7c040f30187c0c58b9095..95bb1c14f8c2d1a80c01f98d2d8b11202218d7b3 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/LESProperties +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/LESProperties @@ -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,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -LESModel oneEqEddy; +LESModel oneEqEddy; -delta cubeRootVol; +delta cubeRootVol; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,34 +27,34 @@ laminarCoeffs oneEqEddyCoeffs { - ce 1.048; - ck 0.094; + ce 1.048; + ck 0.094; } dynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } lowReOneEqEddyCoeffs { - ck 0.07; - ce 1.05; - beta 0.01; + ck 0.07; + ce 1.05; + beta 0.01; } SmagorinskyCoeffs { - ck 0.02; - ce 0.202; + ck 0.02; + ce 0.202; } DeardorffDiffStressCoeffs { - ce 1.048; - ck 0.094; - cm 4.13; + ce 1.048; + ck 0.094; + cm 4.13; } cubeRootVolCoeffs @@ -68,6 +69,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -75,9 +77,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -87,6 +91,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -94,10 +99,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -107,14 +114,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/combustionProperties b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/combustionProperties index 000883e1dafc4373d60543c5a695fd713105b17f..1568261fe21a51af1e7c78addec99a2b29deca8e 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/combustionProperties +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/combustionProperties @@ -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 dictionary; + location "constant"; object combustionProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,21 +19,21 @@ laminarFlameSpeedCorrelation Gulders; fuel Propane; -Su Su [0 1 -1 0 0 0 0] 0.135; +Su Su [ 0 1 -1 0 0 0 0 ] 0.135; SuModel transport; -equivalenceRatio equivalenceRatio [0 0 0 0 0 0 0] 0.6; +equivalenceRatio equivalenceRatio [ 0 0 0 0 0 0 0 ] 0.6; -sigmaExt sigmaExt [0 0 -1 0 0 0 0] 338; +sigmaExt sigmaExt [ 0 0 -1 0 0 0 0 ] 338; XiModel transport; -XiCoef XiCoef [0 0 0 0 0 0 0] 0.62; +XiCoef XiCoef [ 0 0 0 0 0 0 0 ] 0.62; -XiShapeCoef XiShapeCoef [0 0 0 0 0 0 0] 1; +XiShapeCoef XiShapeCoef [ 0 0 0 0 0 0 0 ] 1; -uPrimeCoef uPrimeCoef [0 0 0 0 0 0 0] 1; +uPrimeCoef uPrimeCoef [ 0 0 0 0 0 0 0 ] 1; GuldersCoeffs { @@ -45,6 +46,7 @@ GuldersCoeffs beta -0.5; f 2.3; } + Propane { W 0.446; @@ -54,6 +56,7 @@ GuldersCoeffs beta -0.2; f 2.3; } + IsoOctane { W 0.4658; @@ -67,24 +70,15 @@ GuldersCoeffs ignite yes; -ignitionSites -( - - { - location (0 0 0); - diameter 0.003; - start 0; - duration 0.001; - strength 2; - } -); +ignitionSites ( { location ( 0 0 0 ) ; diameter 0.003 ; start 0 ; duration 0.001 ; strength 2 ; } ); ignitionSphereFraction 1; -ignitionThickness ignitionThickness [0 1 0 0 0 0 0] 0; +ignitionThickness ignitionThickness [ 0 1 0 0 0 0 0 ] 0; ignitionCircleFraction 0; -ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0; +ignitionKernelArea ignitionKernelArea [ 0 2 0 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/environmentalProperties b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/environmentalProperties index ca80af21ee6180ad2667f0efe40c92ac5df7ee7a..ce7f648b7fae5d1ad1a6f0605b644e757b0728f3 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/environmentalProperties +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/environmentalProperties @@ -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,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 0 ); + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/thermophysicalProperties b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/thermophysicalProperties index 0ca3b84735fd93ef85e06251a0171939f4e10c56..7c8fd76fe381691fab9e3e98d39ce25179db20f2 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/thermophysicalProperties +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/thermophysicalProperties @@ -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,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType hhuMixtureThermo<homogeneousMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>; -stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 15.675; +stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [ 0 0 0 0 0 0 0 ] 15.675; fuel fuel 1 44.0962 200 5000 1000 7.53414 0.0188722 -6.27185e-06 9.14756e-10 -4.78381e-14 -16467.5 -17.8923 0.933554 0.0264246 6.10597e-06 -2.19775e-08 9.51493e-12 -13958.5 19.2017 1.67212e-06 170.672; @@ -28,14 +29,5 @@ products products 1 28.3233 200 5000 1000 3.106 0.00179682 -5.94382e-07 9 burntProducts burntProducts 25.8095 28.3233 200 6000 1000 3.106 0.00179682 -5.94382e-07 9.04998e-11 -5.08033e-15 -11003.7 5.11872 3.49612 0.000650364 -2.08029e-07 1.2291e-09 -7.73697e-13 -11080.3 3.18978 1.67212e-06 170.672; -/* -thermoType hhuMixtureThermo<homogeneousMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; - -stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 9.286; - -reactants reactants 1 28 1330.9 2.133e+06 1.798e-05 0.7; - -products products 1 28 1579.9 0 5.016e-05 0.7; -*/ // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict index 26a0e1c65af2be625a4902ab7e09847d3a4e75a8..d79aed22c6de372f24fab6ad0ac17d03a106dfb0 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/controlDict @@ -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,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -47,33 +47,28 @@ functions ( fieldAverage1 { - // Type of functionObject type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - + functionObjectLibs ( "libfieldFunctionObjects.so" ); enabled true; - outputControl outputTime; - - // Fields to be averaged - runTime modifiable fields ( U { - mean on; - prime2Mean on; - base time; + mean on; + prime2Mean on; + base time; } + p { - mean on; - prime2Mean on; - base time; + mean on; + prime2Mean on; + base time; } ); } ); + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes index 319151c4c3c754926946f10f755d5aa542f32104..2398134a00a77dad1665370829a4350194bb6e98 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes @@ -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,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -37,14 +38,7 @@ divSchemes div(phiXi,Xi) Gauss limitedLinear 1; div(phiXi,Su) Gauss limitedLinear 1; div(phiSt,b) Gauss limitedLinear01 1; - div(phi,ft_b_h_hu) Gauss multivariateSelection - { - fu limitedLinear01 1; - ft limitedLinear01 1; - b limitedLinear01 1; - h limitedLinear 1; - hu limitedLinear 1; - }; + div(phi,ft_b_h_hu) Gauss multivariateSelection { fu limitedLinear01 1 ; ft limitedLinear01 1 ; b limitedLinear01 1 ; h limitedLinear 1 ; hu limitedLinear 1 ; }; div(U) Gauss linear; div((Su*grad(b))) Gauss linear; div((U+((Su*Xi)*grad(b)))) Gauss linear; @@ -77,7 +71,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSolution b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSolution index 43ce07f2a08981802c16d6d1ed09232856fadae7..d4656531edcb00756339a56f6ccb6ab26fa013af 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSolution +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSolution @@ -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,90 +10,116 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho PCG + rho { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - p PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - ft PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + ft { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - fu PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + fu { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - b PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + b { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Xi PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Xi { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Su PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Su { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - h PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - hu PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + hu { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -102,4 +128,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/RASProperties b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/RASProperties index 6fbe9dea83961fa03e9edd98a3017e1558548360..564a9fbe2369dd88931d20ecbd46eca762ded935 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/RASProperties +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel LaunderSharmaKE; +RASModel LaunderSharmaKE; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,73 +27,74 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 0; - alphah 1.111; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 0; + alphah 1.111; + alphak 1; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 0; - alphah 1.111; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 0; + alphah 1.111; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 0; - alphah 1.111; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 0; + alphah 1.111; + alphak 1; + alphaEps 0.76923; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/combustionProperties b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/combustionProperties index 19878d0cfe6073ccea35ee2d4a71394785c86870..0aac5c44dba25819ad0e207f36c7d28c6d55e46e 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/combustionProperties +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/combustionProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object combustionProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,21 +19,21 @@ laminarFlameSpeedCorrelation Gulders; fuel Propane; -Su Su [0 1 -1 0 0 0 0] 0.434; +Su Su [ 0 1 -1 0 0 0 0 ] 0.434; SuModel unstrained; -equivalenceRatio equivalenceRatio [0 0 0 0 0 0 0] 1; +equivalenceRatio equivalenceRatio [ 0 0 0 0 0 0 0 ] 1; -sigmaExt sigmaExt [0 0 -1 0 0 0 0] 100000; +sigmaExt sigmaExt [ 0 0 -1 0 0 0 0 ] 100000; XiModel transport; -XiCoef XiCoef [0 0 0 0 0 0 0] 0.62; +XiCoef XiCoef [ 0 0 0 0 0 0 0 ] 0.62; -XiShapeCoef XiShapeCoef [0 0 0 0 0 0 0] 1; +XiShapeCoef XiShapeCoef [ 0 0 0 0 0 0 0 ] 1; -uPrimeCoef uPrimeCoef [0 0 0 0 0 0 0] 1; +uPrimeCoef uPrimeCoef [ 0 0 0 0 0 0 0 ] 1; GuldersCoeffs { @@ -45,6 +46,7 @@ GuldersCoeffs beta -0.5; f 2.3; } + Propane { W 0.446; @@ -54,6 +56,7 @@ GuldersCoeffs beta -0.2; f 2.3; } + IsoOctane { W 0.4658; @@ -67,24 +70,15 @@ GuldersCoeffs ignite yes; -ignitionSites -( - - { - location (0 0 0.0005); - diameter 0.003; - start 0; - duration 0.001; - strength 1; - } -); +ignitionSites ( { location ( 0 0 0.0005 ) ; diameter 0.003 ; start 0 ; duration 0.001 ; strength 1 ; } ); ignitionSphereFraction 1; -ignitionThickness ignitionThickness [0 1 0 0 0 0 0] 0.001; +ignitionThickness ignitionThickness [ 0 1 0 0 0 0 0 ] 0.001; ignitionCircleFraction 0.5; -ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0.001; +ignitionKernelArea ignitionKernelArea [ 0 2 0 0 0 0 0 ] 0.001; + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/environmentalProperties b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/environmentalProperties index ca80af21ee6180ad2667f0efe40c92ac5df7ee7a..645c9af09920faa00dce17c1d3a52689e877a1f0 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/environmentalProperties +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 0 ); + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/thermophysicalProperties b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/thermophysicalProperties index 41ef30b1efe91df74364aa9988ee17ae45f5365a..8e705f32e59da3381e1c209e1c6ff830d3677756 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/thermophysicalProperties +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType hhuMixtureThermo<homogeneousMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>; -stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 15.675; +stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [ 0 0 0 0 0 0 0 ] 15.675; fuel fuel 1 44.0962 200 5000 1000 7.53414 0.0188722 -6.27185e-06 9.14756e-10 -4.78381e-14 -16467.5 -17.8923 0.933554 0.0264246 6.10597e-06 -2.19775e-08 9.51493e-12 -13958.5 19.2017 1.67212e-06 170.672; @@ -28,4 +29,5 @@ products products 1 28.3233 200 5000 1000 3.106 0.00179682 -5.94382e-07 9 burntProducts burntProducts 25.8095 28.3233 200 6000 1000 3.106 0.00179682 -5.94382e-07 9.04998e-11 -5.08033e-15 -11003.7 5.11872 3.49612 0.000650364 -2.08029e-07 1.2291e-09 -7.73697e-13 -11080.3 3.18978 1.67212e-06 170.672; + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/controlDict b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/controlDict index 8cf37a24956d56096a164d5e82f1b323176694e1..576ae511764d77a754e38c23cdb24f0c9ae62012 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/controlDict +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -49,4 +49,5 @@ maxCo 0.2; maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSchemes b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSchemes index 8a345e5483e021258f575ee023b4c12c1984bddd..94a4bd22bf03892c293485b4610fba0552823721 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSchemes +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -38,14 +39,7 @@ divSchemes div(phiXi,Xi) Gauss limitedLinear 1; div(phiXi,Su) Gauss limitedLinear 1; div(phiSt,b) Gauss limitedLinear01 1; - div(phi,ft_b_h_hu) Gauss multivariateSelection - { - fu limitedLinear01 1; - ft limitedLinear01 1; - b limitedLinear01 1; - h limitedLinear 1; - hu limitedLinear 1; - }; + div(phi,ft_b_h_hu) Gauss multivariateSelection { fu limitedLinear01 1 ; ft limitedLinear01 1 ; b limitedLinear01 1 ; h limitedLinear 1 ; hu limitedLinear 1 ; }; div(U) Gauss linear; div((Su*grad(b))) Gauss linear; div((U+((Su*Xi)*grad(b)))) Gauss linear; @@ -79,7 +73,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSolution b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSolution index 35819bb013d775cf564cba1160c0adae75d33496..061b461dd077e86b3bf2c6c2fc9a7aeaab29f1cb 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSolution +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,90 +10,116 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho PCG + rho { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - p PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - ft PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + ft { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - fu PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + fu { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - b PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + b { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Xi PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Xi { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Su PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Su { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - h PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - hu PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + hu { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -103,4 +129,5 @@ PISO momentumPredictor yes; } + // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/0/alphat b/tutorials/combustion/dieselFoam/aachenBomb/0/alphat index 1681c54f00ab7d93ad91202def8d1a6418c69fb2..2684dd73c822be130389cc925a29ebd9cb627ec0 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/0/alphat +++ b/tutorials/combustion/dieselFoam/aachenBomb/0/alphat @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/combustion/dieselFoam/aachenBomb/0/epsilon b/tutorials/combustion/dieselFoam/aachenBomb/0/epsilon index c14d3d7e021c20c8bdd5d30a0c2592947c01e263..e9dd46eb33ab84ca1e8bab21d748bfc6f058750a 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/0/epsilon +++ b/tutorials/combustion/dieselFoam/aachenBomb/0/epsilon @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/combustion/dieselFoam/aachenBomb/0/k b/tutorials/combustion/dieselFoam/aachenBomb/0/k index e6e58aecfaf011558d8d20e2c5fc525ca4e63c6e..251a39ce81061432f904f98f80de677eb38ebce6 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/0/k +++ b/tutorials/combustion/dieselFoam/aachenBomb/0/k @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/combustion/dieselFoam/aachenBomb/0/mut b/tutorials/combustion/dieselFoam/aachenBomb/0/mut index 2750ce32ecd5ed962213674d95930ff9b34920c5..e687f9b8fa216ba2de2f97e045c11372525473ae 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/0/mut +++ b/tutorials/combustion/dieselFoam/aachenBomb/0/mut @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/RASProperties b/tutorials/combustion/dieselFoam/aachenBomb/constant/RASProperties index c652dd95b20f2f0291c27112da7563d34e41594e..991a2915d96e31f7a47ab1334189ddd642009f6c 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/RASProperties +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/RASProperties @@ -2,23 +2,24 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,74 +27,74 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; muLimiter on; - Lsgs 0.0002; - + Lsgs 0.0002; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 -0.33; - alphah 1; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - Cs 0.25; - Ceps 0.15; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + Cs 0.25; + Ceps 0.15; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/chemistryProperties b/tutorials/combustion/dieselFoam/aachenBomb/constant/chemistryProperties index a607222ee1c164c56ff5ef6e25c29918c1ae0b48..be340ec092624c3700ecdf023d551ed099f103da 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/chemistryProperties +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/chemistryProperties @@ -2,42 +2,42 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object chemistryProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -chemistry off; +chemistry off; -chemistrySolver ODE; -//chemistrySolver EulerImplicit; -//chemistrySolver sequential; +chemistrySolver ODE; -initialChemicalTimeStep 1.0e-7; +initialChemicalTimeStep 1e-07; sequentialCoeffs { - cTauChem 1.0e-3; + cTauChem 0.001; } EulerImplicitCoeffs { - cTauChem 5.0e-2; - equilibriumRateLimiter off; + cTauChem 0.05; + equilibriumRateLimiter off; } ODECoeffs { ODESolver SIBS; - eps 5.0e-2; - scale 1.0; + eps 0.05; + scale 1; } + // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/combustionProperties b/tutorials/combustion/dieselFoam/aachenBomb/constant/combustionProperties index a038d1e7f53483461e65de1728980a828eafcc8a..b43b4967c8bdcf920246e6d2864a4be23c444e58 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/combustionProperties +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/combustionProperties @@ -2,26 +2,28 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object combustionProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -Cmix Cmix [ 0 0 0 0 0 0 0 ] 1.0 ; +Cmix Cmix [ 0 0 0 0 0 0 0 ] 1; ignitionProperties1 { - ignite off; - ignitionPoint ignitionPoint [ 0 1 0 0 0 0 0 ] ( 0.2 0 0.02 ) ; - timing timing [ 0 0 1 0 0 0 0 ] 0.0e-1 ; - duration duration [ 0 0 1 0 0 0 0 ] 1.0e-0 ; + ignite off; + ignitionPoint ignitionPoint [ 0 1 0 0 0 0 0 ] ( 0.2 0 0.02 ); + timing timing [ 0 0 1 0 0 0 0 ] 0; + duration duration [ 0 0 1 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/environmentalProperties b/tutorials/combustion/dieselFoam/aachenBomb/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..b5ad4b1cfd6a3ca2480b62a561d7bade6452f875 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/environmentalProperties +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/environmentalProperties @@ -2,18 +2,20 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/injectorProperties b/tutorials/combustion/dieselFoam/aachenBomb/constant/injectorProperties index 81b8b07bc6d0135f84a4c63b2b0b78dbc917dd7d..1ae195e668d5c2be351e09f59a9298fbf7dcaf79 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/injectorProperties +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/injectorProperties @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object injectorProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -32,7 +33,7 @@ FoamFile 1.0 ); - massFlowRateProfile + massFlowRateProfile ( (0 0.1272) (4.16667e-05 6.1634) @@ -91,7 +92,7 @@ FoamFile 1.0 ); - massFlowRateProfile + massFlowRateProfile ( (0 0.1272) (4.16667e-05 6.1634) @@ -132,7 +133,7 @@ FoamFile (0.00125 1.0) ); } - } + } ) // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/polyMesh/boundary b/tutorials/combustion/dieselFoam/aachenBomb/constant/polyMesh/boundary index 5e28555623fa8687c821f1ff8ff76939fe33007a..2e94e303b70438668052b23280a41adea47a0dd4 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/polyMesh/boundary +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/sprayProperties b/tutorials/combustion/dieselFoam/aachenBomb/constant/sprayProperties index 8a53ee8d1eb90d6610d6c2a1c18653b408dbf06f..ec151bbf0ac2adcb4ec2946a9b579923af8ff1ce 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/sprayProperties +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/sprayProperties @@ -2,14 +2,15 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object sprayProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -24,20 +25,13 @@ interpolationSchemes subCycles 2; -atomizationModel off; -//atomizationModel LISA; +atomizationModel off; + +includeOscillation yes; -includeOscillation yes; -//breakupModel TAB; -//breakupModel ETAB; -//breakupModel ReitzDiwakar; breakupModel ReitzKHRT; -//injectorModel constInjector; -//injectorModel ChomiakInjector; -//injectorModel definedInjector; -//injectorModel pressureSwirlInjector; -injectorModel hollowConeInjector; +injectorModel hollowConeInjector; collisionModel off; @@ -53,33 +47,27 @@ wallModel reflect; specConstAtomizationCoeffs { - dropletNozzleDiameterRatio - ( - 0.4 - ); - sprayAngle - ( - 10 - ); + dropletNozzleDiameterRatio ( 0.4 ); + sprayAngle ( 10 ); } TABCoeffs { - y0 0.0; - yDot0 0.0; - Cmu 10.0; - Comega 8.0; + y0 0; + yDot0 0; + Cmu 10; + Comega 8; WeCrit 12; } ETABCoeffs { - Cmu 10.0; - Comega 8.0; - WeCrit 12; - k1 0.2; - k2 0.2; - WeTransition 100.0; + Cmu 10; + Comega 8; + WeCrit 12; + k1 0.2; + k2 0.2; + WeTransition 100; } ReitzDiwakarCoeffs @@ -134,45 +122,25 @@ hollowConeInjectorCoeffs { dropletPDF { - //pdfType exponential; pdfType RosinRammler; - RosinRammlerPDF { - minValue 1.00e-6; - maxValue 1.50e-4; - - d - ( - 1.5e-4 - ); - - n - ( - 3 - ); + minValue 1e-06; + maxValue 0.00015; + d ( 0.00015 ); + n ( 3 ); } + exponentialPDF { - minValue 1.0e-4; - maxValue 1.0e-3; - - lambda - ( - 1.0e+4 - ); + minValue 0.0001; + maxValue 0.001; + lambda ( 10000 ); } } - innerConeAngle - ( - 0.0 - ); - - outerConeAngle - ( - 20.0 - ); + innerConeAngle ( 0 ); + outerConeAngle ( 20 ); } reflectCoeffs @@ -180,4 +148,5 @@ reflectCoeffs elasticity 0.9; } + // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/thermophysicalProperties b/tutorials/combustion/dieselFoam/aachenBomb/constant/thermophysicalProperties index e23158128b165f52bcb9ba3b2ecab702c7958931..24238233850126a97429b47c579583a711ef9122 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/thermophysicalProperties +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/thermophysicalProperties @@ -2,34 +2,33 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; - object thermodynamicProperties; + location "constant"; + object thermophysicalProperties; } -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -thermoType hMixtureThermo<reactingMixture>; +thermoType hMixtureThermo<reactingMixture>; -CHEMKINFile "$FOAM_CASE/chemkin/chem.inp"; -// We use the central thermo data: -CHEMKINThermoFile "~OpenFOAM/thermoData/therm.dat"; +CHEMKINFile "$FOAM_CASE/chemkin/chem.inp"; + +CHEMKINThermoFile "~OpenFOAM/thermoData/therm.dat"; inertSpecie N2; -liquidComponents -( - C7H16 -); +liquidComponents ( C7H16 ); liquidProperties { - C7H16 C7H16 defaultCoeffs; + C7H16 C7H16 defaultCoeffs; } -/*********************************************************************/ + +// ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/turbulenceProperties b/tutorials/combustion/dieselFoam/aachenBomb/constant/turbulenceProperties index 3d7edb19ec66c1c26b6664664224c0f170d99c91..88ce3d1bc49c6e53d2c8455270909d32de538506 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/turbulenceProperties +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/turbulenceProperties @@ -2,18 +2,20 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -simulationType RASModel; +simulationType RASModel; + // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/system/controlDict b/tutorials/combustion/dieselFoam/aachenBomb/system/controlDict index 951d757ff8aae1c119347b3faf588293f5dc8482..081c1d7369f1702ed1c0ce20445896c9889b8def 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/system/controlDict +++ b/tutorials/combustion/dieselFoam/aachenBomb/system/controlDict @@ -2,49 +2,50 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +startFrom startTime; -startFrom startTime; +startTime 0; -startTime 0; +stopAt endTime; -stopAt endTime; +endTime 0.01; -endTime 0.01; +deltaT 2.5e-06; -deltaT 2.5e-06; +writeControl adjustableRunTime; -writeControl adjustableRunTime; +writeInterval 5e-05; -writeInterval 5.0e-5; +purgeWrite 0; -purgeWrite 0; +writeFormat binary; -writeFormat binary; +writePrecision 6; -writePrecision 6; +writeCompression uncompressed; -writeCompression uncompressed; +timeFormat general; -timeFormat general; +timePrecision 6; -timePrecision 6; +adjustTimeStep yes; -adjustTimeStep yes; +maxCo 0.1; -maxCo 0.1; +runTimeModifiable yes; -runTimeModifiable yes; // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/system/fvSchemes b/tutorials/combustion/dieselFoam/aachenBomb/system/fvSchemes index e3033a80a284c72263d9a48843633853511667c3..5ed3bb30fa8c7dc529bb44900d8f2dbd2c181f0c 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/system/fvSchemes +++ b/tutorials/combustion/dieselFoam/aachenBomb/system/fvSchemes @@ -2,21 +2,22 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -27,31 +28,26 @@ gradSchemes divSchemes { - default none; - div(phi,rho) Gauss limitedLinear 1; - div(phi,U) Gauss limitedLinearV 1; - div(phiU,p) Gauss linear; - div(phi,k) Gauss limitedLinear 1; + default none; + div(phi,rho) Gauss limitedLinear 1; + div(phi,U) Gauss limitedLinearV 1; + div(phiU,p) Gauss linear; + div(phi,k) Gauss limitedLinear 1; div(phi,epsilon) Gauss limitedLinear 1; - div(phi,Yi_h) Gauss upwind; - div(phi,fu_ft_h) Gauss multivariateSelection - { - fu limitedLinear 1; - ft limitedLinear 1; - h limitedLinear 1; - }; + div(phi,Yi_h) Gauss upwind; + div(phi,fu_ft_h) Gauss multivariateSelection { fu limitedLinear 1 ; ft limitedLinear 1 ; h limitedLinear 1 ; }; div((muEff*dev2(grad(U).T()))) Gauss linear; } laplacianSchemes { - default Gauss linear corrected; - laplacian(muEff,U) Gauss linear corrected; - laplacian(muEff,ft) Gauss linear corrected; - laplacian(muEff,fu) Gauss linear corrected; + default Gauss linear corrected; + laplacian(muEff,U) Gauss linear corrected; + laplacian(muEff,ft) Gauss linear corrected; + laplacian(muEff,fu) Gauss linear corrected; laplacian(((alphah*mut)+alpha),h) Gauss linear corrected; laplacian((rho|A(U)),p) Gauss linear corrected; - laplacian(rhoD,k) Gauss linear corrected; + laplacian(rhoD,k) Gauss linear corrected; laplacian(rhoD,epsilon) Gauss linear corrected; } @@ -68,7 +64,8 @@ snGradSchemes fluxRequired { - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/system/fvSolution b/tutorials/combustion/dieselFoam/aachenBomb/system/fvSolution index 3183443d6e5b2ec36b2026dd79ff502416332082..6c09239a76c4ad32d881b9721b0ee445555e5451 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/system/fvSolution +++ b/tutorials/combustion/dieselFoam/aachenBomb/system/fvSolution @@ -2,14 +2,15 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,53 +19,59 @@ solvers { rho { - solver PCG; - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + U { - solver PBiCG; - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + p { - solver PCG; - preconditioner DIC; - tolerance 1e-09; - relTol 0; - }; + solver PCG; + preconditioner DIC; + tolerance 1e-09; + relTol 0; + } + Yi { - solver PBiCG; - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + h { - solver PBiCG; - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + k { - solver PBiCG; - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + epsilon { - solver PBiCG; - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } } PISO @@ -73,4 +80,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/constant/RASProperties b/tutorials/combustion/engineFoam/kivaTest/constant/RASProperties index 6236e36490ffd60b82bc269893149846196f477f..62bcf8bb7155662932d3e2550af5bd866b54cc4e 100644 --- a/tutorials/combustion/engineFoam/kivaTest/constant/RASProperties +++ b/tutorials/combustion/engineFoam/kivaTest/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,73 +27,74 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 0; - alphah 1.111; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 0; + alphah 1.111; + alphak 1; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 -0.33; - alphah 1; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/constant/combustionProperties b/tutorials/combustion/engineFoam/kivaTest/constant/combustionProperties index 1b0c9a791675a8a1279b4cda2e12450da7ec4d6e..e79c47968c2a081bc18aa782829f3de42dc1020f 100644 --- a/tutorials/combustion/engineFoam/kivaTest/constant/combustionProperties +++ b/tutorials/combustion/engineFoam/kivaTest/constant/combustionProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object combustionProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,21 +19,21 @@ laminarFlameSpeedCorrelation Gulders; fuel IsoOctane; -Su Su [0 1 -1 0 0 0 0] 0; +Su Su [ 0 1 -1 0 0 0 0 ] 0; SuModel unstrained; -equivalenceRatio equivalenceRatio [0 0 0 0 0 0 0] 1; +equivalenceRatio equivalenceRatio [ 0 0 0 0 0 0 0 ] 1; -sigmaExt sigmaExt [0 0 -1 0 0 0 0] 100000; +sigmaExt sigmaExt [ 0 0 -1 0 0 0 0 ] 100000; XiModel transport; -XiCoef XiCoef [0 0 0 0 0 0 0] 0.62; +XiCoef XiCoef [ 0 0 0 0 0 0 0 ] 0.62; -XiShapeCoef XiShapeCoef [0 0 0 0 0 0 0] 1; +XiShapeCoef XiShapeCoef [ 0 0 0 0 0 0 0 ] 1; -uPrimeCoef uPrimeCoef [0 0 0 0 0 0 0] 1; +uPrimeCoef uPrimeCoef [ 0 0 0 0 0 0 0 ] 1; GuldersCoeffs { @@ -45,6 +46,7 @@ GuldersCoeffs beta -0.5; f 2.3; } + Propane { W 0.446; @@ -54,6 +56,7 @@ GuldersCoeffs beta -0.2; f 2.3; } + IsoOctane { W 0.4658; @@ -69,7 +72,6 @@ ignite yes; ignitionSites ( - { location (0.03 0 0.091); diameter 0.002; @@ -79,11 +81,13 @@ ignitionSites } ); -ignitionSphereFraction 1.0; +ignitionSphereFraction 1; + +ignitionThickness ignitionThickness [ 0 1 0 0 0 0 0 ] 0; + +ignitionCircleFraction 1; -ignitionThickness ignitionThickness [0 1 0 0 0 0 0] 0; -ignitionCircleFraction 1; +ignitionKernelArea ignitionKernelArea [ 0 2 0 0 0 0 0 ] 0; -ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0; // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/constant/engineGeometry b/tutorials/combustion/engineFoam/kivaTest/constant/engineGeometry index 4b8dc36854fd7611b07d34f799777089bb190380..2ed448b1dd2c924e7abed172f8de5ecbcce74de6 100644 --- a/tutorials/combustion/engineFoam/kivaTest/constant/engineGeometry +++ b/tutorials/combustion/engineFoam/kivaTest/constant/engineGeometry @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,20 +10,22 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object engineGeometry; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // engineMesh layered; -conRodLength conRodLength [0 1 0 0 0 0 0] 0.147; +conRodLength conRodLength [ 0 1 0 0 0 0 0 ] 0.147; -bore bore [0 1 0 0 0 0 0] 0.092; +bore bore [ 0 1 0 0 0 0 0 ] 0.092; -stroke stroke [0 1 0 0 0 0 0] 0.08423; +stroke stroke [ 0 1 0 0 0 0 0 ] 0.08423; -clearance clearance [0 1 0 0 0 0 0] 0.00115; +clearance clearance [ 0 1 0 0 0 0 0 ] 0.00115; + +rpm rpm [ 0 0 -1 0 0 0 0 ] 1500; -rpm rpm [0 0 -1 0 0 0 0] 1500; // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/constant/environmentalProperties b/tutorials/combustion/engineFoam/kivaTest/constant/environmentalProperties index ca80af21ee6180ad2667f0efe40c92ac5df7ee7a..645c9af09920faa00dce17c1d3a52689e877a1f0 100644 --- a/tutorials/combustion/engineFoam/kivaTest/constant/environmentalProperties +++ b/tutorials/combustion/engineFoam/kivaTest/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 0 ); + // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/constant/thermophysicalProperties b/tutorials/combustion/engineFoam/kivaTest/constant/thermophysicalProperties index a45a851b18c1f948471aa2a3aaf2299e447ae9a7..493713c379c8a3d5c75c3b8344a57b0a557cf1b7 100644 --- a/tutorials/combustion/engineFoam/kivaTest/constant/thermophysicalProperties +++ b/tutorials/combustion/engineFoam/kivaTest/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType hhuMixtureThermo<inhomogeneousMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>; -stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 15.0336; +stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [ 0 0 0 0 0 0 0 ] 15.0336; fuel fuel 1 114.23 298.15 5000 1000 19.3963 0.0488137 -1.55798e-05 2.17831e-09 -1.08391e-13 -37133.9 -78.8531 0.429357 0.0765769 8.41306e-06 -5.86603e-08 2.79414e-11 -30446.4 25.6735 1.67212e-06 170.672; @@ -28,4 +29,5 @@ products products 1 28.8478 298.15 5000 1000 3.10156 0.00124723 -4.2071e- burntProducts burntProducts 1 28.6068 200 6000 1000 3.12468 0.00178578 -5.94695e-07 9.09801e-11 -5.1246e-15 -11005.8 5.03593 3.47612 0.000758205 -3.68739e-07 1.3449e-09 -8.08868e-13 -11071.5 3.3058 1.67212e-06 170.672; + // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/system/controlDict b/tutorials/combustion/engineFoam/kivaTest/system/controlDict index ba6351bc7c82956eb660e048c9329eb90aa56d63..359d4d135af67717be49fb54cd02cb64b8b16c58 100644 --- a/tutorials/combustion/engineFoam/kivaTest/system/controlDict +++ b/tutorials/combustion/engineFoam/kivaTest/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime -180; @@ -43,10 +43,11 @@ timePrecision 6; runTimeModifiable yes; -adjustTimeStep no; +adjustTimeStep no; + +maxCo 0.2; -maxCo 0.2; +maxDeltaT 1; -maxDeltaT 1.0; // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/system/controlDict.1st b/tutorials/combustion/engineFoam/kivaTest/system/controlDict.1st index d3c9a998580fcf3bcab63c2431f57d94d7b39a5a..2ae209cb5f6c44f1723423ec922326436a2e7b58 100644 --- a/tutorials/combustion/engineFoam/kivaTest/system/controlDict.1st +++ b/tutorials/combustion/engineFoam/kivaTest/system/controlDict.1st @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,7 +10,8 @@ FoamFile version 2.0; format ascii; class dictionary; - object controlDict; + location "system"; + object controlDict.1st; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -44,10 +45,11 @@ timePrecision 6; runTimeModifiable yes; -adjustTimeStep no; +adjustTimeStep no; -maxCo 0.2; +maxCo 0.2; + +maxDeltaT 1; -maxDeltaT 1.0; // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/system/controlDict.2nd b/tutorials/combustion/engineFoam/kivaTest/system/controlDict.2nd index ea956c0093c9bae32147672a73b834bda88da912..4ec457ba621ecb9818bb93a61fbb1521df2123c0 100644 --- a/tutorials/combustion/engineFoam/kivaTest/system/controlDict.2nd +++ b/tutorials/combustion/engineFoam/kivaTest/system/controlDict.2nd @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,7 +10,8 @@ FoamFile version 2.0; format ascii; class dictionary; - object controlDict; + location "system"; + object controlDict.2nd; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -44,10 +45,11 @@ timePrecision 6; runTimeModifiable yes; -adjustTimeStep no; +adjustTimeStep no; -maxCo 0.2; +maxCo 0.2; + +maxDeltaT 1; -maxDeltaT 1.0; // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/system/fvSchemes b/tutorials/combustion/engineFoam/kivaTest/system/fvSchemes index 9d7fa7421b5960ff9c0a2083fa02816d1c15c281..98d6c3c3587a84e2d5818daa8ee3cfd6c377f54b 100644 --- a/tutorials/combustion/engineFoam/kivaTest/system/fvSchemes +++ b/tutorials/combustion/engineFoam/kivaTest/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -38,14 +39,7 @@ divSchemes div(phiXi,Xi) Gauss upwind; div(phiXi,Su) Gauss upwind; div(phiSt,b) Gauss limitedLinear01 1; - div(phi,ft_b_h_hu) Gauss multivariateSelection - { - fu limitedLinear01 1; - ft limitedLinear01 1; - b limitedLinear01 1; - h limitedLinear 1; - hu limitedLinear 1; - }; + div(phi,ft_b_h_hu) Gauss multivariateSelection { fu limitedLinear01 1 ; ft limitedLinear01 1 ; b limitedLinear01 1 ; h limitedLinear 1 ; hu limitedLinear 1 ; }; div(U) Gauss linear; div((Su*grad(b))) Gauss linear; div((U+((Su*Xi)*grad(b)))) Gauss linear; @@ -79,7 +73,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/system/fvSolution b/tutorials/combustion/engineFoam/kivaTest/system/fvSolution index 42e0957d1797174b7c84bf242b16d9efe5ca95e9..a940d2ad893f84a455b731fb30a02c24df13cb44 100644 --- a/tutorials/combustion/engineFoam/kivaTest/system/fvSolution +++ b/tutorials/combustion/engineFoam/kivaTest/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,90 +10,116 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho PCG + rho { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - p PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - ft PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + ft { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - fu PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + fu { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - b PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + b { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Xi PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Xi { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Su PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Su { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - h PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - hu PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + hu { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -104,4 +130,5 @@ PISO fluxGradp no; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/constant/thermophysicalProperties b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/constant/thermophysicalProperties index 1eb45d2f887017b6d382c8f05d7bc4f31bbd0643..9081551c6f6942e27458d17f287b256ba4c3ea2f 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,4 +19,5 @@ thermoType hThermo<pureMixture<sutherlandTransport<specieThermo<hConstTherm mixture air 1 28.96 1004.5 0 1.458e-06 110.4; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/controlDict b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/controlDict index 70f03d15925f55913994872c59d52e361af4c787..3652392f931e44ead8522270601cc88878ca3aa0 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -42,10 +43,9 @@ timePrecision 6; adjustTimeStep yes; -//maxCo 3.0; -//maxCo 0.5; maxCo 0.5; maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/decomposeParDict b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/decomposeParDict index 136e30e842934411390dfbfdf320947543e3ed2d..26630d1b853934e05d20da3386ed146b19be22ad 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/decomposeParDict +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,38 +10,31 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 8; -//numberOfSubdomains 16; method simple; simpleCoeffs { - n (8 1 1); -// n (16 1 1); + n ( 8 1 1 ); delta 0.001; } hierarchicalCoeffs { - n (1 1 1); + n ( 1 1 1 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -51,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/fvSchemes b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/fvSchemes index 56ca99dbd2def552e7e71b13ea4ceb6bc631d9d0..af6b9b8917cbb93c7db15c4d733ee3b0f95c7cd6 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/fvSchemes +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -fluxScheme Kurganov; +fluxScheme Kurganov; ddtSchemes { @@ -29,7 +30,7 @@ gradSchemes divSchemes { default none; - div(tauMC) Gauss linear; + div(tauMC) Gauss linear; } laplacianSchemes @@ -39,10 +40,10 @@ laplacianSchemes interpolationSchemes { - default linear; - reconstruct(rho) vanLeer; - reconstruct(U) vanLeerV; - reconstruct(T) vanLeer; + default linear; + reconstruct(rho) vanLeer; + reconstruct(U) vanLeerV; + reconstruct(T) vanLeer; } snGradSchemes @@ -50,4 +51,5 @@ snGradSchemes default corrected; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/fvSolution b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/fvSolution index 2724db01971b9a2a3e0b902c1396d190b6728433..f662540afe6dccda4d07ed90a41e720f1bcffb4b 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/fvSolution +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,31 +10,45 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho diagonal {}; - rhoU diagonal {}; - rhoE diagonal {}; + rho + { + solver diagonal; + } + + rhoU + { + solver diagonal; + } - U smoothSolver + rhoE { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-10; - relTol 0; - }; + solver diagonal; + } - h smoothSolver + U { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-10 - relTol 0; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-10; + relTol 0; + } + + h + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-10 relTol 0; + } } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/mapFieldsDict b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/mapFieldsDict index c7529e911320cc7f723e97cf7f33d9484ea2f12e..a44b53188650987b0c7e97d1600d17a9d1af7fbc 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/mapFieldsDict +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/mapFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,16 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object mapFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -patchMap -( -); +patchMap ( ); + +cuttingPatches ( ); -cuttingPatches -( -); // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/sampleDict b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/sampleDict index ac12dd2d470d13603368991d223a1136836b682b..39efd421b7d3cdcf9ba43f7ad9aa5e9976df61fc 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/sampleDict +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/sampleDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,40 +19,9 @@ interpolationScheme cellPointFace; writeFormat raw; -sampleSets -( - face - { - name cone25; - axis x; - start ( 0.0 0.0 0.0); - end ( 92.08087e-03 42.939e-03 0.0); - nPoints 92; - } +sampleSets ( face { name cone25 ; axis x ; start ( 0 0 0 ) ; end ( 0.09208087 0.042939 0 ) ; nPoints 92 ; } face { name cone55 ; axis x ; start ( 0.09208087 0.042939 0 ) ; end ( 0.153683 0.13092 0 ) ; nPoints 61 ; } face { name base ; axis x ; start ( 0.153683 0.13092 0 ) ; end ( 0.193675 0.13092 0 ) ; nPoints 40 ; } ); - face - { - name cone55; - axis x; - start ( 92.08087e-03 42.939e-03 0.0); - end ( 153.6830e-03 130.92e-03 0.0); - nPoints 61; - } +fields ( p wallHeatTransRate ); - face - { - name base; - axis x; - start ( 153.6830e-03 130.92e-03 0.0); - end ( 193.6750e-03 130.92e-03 0.0); - nPoints 40; - } -); - -fields -( - p - wallHeatTransRate -); // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/constant/thermophysicalProperties b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/constant/thermophysicalProperties index 9aba58cb038b8ccbbf93515944784dd7df4d2639..a4d934aeb2e5b8a50cb0e200272cff6f61f4483d 100644 --- a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,37 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -Pr Pr [0 0 0 0 0 0 0] 0.72; +Pr Pr [ 0 0 0 0 0 0 0 ] 0.72; thermoType hThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>; -//thermoType hThermo<pureMixture<blottnerTransport<specieThermo<janafThermo<perfectGas>>>>>; -// Replacates constThermo (Cp = const) -/* -mixture N2 - 1 28.01348 - 0 10000 1000 - 3.5 0 0 0 0 0 0 - 3.5 0 0 0 0 0 0 -// 3.5 0 0 0 0 -1043.52 0 -// 3.5 0 0 0 0 -1043.52 0 -// 0.0268142 0.3177838 -11.3155513; // Blottner - 1.458e-06 110; // Sutherland -*/ -// janafThermo +mixture N2 1 28.01348 100 10000 1000 2.9525407 0.0013968838 -4.9262577e-07 7.8600091e-11 -4.6074978e-15 -923.93753 5.8718221 3.5309628 -0.0001236595 -5.0299339e-07 2.4352768e-09 -1.4087954e-12 -1046.9637 2.9674391 1.458e-06 110; -mixture N2 - 1 28.01348 - 100 10000 1000 - 2.9525407 0.0013968838 -4.9262577e-07 7.8600091e-11 -4.6074978e-15 - -923.93753 5.8718221 - 3.5309628 -0.0001236595 -5.0299339e-07 2.4352768e-09 -1.4087954e-12 - -1046.9637 2.9674391 -// 0.0268142 0.3177838 -11.3155513; // Blottner - 1.458e-06 110; // Sutherland // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/controlDict b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/controlDict index c8548cf1713c1ad3f9caa801598ac2890591c47f..b2f7a332955eac9adad0d9c16b9bc61e7a0fefd9 100644 --- a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -46,4 +47,5 @@ maxCo 0.5; maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/fvSchemes b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/fvSchemes index feda8725dbfb40e30a2cc15a3d033e728d5d453b..af6b9b8917cbb93c7db15c4d733ee3b0f95c7cd6 100644 --- a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/fvSchemes +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//fluxScheme Tadmor; // KT -fluxScheme Kurganov; // KNP +fluxScheme Kurganov; ddtSchemes { @@ -30,7 +30,7 @@ gradSchemes divSchemes { default none; - div(tauMC) Gauss linear; + div(tauMC) Gauss linear; } laplacianSchemes @@ -40,13 +40,10 @@ laplacianSchemes interpolationSchemes { - default linear; + default linear; reconstruct(rho) vanLeer; - reconstruct(U) vanLeerV; - reconstruct(T) vanLeer; -// reconstruct(rho) upwind; -// reconstruct(U) upwind; -// reconstruct(T) upwind; + reconstruct(U) vanLeerV; + reconstruct(T) vanLeer; } snGradSchemes @@ -54,4 +51,5 @@ snGradSchemes default corrected; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/fvSolution b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/fvSolution index c2802217add0d6d447e6f8cf5db13b3d75cdd839..bcef97326917a073e5efd0a29b25c0658b325810 100644 --- a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/fvSolution +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,31 +10,45 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho diagonal {}; - rhoU diagonal {}; - rhoE diagonal {}; + rho + { + solver diagonal; + } + + rhoU + { + solver diagonal; + } - U smoothSolver + rhoE { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-09; - relTol 0.01; - }; + solver diagonal; + } - h smoothSolver + U { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-09 - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-09; + relTol 0.01; + } + + h + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-09 relTol 0.1; + } } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/sampleDict b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/sampleDict index f8a45e93a247fb6a930232d2b75c40298ee24ff8..d578a3cadd806453a97ffcffaa1d26d6822c92a4 100644 --- a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/sampleDict +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/system/sampleDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,50 +10,22 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // interpolationScheme cellPointFace; -setFormat raw; -surfaceFormat vtk; - -sets -( - cone25 - { - type face; - axis x; - start ( 0.0 0.0 0.0); - end ( 92.08087e-03 42.939e-03 0.0); - nPoints 92; - } - - cone55 - { - type face; - axis x; - start ( 92.08087e-03 42.939e-03 0.0); - end ( 153.6830e-03 130.92e-03 0.0); - nPoints 61; - } - - base - { - type face; - axis x; - start ( 153.6830e-03 130.92e-03 0.0); - end ( 193.6750e-03 130.92e-03 0.0); - nPoints 40; - } -); - -surfaces (); - -fields -( - p - wallHeatTransRate -); + +setFormat raw; + +surfaceFormat vtk; + +sets ( cone25 { type face ; axis x ; start ( 0 0 0 ) ; end ( 0.09208087 0.042939 0 ) ; nPoints 92 ; } cone55 { type face ; axis x ; start ( 0.09208087 0.042939 0 ) ; end ( 0.153683 0.13092 0 ) ; nPoints 61 ; } base { type face ; axis x ; start ( 0.153683 0.13092 0 ) ; end ( 0.193675 0.13092 0 ) ; nPoints 40 ; } ); + +surfaces ( ); + +fields ( p wallHeatTransRate ); + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/forwardStep/constant/thermophysicalProperties b/tutorials/compressible/rhoCentralFoam/forwardStep/constant/thermophysicalProperties index 86b760a58ee443d41c085e19a5d33049cd8f8937..841a143c18ed9bb76e2fa5d864cbdf9ca93fed50 100644 --- a/tutorials/compressible/rhoCentralFoam/forwardStep/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoCentralFoam/forwardStep/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; -mixture normalisedGas 1 11640.3 2.5 0.0 0.0 1.0; +mixture normalisedGas 1 11640.3 2.5 0 0 1; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict b/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict index 6f0806d91782f8d7aa9f42318aa65789c156f71f..8b725998eda188d44583f528aafe0335f2a80bde 100644 --- a/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -42,10 +43,11 @@ timePrecision 6; runTimeModifiable yes; -adjustTimeStep yes; +adjustTimeStep yes; -maxCo 0.2; +maxCo 0.2; + +maxDeltaT 1; -maxDeltaT 1; // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/forwardStep/system/fvSchemes b/tutorials/compressible/rhoCentralFoam/forwardStep/system/fvSchemes index eb9e787aef58f1aa73259c7252c6786c2ef7fa68..af6b9b8917cbb93c7db15c4d733ee3b0f95c7cd6 100644 --- a/tutorials/compressible/rhoCentralFoam/forwardStep/system/fvSchemes +++ b/tutorials/compressible/rhoCentralFoam/forwardStep/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//fluxScheme Tadmor; // KT -fluxScheme Kurganov; // KNP +fluxScheme Kurganov; ddtSchemes { @@ -30,7 +30,7 @@ gradSchemes divSchemes { default none; - div(tauMC) Gauss linear; + div(tauMC) Gauss linear; } laplacianSchemes @@ -40,13 +40,10 @@ laplacianSchemes interpolationSchemes { - default linear; - reconstruct(rho) vanLeer; - reconstruct(U) vanLeerV; - reconstruct(T) vanLeer; -// reconstruct(rho) upwind; -// reconstruct(U) upwind; -// reconstruct(T) upwind; + default linear; + reconstruct(rho) vanLeer; + reconstruct(U) vanLeerV; + reconstruct(T) vanLeer; } snGradSchemes @@ -54,4 +51,5 @@ snGradSchemes default corrected; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/forwardStep/system/fvSolution b/tutorials/compressible/rhoCentralFoam/forwardStep/system/fvSolution index 19baedc7b222ac2c0ad111907257688caba2cbc6..ed875f376e1556d0b8dd2da773d785e2868bed5d 100644 --- a/tutorials/compressible/rhoCentralFoam/forwardStep/system/fvSolution +++ b/tutorials/compressible/rhoCentralFoam/forwardStep/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,31 +10,45 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho diagonal {}; - rhoU diagonal {}; - rhoE diagonal {}; + rho + { + solver diagonal; + } + + rhoU + { + solver diagonal; + } - U smoothSolver + rhoE { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-09; - relTol 0.01; - }; + solver diagonal; + } - h smoothSolver + U { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-10 - relTol 0; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-09; + relTol 0.01; + } + + h + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-10 relTol 0; + } } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/obliqueShock/constant/thermophysicalProperties b/tutorials/compressible/rhoCentralFoam/obliqueShock/constant/thermophysicalProperties index 86b760a58ee443d41c085e19a5d33049cd8f8937..841a143c18ed9bb76e2fa5d864cbdf9ca93fed50 100644 --- a/tutorials/compressible/rhoCentralFoam/obliqueShock/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoCentralFoam/obliqueShock/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; -mixture normalisedGas 1 11640.3 2.5 0.0 0.0 1.0; +mixture normalisedGas 1 11640.3 2.5 0 0 1; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/obliqueShock/system/controlDict b/tutorials/compressible/rhoCentralFoam/obliqueShock/system/controlDict index d5385089b9f456c55835fc5ee302edc0f7f68c3f..5fa869b4cd25c11e9403eee9512bbf2379e26e7f 100644 --- a/tutorials/compressible/rhoCentralFoam/obliqueShock/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/obliqueShock/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -51,4 +51,5 @@ maxCo 0.2; maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/obliqueShock/system/fvSchemes b/tutorials/compressible/rhoCentralFoam/obliqueShock/system/fvSchemes index eb9e787aef58f1aa73259c7252c6786c2ef7fa68..af6b9b8917cbb93c7db15c4d733ee3b0f95c7cd6 100644 --- a/tutorials/compressible/rhoCentralFoam/obliqueShock/system/fvSchemes +++ b/tutorials/compressible/rhoCentralFoam/obliqueShock/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//fluxScheme Tadmor; // KT -fluxScheme Kurganov; // KNP +fluxScheme Kurganov; ddtSchemes { @@ -30,7 +30,7 @@ gradSchemes divSchemes { default none; - div(tauMC) Gauss linear; + div(tauMC) Gauss linear; } laplacianSchemes @@ -40,13 +40,10 @@ laplacianSchemes interpolationSchemes { - default linear; - reconstruct(rho) vanLeer; - reconstruct(U) vanLeerV; - reconstruct(T) vanLeer; -// reconstruct(rho) upwind; -// reconstruct(U) upwind; -// reconstruct(T) upwind; + default linear; + reconstruct(rho) vanLeer; + reconstruct(U) vanLeerV; + reconstruct(T) vanLeer; } snGradSchemes @@ -54,4 +51,5 @@ snGradSchemes default corrected; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/obliqueShock/system/fvSolution b/tutorials/compressible/rhoCentralFoam/obliqueShock/system/fvSolution index 19baedc7b222ac2c0ad111907257688caba2cbc6..ed875f376e1556d0b8dd2da773d785e2868bed5d 100644 --- a/tutorials/compressible/rhoCentralFoam/obliqueShock/system/fvSolution +++ b/tutorials/compressible/rhoCentralFoam/obliqueShock/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,31 +10,45 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho diagonal {}; - rhoU diagonal {}; - rhoE diagonal {}; + rho + { + solver diagonal; + } + + rhoU + { + solver diagonal; + } - U smoothSolver + rhoE { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-09; - relTol 0.01; - }; + solver diagonal; + } - h smoothSolver + U { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-10 - relTol 0; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-09; + relTol 0.01; + } + + h + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-10 relTol 0; + } } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/constant/thermophysicalProperties b/tutorials/compressible/rhoCentralFoam/shockTube/constant/thermophysicalProperties index 32f2bf50c61523cbc92cd9afc1ade2baa43b4817..919fec0ceab7d526193af6520876a6a75fe08f7a 100644 --- a/tutorials/compressible/rhoCentralFoam/shockTube/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoCentralFoam/shockTube/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; -mixture air 1 28.96 1004.5 2.544e+06 0.0 1.0; +mixture air 1 28.96 1004.5 2.544e+06 0 1; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/system/controlDict b/tutorials/compressible/rhoCentralFoam/shockTube/system/controlDict index 38434ebd6fbf28789e6116d60a0ad349eee12ff4..37f10188677b87b112eca4a9a65bf90cdd8a3c76 100644 --- a/tutorials/compressible/rhoCentralFoam/shockTube/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/shockTube/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,43 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +startFrom startTime; -startFrom startTime; +startTime 0; -startTime 0; +stopAt endTime; -stopAt endTime; +endTime 0.007; -endTime 0.007; +deltaT 1e-06; -deltaT 1e-06; +writeControl adjustableRunTime; -writeControl adjustableRunTime; +writeInterval 0.001; -writeInterval 0.001; +cycleWrite 0; -cycleWrite 0; +writeFormat ascii; -writeFormat ascii; - -writePrecision 6; +writePrecision 6; writeCompression uncompressed; -timeFormat general; +timeFormat general; -timePrecision 6; +timePrecision 6; runTimeModifiable yes; -adjustTimeStep yes; +adjustTimeStep yes; + +maxCo 0.2; -maxCo 0.2; +maxDeltaT 1; -maxDeltaT 1; // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/system/fvSchemes b/tutorials/compressible/rhoCentralFoam/shockTube/system/fvSchemes index 8bf05386b7d04b0b7a54712155fc6de00fe80426..af6b9b8917cbb93c7db15c4d733ee3b0f95c7cd6 100644 --- a/tutorials/compressible/rhoCentralFoam/shockTube/system/fvSchemes +++ b/tutorials/compressible/rhoCentralFoam/shockTube/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -fluxScheme Kurganov; +fluxScheme Kurganov; ddtSchemes { @@ -29,7 +30,7 @@ gradSchemes divSchemes { default none; - div(tauMC) Gauss linear; + div(tauMC) Gauss linear; } laplacianSchemes @@ -39,10 +40,10 @@ laplacianSchemes interpolationSchemes { - default linear; + default linear; reconstruct(rho) vanLeer; - reconstruct(U) vanLeerV; - reconstruct(T) vanLeer; + reconstruct(U) vanLeerV; + reconstruct(T) vanLeer; } snGradSchemes @@ -50,4 +51,5 @@ snGradSchemes default corrected; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/system/fvSolution b/tutorials/compressible/rhoCentralFoam/shockTube/system/fvSolution index 19baedc7b222ac2c0ad111907257688caba2cbc6..ed875f376e1556d0b8dd2da773d785e2868bed5d 100644 --- a/tutorials/compressible/rhoCentralFoam/shockTube/system/fvSolution +++ b/tutorials/compressible/rhoCentralFoam/shockTube/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,31 +10,45 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho diagonal {}; - rhoU diagonal {}; - rhoE diagonal {}; + rho + { + solver diagonal; + } + + rhoU + { + solver diagonal; + } - U smoothSolver + rhoE { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-09; - relTol 0.01; - }; + solver diagonal; + } - h smoothSolver + U { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-10 - relTol 0; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-09; + relTol 0.01; + } + + h + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-10 relTol 0; + } } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/system/sampleDict b/tutorials/compressible/rhoCentralFoam/shockTube/system/sampleDict index 460a73553cce2771b8db0b26c4d12ed4a28fbaba..d8e4f7301d62fdcb2de27a553192f4c058f8a394 100644 --- a/tutorials/compressible/rhoCentralFoam/shockTube/system/sampleDict +++ b/tutorials/compressible/rhoCentralFoam/shockTube/system/sampleDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,31 +10,22 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // interpolationScheme cellPoint; -setFormat raw; -surfaceFormat vtk; - -sets -( - line - { - type face; - axis x; - start (-5 0 0); - end ( 5 0 0); - nPoints 100; - } -); - -surfaces (); - -fields -( - p U.component(0) T rho -); + +setFormat raw; + +surfaceFormat vtk; + +sets ( line { type face ; axis x ; start ( -5 0 0 ) ; end ( 5 0 0 ) ; nPoints 100 ; } ); + +surfaces ( ); + +fields ( p U.component(0) T rho ); + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/system/setFieldsDict b/tutorials/compressible/rhoCentralFoam/shockTube/system/setFieldsDict index 83d5d1949f882e06edebc5978d5fd1e41b8a95e1..2bc209827558629de80b0cfdaa06243e57599789 100644 --- a/tutorials/compressible/rhoCentralFoam/shockTube/system/setFieldsDict +++ b/tutorials/compressible/rhoCentralFoam/shockTube/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,29 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volVectorFieldValue U (0 0 0) - volScalarFieldValue T 348.43206 - volScalarFieldValue p 1.0e+5 -); +defaultFieldValues ( volVectorFieldValue U ( 0 0 0 ) volScalarFieldValue T 348.432 volScalarFieldValue p 100000 ); -regions -( - boxToCell - { - box (0 -1 -1) (5 1 1); +regions ( boxToCell { box ( 0 -1 -1 ) ( 5 1 1 ) ; fieldValues ( volScalarFieldValue T 278.746 volScalarFieldValue p 10000 ) ; } ); - fieldValues - ( - volScalarFieldValue T 278.74564 - volScalarFieldValue p 1.0e+4 - ); - } -); // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/wedge15Ma5/constant/thermophysicalProperties b/tutorials/compressible/rhoCentralFoam/wedge15Ma5/constant/thermophysicalProperties index 86b760a58ee443d41c085e19a5d33049cd8f8937..841a143c18ed9bb76e2fa5d864cbdf9ca93fed50 100644 --- a/tutorials/compressible/rhoCentralFoam/wedge15Ma5/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoCentralFoam/wedge15Ma5/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; -mixture normalisedGas 1 11640.3 2.5 0.0 0.0 1.0; +mixture normalisedGas 1 11640.3 2.5 0 0 1; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/controlDict b/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/controlDict index 301694b88c4e9d42cf37bde9bbc9115f9a5c1fe4..a65835e8058cacae3f5dd00aea77d33923ae6fc6 100644 --- a/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -23,7 +23,7 @@ stopAt endTime; endTime 0.2; -deltaT 1e-04; +deltaT 0.0001; writeControl runTime; @@ -45,8 +45,9 @@ runTimeModifiable yes; adjustTimeStep no; -maxCo 1.0; +maxCo 1; maxDeltaT 1e-06; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/fvSchemes b/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/fvSchemes index 56ca99dbd2def552e7e71b13ea4ceb6bc631d9d0..af6b9b8917cbb93c7db15c4d733ee3b0f95c7cd6 100644 --- a/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/fvSchemes +++ b/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -fluxScheme Kurganov; +fluxScheme Kurganov; ddtSchemes { @@ -29,7 +30,7 @@ gradSchemes divSchemes { default none; - div(tauMC) Gauss linear; + div(tauMC) Gauss linear; } laplacianSchemes @@ -39,10 +40,10 @@ laplacianSchemes interpolationSchemes { - default linear; - reconstruct(rho) vanLeer; - reconstruct(U) vanLeerV; - reconstruct(T) vanLeer; + default linear; + reconstruct(rho) vanLeer; + reconstruct(U) vanLeerV; + reconstruct(T) vanLeer; } snGradSchemes @@ -50,4 +51,5 @@ snGradSchemes default corrected; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/fvSolution b/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/fvSolution index 19baedc7b222ac2c0ad111907257688caba2cbc6..ed875f376e1556d0b8dd2da773d785e2868bed5d 100644 --- a/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/fvSolution +++ b/tutorials/compressible/rhoCentralFoam/wedge15Ma5/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,31 +10,45 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho diagonal {}; - rhoU diagonal {}; - rhoE diagonal {}; + rho + { + solver diagonal; + } + + rhoU + { + solver diagonal; + } - U smoothSolver + rhoE { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-09; - relTol 0.01; - }; + solver diagonal; + } - h smoothSolver + U { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-10 - relTol 0; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-09; + relTol 0.01; + } + + h + { + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-10 relTol 0; + } } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/RASProperties b/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/RASProperties index 1af73fab26762603c5d1b4ed7a2d9cb5212a7290..26216fcde0621aa1c526ab843d2825da511d520a 100644 --- a/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/RASProperties +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,73 +27,74 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 -0.33; - alphah 1; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/porousZones b/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/porousZones index 0570df39482527988f963e81f1324bbbb4002ff5..e5104d4460fd3a1e63101d61253102a296bad289 100644 --- a/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/porousZones +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/porousZones @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object porousZones; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/thermophysicalProperties b/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/thermophysicalProperties index c38497facbe89fb9aafe6aa6309fe10dd752c5b4..bd1a6c1f0496c414f331f2d0c1357fd1918e36a8 100644 --- a/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,19 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + thermoType hThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>>; -mixture - air 1 28.9 // specieThermo - 1007 0 // hConstThermo -// 1.84766e-05 0.7 // constTransport - 300K -// 2.68477e-05 0.7 // constTransport - 500K -// 3.93094e-05 0.7 // constTransport - 900K - 1.4792e-06 116 // sutherlandTransport (Star-CD) -// 1.4584e-06 110.33 // sutherlandTransport (European Space Agency) -; +mixture air 1 28.9 1007 0 1.4792e-06 116; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/system/controlDict b/tutorials/compressible/rhoPimpleFoam/angledDuct/system/controlDict index 3924b69fcc5eeea0fa23e981c4a86f4dfb21486e..d7d107cf4c4b0f542d2fcd260553be94e5d5930e 100644 --- a/tutorials/compressible/rhoPimpleFoam/angledDuct/system/controlDict +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -49,4 +49,5 @@ maxCo 10; maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/system/fvSchemes b/tutorials/compressible/rhoPimpleFoam/angledDuct/system/fvSchemes index 3eb78297f75d1b7efafdb69e654a430e3d64518d..2d98eef357cbb0dde60f3940903e6e152c2787c2 100644 --- a/tutorials/compressible/rhoPimpleFoam/angledDuct/system/fvSchemes +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -28,7 +29,6 @@ gradSchemes divSchemes { default none; - div(phi,U) Gauss upwind; div(phid,p) Gauss upwind; div(phiU,p) Gauss linear; @@ -37,7 +37,6 @@ divSchemes div(phi,epsilon) Gauss upwind; div(phi,R) Gauss upwind; div(phi,omega) Gauss upwind; - div((rho*R)) Gauss linear; div(R) Gauss linear; div(U) Gauss linear; @@ -47,7 +46,6 @@ divSchemes laplacianSchemes { default none; - laplacian(muEff,U) Gauss linear corrected; laplacian(mut,U) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; @@ -71,8 +69,8 @@ snGradSchemes fluxRequired { default no; - - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/angledDuct/system/fvSolution b/tutorials/compressible/rhoPimpleFoam/angledDuct/system/fvSolution index bdf27a66c4598d19e4eca414f5864c1394b13907..41749badafb7d4950c7c4239cfb8aee61724a34b 100644 --- a/tutorials/compressible/rhoPimpleFoam/angledDuct/system/fvSolution +++ b/tutorials/compressible/rhoPimpleFoam/angledDuct/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,98 +10,120 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho PCG + rho { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - UFinal PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + UFinal { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - p PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0.01; - }; - pFinal PCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.01; + } + + pFinal { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - h PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - hFinal PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + hFinal { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - omega PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + omega { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PIMPLE { - nOuterCorrectors 50; - nCorrectors 1; + nOuterCorrectors 50; + nCorrectors 1; nNonOrthogonalCorrectors 0; momentumPredictor yes; - - pMin pMin [1 -1 -2 0 0 0 0] 1000; + pMin pMin [ 1 -1 -2 0 0 0 0 ] 1000; } relaxationFactors { - U 0.7; - p 0.3; - rho 0.05; - h 0.7; - k 0.7; - omega 0.7; + U 0.7; + p 0.3; + rho 0.05; + h 0.7; + k 0.7; + omega 0.7; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/constant/LESProperties b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/constant/LESProperties index ed200ef229047730da269445b4e38383ef4f92df..25be4174a3fc504065d9065a7ebaf9762690ace8 100644 --- a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/constant/LESProperties +++ b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/constant/LESProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -LESModel oneEqEddy; +LESModel oneEqEddy; -printCoeffs on; +printCoeffs on; -delta cubeRootVol; +delta cubeRootVol; laminarCoeffs { @@ -26,34 +27,34 @@ laminarCoeffs oneEqEddyCoeffs { - ce 1.048; - ck 0.094; + ce 1.048; + ck 0.094; } dynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } lowReOneEqEddyCoeffs { - ck 0.07; - ce 1.05; - beta 0.01; + ck 0.07; + ce 1.05; + beta 0.01; } SmagorinskyCoeffs { - ck 0.02; - ce 0.202; + ck 0.02; + ce 0.202; } DeardorffDiffStressCoeffs { - ce 1.048; - ck 0.094; - cm 4.13; + ce 1.048; + ck 0.094; + cm 4.13; } cubeRootVolCoeffs @@ -68,6 +69,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -75,9 +77,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -87,6 +91,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -94,10 +99,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -107,14 +114,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/constant/thermophysicalProperties b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/constant/thermophysicalProperties index 7eb3ee5b9f430e1429510ce0cf7063914b1f4f41..7f85f2afd5e60654d526bf686b5f4f2819841dab 100644 --- a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,4 +19,5 @@ thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<per mixture air 1 28.9 1000 0 1.8e-05 0.7; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/controlDict b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/controlDict index a5870996dd1b84b595517af4ba98625a49f07b9a..c211c964aefdc8369964f2503d0b64a66cd65771 100644 --- a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/controlDict +++ b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -47,33 +47,28 @@ functions ( fieldAverage1 { - // Type of functionObject type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - + functionObjectLibs ( "libfieldFunctionObjects.so" ); enabled true; - outputControl outputTime; - - // Fields to be averaged - runTime modifiable fields ( U { - mean on; - prime2Mean on; - base time; + mean on; + prime2Mean on; + base time; } + p { - mean on; - prime2Mean on; - base time; + mean on; + prime2Mean on; + base time; } ); } ); + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/fvSchemes b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/fvSchemes index fc4a469b4641d33bc1565bbaf7d800a7ca596517..feb54a18766defb301663362d68bff1ae409c81b 100644 --- a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/fvSchemes +++ b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default backward; + default backward; } gradSchemes @@ -35,7 +36,6 @@ divSchemes div(phi,k) Gauss limitedLinear 1; div(phi,B) Gauss limitedLinear 1; div(phi,muTilda) Gauss limitedLinear 1; - div(B) Gauss linear; div((muEff*dev2(grad(U).T()))) Gauss linear; } @@ -65,7 +65,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/fvSolution b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/fvSolution index 7eb6ca186d85ff5c654dc3a9b2a26b2b3a47bbcb..601b3a8901c63faa9d482074b01e96fa85ddc183 100644 --- a/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/fvSolution +++ b/tutorials/compressible/rhoPisoFoam/les/pitzDaily/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,54 +10,68 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho PCG + rho { - preconditioner DIC; - tolerance 1e-6; - relTol 0; - }; - h PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-6; - relTol 0; - }; - p PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - B PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + B { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -66,4 +80,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/constant/RASProperties b/tutorials/compressible/rhoPisoFoam/ras/cavity/constant/RASProperties index 00297d2d13ed93d7bd8a09a3e4a0843189b3cc65..15184ba185eeec5496fdf68cd9236f4120a7b634 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/constant/RASProperties +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,164 +10,108 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Turbulence model selection -RASModel kOmegaSST; //kEpsilon; +RASModel kOmegaSST; -// Do you wish to calculate turbulence? -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; -// Laminar model coefficients laminarCoeffs { } -// Standard k-epsilon model coefficients kEpsilonCoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // C3 - C3 -0.33; - // alphah - alphah 1; - // alphak - alphak 1; - // alphaEps - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } -// RNG k-epsilon model coefficients RNGkEpsilonCoeffs { - // Cmu - Cmu 0.0845; - // C1 - C1 1.42; - // C2 - C2 1.68; - // C3 - C3 -0.33; - // alphah - alphah 1; - // alphak - alphak 1.39; - // alphaEps - alphaEps 1.39; - // eta0 - eta0 4.38; - // beta - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } -// Launder-Sharma low Reynolds number k-epsilon model coefficients LaunderSharmaKECoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // C3 - C3 -0.33; - // alphah - alphah 1; - // alphak - alphak 1; - // alphaEps - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } -// Launder-Reece-Rodi RSTM with wall functions model coefficients LRRCoeffs { - // Cmu - Cmu 0.09; - // Clrr1 - Clrr1 1.8; - // Clrr2 - Clrr2 0.6; - // C1 - C1 1.44; - // C2 - C2 1.92; - // Cs - Cs 0.25; - // Ceps - Ceps 0.15; - // alphah - alphah 1; - // alphaEps - alphaEps 0.76923; - // alphaR - alphaR 1.22; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } -// Launder-Gibson RSTM with wall reflection and wall functions model coefficients LaunderGibsonRSTMCoeffs { - // Cmu - Cmu 0.09; - // Clg1 - Clg1 1.8; - // Clg2 - Clg2 0.6; - // C1 - C1 1.44; - // C2 - C2 1.92; - // C1Ref - C1Ref 0.5; - // C2Ref - C2Ref 0.3; - // Cs - Cs 0.25; - // Ceps - Ceps 0.15; - // alphah - alphah 1; - // alphaEps - alphaEps 0.76923; - // alphaR - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } kOmegaSSTCoeffs { - alphaK1 0.85034; - alphaK2 1.0; - alphaOmega1 0.5; - alphaOmega2 0.85616; - gamma1 0.5532; - gamma2 0.4403; - beta1 0.0750; - beta2 0.0828; - betaStar 0.09; - a1 0.31; - c1 10; - - Cmu 0.09; - - alphah 1; + alphaK1 0.85034; + alphaK2 1; + alphaOmega1 0.5; + alphaOmega2 0.85616; + gamma1 0.5532; + gamma2 0.4403; + beta1 0.075; + beta2 0.0828; + betaStar 0.09; + a1 0.31; + c1 10; + Cmu 0.09; + alphah 1; } -// Wall function coefficients wallFunctionCoeffs { - // kappa - kappa 0.4187; - // E - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/constant/thermophysicalProperties b/tutorials/compressible/rhoPisoFoam/ras/cavity/constant/thermophysicalProperties index 0b16fbae765198099571a7abfe177e43e63ebe07..d02b85fec4397d8da50129dd6d2374b56619abe6 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Thermophysical model thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; mixture air 1 28.9 1007 0 1.84e-05 0.7; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/system/controlDict b/tutorials/compressible/rhoPisoFoam/ras/cavity/system/controlDict index be7feda05dc9a744cf538743ec7aedc6df1a31df..c90f2db15f74ed64f0b2e84d71466a6852614bbf 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/system/controlDict +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,61 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Foam Application Class - -// Start point of run startFrom startTime; -// Calculation start time startTime 0; -// End point of run stopAt endTime; -// Calculation end time endTime 1; -// Calculation time step deltaT 0.01; -// Type of write output control writeControl runTime; -// Interval with which the results are output writeInterval 0.1; -// Limits number of time directories before overwriting purgeWrite 0; -// Write Format writeFormat ascii; -// Significant figures of written ASCII data writePrecision 6; -// Write Compression writeCompression uncompressed; -// Time directories name format timeFormat general; -// Decimal precision of time directory names timePrecision 6; -// Can parameters be modified during run time? runTimeModifiable yes; -// Automatic adjustment of time step? adjustTimeStep no; -// maxCo maxCo 0.3; -// maxDeltaT maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/system/fvSchemes b/tutorials/compressible/rhoPisoFoam/ras/cavity/system/fvSchemes index 27cf1a8bee994e6ed5ed42cd9b41e3fbbddc1a69..ce82f9337bcc43d36956f786df045a15e938733f 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/system/fvSchemes +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,29 +10,24 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Time derivative discretisation schemes ddtSchemes { - // Default scheme default Euler; } -// Gradient discretisation schemes gradSchemes { - // Default gradient scheme default Gauss linear; grad(p) Gauss linear; } -// Convection discretisation schemes divSchemes { - // Default scheme default none; div(phi,U) Gauss limitedLinearV 1; div(phid,p) Gauss limitedLinear 1; @@ -48,10 +43,8 @@ divSchemes div((muEff*dev2(grad(U).T()))) Gauss linear; } -// Laplacian discretisation schemes laplacianSchemes { - // Default scheme default none; laplacian(muEff,U) Gauss linear corrected; laplacian(mut,U) Gauss linear corrected; @@ -63,26 +56,21 @@ laplacianSchemes laplacian(alphaEff,h) Gauss linear corrected; } -// Interpolation schemes interpolationSchemes { - // Default scheme default linear; } -// Surface normal gradient schemes snGradSchemes { - // Default scheme default corrected; } -// Calculation of flux fluxRequired { - // Create storage for flux for all solved variables? default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/system/fvSolution b/tutorials/compressible/rhoPisoFoam/ras/cavity/system/fvSolution index d362358b0266145382eeff3d80dd181473f38dd9..2d540c81d3fa7e3e9f0f879a472e2f07442e1169 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/system/fvSolution +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,78 +10,84 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - // Solver for the rho equation - rho PCG + rho { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; - // Solver for the U equation - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - // Solver for the p equation - p PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - // Solver for the h equation - h PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - // Solver for the R equation - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - // Solver for the k equation - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - // Solver for the epsilon equation - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - // Solver for the omega equation - omega PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + omega { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO { - // Number of PISO correctors nCorrectors 2; - // Number of non-orthogonal correctors nNonOrthogonalCorrectors 0; - // momentumPredictor? momentumPredictor yes; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/controlDict b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/controlDict index 691db89a86f361d2ae2ca4ed9bb939e03eb452ca..23e7202b524bf7bf7a221df42cb5deea33a3e8d0 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/controlDict +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -45,4 +45,5 @@ graphFormat raw; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/fvSchemes b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/fvSchemes index 049181279310db33fc6dd5c9507bfdb8f4b501e4..5a36eadc4b4f2f8282e9553d8731154b5605c9c9 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/fvSchemes +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,80 +10,60 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes { - default Gauss linear; - // UEqn - grad(U) Gauss linear; - grad(p) Gauss linear; + default Gauss linear; + grad(U) Gauss linear; + grad(p) Gauss linear; } divSchemes { - //- default Gauss upwind; - // UEqn - div(phi,U) Gauss upwind; - div((muEff*dev2(grad(U).T()))) Gauss linear; - // hEqn - div(phi,h) Gauss upwind; - // epsilonEqn - div(phi,epsilon) Gauss upwind; - // kEqn - div(phi,k) Gauss upwind; - - // experimental - div(phid,p) Gauss linear; + div(phi,U) Gauss upwind; + div((muEff*dev2(grad(U).T()))) Gauss linear; + div(phi,h) Gauss upwind; + div(phi,epsilon) Gauss upwind; + div(phi,k) Gauss upwind; + div(phid,p) Gauss linear; } laplacianSchemes { - //- default Gauss linear corrected; - // UEqn - laplacian(muEff,U) Gauss linear corrected; - - // hEqn - laplacian(alphaEff,h) Gauss linear corrected; - - // pCorrect + laplacian(muEff,U) Gauss linear corrected; + laplacian(alphaEff,h) Gauss linear corrected; laplacian((rho|A(U)),p) Gauss linear corrected; - - laplacian((rho*rAU),p) Gauss linear corrected; - - // epsilonEqn - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - - // kEqn - laplacian(DkEff,k) Gauss linear corrected; - - // potential - laplacian(1,p) Gauss linear corrected; + laplacian((rho*rAU),p) Gauss linear corrected; + laplacian(DepsilonEff,epsilon) Gauss linear corrected; + laplacian(DkEff,k) Gauss linear corrected; + laplacian(1,p) Gauss linear corrected; } interpolationSchemes { - default linear; - // default upwind phi; - div(U,p) upwind phi; + default linear; + div(U,p) upwind phi; } snGradSchemes { - default corrected; + default corrected; } fluxRequired { - default no; - p; + default no; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/fvSolution b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/fvSolution index 83ed3bd9a98d69e76ef4a4891e3148eb1608b08d..337edfcc986aca0a7f703672a36f84bb1013cdff 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/fvSolution +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctExplicit/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,73 +10,76 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p GAMG + p { - tolerance 1e-8; - relTol 0.05; - - smoother GaussSeidel; - + solver GAMG; + tolerance 1e-08; + relTol 0.05; + smoother GaussSeidel; cacheAgglomeration off; - nCellsInCoarsestLevel 20; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - U smoothSolver + U { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-6; - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-06; + relTol 0.1; + } - h PBiCG + h { - preconditioner DILU; - tolerance 1e-6; - relTol 0.1; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0.1; + } - k smoothSolver + k { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-7; - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-07; + relTol 0.1; + } - epsilon smoothSolver + epsilon { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-7; - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-07; + relTol 0.1; + } } SIMPLE { - // nUCorrectors 0; - nNonOrthogonalCorrectors 0; - pMin pMin [1 -1 -2 0 0 0 0] 100; + nNonOrthogonalCorrectors 0; + pMin pMin [ 1 -1 -2 0 0 0 0 ] 100; } relaxationFactors { - p 0.3; - rho 0.05; - U 0.7; - k 0.7; - epsilon 0.7; - h 0.5; + p 0.3; + rho 0.05; + U 0.7; + k 0.7; + epsilon 0.7; + h 0.5; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/RASProperties b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/RASProperties index 1af73fab26762603c5d1b4ed7a2d9cb5212a7290..48bd2ba11798f2e75054f36380ba62c9f1f1628c 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/RASProperties +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/RASProperties @@ -2,23 +2,24 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,73 +27,74 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 -0.33; - alphah 1; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/porousZones b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/porousZones index 0570df39482527988f963e81f1324bbbb4002ff5..e5104d4460fd3a1e63101d61253102a296bad289 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/porousZones +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/porousZones @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object porousZones; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/thermophysicalProperties b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/thermophysicalProperties index c38497facbe89fb9aafe6aa6309fe10dd752c5b4..ab0fa0fe3c8b725dac44909a43c7849d66428e8c 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/thermophysicalProperties @@ -2,27 +2,22 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + thermoType hThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>>; -mixture - air 1 28.9 // specieThermo - 1007 0 // hConstThermo -// 1.84766e-05 0.7 // constTransport - 300K -// 2.68477e-05 0.7 // constTransport - 500K -// 3.93094e-05 0.7 // constTransport - 900K - 1.4792e-06 116 // sutherlandTransport (Star-CD) -// 1.4584e-06 110.33 // sutherlandTransport (European Space Agency) -; +mixture air 1 28.9 1007 0 1.4792e-06 116; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/controlDict b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/controlDict index b354267d9e85882f79c51118a48ea47d26ba024e..85cf9616b921c09b6f2c457f64e704e81944dfac 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/controlDict +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/controlDict @@ -2,19 +2,19 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -45,4 +45,5 @@ graphFormat raw; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/fvSchemes b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/fvSchemes index 1ba8b44722ebc60127039d7bccef2584cdb6c245..d3687aaaf95db4ce57df2672c74ce1cae85bf5c4 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/fvSchemes +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/fvSchemes @@ -2,86 +2,67 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes { - default Gauss linear; - // UEqn - grad(U) Gauss linear; - grad(p) Gauss linear; + default Gauss linear; + grad(U) Gauss linear; + grad(p) Gauss linear; } divSchemes { - //- default Gauss upwind; - // UEqn - div(phi,U) Gauss upwind; - div((muEff*dev2(grad(U).T()))) Gauss linear; - // hEqn - div(phi,h) Gauss upwind; - // epsilonEqn - div(phi,epsilon) Gauss upwind; - // kEqn - div(phi,k) Gauss upwind; - - // experimental - div(phid,p) Gauss linear; + div(phi,U) Gauss upwind; + div((muEff*dev2(grad(U).T()))) Gauss linear; + div(phi,h) Gauss upwind; + div(phi,epsilon) Gauss upwind; + div(phi,k) Gauss upwind; + div(phid,p) Gauss linear; } laplacianSchemes { - //- default Gauss linear corrected; - // UEqn - laplacian(muEff,U) Gauss linear corrected; - - // hEqn - laplacian(alphaEff,h) Gauss linear corrected; - - // pCorrect + laplacian(muEff,U) Gauss linear corrected; + laplacian(alphaEff,h) Gauss linear corrected; laplacian((rho*rAU),p) Gauss linear corrected; - - // epsilonEqn - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - - // kEqn - laplacian(DkEff,k) Gauss linear corrected; - - // potential - laplacian(1,p) Gauss linear corrected; + laplacian(DepsilonEff,epsilon) Gauss linear corrected; + laplacian(DkEff,k) Gauss linear corrected; + laplacian(1,p) Gauss linear corrected; } interpolationSchemes { - default linear; - // default upwind phi; - div(U,p) upwind phi; + default linear; + div(U,p) upwind phi; } snGradSchemes { - default corrected; + default corrected; } fluxRequired { - default no; - p; + default no; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/fvSolution b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/fvSolution index 4a459767507a99fe629411e9834e513d57a5890b..fa9e34149b18ea43c9b471372956b51466b685fc 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/fvSolution +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/system/fvSolution @@ -2,73 +2,76 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p GAMG + p { - tolerance 1e-8; - relTol 0.05; - - smoother GaussSeidel; - + solver GAMG; + tolerance 1e-08; + relTol 0.05; + smoother GaussSeidel; cacheAgglomeration off; - nCellsInCoarsestLevel 20; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - h PBiCG + h { - preconditioner DILU; - tolerance 1e-6; - relTol 0.1; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0.1; + } - k smoothSolver + k { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-7; - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-07; + relTol 0.1; + } - epsilon smoothSolver + epsilon { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-7; - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-07; + relTol 0.1; + } } SIMPLE { - nUCorrectors 2; - nNonOrthogonalCorrectors 0; - pMin pMin [1 -1 -2 0 0 0 0] 100; + nUCorrectors 2; + nNonOrthogonalCorrectors 0; + pMin pMin [ 1 -1 -2 0 0 0 0 ] 100; } relaxationFactors { - p 0.3; - rho 1; - U 0.7; - k 0.9; - epsilon 0.9; - h 0.9; + p 0.3; + rho 1; + U 0.7; + k 0.9; + epsilon 0.9; + h 0.9; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/forwardStep/constant/thermodynamicProperties b/tutorials/compressible/rhoSonicFoam/forwardStep/constant/thermodynamicProperties index 06d85de3fda58355e45f9eabd319f9f2d651c046..c6bf31c073b282576473751b3d19f08f877cb84a 100644 --- a/tutorials/compressible/rhoSonicFoam/forwardStep/constant/thermodynamicProperties +++ b/tutorials/compressible/rhoSonicFoam/forwardStep/constant/thermodynamicProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermodynamicProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -Cv Cv [0 2 -2 -1 0 0 0] 1.78571; +Cv Cv [ 0 2 -2 -1 0 0 0 ] 1.78571; + +R R [ 0 2 -2 -1 0 0 0 ] 0.714286; -R R [0 2 -2 -1 0 0 0] 0.714286; // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/forwardStep/system/controlDict b/tutorials/compressible/rhoSonicFoam/forwardStep/system/controlDict index 4a7ac2d55093860131e3519f96fa5623cc787eb8..11edd652c6c9c09c833965be09865c402b673c0b 100644 --- a/tutorials/compressible/rhoSonicFoam/forwardStep/system/controlDict +++ b/tutorials/compressible/rhoSonicFoam/forwardStep/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/forwardStep/system/fvSchemes b/tutorials/compressible/rhoSonicFoam/forwardStep/system/fvSchemes index 2f67c16f8a423b1f3485f5fc85d9213f5b130c23..dce91897e29b2b057db5da19c0a6615f14e7da62 100644 --- a/tutorials/compressible/rhoSonicFoam/forwardStep/system/fvSchemes +++ b/tutorials/compressible/rhoSonicFoam/forwardStep/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -53,7 +54,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/forwardStep/system/fvSolution b/tutorials/compressible/rhoSonicFoam/forwardStep/system/fvSolution index 8275db3d4bdc290fa3d9430970f98a44cd3b9576..d0dcdc1851b1a359a317f7ed65401f8f3157160c 100644 --- a/tutorials/compressible/rhoSonicFoam/forwardStep/system/fvSolution +++ b/tutorials/compressible/rhoSonicFoam/forwardStep/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,36 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PBiCG + p { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rho PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rho { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rhoU PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rhoU { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rhoE PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rhoE { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } } PISO @@ -48,4 +56,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/shockTube/constant/initProperties b/tutorials/compressible/rhoSonicFoam/shockTube/constant/initProperties index f3770d39708fa519cb7d84184928fb6c56b2a152..35229cd9855400a067b0e26013d4a30970e18d73 100644 --- a/tutorials/compressible/rhoSonicFoam/shockTube/constant/initProperties +++ b/tutorials/compressible/rhoSonicFoam/shockTube/constant/initProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,18 +10,24 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object initProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -x0 0 ; +x0 0; -pL 1.0e+5 ; -TL 348.43206 ; -UL ( 0 0 0 ) ; +pL 100000; + +TL 348.432; + +UL ( 0 0 0 ); + +pR 10000; + +TR 278.746; + +UR ( 0 0 0 ); -pR 1.0e+4 ; -TR 278.74564 ; -UR ( 0 0 0 ) ; // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/shockTube/constant/thermodynamicProperties b/tutorials/compressible/rhoSonicFoam/shockTube/constant/thermodynamicProperties index 059e9ca5da5a9c48fadead26dd23cc1f173de03a..99575bf65f9fdb7cb344ff2a4c3b245e342c8b7e 100644 --- a/tutorials/compressible/rhoSonicFoam/shockTube/constant/thermodynamicProperties +++ b/tutorials/compressible/rhoSonicFoam/shockTube/constant/thermodynamicProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermodynamicProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -Cv Cv [0 2 -2 -1 0 0 0] 717.5; +Cv Cv [ 0 2 -2 -1 0 0 0 ] 717.5; + +R R [ 0 2 -2 -1 0 0 0 ] 287; -R R [0 2 -2 -1 0 0 0] 287; // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/shockTube/system/controlDict b/tutorials/compressible/rhoSonicFoam/shockTube/system/controlDict index cf7893b7647e2594cc0ec63d3681a4a5d2a9cb3d..e22c10e25dafecb15adfd5548a95c6ab292b81df 100644 --- a/tutorials/compressible/rhoSonicFoam/shockTube/system/controlDict +++ b/tutorials/compressible/rhoSonicFoam/shockTube/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/shockTube/system/fvSchemes b/tutorials/compressible/rhoSonicFoam/shockTube/system/fvSchemes index 2f67c16f8a423b1f3485f5fc85d9213f5b130c23..dce91897e29b2b057db5da19c0a6615f14e7da62 100644 --- a/tutorials/compressible/rhoSonicFoam/shockTube/system/fvSchemes +++ b/tutorials/compressible/rhoSonicFoam/shockTube/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -53,7 +54,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/shockTube/system/fvSolution b/tutorials/compressible/rhoSonicFoam/shockTube/system/fvSolution index 8275db3d4bdc290fa3d9430970f98a44cd3b9576..d0dcdc1851b1a359a317f7ed65401f8f3157160c 100644 --- a/tutorials/compressible/rhoSonicFoam/shockTube/system/fvSolution +++ b/tutorials/compressible/rhoSonicFoam/shockTube/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,36 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PBiCG + p { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rho PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rho { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rhoU PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rhoU { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rhoE PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rhoE { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } } PISO @@ -48,4 +56,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/shockTube/system/sampleDict b/tutorials/compressible/rhoSonicFoam/shockTube/system/sampleDict index 6e6e27cd9e8df49815edce5c68443a7ffb5946f4..9d71da62e2e4a3822de0ccbc361e2a9631bc88fd 100644 --- a/tutorials/compressible/rhoSonicFoam/shockTube/system/sampleDict +++ b/tutorials/compressible/rhoSonicFoam/shockTube/system/sampleDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,35 +10,20 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // interpolationScheme cellPoint; -setFormat raw; +setFormat raw; -sets -( - data - { - type uniform; +sets ( data { type uniform ; axis x ; start ( -4.995 0 0 ) ; end ( 4.995 0 0 ) ; nPoints 1000 ; } ); - axis x; - start (-4.995 0 0); - end (4.995 0 0); - nPoints 1000; - } -); +surfaces ( ); -surfaces -(); +fields ( T magU p ); -fields -( - T - magU - p -); // ************************************************************************* // diff --git a/tutorials/compressible/rhoSonicFoam/shockTube/system/setFieldsDict b/tutorials/compressible/rhoSonicFoam/shockTube/system/setFieldsDict index 83d5d1949f882e06edebc5978d5fd1e41b8a95e1..2bc209827558629de80b0cfdaa06243e57599789 100644 --- a/tutorials/compressible/rhoSonicFoam/shockTube/system/setFieldsDict +++ b/tutorials/compressible/rhoSonicFoam/shockTube/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,29 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volVectorFieldValue U (0 0 0) - volScalarFieldValue T 348.43206 - volScalarFieldValue p 1.0e+5 -); +defaultFieldValues ( volVectorFieldValue U ( 0 0 0 ) volScalarFieldValue T 348.432 volScalarFieldValue p 100000 ); -regions -( - boxToCell - { - box (0 -1 -1) (5 1 1); +regions ( boxToCell { box ( 0 -1 -1 ) ( 5 1 1 ) ; fieldValues ( volScalarFieldValue T 278.746 volScalarFieldValue p 10000 ) ; } ); - fieldValues - ( - volScalarFieldValue T 278.74564 - volScalarFieldValue p 1.0e+4 - ); - } -); // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/constant/thermodynamicProperties b/tutorials/compressible/rhopSonicFoam/shockTube/constant/thermodynamicProperties index 059e9ca5da5a9c48fadead26dd23cc1f173de03a..99575bf65f9fdb7cb344ff2a4c3b245e342c8b7e 100644 --- a/tutorials/compressible/rhopSonicFoam/shockTube/constant/thermodynamicProperties +++ b/tutorials/compressible/rhopSonicFoam/shockTube/constant/thermodynamicProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermodynamicProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -Cv Cv [0 2 -2 -1 0 0 0] 717.5; +Cv Cv [ 0 2 -2 -1 0 0 0 ] 717.5; + +R R [ 0 2 -2 -1 0 0 0 ] 287; -R R [0 2 -2 -1 0 0 0] 287; // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/system/controlDict b/tutorials/compressible/rhopSonicFoam/shockTube/system/controlDict index dae184a1a5d92b54a7e69c641a1a7db17b3eb1f7..581f82c6b5a8f04290339875c186768ffb0a0aab 100644 --- a/tutorials/compressible/rhopSonicFoam/shockTube/system/controlDict +++ b/tutorials/compressible/rhopSonicFoam/shockTube/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,43 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +startFrom startTime; -startFrom startTime; +startTime 0; -startTime 0; +stopAt endTime; -stopAt endTime; +endTime 0.007; -endTime 0.007; +deltaT 2e-05; -deltaT 2e-05; +writeControl runTime; -writeControl runTime; +writeInterval 0.001; -writeInterval 0.001; +purgeWrite 0; -purgeWrite 0; +writeFormat ascii; -writeFormat ascii; - -writePrecision 6; +writePrecision 6; writeCompression uncompressed; -timeFormat general; +timeFormat general; -timePrecision 6; +timePrecision 6; runTimeModifiable yes; -adjustTimeStep no; +adjustTimeStep no; + +maxCo 0.05; -maxCo 0.05; +maxDeltaT 1; -maxDeltaT 1; // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/system/fvSchemes b/tutorials/compressible/rhopSonicFoam/shockTube/system/fvSchemes index d21dcd7c0de94f041ef2b6e840a2d9dc6cfa4579..6433c7d1b3416844f48437941c0e223cf268bc65 100644 --- a/tutorials/compressible/rhopSonicFoam/shockTube/system/fvSchemes +++ b/tutorials/compressible/rhopSonicFoam/shockTube/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -48,7 +49,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/system/fvSolution b/tutorials/compressible/rhopSonicFoam/shockTube/system/fvSolution index 945f35d9e35d1f745b337fe4e8fa3a15f6d79ae9..e9d281212c082778a400cedbd1ce6b4e0f16664b 100644 --- a/tutorials/compressible/rhopSonicFoam/shockTube/system/fvSolution +++ b/tutorials/compressible/rhopSonicFoam/shockTube/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,49 +10,60 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-15; - relTol 0; - }; - rho PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-15; + relTol 0; + } + + rho { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rhoU PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rhoU { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rhoE PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rhoE { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rhoH PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rhoH { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } } PISO { nOuterCorrectors 3; - nCorrectors 1; - HbyAblend 0.0; + nCorrectors 1; + HbyAblend 0; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/shockTube/system/setFieldsDict b/tutorials/compressible/rhopSonicFoam/shockTube/system/setFieldsDict index 83d5d1949f882e06edebc5978d5fd1e41b8a95e1..2bc209827558629de80b0cfdaa06243e57599789 100644 --- a/tutorials/compressible/rhopSonicFoam/shockTube/system/setFieldsDict +++ b/tutorials/compressible/rhopSonicFoam/shockTube/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,29 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volVectorFieldValue U (0 0 0) - volScalarFieldValue T 348.43206 - volScalarFieldValue p 1.0e+5 -); +defaultFieldValues ( volVectorFieldValue U ( 0 0 0 ) volScalarFieldValue T 348.432 volScalarFieldValue p 100000 ); -regions -( - boxToCell - { - box (0 -1 -1) (5 1 1); +regions ( boxToCell { box ( 0 -1 -1 ) ( 5 1 1 ) ; fieldValues ( volScalarFieldValue T 278.746 volScalarFieldValue p 10000 ) ; } ); - fieldValues - ( - volScalarFieldValue T 278.74564 - volScalarFieldValue p 1.0e+4 - ); - } -); // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/wedge15Ma5/constant/thermodynamicProperties b/tutorials/compressible/rhopSonicFoam/wedge15Ma5/constant/thermodynamicProperties index 06d85de3fda58355e45f9eabd319f9f2d651c046..c6bf31c073b282576473751b3d19f08f877cb84a 100644 --- a/tutorials/compressible/rhopSonicFoam/wedge15Ma5/constant/thermodynamicProperties +++ b/tutorials/compressible/rhopSonicFoam/wedge15Ma5/constant/thermodynamicProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermodynamicProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -Cv Cv [0 2 -2 -1 0 0 0] 1.78571; +Cv Cv [ 0 2 -2 -1 0 0 0 ] 1.78571; + +R R [ 0 2 -2 -1 0 0 0 ] 0.714286; -R R [0 2 -2 -1 0 0 0] 0.714286; // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/controlDict b/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/controlDict index 301694b88c4e9d42cf37bde9bbc9115f9a5c1fe4..a65835e8058cacae3f5dd00aea77d33923ae6fc6 100644 --- a/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/controlDict +++ b/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -23,7 +23,7 @@ stopAt endTime; endTime 0.2; -deltaT 1e-04; +deltaT 0.0001; writeControl runTime; @@ -45,8 +45,9 @@ runTimeModifiable yes; adjustTimeStep no; -maxCo 1.0; +maxCo 1; maxDeltaT 1e-06; + // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/fvSchemes b/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/fvSchemes index ad2e2bb1e579b344e3d13f8b44ee24e256d33974..e849daf6ed8c42df7dd3eaea450e984d079be76a 100644 --- a/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/fvSchemes +++ b/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,14 +10,15 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; -} + default Euler; +} gradSchemes { @@ -32,7 +33,7 @@ divSchemes laplacianSchemes { - default Gauss linear corrected; + default Gauss linear corrected; } interpolationSchemes @@ -48,7 +49,8 @@ snGradSchemes fluxRequired { default yes; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/fvSolution b/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/fvSolution index c0d4b7c2e77aaf98c4ebffd1c9570cce6a6934f7..e3d198e89e9dc29e0d69692040e5e76ba66c454f 100644 --- a/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/fvSolution +++ b/tutorials/compressible/rhopSonicFoam/wedge15Ma5/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,49 +10,60 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-15; - relTol 0; - }; - rho PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-15; + relTol 0; + } + + rho { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rhoU PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rhoU { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rhoE PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rhoE { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rhoH PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rhoH { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } } PISO { nOuterCorrectors 2; - nCorrectors 2; - HbyAblend 0.95; + nCorrectors 2; + HbyAblend 0.95; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/forwardStep/constant/thermodynamicProperties b/tutorials/compressible/sonicFoam/laminar/forwardStep/constant/thermodynamicProperties index 06d85de3fda58355e45f9eabd319f9f2d651c046..c6bf31c073b282576473751b3d19f08f877cb84a 100644 --- a/tutorials/compressible/sonicFoam/laminar/forwardStep/constant/thermodynamicProperties +++ b/tutorials/compressible/sonicFoam/laminar/forwardStep/constant/thermodynamicProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermodynamicProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -Cv Cv [0 2 -2 -1 0 0 0] 1.78571; +Cv Cv [ 0 2 -2 -1 0 0 0 ] 1.78571; + +R R [ 0 2 -2 -1 0 0 0 ] 0.714286; -R R [0 2 -2 -1 0 0 0] 0.714286; // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/forwardStep/constant/transportProperties b/tutorials/compressible/sonicFoam/laminar/forwardStep/constant/transportProperties index d6a0c72beb79a6e3582b1d20a89231d32b1000e4..1e9d5be60c285c2403250e1961ee8d1552dd14a8 100644 --- a/tutorials/compressible/sonicFoam/laminar/forwardStep/constant/transportProperties +++ b/tutorials/compressible/sonicFoam/laminar/forwardStep/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -mu mu [1 -1 -1 0 0 0 0] 0; +mu mu [ 1 -1 -1 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/forwardStep/system/controlDict b/tutorials/compressible/sonicFoam/laminar/forwardStep/system/controlDict index be42312415b2ef6708bb457a4b7580bca3474579..7bf4401d7dc6cfdc49795305e50df03056e69d07 100644 --- a/tutorials/compressible/sonicFoam/laminar/forwardStep/system/controlDict +++ b/tutorials/compressible/sonicFoam/laminar/forwardStep/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/forwardStep/system/fvSchemes b/tutorials/compressible/sonicFoam/laminar/forwardStep/system/fvSchemes index 45bb66da3a4159384d8fa6ec5d268536f3276401..1c36c50aa67708935b325763ac50f49fc7fc4a44 100644 --- a/tutorials/compressible/sonicFoam/laminar/forwardStep/system/fvSchemes +++ b/tutorials/compressible/sonicFoam/laminar/forwardStep/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -55,7 +56,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/forwardStep/system/fvSolution b/tutorials/compressible/sonicFoam/laminar/forwardStep/system/fvSolution index 478fdf91384ce5ddbd82fc62846d526552a62b83..bc954e2aa217f9196b8c2351f788ccfed6fafc0f 100644 --- a/tutorials/compressible/sonicFoam/laminar/forwardStep/system/fvSolution +++ b/tutorials/compressible/sonicFoam/laminar/forwardStep/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,36 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PBiCG + p { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - rho PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + rho { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; - e PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } + + e { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -48,4 +56,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/constant/thermodynamicProperties b/tutorials/compressible/sonicFoam/laminar/shockTube/constant/thermodynamicProperties index 059e9ca5da5a9c48fadead26dd23cc1f173de03a..99575bf65f9fdb7cb344ff2a4c3b245e342c8b7e 100644 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/constant/thermodynamicProperties +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/constant/thermodynamicProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermodynamicProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -Cv Cv [0 2 -2 -1 0 0 0] 717.5; +Cv Cv [ 0 2 -2 -1 0 0 0 ] 717.5; + +R R [ 0 2 -2 -1 0 0 0 ] 287; -R R [0 2 -2 -1 0 0 0] 287; // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/constant/transportProperties b/tutorials/compressible/sonicFoam/laminar/shockTube/constant/transportProperties index d6a0c72beb79a6e3582b1d20a89231d32b1000e4..1e9d5be60c285c2403250e1961ee8d1552dd14a8 100644 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/constant/transportProperties +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -mu mu [1 -1 -1 0 0 0 0] 0; +mu mu [ 1 -1 -1 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/system/controlDict b/tutorials/compressible/sonicFoam/laminar/shockTube/system/controlDict index cf7893b7647e2594cc0ec63d3681a4a5d2a9cb3d..e22c10e25dafecb15adfd5548a95c6ab292b81df 100644 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/system/controlDict +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/system/fvSchemes b/tutorials/compressible/sonicFoam/laminar/shockTube/system/fvSchemes index efcc5c9ab662d993ee2f416789bc6eba99cdb8cf..deef4abd2614ed5708f90773817385c711ea18e4 100644 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/system/fvSchemes +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -55,7 +56,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/system/fvSolution b/tutorials/compressible/sonicFoam/laminar/shockTube/system/fvSolution index 61c4ec92c4085e79a961f03f49785be000c41b23..1e1334a389f8348a1831d049f0bceb06ab7891c0 100644 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/system/fvSolution +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,36 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PBiCG + p { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - U PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; - rho PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } + + rho { - preconditioner DIC; - tolerance 1e-15; - relTol 0; - }; - e PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-15; + relTol 0; + } + + e { - preconditioner DILU; - tolerance 1e-15; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-15; + relTol 0; + } } PISO @@ -48,4 +56,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/system/sampleDict b/tutorials/compressible/sonicFoam/laminar/shockTube/system/sampleDict index 6e6e27cd9e8df49815edce5c68443a7ffb5946f4..9d71da62e2e4a3822de0ccbc361e2a9631bc88fd 100644 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/system/sampleDict +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/system/sampleDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,35 +10,20 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // interpolationScheme cellPoint; -setFormat raw; +setFormat raw; -sets -( - data - { - type uniform; +sets ( data { type uniform ; axis x ; start ( -4.995 0 0 ) ; end ( 4.995 0 0 ) ; nPoints 1000 ; } ); - axis x; - start (-4.995 0 0); - end (4.995 0 0); - nPoints 1000; - } -); +surfaces ( ); -surfaces -(); +fields ( T magU p ); -fields -( - T - magU - p -); // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/system/setFieldsDict b/tutorials/compressible/sonicFoam/laminar/shockTube/system/setFieldsDict index 83d5d1949f882e06edebc5978d5fd1e41b8a95e1..2bc209827558629de80b0cfdaa06243e57599789 100644 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/system/setFieldsDict +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,29 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volVectorFieldValue U (0 0 0) - volScalarFieldValue T 348.43206 - volScalarFieldValue p 1.0e+5 -); +defaultFieldValues ( volVectorFieldValue U ( 0 0 0 ) volScalarFieldValue T 348.432 volScalarFieldValue p 100000 ); -regions -( - boxToCell - { - box (0 -1 -1) (5 1 1); +regions ( boxToCell { box ( 0 -1 -1 ) ( 5 1 1 ) ; fieldValues ( volScalarFieldValue T 278.746 volScalarFieldValue p 10000 ) ; } ); - fieldValues - ( - volScalarFieldValue T 278.74564 - volScalarFieldValue p 1.0e+4 - ); - } -); // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/RASProperties b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/RASProperties index 2a25f1c02aec638b149a209f3c58ddefc4f0206e..226b420b22c824b9f604219a77865aae3774212b 100644 --- a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/RASProperties +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/RASProperties @@ -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,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel LaunderSharmaKE; +RASModel LaunderSharmaKE; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,73 +27,74 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 -0.33; - alphah 1; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/thermophysicalProperties b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/thermophysicalProperties index 2ac1bd2d596f3cf1769a8cb62c315e1f6efbc9fd..8e15891e509cc2f3819180595b2f41133983d22c 100644 --- a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/thermophysicalProperties +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/thermophysicalProperties @@ -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 dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,4 +19,5 @@ thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<per mixture air 1 28.9 1000 2.544e+06 1.8e-05 0.7; + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/controlDict b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/controlDict index 41047af140f30e70db37ba7d6b0e667058ac49cd..2fe2edf6fac8ee8491494075962c4930ba5bb3af 100644 --- a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/controlDict +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/controlDict @@ -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,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -43,57 +43,7 @@ timePrecision 6; runTimeModifiable yes; -functions -( - //forces - //{ - // type forces; - // functionObjectLibs ("libforces.so"); - // - // // Patches to sample - // patches (WALL10); - // // Name of fields - // pName p; - // UName U; - // // Dump to file - // log true; - // // Density - // rhoInf 1; - // // Centre of rotation - // CofR (0 0 0); - //} - - forces - { - type forceCoeffs; - functionObjectLibs ("libforces.so"); - - // Patches to sample - patches (WALL10); - // Name of fields - pName p; - UName U; - // Dump to file - log true; - // Density - rhoInf 1; - // Centre of rotation - CofR (0 0 0); - - // Direction for lift - liftDir (-0.239733 0.970839 0); - // Direction for drag - dragDir ( 0.970839 0.239733 0); - - // Pitching axis - pitchAxis (0 0 1); - - magUInf 618.022; - - lRef 1.0; - Aref 1.0; - } - -); +functions ( forces { type forceCoeffs ; functionObjectLibs ( "libforces.so" ) ; patches ( WALL10 ) ; pName p ; UName U ; log true ; rhoInf 1 ; CofR ( 0 0 0 ) ; liftDir ( -0.239733 0.970839 0 ) ; dragDir ( 0.970839 0.239733 0 ) ; pitchAxis ( 0 0 1 ) ; magUInf 618.022 ; lRef 1 ; Aref 1 ; } ); + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/fvSchemes b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/fvSchemes index 661348ce32ce8d346f6d5d9ccccd3ae7dc950598..0cab17b88eec287ffaaa417e472a94fefbc2d732 100644 --- a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/fvSchemes +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/fvSchemes @@ -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,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -62,7 +63,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/fvSolution b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/fvSolution index 53380b09c0c4bac36694d4ecbf32bf82761528e7..a1782db6853bdb92132e5fc1a5e57cffb57a091f 100644 --- a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/fvSolution +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/fvSolution @@ -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,54 +10,68 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PBiCG + p { - preconditioner DILU; - tolerance 1e-12; - relTol 0; - }; - rho PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-12; + relTol 0; + } + + rho { - preconditioner DIC; - tolerance 1e-08; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-08; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - h PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } } PISO @@ -66,4 +80,5 @@ PISO nNonOrthogonalCorrectors 2; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/prism/constant/RASProperties b/tutorials/compressible/sonicFoam/ras/prism/constant/RASProperties index 1af73fab26762603c5d1b4ed7a2d9cb5212a7290..26216fcde0621aa1c526ab843d2825da511d520a 100644 --- a/tutorials/compressible/sonicFoam/ras/prism/constant/RASProperties +++ b/tutorials/compressible/sonicFoam/ras/prism/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,73 +27,74 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 -0.33; - alphah 1; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphah 1; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphah 1; + alphaEps 0.76923; + alphaR 1.22; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/prism/constant/thermophysicalProperties b/tutorials/compressible/sonicFoam/ras/prism/constant/thermophysicalProperties index be4fe9207272159ff5a5835ed7f781afe34334b5..754163e2a972e3860710533ee809e51d9c3a99d7 100644 --- a/tutorials/compressible/sonicFoam/ras/prism/constant/thermophysicalProperties +++ b/tutorials/compressible/sonicFoam/ras/prism/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,4 +19,5 @@ thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<per mixture air 1 28.9 1300 2.544e+06 1.84e-05 0.7; + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/prism/system/controlDict b/tutorials/compressible/sonicFoam/ras/prism/system/controlDict index 34291293c0ebe9171282cfc87d9ad3b93245f9fe..ebaf12e75938f8771a6ef2bcdcb2443055f83961 100644 --- a/tutorials/compressible/sonicFoam/ras/prism/system/controlDict +++ b/tutorials/compressible/sonicFoam/ras/prism/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/prism/system/fvSchemes b/tutorials/compressible/sonicFoam/ras/prism/system/fvSchemes index bc68e899f455e75dd7683e39a97eec15d0a13c6a..7b3c03466f4a90b221e27fd07136ba28a964021b 100644 --- a/tutorials/compressible/sonicFoam/ras/prism/system/fvSchemes +++ b/tutorials/compressible/sonicFoam/ras/prism/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -62,7 +63,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/prism/system/fvSolution b/tutorials/compressible/sonicFoam/ras/prism/system/fvSolution index 2e14267da5dcd436bc2b66d27ad5925b22e7eab5..5341a980f476377d047e400880c6756dafccccc2 100644 --- a/tutorials/compressible/sonicFoam/ras/prism/system/fvSolution +++ b/tutorials/compressible/sonicFoam/ras/prism/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,54 +10,68 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PBiCG + p { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - rho PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + rho { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - h PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -66,4 +80,5 @@ PISO nNonOrthogonalCorrectors 2; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicLiquidFoam/decompressionTank/constant/thermodynamicProperties b/tutorials/compressible/sonicLiquidFoam/decompressionTank/constant/thermodynamicProperties index 95d1ebb145b62ea87b5cb0a4a08f0d9cf720b7a9..bb5efe789707d74951c20b26871d819be9d79071 100644 --- a/tutorials/compressible/sonicLiquidFoam/decompressionTank/constant/thermodynamicProperties +++ b/tutorials/compressible/sonicLiquidFoam/decompressionTank/constant/thermodynamicProperties @@ -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,14 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermodynamicProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -rho0 rho0 [1 -3 0 0 0 0 0] 1000; +rho0 rho0 [ 1 -3 0 0 0 0 0 ] 1000; -p0 p0 [1 -1 -2 0 0 0 0] 100000; +p0 p0 [ 1 -1 -2 0 0 0 0 ] 100000; + +psi psi [ 0 -2 2 0 0 0 0 ] 4.54e-07; -psi psi [0 -2 2 0 0 0 0] 4.54e-07; // ************************************************************************* // diff --git a/tutorials/compressible/sonicLiquidFoam/decompressionTank/constant/transportProperties b/tutorials/compressible/sonicLiquidFoam/decompressionTank/constant/transportProperties index 56a02ffaf9f039e3bef4320a1cbed5078f910aa5..21ee6987d63fa523538dfd0405390e6f530383c8 100644 --- a/tutorials/compressible/sonicLiquidFoam/decompressionTank/constant/transportProperties +++ b/tutorials/compressible/sonicLiquidFoam/decompressionTank/constant/transportProperties @@ -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,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -mu mu [1 -1 -1 0 0 0 0] 0.001; +mu mu [ 1 -1 -1 0 0 0 0 ] 0.001; + // ************************************************************************* // diff --git a/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/controlDict b/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/controlDict index f2cc0d0177ce23100a4bf9caa1ba4e99b71ff2c2..8607f0b47efc252c4d31210777dc9fe0a13d050b 100644 --- a/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/controlDict +++ b/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/controlDict @@ -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,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/fvSchemes b/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/fvSchemes index 6c385d2d31ab7c2c0c644674b48b864f1dcff795..d7aad508a2c0d987406d7ab0b34a888da769ac57 100644 --- a/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/fvSchemes +++ b/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/fvSchemes @@ -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,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -52,7 +53,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/fvSolution b/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/fvSolution index 6a88316a18f3c92129f6a46e25edce1f16848e54..0be50bc833f4be1152f334a84da7d8cf4e28b339 100644 --- a/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/fvSolution +++ b/tutorials/compressible/sonicLiquidFoam/decompressionTank/system/fvSolution @@ -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,30 +10,36 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PBiCG + p { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - rho PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + rho { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } } PISO @@ -42,4 +48,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/electromagnetics/electrostaticFoam/chargedWire/constant/physicalProperties b/tutorials/electromagnetics/electrostaticFoam/chargedWire/constant/physicalProperties index b6cc58030c0eb4448cd04f41b5db2cead26c8c26..922738868c442a17e365d11aa40cd9e746229fa0 100644 --- a/tutorials/electromagnetics/electrostaticFoam/chargedWire/constant/physicalProperties +++ b/tutorials/electromagnetics/electrostaticFoam/chargedWire/constant/physicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object physicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -epsilon0 epsilon0 [-1 -3 4 0 0 2 0] 8.85419e-12; +epsilon0 epsilon0 [ -1 -3 4 0 0 2 0 ] 8.85419e-12; + +k k [ -1 0 2 0 0 1 0 ] 0.00016; -k k [-1 0 2 0 0 1 0] 0.00016; // ************************************************************************* // diff --git a/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/controlDict b/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/controlDict index 7c2f3213b79c680ce2eebca320f7f98dd047001a..25b59d0c428b0260a7451bc4f2355ed78b15086a 100644 --- a/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/controlDict +++ b/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/fvSchemes b/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/fvSchemes index b29cd97b9cbb406fd41b8956deab524fa7f11893..f1581eecb1c59593764371a78abb765d3b4468eb 100644 --- a/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/fvSchemes +++ b/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -49,7 +50,8 @@ snGradSchemes fluxRequired { default no; - phi; + phi ; } + // ************************************************************************* // diff --git a/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/fvSolution b/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/fvSolution index 5bfe4c6c5a4ab3beb991b13c7dd4924cc821f72c..8200d7d1a1f9b5b8f336970543d22e8cffff9bcf 100644 --- a/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/fvSolution +++ b/tutorials/electromagnetics/electrostaticFoam/chargedWire/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,24 +10,29 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - phi PCG + phi { - preconditioner DIC; - tolerance 1e-08; - relTol 0.2; - }; - rho PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-08; + relTol 0.2; + } + + rho { - preconditioner DILU; - tolerance 1e-08; - relTol 0.2; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0.2; + } } + // ************************************************************************* // diff --git a/tutorials/electromagnetics/mhdFoam/hartmann/constant/polyMesh/boundary b/tutorials/electromagnetics/mhdFoam/hartmann/constant/polyMesh/boundary index 0be28ca2082b6a0b68d2ee50bd36df6db0680dac..6b2eb1756208b4f3348f13fd03b66f67d4835636 100644 --- a/tutorials/electromagnetics/mhdFoam/hartmann/constant/polyMesh/boundary +++ b/tutorials/electromagnetics/mhdFoam/hartmann/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev-8cbffd16687e | +| \\ / O peration | Version: 1.5-8cbffd16687e | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/electromagnetics/mhdFoam/hartmann/constant/transportProperties b/tutorials/electromagnetics/mhdFoam/hartmann/constant/transportProperties index 4466758559e3c6d2fd35ac34819fe69b5654792f..884ea21fed5a2fd076595938fc6f912b708697ca 100644 --- a/tutorials/electromagnetics/mhdFoam/hartmann/constant/transportProperties +++ b/tutorials/electromagnetics/mhdFoam/hartmann/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,16 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -rho rho [1 -3 0 0 0 0 0] 1; +rho rho [ 1 -3 0 0 0 0 0 ] 1; -nu nu [0 2 -1 0 0 0 0] 1; +nu nu [ 0 2 -1 0 0 0 0 ] 1; -mu mu [1 1 -2 0 0 -2 0] 1; +mu mu [ 1 1 -2 0 0 -2 0 ] 1; + +sigma sigma [ -1 -3 3 0 0 2 0 ] 1; -sigma sigma [-1 -3 3 0 0 2 0] 1; // ************************************************************************* // diff --git a/tutorials/electromagnetics/mhdFoam/hartmann/system/controlDict b/tutorials/electromagnetics/mhdFoam/hartmann/system/controlDict index 267187bdbf65f957449ab63638753b485a977c22..4e7c7961eff2eb55c2f6fa412e789155fba80c65 100644 --- a/tutorials/electromagnetics/mhdFoam/hartmann/system/controlDict +++ b/tutorials/electromagnetics/mhdFoam/hartmann/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/electromagnetics/mhdFoam/hartmann/system/fvSchemes b/tutorials/electromagnetics/mhdFoam/hartmann/system/fvSchemes index ac40c59658b97331f5d24c8d168eb261edbbcd37..7a294b277b67cfafe3346b77aa841f95d7c1522b 100644 --- a/tutorials/electromagnetics/mhdFoam/hartmann/system/fvSchemes +++ b/tutorials/electromagnetics/mhdFoam/hartmann/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -59,8 +60,9 @@ snGradSchemes fluxRequired { default no; - p; - pB; + p ; + pB ; } + // ************************************************************************* // diff --git a/tutorials/electromagnetics/mhdFoam/hartmann/system/fvSolution b/tutorials/electromagnetics/mhdFoam/hartmann/system/fvSolution index 89f066f29e7c26ee8ac3e5bcea6c8097186ed90e..bf2138f3d4db95d3e25285b93e63d0d6ab7a1f1c 100644 --- a/tutorials/electromagnetics/mhdFoam/hartmann/system/fvSolution +++ b/tutorials/electromagnetics/mhdFoam/hartmann/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,36 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - B PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + B { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - pB PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + pB { - preconditioner DIC; - tolerance 1e-05; - relTol 0; - }; + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0; + } } PISO @@ -53,4 +61,5 @@ BPISO nCorrectors 3; } + // ************************************************************************* // diff --git a/tutorials/electromagnetics/mhdFoam/hartmann/system/sampleDict b/tutorials/electromagnetics/mhdFoam/hartmann/system/sampleDict index e62120c869735ae45ea76e62cde6f7ae2d551a3b..9fa14b49198962c11fe51b74e772d8fc31102bbd 100644 --- a/tutorials/electromagnetics/mhdFoam/hartmann/system/sampleDict +++ b/tutorials/electromagnetics/mhdFoam/hartmann/system/sampleDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,33 +10,20 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // interpolationScheme cellPoint; -setFormat raw; +setFormat raw; -sets -( - line_centreProfile - { - type uniform; +sets ( line_centreProfile { type uniform ; axis distance ; start ( 10.001 -1 0.01 ) ; end ( 10.001 1 0.01 ) ; nPoints 100 ; } ); - axis distance; - start (10.001 -1 0.01); - end (10.001 1 0.01); - nPoints 100; - } -); +surfaces ( ); -surfaces -(); +fields ( Ux ); -fields -( - Ux -); // ************************************************************************* // diff --git a/tutorials/financial/financialFoam/europeanCall/constant/financialProperties b/tutorials/financial/financialFoam/europeanCall/constant/financialProperties index c6ee52d4f36a00a08e00b5f404e2b099f758181d..d8f847422d7eb94c94e9683f36d6c5fb522d0945 100644 --- a/tutorials/financial/financialFoam/europeanCall/constant/financialProperties +++ b/tutorials/financial/financialFoam/europeanCall/constant/financialProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,20 +10,22 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object financialProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -strike strike [0 1 0 0 0 0 0] 40; +strike strike [ 0 1 0 0 0 0 0 ] 40; -r r [0 0 -1 0 0 0 0] 0.1; +r r [ 0 0 -1 0 0 0 0 ] 0.1; -sigma sigma [0 0 -0.5 0 0 0 0] 0.2; +sigma sigma [ 0 0 -0.5 0 0 0 0 ] 0.2; -s s [0 0 -1 0 0 0 0] 0; +s s [ 0 0 -1 0 0 0 0 ] 0; -xi xi [0 0 -0.5 0 0 0 0] 0.1; +xi xi [ 0 0 -0.5 0 0 0 0 ] 0.1; + +eta eta [ 0 0 0 0 0 0 0 ] 0; -eta eta [0 0 0 0 0 0 0] 0; // ************************************************************************* // diff --git a/tutorials/financial/financialFoam/europeanCall/system/controlDict b/tutorials/financial/financialFoam/europeanCall/system/controlDict index 4cb5448f1deb2a5d31ab8b2809bdb3e37a9eee47..d24c1823498a33eb94e917e50da352a78697a187 100644 --- a/tutorials/financial/financialFoam/europeanCall/system/controlDict +++ b/tutorials/financial/financialFoam/europeanCall/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -45,4 +45,5 @@ runTimeModifiable yes; graphFormat raw; + // ************************************************************************* // diff --git a/tutorials/financial/financialFoam/europeanCall/system/fvSchemes b/tutorials/financial/financialFoam/europeanCall/system/fvSchemes index b0868a0ec4845c9e5752adfd28d0549e06afc9ce..5617eab9d797b666bce5ae8732fed34183ddb101 100644 --- a/tutorials/financial/financialFoam/europeanCall/system/fvSchemes +++ b/tutorials/financial/financialFoam/europeanCall/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -47,4 +48,5 @@ snGradSchemes default corrected; } + // ************************************************************************* // diff --git a/tutorials/financial/financialFoam/europeanCall/system/fvSolution b/tutorials/financial/financialFoam/europeanCall/system/fvSolution index 49b0058c61e48d8abeca849e71f05b69246d5f34..7d17c2314f6f40833cfc7175da805eefb1471743 100644 --- a/tutorials/financial/financialFoam/europeanCall/system/fvSolution +++ b/tutorials/financial/financialFoam/europeanCall/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,18 +10,21 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - V PBiCG + V { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/RASProperties b/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/RASProperties index 5facd481a88eee3338dd6996c0c8c6b64d572e0a..35b5a409f230c180f07469bfe0679cdf00cb419d 100644 --- a/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/RASProperties +++ b/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,73 +27,74 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 0.85; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 0.85; + alphah 1; + alphak 1; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 -0.33; - alphah 1; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - alphah 1; - Cs 0.25; - Ceps 0.15; - alphaR 1; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + alphah 1; + Cs 0.25; + Ceps 0.15; + alphaR 1; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - alphah 1; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaR 1; - alphaEps 0.76923; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + alphah 1; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaR 1; + alphaEps 0.76923; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/environmentalProperties b/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..a866ff549fd799e63d2d6946a66cf3da14d092bd 100644 --- a/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/environmentalProperties +++ b/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/thermophysicalProperties b/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/thermophysicalProperties index 845c425d42fbdc9f9c6738c6d16c3d95c24ed67c..f826516c2ebc44480f764103bbcc05c3f2e83efd 100644 --- a/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/thermophysicalProperties +++ b/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,6 +19,7 @@ thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<per mixture air 1 28.9 1000 0 1.8e-05 0.7; -pRef 1e5; +pRef 100000; + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/turbulenceProperties b/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/turbulenceProperties index 321c08496ae7cbe64b73cb2b6f5b2b172bcc9eaf..b70f6702e4ef7644c20687bce6536c6690720da9 100644 --- a/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/turbulenceProperties +++ b/tutorials/heatTransfer/buoyantFoam/hotRoom/constant/turbulenceProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//simulationType laminar; -simulationType RASModel; -//simulationType LESModel; +simulationType RASModel; // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantFoam/hotRoom/system/controlDict b/tutorials/heatTransfer/buoyantFoam/hotRoom/system/controlDict index 513d5d8d857441f6bd89ea580b71ce538fe98ba5..f413425423be7e5cce874661512daa4f490ec0fb 100644 --- a/tutorials/heatTransfer/buoyantFoam/hotRoom/system/controlDict +++ b/tutorials/heatTransfer/buoyantFoam/hotRoom/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantFoam/hotRoom/system/fvSchemes b/tutorials/heatTransfer/buoyantFoam/hotRoom/system/fvSchemes index fb77a2e8897ded729d1b4c69b2c696918ff05221..1006ba6d1fa7c94161a12979af2b5fd49da985f5 100644 --- a/tutorials/heatTransfer/buoyantFoam/hotRoom/system/fvSchemes +++ b/tutorials/heatTransfer/buoyantFoam/hotRoom/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -60,7 +61,8 @@ snGradSchemes fluxRequired { default no; - pd; + pd ; } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantFoam/hotRoom/system/fvSolution b/tutorials/heatTransfer/buoyantFoam/hotRoom/system/fvSolution index da2b1edf7c20bd0244bdf32c2f02aa68e3303cfe..c7dcb8279da2f8d7c4afc7063a37071da1f38f73 100644 --- a/tutorials/heatTransfer/buoyantFoam/hotRoom/system/fvSolution +++ b/tutorials/heatTransfer/buoyantFoam/hotRoom/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,60 +10,76 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - rho PCG + rho { - preconditioner DIC; - tolerance 0; - relTol 0; - }; - pd PCG + solver PCG; + preconditioner DIC; + tolerance 0; + relTol 0; + } + + pd { - preconditioner DIC; - tolerance 1e-06; - relTol 0.1; - }; - pdFinal PCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.1; + } + + pdFinal { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - h PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -72,4 +88,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/alphat b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/alphat index a413baf8ed52f13df3079e39ad1d827607e1c0ce..3bcb9c03b13cf7d96e3456eabea33e5f6d0ee8e1 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/alphat +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/alphat @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon index 243a852f894cddeea49c2aaf7f81a2e9c1141cb5..fcda1ad91f0555e9302263cb3bc42b7e70960b7a 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon.old b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon.old index f39bcff94273d77d588fdff4411f29c3b2915360..d7f61316978a5d62e73f55f6dbf948d957a00e95 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon.old +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon.old @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k index 1b8a55e1b5900fec1c1b03ce90f5811cdc90a955..93cd1e0334ff778d059a5d6c43fef6b118f39d18 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k.old b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k.old index 6289576d7823dc3408fd1574320cc7e04414940d..1130003c3b067e123df3d3d97a094acc387e6456 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k.old +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k.old @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/mut b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/mut index 64a67eea2ad3b4c701d91ba4507c56d6da4cba4a..fca37fcb40bdec040dd0e57f6fecaebe4c58562c 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/mut +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/mut @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/RASProperties b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/RASProperties index 5facd481a88eee3338dd6996c0c8c6b64d572e0a..35b5a409f230c180f07469bfe0679cdf00cb419d 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/RASProperties +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,73 +27,74 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 0.85; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 0.85; + alphah 1; + alphak 1; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 -0.33; - alphah 1; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - alphah 1; - Cs 0.25; - Ceps 0.15; - alphaR 1; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + alphah 1; + Cs 0.25; + Ceps 0.15; + alphaR 1; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - alphah 1; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaR 1; - alphaEps 0.76923; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + alphah 1; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaR 1; + alphaEps 0.76923; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/environmentalProperties b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..a866ff549fd799e63d2d6946a66cf3da14d092bd 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/environmentalProperties +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/polyMesh/boundary b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/polyMesh/boundary index 9590626e73b22338987ef922d3789c839e0ded3e..d0eb52935f2b14b9b94f41a477063f46188ccf5f 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/polyMesh/boundary +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/thermophysicalProperties b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/thermophysicalProperties index 845c425d42fbdc9f9c6738c6d16c3d95c24ed67c..f826516c2ebc44480f764103bbcc05c3f2e83efd 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/thermophysicalProperties +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,6 +19,7 @@ thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<per mixture air 1 28.9 1000 0 1.8e-05 0.7; -pRef 1e5; +pRef 100000; + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/controlDict b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/controlDict index b29648dddaa5e148ddcae7e6a39a9ecc25d69edb..bfc52cf914e6d70563729bb9790dda8a20daaa70 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/controlDict +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/fvSchemes b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/fvSchemes index 3430f8f76ef8239890f6dbd09d5e1d5b87f9bfad..9dbebd21cbc1a0cd01091dde9e0cbcd63a459855 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/fvSchemes +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes @@ -60,7 +61,8 @@ snGradSchemes fluxRequired { default no; - pd; + pd ; } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/fvSolution b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/fvSolution index fecb215fc68f07a383ae6f755c5b9d484698b597..dfbfd6a27f1d095120342e7f47910f85b53f92c8 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/fvSolution +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,60 +10,72 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pd PCG + pd { - preconditioner DIC; - tolerance 1e-08; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-08; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - h PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + h { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } SIMPLE { nNonOrthogonalCorrectors 0; - pdRefCell 0; - pdRefValue 0; + pdRefCell 0; + pdRefValue 0; } relaxationFactors { - rho 1.0; + rho 1; pd 0.3; U 0.7; h 0.7; @@ -72,4 +84,5 @@ relaxationFactors R 0.7; } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/RASProperties b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/RASProperties index 5facd481a88eee3338dd6996c0c8c6b64d572e0a..35b5a409f230c180f07469bfe0679cdf00cb419d 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/RASProperties +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,73 +27,74 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 0.85; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 0.85; + alphah 1; + alphak 1; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - C3 -0.33; - alphah 1; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + C3 -0.33; + alphah 1; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.33; - alphah 1; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.33; + alphah 1; + alphak 1; + alphaEps 0.76923; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - alphah 1; - Cs 0.25; - Ceps 0.15; - alphaR 1; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + alphah 1; + Cs 0.25; + Ceps 0.15; + alphaR 1; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - alphah 1; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaR 1; - alphaEps 0.76923; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + alphah 1; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaR 1; + alphaEps 0.76923; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/environmentalProperties b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/environmentalProperties index 9c35d375b1e2e74505828be2cbf1eb51a74ea1be..639bd90b066ffdac881dc8722b84c1bf39170e9d 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/environmentalProperties +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 -9.81); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 -9.81 ); + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/radiationProperties b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/radiationProperties index 4ff28e364d3f000529dd4730e5b258f9195aaf40..d8bbfe7f595cd351683a08e8f1d8fe5974ea401d 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/radiationProperties +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/radiationProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; - object environmentalProperties; + location "constant"; + object radiationProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -radiation on; +radiation on; -radiationModel P1; +radiationModel P1; noRadiation { @@ -30,17 +31,18 @@ absorptionEmissionModel constantAbsorptionEmission; constantAbsorptionEmissionCoeffs { - a a [ 0 -1 0 0 0 0 0] 0.5; - e e [ 0 -1 0 0 0 0 0] 0.5; - E E [ 1 -1 -3 0 0 0 0] 0.0; + a a [ 0 -1 0 0 0 0 0 ] 0.5; + e e [ 0 -1 0 0 0 0 0 ] 0.5; + E E [ 1 -1 -3 0 0 0 0 ] 0; } -scatterModel constantScatter; +scatterModel constantScatter; constantScatterCoeffs { - sigma sigma [ 0 -1 0 0 0 0 0] 0.0; - C C [ 0 0 0 0 0 0 0] 0.0; + sigma sigma [ 0 -1 0 0 0 0 0 ] 0; + C C [ 0 0 0 0 0 0 0 ] 0; } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/thermophysicalProperties b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/thermophysicalProperties index 845c425d42fbdc9f9c6738c6d16c3d95c24ed67c..f826516c2ebc44480f764103bbcc05c3f2e83efd 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/thermophysicalProperties +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/thermophysicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -18,6 +19,7 @@ thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<per mixture air 1 28.9 1000 0 1.8e-05 0.7; -pRef 1e5; +pRef 100000; + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/controlDict b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/controlDict index b29648dddaa5e148ddcae7e6a39a9ecc25d69edb..bfc52cf914e6d70563729bb9790dda8a20daaa70 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/controlDict +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/fvSchemes b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/fvSchemes index 248f87defa6c0d2d7c82c720d6c846dbfc5a22d3..2263c0977531361f056a900481ca7409854ed755 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/fvSchemes +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes @@ -61,7 +62,8 @@ snGradSchemes fluxRequired { default no; - pd; + pd ; } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/fvSolution b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/fvSolution index 7bc226e1319e2f74d06c72d5c6356895073f75c0..f6c1f9453a3985e9e77725582bd8f113f91cf78a 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/fvSolution +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,60 +10,72 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pd PCG + pd { - preconditioner DIC; - tolerance 1e-06; - relTol 0.01; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.01; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - h PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + h { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - G PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + G { - preconditioner DIC; - tolerance 1e-05; - relTol 0.1; - }; + solver PCG; + preconditioner DIC; + tolerance 1e-05; + relTol 0.1; + } } SIMPLE { nNonOrthogonalCorrectors 0; - pdRefCell 0; - pdRefValue 0; + pdRefCell 0; + pdRefValue 0; } relaxationFactors { - rho 1.0; + rho 1; pd 0.3; U 0.7; h 0.7; @@ -72,4 +84,5 @@ relaxationFactors G 0.7; } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/polyMesh/boundary b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/polyMesh/boundary index f47b89c7057bfbef2e8933953dec19c3dbc99599..69a0952209dee387ae6cda9212a645086bba6b7a 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/polyMesh/boundary +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/regionProperties b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/regionProperties index bff96505ebefbae96c7c20ceac2628b60edea66b..e72fde91a8b5918e35f833a9997d6ba34d496a92 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/regionProperties +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/regionProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,23 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object regionProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -fluidRegionNames -( - bottomAir - topAir -); +fluidRegionNames ( bottomAir topAir ); -solidRegionNames -( - heater - leftSolid - rightSolid -); +solidRegionNames ( heater leftSolid rightSolid ); + +pRef 100000; -pRef 100000; // ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/controlDict b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/controlDict index 946dee0084cb5f0d655ef16d3f6fd5e78080aeaf..2a5d32fc95549424c2cb293f12ff9656a8daf9c9 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/controlDict +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -26,9 +26,8 @@ endTime 180; deltaT 0.001; writeControl adjustableRunTime; + writeInterval 5; -// writeControl timeStep; -// writeInterval 20; purgeWrite 0; @@ -48,4 +47,5 @@ maxCo 0.3; adjustTimeStep yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/MRFZones b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/MRFZones index 4ac648890f4af2d3b07278dbfd57df74299b8783..7c8989f567d4a9a0e15a45764d33a184b984917d 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/MRFZones +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/MRFZones @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object MRFZones; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/RASProperties b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/RASProperties index a8a3fab2bae274efe4a8ad6fec8d83fbb1825259..36c840062fd1dd27bc791d712469bc3bbc828a37 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/RASProperties +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,166 +27,166 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } kOmegaSSTCoeffs { - alphaK1 0.85034; - alphaK2 1.0; - alphaOmega1 0.5; - alphaOmega2 0.85616; - gamma1 0.5532; - gamma2 0.4403; - beta1 0.0750; - beta2 0.0828; - betaStar 0.09; - a1 0.31; - c1 10; - - Cmu 0.09; + alphaK1 0.85034; + alphaK2 1; + alphaOmega1 0.5; + alphaOmega2 0.85616; + gamma1 0.5532; + gamma2 0.4403; + beta1 0.075; + beta2 0.0828; + betaStar 0.09; + a1 0.31; + c1 10; + Cmu 0.09; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/dynamicMeshDict b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/dynamicMeshDict index ba8565090f4ece17775d5c8f19b1ab7707c21084..c0bac183dec1e307a8f456c02dc686f3c185aa62 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/dynamicMeshDict +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/dynamicMeshDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,33 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMeshLib "libtopoChangerFvMesh.so"; -dynamicFvMesh mixerFvMesh; +dynamicFvMeshLib "libtopoChangerFvMesh.so"; + +dynamicFvMesh mixerFvMesh; mixerFvMeshCoeffs { coordinateSystem { type cylindrical; - origin (0 0 0); - axis (0 0 1); - direction (1 0 0); + origin ( 0 0 0 ); + axis ( 0 0 1 ); + direction ( 1 0 0 ); } rpm 10; slider { - inside insideSlider; - outside outsideSlider; + inside insideSlider; + outside outsideSlider; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/transportProperties b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/transportProperties index fd5fc94660c15bb124be01fc5bfb49f4e27dde73..aad34b40df2a22407d363cccfba0f552c4bf276f 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/transportProperties +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,28 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // transportModel Newtonian; -nu nu [0 2 -1 0 0 0 0] 1e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/cellSetDict b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/cellSetDict index 3c56c10e12a8d53476c75f534f136d6178ab0c89..6d1af846e3c61c753852a90c8c8bcc5cfd68cf4d 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/cellSetDict +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/cellSetDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,27 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object cellSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Name of set to operate on -name rotor; +name rotor; -// One of clear/new/invert/add/delete|subset/list -action new; +action new; -// Actions to apply to cellSet. These are all the topoSetSource's ending -// in ..ToCell (see the meshTools library). +topoSetSources ( zoneToCell { name rotor ; } ); -topoSetSources -( - // Cells in cell zone - zoneToCell - { - name rotor; // name of cellZone - } - -); // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/controlDict b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/controlDict index 2afc0afc4f479af8ad94b9d8e534b7fd5754a334..5ffeca45c194e81b786db45f4be90461fdf70d30 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/controlDict +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict index 23471a04ad99f176c8efbfa87dfe607bfbfcf720..5507dbd729453219d583c8c3f7e8867eee0ac1a4 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,24 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object faceSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Name of set to operate on -name rotor; +name rotor; -// One of clear/new/invert/add/delete|subset/list -action delete; +action delete; + +topoSetSources ( boundaryToFace { } ); -// Actions to apply to pointSet. These are all the topoSetSource's ending -// in ..ToFace (see the meshTools library). -topoSetSources -( - // Select boundary faces - boundaryToFace - { - } -); // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict_noBoundaryFaces b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict_noBoundaryFaces index 23471a04ad99f176c8efbfa87dfe607bfbfcf720..062727698328907a23480d3aaae086f2030a1537 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict_noBoundaryFaces +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict_noBoundaryFaces @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,24 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; - object faceSetDict; + location "system"; + object faceSetDict_noBoundaryFaces; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Name of set to operate on -name rotor; +name rotor; -// One of clear/new/invert/add/delete|subset/list -action delete; +action delete; + +topoSetSources ( boundaryToFace { } ); -// Actions to apply to pointSet. These are all the topoSetSource's ending -// in ..ToFace (see the meshTools library). -topoSetSources -( - // Select boundary faces - boundaryToFace - { - } -); // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict_rotorFaces b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict_rotorFaces index d8e4665ba9583215cc369b167cd3350770cd7247..5e7917b2fe4f3eae8b3dd4db38d66a39f29a92a3 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict_rotorFaces +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/faceSetDict_rotorFaces @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,26 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; - object faceSetDict; + location "system"; + object faceSetDict_rotorFaces; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Name of set to operate on -name rotor; +name rotor; -// One of clear/new/invert/add/delete|subset/list -action new; +action new; + +topoSetSources ( cellToFace { set rotor ; option all ; } ); -// Actions to apply to pointSet. These are all the topoSetSource's ending -// in ..ToFace (see the meshTools library). -topoSetSources -( - // Select based on cellSet - cellToFace - { - set rotor; - option all; // All faces of cells - } -); // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/fvSchemes b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/fvSchemes index 2e72f9dd37565f63c2c3b19bae3a4a6d9879bcc6..1941f8b8d7b6bc2afbe95863c513b78dc7ad0ec0 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/fvSchemes +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes @@ -58,7 +59,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/fvSolution b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/fvSolution index 1a2ddd83a3aa535e211397464349916a3123717d..a33d7a62e6a7ae70a8eac28b24103cc74088a097 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/fvSolution +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,56 +10,58 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p GAMG + p { - tolerance 1e-8; - relTol 0.05; - - smoother GaussSeidel; - + solver GAMG; + tolerance 1e-08; + relTol 0.05; + smoother GaussSeidel; cacheAgglomeration true; - nCellsInCoarsestLevel 20; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - U smoothSolver + U { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-7; - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-07; + relTol 0.1; + } - k smoothSolver + k { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-7; - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-07; + relTol 0.1; + } - epsilon smoothSolver + epsilon { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-7; - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-07; + relTol 0.1; + } } SIMPLE { nNonOrthogonalCorrectors 0; - pRefCell 0; - pRefValue 0; + pRefCell 0; + pRefValue 0; } relaxationFactors @@ -70,4 +72,5 @@ relaxationFactors epsilon 0.5; } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/RASProperties b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/RASProperties index 8bb764255ae395dbd58cea425864904a56f9037a..7bffdbfa6bc2ebdb4515aecbbd6893f5b05a1dfd 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/RASProperties +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel LaunderSharmaKE; +RASModel LaunderSharmaKE; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -46,17 +47,16 @@ RNGkEpsilonCoeffs kOmegaSSTCoeffs { alphaK1 0.85034; - alphaK2 1.0; + alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.85616; gamma1 0.5532; gamma2 0.4403; - beta1 0.0750; + beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; c1 10; - Cmu 0.09; } @@ -179,7 +179,7 @@ SpalartAllmarasCoeffs Cw2 0.3; Cw3 2; Cv1 7.1; - Cv2 5.0; + Cv2 5; } wallFunctionCoeffs @@ -188,4 +188,5 @@ wallFunctionCoeffs E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/transportProperties b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/transportProperties index 2e7013649399a8e51afef28778c65d86a9b20198..c853d571dd43e7be14f5e9e19d761067cfdb0996 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/transportProperties +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,32 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -Ubar Ubar [0 1 -1 0 0 0 0] (10 0 0); +Ubar Ubar [ 0 1 -1 0 0 0 0 ] ( 10 0 0 ); transportModel Newtonian; -nu nu [0 2 -1 0 0 0 0] 1e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/controlDict b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/controlDict index db61aae9da3e4d163f18be4fc796458e99b90e12..d3dd7b0ae51f5726b74666ffebf4312b2251c5df 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/controlDict +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -45,4 +45,5 @@ runTimeModifiable yes; graphFormat raw; + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/fvSchemes b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/fvSchemes index 82875da8a078a2ca6cd26c273b16e1b9c72f2321..c5174e958c4e939fb3a8149b7612ef2aaf587c9b 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/fvSchemes +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes @@ -54,4 +55,5 @@ snGradSchemes default corrected; } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/fvSolution b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/fvSolution index 7f9f7b1c5e7e9cbbdbf3a5dcf104010f4fcb35e3..73dc214917b107c1560f4685714df6ac19d7af89 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/fvSolution +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,42 +10,52 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - U PCG + U { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - k PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } } PISO @@ -63,4 +73,5 @@ relaxationFactors nuTilda 0.7; } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/RASProperties b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/RASProperties index 6f833da95cd7c5fd24dd659a62e8c4f37e54fb67..36c840062fd1dd27bc791d712469bc3bbc828a37 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/RASProperties +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,293 +10,183 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Turbulence model selection -RASModel kEpsilon; +RASModel kEpsilon; -// Do you wish to calculate turbulence? -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; -// Laminar model coefficients laminarCoeffs { } -// Standard k-epsilon model coefficients kEpsilonCoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // alphaEps - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } -// RNG k-epsilon model coefficients RNGkEpsilonCoeffs { - // Cmu - Cmu 0.0845; - // C1 - C1 1.42; - // C2 - C2 1.68; - // alphak - alphak 1.39; - // alphaEps - alphaEps 1.39; - // eta0 - eta0 4.38; - // beta - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } -// k-omega-SST model coefficients kOmegaSSTCoeffs { - alphaK1 0.85034; - alphaK2 1.0; - alphaOmega1 0.5; - alphaOmega2 0.85616; - gamma1 0.5532; - gamma2 0.4403; - beta1 0.0750; - beta2 0.0828; - betaStar 0.09; - a1 0.31; - c1 10; - - Cmu 0.09; + alphaK1 0.85034; + alphaK2 1; + alphaOmega1 0.5; + alphaOmega2 0.85616; + gamma1 0.5532; + gamma2 0.4403; + beta1 0.075; + beta2 0.0828; + betaStar 0.09; + a1 0.31; + c1 10; + Cmu 0.09; } -// Shih non-Linear k-epsilon model coefficients NonlinearKEShihCoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // alphak - alphak 1; - // alphaEps - alphaEps 0.76932; - // A1 - A1 1.25; - // A2 - A2 1000; - // Ctau1 - Ctau1 -4; - // Ctau2 - Ctau2 13; - // Ctau3 - Ctau3 -2; - // alphaKsi - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } -// Lien non-Linear cubic k-epsilon model coefficients LienCubicKECoeffs { - // C1 - C1 1.44; - // C2 - C2 1.92; - // alphak - alphak 1; - // alphaEps - alphaEps 0.76923; - // A1 - A1 1.25; - // A2 - A2 1000; - // Ctau1 - Ctau1 -4; - // Ctau2 - Ctau2 13; - // Ctau3 - Ctau3 -2; - // alphaKsi - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } -// Gibson's q-zeta low Reynolds number k-epsilon model coefficients QZetaCoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // alphaZeta - alphaZeta 0.76923; - // anisotropic? + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } -// Launder-Sharma low Reynolds number k-epsilon model coefficients LaunderSharmaKECoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // alphaEps - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } -// Lam-Bremhorst low Reynolds number k-Epsilon model coefficients LamBremhorstKECoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // alphaEps - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } -// Lien-Leschziner low Reynolds number cubic k-epsilon model coefficients LienCubicKELowReCoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // alphak - alphak 1; - // alphaEps - alphaEps 0.76923; - // A1 - A1 1.25; - // A2 - A2 1000; - // Ctau1 - Ctau1 -4; - // Ctau2 - Ctau2 13; - // Ctau3 - Ctau3 -2; - // alphaKsi - alphaKsi 0.9; - // Am - Am 0.016; - // Aepsilon - Aepsilon 0.263; - // Amu - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } -// Lien-Leschziner low Reynolds number cubic k-epsilon model coefficients LienLeschzinerLowReCoeffs { - // Cmu - Cmu 0.09; - // C1 - C1 1.44; - // C2 - C2 1.92; - // alphak - alphak 1; - // alphaEps - alphaEps 0.76923; - // Am - Am 0.016; - // Aepsilon - Aepsilon 0.263; - // Amu - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } -// Launder-Reece-Rodi RSTM with wall functions model coefficients LRRCoeffs { - // Cmu - Cmu 0.09; - // Clrr1 - Clrr1 1.8; - // Clrr2 - Clrr2 0.6; - // C1 - C1 1.44; - // C2 - C2 1.92; - // Cs - Cs 0.25; - // Ceps - Ceps 0.15; - // alphaEps - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } -// Launder-Gibson RSTM with wall reflection and wall functions model coefficients LaunderGibsonRSTMCoeffs { - // Cmu - Cmu 0.09; - // Clg1 - Clg1 1.8; - // Clg2 - Clg2 0.6; - // C1 - C1 1.44; - // C2 - C2 1.92; - // C1Ref - C1Ref 0.5; - // C2Ref - C2Ref 0.3; - // Cs - Cs 0.25; - // Ceps - Ceps 0.15; - // alphaEps - alphaEps 0.76923; - // alphaR - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } -// Standard Spalart-Allmaras model coefficients SpalartAllmarasCoeffs { - // alphaNut - alphaNut 1.5; - // Cb1 - Cb1 0.1355; - // Cb2 - Cb2 0.622; - // Cw2 - Cw2 0.3; - // Cw3 - Cw3 2; - // Cv1 - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } -// Wall function coefficients wallFunctionCoeffs { - // kappa - kappa 0.4187; - // E - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/transportProperties b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/transportProperties index 37d703adcb3eb25588dddc91f17c85675a8ef021..c853d571dd43e7be14f5e9e19d761067cfdb0996 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/transportProperties +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,43 +10,32 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Ubar -Ubar Ubar [0 1 -1 0 0 0 0] (10 0 0); +Ubar Ubar [ 0 1 -1 0 0 0 0 ] ( 10 0 0 ); -// Laminar incompressible transport model transportModel Newtonian; -// nu -nu nu [0 2 -1 0 0 0 0] 1e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; -// Coefficients for Cross's Power Law CrossPowerLawCoeffs { - // nu0 - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - // nuInf - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - // m - m m [0 0 1 0 0 0 0] 1; - // n - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } -// Coefficients for Bird-Carreau Law BirdCarreauCoeffs { - // nu0 - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - // nuInf - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - // k - k k [0 0 1 0 0 0 0] 0; - // n - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/controlDict b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/controlDict index 0ae7a20daf5398aa2cc17f488b8ed315f2016084..d3dd7b0ae51f5726b74666ffebf4312b2251c5df 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/controlDict +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,55 +10,40 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Foam Application Class - -// Start point of run startFrom startTime; -// Calculation start time startTime 0; -// End point of run stopAt endTime; -// Calculation end time endTime 1000; -// Calculation time step deltaT 1; -// Type of write output control writeControl timeStep; -// Interval with which the results are output writeInterval 100; -// Limits number of time directories before overwriting purgeWrite 0; -// Write Format writeFormat ascii; -// Significant figures of written ASCII data writePrecision 6; -// Write Compression writeCompression uncompressed; -// Time directories name format timeFormat general; -// Decimal precision of time directory names timePrecision 6; -// Can parameters be modified during run time? runTimeModifiable yes; -// Output format for graphs graphFormat raw; + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/fvSchemes b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/fvSchemes index 3e867f478158c8a2efa0d29bd8530579e2df182b..c5174e958c4e939fb3a8149b7612ef2aaf587c9b 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/fvSchemes +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,28 +10,23 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Time derivative discretisation schemes ddtSchemes { - // Default scheme default steadyState; } -// Gradient discretisation schemes gradSchemes { - // Default gradient scheme default Gauss linear; } -// Convection discretisation schemes divSchemes { - // Default scheme default none; div(phi,k) Gauss linear; div(phi,epsilon) Gauss linear; @@ -40,10 +35,8 @@ divSchemes div((nuEff*dev(grad(U).T()))) Gauss linear; } -// Laplacian discretisation schemes laplacianSchemes { - // Default scheme default none; laplacian(nuEff,U) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; @@ -52,18 +45,15 @@ laplacianSchemes laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; } -// Interpolation schemes interpolationSchemes { - // Default scheme default linear; } -// Surface normal gradient schemes snGradSchemes { - // Default scheme default corrected; } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/fvSolution b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/fvSolution index 537858fc3336344e3cb5921236e26699c13cedd9..508336e30cf56479db5cd33542c7bcd2aaece215 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/fvSolution +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,73 +10,70 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - // Solver for the U equation - U PCG + U { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - // Solver for the k equation - k PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - // Solver for the epsilon equation - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - // Solver for the R equation - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - // Solver for the nuTilda equation - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } } PISO { - // Number of PISO correctors nCorrectors 2; - // Number of non-orthogonal correctors nNonOrthogonalCorrectors 0; - // momentumPredictor? momentumPredictor yes; - // fluxGradp? fluxGradp no; } relaxationFactors { - // U U 0.5; - // k k 0.7; - // epsilon epsilon 0.7; - // R R 0.7; - // nuTilda nuTilda 0.7; } + // ************************************************************************* // diff --git a/tutorials/incompressible/channelFoam/channel395/constant/LESProperties b/tutorials/incompressible/channelFoam/channel395/constant/LESProperties index da3b2d07d56ad9c2569a517238d4e20482b1cbd9..8c32bfa67ce64c36026916a7cfe522166062711d 100644 --- a/tutorials/incompressible/channelFoam/channel395/constant/LESProperties +++ b/tutorials/incompressible/channelFoam/channel395/constant/LESProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,17 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -LESModel oneEqEddy; +LESModel oneEqEddy; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; -delta vanDriest; +delta vanDriest; laminarCoeffs { @@ -28,90 +29,90 @@ laminarCoeffs oneEqEddyCoeffs { - ck 0.07; - ce 1.05; + ck 0.07; + ce 1.05; } dynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } locDynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } SmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; } Smagorinsky2Coeffs { - ce 1.05; - ck 0.07; - cD2 0.02; + ce 1.05; + ck 0.07; + cD2 0.02; } spectEddyViscCoeffs { - ce 1.05; - cB 8.22; - cK1 0.83; - cK2 1.03; - cK3 4.75; - cK4 2.55; + ce 1.05; + cB 8.22; + cK1 0.83; + cK2 1.03; + cK3 4.75; + cK4 2.55; } dynSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } mixedSmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; filter simple; } dynMixedSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } LRRDiffStressCoeffs { - ce 1.05; - ck 0.09; - c1 1.8; - c2 0.6; + ce 1.05; + ck 0.09; + c1 1.8; + c2 0.6; } DeardorffDiffStressCoeffs { - ce 1.05; - ck 0.09; - cm 4.13; + ce 1.05; + ck 0.09; + cm 4.13; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; - CDES 0.65; - ck 0.07; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; + CDES 0.65; + ck 0.07; } cubeRootVolCoeffs @@ -126,6 +127,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -133,9 +135,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -145,6 +149,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -152,10 +157,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -165,14 +172,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/channelFoam/channel395/constant/postChannelDict b/tutorials/incompressible/channelFoam/channel395/constant/postChannelDict index d63cd656675c6ebe4aecf1608dca9b561a5a3fe8..89fcd5080961334007bc68fd3ea0921fcdddf1d9 100644 --- a/tutorials/incompressible/channelFoam/channel395/constant/postChannelDict +++ b/tutorials/incompressible/channelFoam/channel395/constant/postChannelDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,19 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object postChannelDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Seed patches to start layering from -patches (bottomWall); +patches ( bottomWall ); + +component y; -// Direction in which the layers are -component y; +symmetric true; -// Is the mesh symmetric? If so average(symmetric fields) or -// subtract(asymmetric) contributions from both halves -symmetric true; // ************************************************************************* // diff --git a/tutorials/incompressible/channelFoam/channel395/constant/transportProperties b/tutorials/incompressible/channelFoam/channel395/constant/transportProperties index c9bc77911ec08f3549db77cc7bedeb92f461d41a..da91d4f46466fc6baee1234da0f1e2a8d6ecc7e2 100644 --- a/tutorials/incompressible/channelFoam/channel395/constant/transportProperties +++ b/tutorials/incompressible/channelFoam/channel395/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,32 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -Ubar Ubar [0 1 -1 0 0 0 0] (0.1335 0 0); +Ubar Ubar [ 0 1 -1 0 0 0 0 ] ( 0.1335 0 0 ); transportModel Newtonian; -nu nu [0 2 -1 0 0 0 0] 2e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 2e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/channelFoam/channel395/system/controlDict b/tutorials/incompressible/channelFoam/channel395/system/controlDict index 8ac4d8f359239087919e5ac021bf5762053f1cf5..2ca28c29a1150383756dc56581f73663dd918fa9 100644 --- a/tutorials/incompressible/channelFoam/channel395/system/controlDict +++ b/tutorials/incompressible/channelFoam/channel395/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,37 +43,7 @@ timePrecision 6; runTimeModifiable yes; -functions -( - fieldAverage1 - { - // Type of functionObject - type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - - enabled true; - - outputControl outputTime; - - // Fields to be averaged - runTime modifiable - fields - ( - U - { - mean on; - prime2Mean on; - base time; - } - p - { - mean on; - prime2Mean on; - base time; - } - ); - } -); +functions ( fieldAverage1 { type fieldAverage ; functionObjectLibs ( "libfieldFunctionObjects.so" ) ; enabled true ; outputControl outputTime ; fields ( U { mean on ; prime2Mean on ; base time ; } p { mean on ; prime2Mean on ; base time ; } ) ; } ); + // ************************************************************************* // diff --git a/tutorials/incompressible/channelFoam/channel395/system/fvSchemes b/tutorials/incompressible/channelFoam/channel395/system/fvSchemes index d747166f05d817fae80f57f79119ee66e4505196..4a4278dda93ded7d52dc3d2e170a87d43b4ba2fa 100644 --- a/tutorials/incompressible/channelFoam/channel395/system/fvSchemes +++ b/tutorials/incompressible/channelFoam/channel395/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default backward; + default backward; } gradSchemes @@ -61,7 +62,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/channelFoam/channel395/system/fvSolution b/tutorials/incompressible/channelFoam/channel395/system/fvSolution index 80dc8f8ef7cccaf5fcf03973489a1fb837991b63..836e1ef0b2f0f4c465bc3c1169f7701be946a943 100644 --- a/tutorials/incompressible/channelFoam/channel395/system/fvSolution +++ b/tutorials/incompressible/channelFoam/channel395/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,48 +10,60 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0.05; - }; - pFinal PCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.05; + } + + pFinal { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - B PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + B { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -62,4 +74,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/constant/dynamicMeshDict b/tutorials/incompressible/icoDyMFoam/movingCone/constant/dynamicMeshDict index 68afe8d578518e853c22f05833308c3474cfb90c..14c08af36e26848295e53091d753d8189bb967ae 100644 --- a/tutorials/incompressible/icoDyMFoam/movingCone/constant/dynamicMeshDict +++ b/tutorials/incompressible/icoDyMFoam/movingCone/constant/dynamicMeshDict @@ -2,31 +2,26 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; - object motionProperties; + location "constant"; + object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMesh dynamicMotionSolverFvMesh; +dynamicFvMesh dynamicMotionSolverFvMesh; -motionSolverLibs ("libfvMotionSolvers.so"); +motionSolverLibs ( "libfvMotionSolvers.so" ); -//solver laplacian; -solver velocityComponentLaplacian x; +solver velocityComponentLaplacian x; + +diffusivity directional ( 1 200 0 ); -// diffusivity uniform; -diffusivity directional (1 200 0); -// diffusivity motionDirectional (1 1000 0); -// diffusivity inverseDistance 1(movingWall); -// diffusivity file motionDiffusivity; -// diffusivity quadratic inverseDistance 1(movingWall); -// diffusivity exponential 2000 inverseDistance 1(movingWall); // ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/constant/transportProperties b/tutorials/incompressible/icoDyMFoam/movingCone/constant/transportProperties index 793572135be35de77e7b775f5e5bc22e2811333a..cdd96395a8385c09fe14e0c096b36a989e336286 100644 --- a/tutorials/incompressible/icoDyMFoam/movingCone/constant/transportProperties +++ b/tutorials/incompressible/icoDyMFoam/movingCone/constant/transportProperties @@ -2,18 +2,20 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -nu nu [0 2 -1 0 0 0 0] 1e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/system/controlDict b/tutorials/incompressible/icoDyMFoam/movingCone/system/controlDict index f6035d845c358f98088c6077d36f147d3d40638d..3e9d4d55765bfbdd14f80fb7d8c20637e3ef95a7 100644 --- a/tutorials/incompressible/icoDyMFoam/movingCone/system/controlDict +++ b/tutorials/incompressible/icoDyMFoam/movingCone/system/controlDict @@ -2,19 +2,19 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -47,4 +47,5 @@ adjustTimeStep no; maxCo 0.2; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSchemes b/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSchemes index 4e8e6a520ca6aeaa32d66fa88d822bc5e6047716..092fc762b36de918a2941636793aeb51262721b5 100644 --- a/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSchemes +++ b/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSchemes @@ -2,21 +2,22 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -37,7 +38,6 @@ laplacianSchemes laplacian(nu,U) Gauss linear corrected; laplacian(rAU,pcorr) Gauss linear corrected; laplacian(rAU,p) Gauss linear corrected; - laplacian(diffusivity,cellMotionU) Gauss linear uncorrected; } @@ -55,8 +55,9 @@ snGradSchemes fluxRequired { default no; - pcorr; - p; + pcorr ; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSolution b/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSolution index a348c8239f625400309190dfc71a39600a5e85a6..486f7ad5fb2836444d68502c50b37e8c4e55b62a 100644 --- a/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSolution +++ b/tutorials/incompressible/icoDyMFoam/movingCone/system/fvSolution @@ -2,54 +2,60 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner DIC; - tolerance 1e-02; - relTol 0; - }; + solver PCG; + preconditioner DIC; + tolerance 0.01; + relTol 0; + } - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0.05; - }; + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.05; + } - pFinal PCG + pFinal { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } - U PBiCG + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } - cellMotionUx PCG + cellMotionUx { - preconditioner DIC; - tolerance 1e-08; - relTol 0; - }; + solver PCG; + preconditioner DIC; + tolerance 1e-08; + relTol 0; + } } PISO @@ -58,4 +64,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingCone/system/tetFemSolution b/tutorials/incompressible/icoDyMFoam/movingCone/system/tetFemSolution index 7d2e64868b131a329d8a64af5a60a55eaa2240f0..a953cbea78c1cc94d078478229b646f681964265 100644 --- a/tutorials/incompressible/icoDyMFoam/movingCone/system/tetFemSolution +++ b/tutorials/incompressible/icoDyMFoam/movingCone/system/tetFemSolution @@ -2,14 +2,15 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object tetFemSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -19,4 +20,5 @@ solvers motionU ICCG 1e-06 0; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavity/constant/transportProperties b/tutorials/incompressible/icoFoam/cavity/constant/transportProperties index cdba3d7843fa1dfac369fedafeb7d3d893d3025b..673c8479a2698a13c3d93e012e41261b2d5f401a 100644 --- a/tutorials/incompressible/icoFoam/cavity/constant/transportProperties +++ b/tutorials/incompressible/icoFoam/cavity/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -nu nu [0 2 -1 0 0 0 0] 0.01; +nu nu [ 0 2 -1 0 0 0 0 ] 0.01; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavity/system/controlDict b/tutorials/incompressible/icoFoam/cavity/system/controlDict index 17032f75aba95125660fccdb4a0c4f3c1dbb93b2..d2d91fe2ec372b98b50a3751f1f60e85765e6439 100644 --- a/tutorials/incompressible/icoFoam/cavity/system/controlDict +++ b/tutorials/incompressible/icoFoam/cavity/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavity/system/fvSchemes b/tutorials/incompressible/icoFoam/cavity/system/fvSchemes index 712cc1a60396c9df9263a799f88d0be2fdec283e..80e325f22075fbf0a71559923253b3e923441645 100644 --- a/tutorials/incompressible/icoFoam/cavity/system/fvSchemes +++ b/tutorials/incompressible/icoFoam/cavity/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -52,7 +53,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavity/system/fvSolution b/tutorials/incompressible/icoFoam/cavity/system/fvSolution index 07e380a3587cea9b574eb34743ad8a666fd8cc92..46670343363af32a79fcf7bd788316556b9de7d7 100644 --- a/tutorials/incompressible/icoFoam/cavity/system/fvSolution +++ b/tutorials/incompressible/icoFoam/cavity/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,25 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } - U PBiCG + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -39,4 +42,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavityClipped/constant/transportProperties b/tutorials/incompressible/icoFoam/cavityClipped/constant/transportProperties index cdba3d7843fa1dfac369fedafeb7d3d893d3025b..673c8479a2698a13c3d93e012e41261b2d5f401a 100644 --- a/tutorials/incompressible/icoFoam/cavityClipped/constant/transportProperties +++ b/tutorials/incompressible/icoFoam/cavityClipped/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -nu nu [0 2 -1 0 0 0 0] 0.01; +nu nu [ 0 2 -1 0 0 0 0 ] 0.01; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavityClipped/system/controlDict b/tutorials/incompressible/icoFoam/cavityClipped/system/controlDict index 5c66b311095841f56dba45729a25059cf138d867..07204830ae46eec356050380fb2727a6a2e4241b 100644 --- a/tutorials/incompressible/icoFoam/cavityClipped/system/controlDict +++ b/tutorials/incompressible/icoFoam/cavityClipped/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0.5; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavityClipped/system/fvSchemes b/tutorials/incompressible/icoFoam/cavityClipped/system/fvSchemes index 46492b3d9c0f52510ca8dd9ed814c6a7f334c448..80e325f22075fbf0a71559923253b3e923441645 100644 --- a/tutorials/incompressible/icoFoam/cavityClipped/system/fvSchemes +++ b/tutorials/incompressible/icoFoam/cavityClipped/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -52,7 +53,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavityClipped/system/fvSolution b/tutorials/incompressible/icoFoam/cavityClipped/system/fvSolution index c78cc469b78763963829ffa68c90d847bd1c188c..46670343363af32a79fcf7bd788316556b9de7d7 100644 --- a/tutorials/incompressible/icoFoam/cavityClipped/system/fvSolution +++ b/tutorials/incompressible/icoFoam/cavityClipped/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,24 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -38,4 +42,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavityClipped/system/mapFieldsDict b/tutorials/incompressible/icoFoam/cavityClipped/system/mapFieldsDict index 3a4867ef76b098b2f1e2f331acc07b956ca3e736..20b346f8480f93d42e3c9b9e35c207750b5b3d96 100644 --- a/tutorials/incompressible/icoFoam/cavityClipped/system/mapFieldsDict +++ b/tutorials/incompressible/icoFoam/cavityClipped/system/mapFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,18 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object mapFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -patchMap -( - lid movingWall -); +patchMap ( lid movingWall ); + +cuttingPatches ( fixedWalls ); -cuttingPatches -( - fixedWalls -); // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavityGrade/constant/transportProperties b/tutorials/incompressible/icoFoam/cavityGrade/constant/transportProperties index cdba3d7843fa1dfac369fedafeb7d3d893d3025b..673c8479a2698a13c3d93e012e41261b2d5f401a 100644 --- a/tutorials/incompressible/icoFoam/cavityGrade/constant/transportProperties +++ b/tutorials/incompressible/icoFoam/cavityGrade/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -nu nu [0 2 -1 0 0 0 0] 0.01; +nu nu [ 0 2 -1 0 0 0 0 ] 0.01; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavityGrade/system/controlDict b/tutorials/incompressible/icoFoam/cavityGrade/system/controlDict index 266d138f79283742bc98b4aad8bf7a5a8bbc52a4..db022260482c7b1a59dac94923ab692e057d5c55 100644 --- a/tutorials/incompressible/icoFoam/cavityGrade/system/controlDict +++ b/tutorials/incompressible/icoFoam/cavityGrade/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0.7; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavityGrade/system/fvSchemes b/tutorials/incompressible/icoFoam/cavityGrade/system/fvSchemes index 46492b3d9c0f52510ca8dd9ed814c6a7f334c448..80e325f22075fbf0a71559923253b3e923441645 100644 --- a/tutorials/incompressible/icoFoam/cavityGrade/system/fvSchemes +++ b/tutorials/incompressible/icoFoam/cavityGrade/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -52,7 +53,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavityGrade/system/fvSolution b/tutorials/incompressible/icoFoam/cavityGrade/system/fvSolution index c78cc469b78763963829ffa68c90d847bd1c188c..46670343363af32a79fcf7bd788316556b9de7d7 100644 --- a/tutorials/incompressible/icoFoam/cavityGrade/system/fvSolution +++ b/tutorials/incompressible/icoFoam/cavityGrade/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,24 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -38,4 +42,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/cavityGrade/system/mapFieldsDict b/tutorials/incompressible/icoFoam/cavityGrade/system/mapFieldsDict index 626289bcc0cfc0dc503c30f3090750b50c3c7a8a..a44b53188650987b0c7e97d1600d17a9d1af7fbc 100644 --- a/tutorials/incompressible/icoFoam/cavityGrade/system/mapFieldsDict +++ b/tutorials/incompressible/icoFoam/cavityGrade/system/mapFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,16 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object mapFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -patchMap -( -); +patchMap ( ); + +cuttingPatches ( ); -cuttingPatches -( -); // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/elbow/constant/transportProperties b/tutorials/incompressible/icoFoam/elbow/constant/transportProperties index cdba3d7843fa1dfac369fedafeb7d3d893d3025b..673c8479a2698a13c3d93e012e41261b2d5f401a 100644 --- a/tutorials/incompressible/icoFoam/elbow/constant/transportProperties +++ b/tutorials/incompressible/icoFoam/elbow/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -nu nu [0 2 -1 0 0 0 0] 0.01; +nu nu [ 0 2 -1 0 0 0 0 ] 0.01; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/elbow/system/controlDict b/tutorials/incompressible/icoFoam/elbow/system/controlDict index 07c621ef1862c02b3d3cfac734380d3ae93ff516..da4697ad557df739f6428062a1d9dd1b225bcfca 100644 --- a/tutorials/incompressible/icoFoam/elbow/system/controlDict +++ b/tutorials/incompressible/icoFoam/elbow/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/elbow/system/foamDataToFluentDict b/tutorials/incompressible/icoFoam/elbow/system/foamDataToFluentDict index 2500971b1126fdec07a557116523a1aa4d8e8804..8c862c612a013bbef14534980cde91b85b8a160a 100644 --- a/tutorials/incompressible/icoFoam/elbow/system/foamDataToFluentDict +++ b/tutorials/incompressible/icoFoam/elbow/system/foamDataToFluentDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object foamDataToFluentDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -28,4 +29,5 @@ epsilon 6; gamma 150; + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/elbow/system/fvSchemes b/tutorials/incompressible/icoFoam/elbow/system/fvSchemes index 23fa68cc10adbe7698dbd5d02b843b7a4e93ca5f..f7edfb6abf9c305253f5535b99e1de3e4beda843 100644 --- a/tutorials/incompressible/icoFoam/elbow/system/fvSchemes +++ b/tutorials/incompressible/icoFoam/elbow/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -52,7 +53,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/elbow/system/fvSolution b/tutorials/incompressible/icoFoam/elbow/system/fvSolution index 57e726c13ad6a48cafab6ede0ccf96183ffd661f..0351e82f81727998a4d3638a6ffd61ea7154e475 100644 --- a/tutorials/incompressible/icoFoam/elbow/system/fvSolution +++ b/tutorials/incompressible/icoFoam/elbow/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,24 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -36,4 +40,5 @@ PISO nNonOrthogonalCorrectors 2; } + // ************************************************************************* // diff --git a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/constant/transportProperties b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/constant/transportProperties index a177fd7947a7102d14a9535483a0b377eed7e7fb..3be0d60ae2c74ea48b7fec88e3ef640480ea090a 100644 --- a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/constant/transportProperties +++ b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,28 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // transportModel CrossPowerLaw; -nu nu [0 2 -1 0 0 0 0] 1; +nu nu [ 0 2 -1 0 0 0 0 ] 1; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 0.01; - nuInf nuInf [0 2 -1 0 0 0 0] 10; - m m [0 0 1 0 0 0 0] 0.4; - n n [0 0 0 0 0 0 0] 3; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.01; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 10; + m m [ 0 0 1 0 0 0 0 ] 0.4; + n n [ 0 0 0 0 0 0 0 ] 3; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/controlDict b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/controlDict index 4d404e35f6b94583d0b7734d136f1ada114f48b4..55886792bdd81fde1f3c0ac83fcb45958c285498 100644 --- a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/controlDict +++ b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes index 1decc09a6e6be51099c445871419a12b0203333d..67dc9336eefd5952b64c5dc84667a7bf89bcc418 100644 --- a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes +++ b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -52,7 +53,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSolution b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSolution index 9ee7a559e4d3d64324fafc11b5a12ab701f93dff..5eb4c1f30ec856b675f6e991fbd23db996a19d0d 100644 --- a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSolution +++ b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,24 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -36,4 +40,5 @@ PISO nNonOrthogonalCorrectors 2; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pimpleFoam/t-junction/constant/RASProperties b/tutorials/incompressible/pimpleFoam/t-junction/constant/RASProperties index e46e0a858b12c777bb11bc364b144cd6feb2b1da..559c506d1113db8266b365093851601b52fde4e5 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/constant/RASProperties +++ b/tutorials/incompressible/pimpleFoam/t-junction/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,175 +27,175 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } realizableKECoeffs { - Cmu 0.09; - A0 4.0; - C2 1.9; - alphak 1; - alphaEps 0.833333; + Cmu 0.09; + A0 4; + C2 1.9; + alphak 1; + alphaEps 0.833333; } kOmegaSSTCoeffs { - alphaK1 0.85034; - alphaK2 1.0; - alphaOmega1 0.5; - alphaOmega2 0.85616; - gamma1 0.5532; - gamma2 0.4403; - beta1 0.0750; - beta2 0.0828; - betaStar 0.09; - a1 0.31; - c1 10; - - Cmu 0.09; + alphaK1 0.85034; + alphaK2 1; + alphaOmega1 0.5; + alphaOmega2 0.85616; + gamma1 0.5532; + gamma2 0.4403; + beta1 0.075; + beta2 0.0828; + betaStar 0.09; + a1 0.31; + c1 10; + Cmu 0.09; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/boundary b/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/boundary index 4ea7f95a3e9c35ac60edb879d026c17c690eddce..a6e8b86643cf972ce282b9086d884c39843d9c88 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/boundary +++ b/tutorials/incompressible/pimpleFoam/t-junction/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/pimpleFoam/t-junction/constant/transportProperties b/tutorials/incompressible/pimpleFoam/t-junction/constant/transportProperties index fd5fc94660c15bb124be01fc5bfb49f4e27dde73..aad34b40df2a22407d363cccfba0f552c4bf276f 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/constant/transportProperties +++ b/tutorials/incompressible/pimpleFoam/t-junction/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,28 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // transportModel Newtonian; -nu nu [0 2 -1 0 0 0 0] 1e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pimpleFoam/t-junction/system/controlDict b/tutorials/incompressible/pimpleFoam/t-junction/system/controlDict index ca979c4a6b9dea96ecead463ee5c8b5067bac38a..e312fcb839f09a63570876e37965f1e6b39028a0 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/system/controlDict +++ b/tutorials/incompressible/pimpleFoam/t-junction/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -44,38 +44,10 @@ timePrecision 6; runTimeModifiable yes; adjustTimeStep yes; + maxCo 5; -functions -( - probes - { - // Type of functionObject - type probes; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libsampling.so"); - - // Name of the directory for the probe data - name probes; - - // Locations to be probed. runTime modifiable! - probeLocations - ( - (1E-6 0 0.01) // at inlet - (0.21 -0.20999 0.01) // at outlet1 - (0.21 0.20999 0.01) // at outlet2 - (0.21 0 0.01) // at central block - ); - - // Fields to be probed. runTime modifiable! - fields - ( - p - U - ); - } -); +functions ( probes { type probes ; functionObjectLibs ( "libsampling.so" ) ; name probes ; probeLocations ( ( 1e-06 0 0.01 ) ( 0.21 -0.20999 0.01 ) ( 0.21 0.20999 0.01 ) ( 0.21 0 0.01 ) ) ; fields ( p U ) ; } ); // ************************************************************************* // diff --git a/tutorials/incompressible/pimpleFoam/t-junction/system/fvSchemes b/tutorials/incompressible/pimpleFoam/t-junction/system/fvSchemes index bbe7fab0d2e1553b63c1695352cb9fe538ecd597..2535b6a258dd5c5cc2a9bcecdf59955e0665ea59 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/system/fvSchemes +++ b/tutorials/incompressible/pimpleFoam/t-junction/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -63,7 +64,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pimpleFoam/t-junction/system/fvSolution b/tutorials/incompressible/pimpleFoam/t-junction/system/fvSolution index 995edf623c2b4a9ff14788cf5b6202105c66d15b..5b237f6dfe4683541673f4b8a8e3f5fd5f9a0dc0 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/system/fvSolution +++ b/tutorials/incompressible/pimpleFoam/t-junction/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,61 +10,68 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p GAMG + p { - tolerance 1e-6; - relTol 0.01; - - smoother GaussSeidel; - + solver GAMG; + tolerance 1e-06; + relTol 0.01; + smoother GaussSeidel; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; - pFinal GAMG - { - tolerance 1e-6; - relTol 0.0; - - smoother GaussSeidel; + agglomerator faceAreaPair; + mergeLevels 1; + } + pFinal + { + solver GAMG; + tolerance 1e-06; + relTol 0; + smoother GaussSeidel; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - U PBiCG + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - UFinal PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + UFinal { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PIMPLE @@ -78,10 +85,9 @@ PIMPLE relaxationFactors { - //p 0.3; - U 1.0; - k 1.0; - epsilon 1.0; + U 1; + k 1; + epsilon 1; } diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/LESProperties b/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/LESProperties index 336220cfbb49c0b792f2e7ec104a60ca04ad55ad..0d948b7ff1b7b9c634f644678edfa869a4261515 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/LESProperties +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/LESProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,17 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -turbulence on; +turbulence on; -LESModel oneEqEddy; +LESModel oneEqEddy; -delta cubeRootVol; +delta cubeRootVol; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -28,90 +29,90 @@ laminarCoeffs oneEqEddyCoeffs { - ck 0.07; - ce 1.05; + ck 0.07; + ce 1.05; } dynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } locDynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } SmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; } Smagorinsky2Coeffs { - ce 1.05; - ck 0.07; - cD2 0.02; + ce 1.05; + ck 0.07; + cD2 0.02; } spectEddyViscCoeffs { - ce 1.05; - cB 8.22; - cK1 0.83; - cK2 1.03; - cK3 4.75; - cK4 2.55; + ce 1.05; + cB 8.22; + cK1 0.83; + cK2 1.03; + cK3 4.75; + cK4 2.55; } dynSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } mixedSmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; filter simple; } dynMixedSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } LRRDiffStressCoeffs { - ce 1.05; - ck 0.09; - c1 1.8; - c2 0.6; + ce 1.05; + ck 0.09; + c1 1.8; + c2 0.6; } DeardorffDiffStressCoeffs { - ce 1.05; - ck 0.09; - cm 4.13; + ce 1.05; + ck 0.09; + cm 4.13; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; - CDES 0.65; - ck 0.07; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; + CDES 0.65; + ck 0.07; } cubeRootVolCoeffs @@ -126,6 +127,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -133,9 +135,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -145,6 +149,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -152,10 +157,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -165,14 +172,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/polyMesh/boundary b/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/polyMesh/boundary index 313dcceba1abd7b93d57320c4c674f1734692506..903f3ef57e0b5ca8acaec1fa58531aaa1e354515 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: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/transportProperties b/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/transportProperties index fd5fc94660c15bb124be01fc5bfb49f4e27dde73..aad34b40df2a22407d363cccfba0f552c4bf276f 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/transportProperties +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,28 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // transportModel Newtonian; -nu nu [0 2 -1 0 0 0 0] 1e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/turbulenceProperties b/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/turbulenceProperties index dcadcf17cd97481597090cf391913d3fe6432687..2e42797ca9558f9a6c4c3b2195313dda5504598a 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/turbulenceProperties +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/constant/turbulenceProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType LESModel; + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict index 627a1b2516eae4c0246f8660912a9018f5201ef7..ba9c0f1c408ade3c92b46328d6431f481f78ed8f 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -47,30 +47,22 @@ functions ( probes1 { - // Type of functionObject type probes; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libsampling.so"); - + functionObjectLibs ( "libsampling.so" ); enabled true; - outputControl timeStep; outputInterval 1; - - // Locations to be probed. runTime modifiable! probeLocations ( - (0.0254 0.0253 0.0) - (0.0508 0.0253 0.0) - (0.0762 0.0253 0.0) - (0.1016 0.0253 0.0) - (0.1270 0.0253 0.0) - (0.1524 0.0253 0.0) - (0.1778 0.0253 0.0) + ( 0.0254 0.0253 0 ) + ( 0.0508 0.0253 0 ) + ( 0.0762 0.0253 0 ) + ( 0.1016 0.0253 0 ) + ( 0.127 0.0253 0 ) + ( 0.1524 0.0253 0 ) + ( 0.1778 0.0253 0 ) ); - // Fields to be probed. runTime modifiable! fields ( p @@ -79,33 +71,28 @@ functions fieldAverage1 { - // Type of functionObject type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - + functionObjectLibs ( "libfieldFunctionObjects.so" ); enabled true; - outputControl outputTime; - - // Fields to be averaged - runTime modifiable fields ( U { - mean on; - prime2Mean on; - base time; + mean on; + prime2Mean on; + base time; } + p { - mean on; - prime2Mean on; - base time; + mean on; + prime2Mean on; + base time; } ); } ); + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes index 9c7d6d936d9ca0d5b2240ed2f1cec971a6f65b92..5f9d2562590179306bc73fe47adcd1ce49564a86 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default backward; + default backward; } gradSchemes @@ -33,7 +34,6 @@ divSchemes div(phi,k) Gauss limitedLinear 1; div(phi,B) Gauss limitedLinear 1; div(phi,nuTilda) Gauss limitedLinear 1; - div(B) Gauss linear; div((nuEff*dev(grad(U).T()))) Gauss linear; } @@ -62,7 +62,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSolution b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSolution index f2a22c6fa4d443d2f63237158eda0baf0a069919..486c70a9d67f191446dcdec0d87a2df182739f88 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSolution +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,48 +10,60 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0.05; - }; - pFinal PCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.05; + } + + pFinal { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - B PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + B { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -60,4 +72,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/LESProperties b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/LESProperties index 336220cfbb49c0b792f2e7ec104a60ca04ad55ad..0d948b7ff1b7b9c634f644678edfa869a4261515 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/LESProperties +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/LESProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,17 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -turbulence on; +turbulence on; -LESModel oneEqEddy; +LESModel oneEqEddy; -delta cubeRootVol; +delta cubeRootVol; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -28,90 +29,90 @@ laminarCoeffs oneEqEddyCoeffs { - ck 0.07; - ce 1.05; + ck 0.07; + ce 1.05; } dynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } locDynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } SmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; } Smagorinsky2Coeffs { - ce 1.05; - ck 0.07; - cD2 0.02; + ce 1.05; + ck 0.07; + cD2 0.02; } spectEddyViscCoeffs { - ce 1.05; - cB 8.22; - cK1 0.83; - cK2 1.03; - cK3 4.75; - cK4 2.55; + ce 1.05; + cB 8.22; + cK1 0.83; + cK2 1.03; + cK3 4.75; + cK4 2.55; } dynSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } mixedSmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; filter simple; } dynMixedSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } LRRDiffStressCoeffs { - ce 1.05; - ck 0.09; - c1 1.8; - c2 0.6; + ce 1.05; + ck 0.09; + c1 1.8; + c2 0.6; } DeardorffDiffStressCoeffs { - ce 1.05; - ck 0.09; - cm 4.13; + ce 1.05; + ck 0.09; + cm 4.13; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; - CDES 0.65; - ck 0.07; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; + CDES 0.65; + ck 0.07; } cubeRootVolCoeffs @@ -126,6 +127,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -133,9 +135,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -145,6 +149,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -152,10 +157,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -165,14 +172,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/polyMesh/boundary b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/polyMesh/boundary index 8f75d94824cb714851d10e610a52c55725f09605..0b56bb9f5e8be426cd22b962d4b254728ac55ab7 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/polyMesh/boundary +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/transportProperties b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/transportProperties index fd5fc94660c15bb124be01fc5bfb49f4e27dde73..aad34b40df2a22407d363cccfba0f552c4bf276f 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/transportProperties +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,28 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // transportModel Newtonian; -nu nu [0 2 -1 0 0 0 0] 1e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/turbulenceProperties b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/turbulenceProperties index dcadcf17cd97481597090cf391913d3fe6432687..2e42797ca9558f9a6c4c3b2195313dda5504598a 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/turbulenceProperties +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/constant/turbulenceProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType LESModel; + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/changeDictionaryDict b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/changeDictionaryDict index 7ae2253dbf5c90cf4469241fe931c7683a181268..9490b8433231b6579abeff8ee805e39857951c3b 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/changeDictionaryDict +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/changeDictionaryDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,23 +10,24 @@ FoamFile version 2.0; format ascii; class dictionary; - object changePatchTypeDict; + location "system"; + object changeDictionaryDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dictionaryReplacement { - // boundary handled explicitly since not dictionary. boundary { inlet { type directMappedPatch; - offset (0.0495 0 0); + offset ( 0.0495 0 0 ); sampleMode nearestCell; samplePatch none; } } } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/controlDict b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/controlDict index 627a1b2516eae4c0246f8660912a9018f5201ef7..2f1e1a9074d1bb120bb6e322598ac641b536ce64 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/controlDict +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -47,30 +47,21 @@ functions ( probes1 { - // Type of functionObject type probes; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libsampling.so"); - + functionObjectLibs ( "libsampling.so" ); enabled true; - outputControl timeStep; outputInterval 1; - - // Locations to be probed. runTime modifiable! probeLocations ( - (0.0254 0.0253 0.0) - (0.0508 0.0253 0.0) - (0.0762 0.0253 0.0) - (0.1016 0.0253 0.0) - (0.1270 0.0253 0.0) - (0.1524 0.0253 0.0) - (0.1778 0.0253 0.0) + ( 0.0254 0.0253 0 ) + ( 0.0508 0.0253 0 ) + ( 0.0762 0.0253 0 ) + ( 0.1016 0.0253 0 ) + ( 0.127 0.0253 0 ) + ( 0.1524 0.0253 0 ) + ( 0.1778 0.0253 0 ) ); - - // Fields to be probed. runTime modifiable! fields ( p @@ -79,33 +70,28 @@ functions fieldAverage1 { - // Type of functionObject type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - + functionObjectLibs ( "libfieldFunctionObjects.so" ); enabled true; - outputControl outputTime; - - // Fields to be averaged - runTime modifiable fields ( U { - mean on; - prime2Mean on; - base time; + mean on; + prime2Mean on; + base time; } + p { - mean on; - prime2Mean on; - base time; + mean on; + prime2Mean on; + base time; } ); } ); + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/decomposeParDict b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/decomposeParDict index 6f0a26b2e80ce669baaa95cdfdf817a87795e081..d05a60d7eae9fb56aa574c27d1300ff851f9f9fe 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/decomposeParDict +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,37 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 8; -//method hierarchical; method metis; simpleCoeffs { - n (2 1 1); + n ( 2 1 1 ); delta 0.001; } hierarchicalCoeffs { - n (2 1 1); + n ( 2 1 1 ); delta 0.001; order xyz; } metisCoeffs { - //processorWeights - //( - // 1 - // 1 - // 1 - // 1 - //); } manualCoeffs @@ -50,8 +43,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes index 759d8e2a91dc650930610632d467ea0e67700fb4..4bbb97c52c3a935c6db23724a6e4d7ae4e035ced 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default backward; + default backward; } gradSchemes @@ -29,13 +30,10 @@ gradSchemes divSchemes { default none; - // rate(0.2) of adding gradient, allow unboundedness(0.) - div(phi,U) Gauss filteredLinear2V 0.2 0.0; - //div(phi,U) Gauss linear; + div(phi,U) Gauss filteredLinear2V 0.2 0; div(phi,k) Gauss limitedLinear 1; div(phi,B) Gauss limitedLinear 1; div(phi,nuTilda) Gauss limitedLinear 1; - div(B) Gauss linear; div((nuEff*dev(grad(U).T()))) Gauss linear; } @@ -64,7 +62,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSolution b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSolution index f2a22c6fa4d443d2f63237158eda0baf0a069919..486c70a9d67f191446dcdec0d87a2df182739f88 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSolution +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,48 +10,60 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0.05; - }; - pFinal PCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.05; + } + + pFinal { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - B PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + B { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -60,4 +72,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/0/epsilon b/tutorials/incompressible/pisoFoam/ras/cavity/0/epsilon index 6b009c939ad092fdef7f54b8ecb9b755fb70ac3c..1dcb29b690a7e2f3b7c67fc4be7cdea05a5accb9 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/0/epsilon +++ b/tutorials/incompressible/pisoFoam/ras/cavity/0/epsilon @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/0/k b/tutorials/incompressible/pisoFoam/ras/cavity/0/k index 5242962b3b24e867f6b6b8db4b0c278faee0a476..021fce6763409ae2d5f416c34311ac0d7ea4b165 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/0/k +++ b/tutorials/incompressible/pisoFoam/ras/cavity/0/k @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/0/nut b/tutorials/incompressible/pisoFoam/ras/cavity/0/nut index dc341e7a1c76b1bafc28d58d8ca450c0b77d0e14..7322181e3b1983806407b41f962bacc86ee9d79b 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/0/nut +++ b/tutorials/incompressible/pisoFoam/ras/cavity/0/nut @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/constant/RASProperties b/tutorials/incompressible/pisoFoam/ras/cavity/constant/RASProperties index e46e0a858b12c777bb11bc364b144cd6feb2b1da..559c506d1113db8266b365093851601b52fde4e5 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/constant/RASProperties +++ b/tutorials/incompressible/pisoFoam/ras/cavity/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,175 +27,175 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } realizableKECoeffs { - Cmu 0.09; - A0 4.0; - C2 1.9; - alphak 1; - alphaEps 0.833333; + Cmu 0.09; + A0 4; + C2 1.9; + alphak 1; + alphaEps 0.833333; } kOmegaSSTCoeffs { - alphaK1 0.85034; - alphaK2 1.0; - alphaOmega1 0.5; - alphaOmega2 0.85616; - gamma1 0.5532; - gamma2 0.4403; - beta1 0.0750; - beta2 0.0828; - betaStar 0.09; - a1 0.31; - c1 10; - - Cmu 0.09; + alphaK1 0.85034; + alphaK2 1; + alphaOmega1 0.5; + alphaOmega2 0.85616; + gamma1 0.5532; + gamma2 0.4403; + beta1 0.075; + beta2 0.0828; + betaStar 0.09; + a1 0.31; + c1 10; + Cmu 0.09; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/constant/polyMesh/boundary b/tutorials/incompressible/pisoFoam/ras/cavity/constant/polyMesh/boundary index 61feadd97403fbf58a57c925fc262f3de46ec95a..d68c9a703602f71086c9279a70c87fab73e11c73 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/constant/polyMesh/boundary +++ b/tutorials/incompressible/pisoFoam/ras/cavity/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/constant/transportProperties b/tutorials/incompressible/pisoFoam/ras/cavity/constant/transportProperties index fd5fc94660c15bb124be01fc5bfb49f4e27dde73..aad34b40df2a22407d363cccfba0f552c4bf276f 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/constant/transportProperties +++ b/tutorials/incompressible/pisoFoam/ras/cavity/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,28 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // transportModel Newtonian; -nu nu [0 2 -1 0 0 0 0] 1e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/constant/turbulenceProperties b/tutorials/incompressible/pisoFoam/ras/cavity/constant/turbulenceProperties index 07f85c68df22113b7c7747b89457597b0ea41d66..b70f6702e4ef7644c20687bce6536c6690720da9 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/constant/turbulenceProperties +++ b/tutorials/incompressible/pisoFoam/ras/cavity/constant/turbulenceProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType RASModel; + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/system/controlDict b/tutorials/incompressible/pisoFoam/ras/cavity/system/controlDict index 54904fd3daadf40e61fb4fb207420ff90004ece2..c7ddb43b7daea9385c7f11e67a9b8156f9367cae 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/system/controlDict +++ b/tutorials/incompressible/pisoFoam/ras/cavity/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes b/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes index bbe7fab0d2e1553b63c1695352cb9fe538ecd597..2535b6a258dd5c5cc2a9bcecdf59955e0665ea59 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes +++ b/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -63,7 +64,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSolution b/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSolution index 0da9f4a3b69b072a2c8a103884a0777a1e05effd..d64a84ecfe9f5563ad179088e0e5b337d3a51e6e 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSolution +++ b/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,54 +10,68 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0.1; - }; - pFinal PCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.1; + } + + pFinal { - preconditioner DIC; - tolerance 1e-06; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -68,4 +82,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/0/U b/tutorials/incompressible/simpleFoam/airFoil2D/0/U index b047ad78c70a1b436e5e4245976d97552c02741b..df71a3d3b3564d77197d671ca7772246a9d6a278 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/0/U +++ b/tutorials/incompressible/simpleFoam/airFoil2D/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/0/nuTilda b/tutorials/incompressible/simpleFoam/airFoil2D/0/nuTilda index fae6a50d142da208e3a7eb1d7101d4c72a8fc535..883544254c4e2e7be300958270afa7c3059292c4 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/0/nuTilda +++ b/tutorials/incompressible/simpleFoam/airFoil2D/0/nuTilda @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/0/nut b/tutorials/incompressible/simpleFoam/airFoil2D/0/nut index f170fb808fab454b6e4515658e6ec7c28ecebd1d..739392ea8e3d6e5262e353aadc18677674b338f8 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/0/nut +++ b/tutorials/incompressible/simpleFoam/airFoil2D/0/nut @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/0/p b/tutorials/incompressible/simpleFoam/airFoil2D/0/p index 9cf68305ea01ad895a091b2727e85ed6ac497ab5..3309bb65cb47d99834beea7c05043b20b08c52be 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/0/p +++ b/tutorials/incompressible/simpleFoam/airFoil2D/0/p @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/constant/RASProperties b/tutorials/incompressible/simpleFoam/airFoil2D/constant/RASProperties index ee57789589c4c2ddd9e1b234241ae7c763faf265..ec7ffbd28bddc32280b11e167efc7b00f466ce47 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/constant/RASProperties +++ b/tutorials/incompressible/simpleFoam/airFoil2D/constant/RASProperties @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel SpalartAllmaras; //kEpsilon; +RASModel SpalartAllmaras; turbulence on; @@ -24,150 +25,150 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - //Next line Modified vorticity factor by Ashford 1996 - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/boundary b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/boundary index d9946a2c683518c83dbff08288ba7dd50c88fda1..90a755393f8483c1069ff5a1a8bd3bb00a0f8016 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/boundary +++ b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/cells b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/cells index 85222fba6bc2a6863f2dbccfd4e665f6521d4a69..25b2e32bff13877b5a08bd26f4cd210f11532b2d 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/cells +++ b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/cells @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/faces b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/faces index 4cfd2f9580b69164d05906be060273e1e715e72d..d2b3b06560a3fe92d52881e8c15457eb176b893e 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/faces +++ b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/faces @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/neighbour b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/neighbour index eca8a993ad73b7c6c61f1357e7832b0f0d490d54..f5c77a51ee10d3c3adac1b96f149bc224ce6c61a 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/neighbour +++ b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/neighbour @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/owner b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/owner index 0665c5a059a7ee9d38f6f8ed5477e9134d308972..8f484aa69a79a700f321a06d611b1606cc6704d2 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/owner +++ b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/owner @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/points b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/points index d09b631e686d456052dd66d00e7e2669a3d2338f..6cdbde6f8237e625a0ca0e0f54e3b6af5d31284b 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/points +++ b/tutorials/incompressible/simpleFoam/airFoil2D/constant/polyMesh/points @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/constant/transportProperties b/tutorials/incompressible/simpleFoam/airFoil2D/constant/transportProperties index 66348678a3538f4f98f911cb4e79726833692374..2d0ecd1a70c43546c5acc36bb6ecd0014c69572e 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/constant/transportProperties +++ b/tutorials/incompressible/simpleFoam/airFoil2D/constant/transportProperties @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,29 +10,32 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // transportModel Newtonian; -rho rho [1 -3 0 0 0 0 0] 1.0; -nu nu [0 2 -1 0 0 0 0] 1e-05; +rho rho [ 1 -3 0 0 0 0 0 ] 1; + +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/constant/turbulenceProperties b/tutorials/incompressible/simpleFoam/airFoil2D/constant/turbulenceProperties index 5c7e116a09e3fae704f6008617d69f2d357d6ade..871d8e64aa5f27d5e8ae105b7f9bffa65a35652d 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/constant/turbulenceProperties +++ b/tutorials/incompressible/simpleFoam/airFoil2D/constant/turbulenceProperties @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -turbulenceModel SpalartAllmaras; //kEpsilon; +turbulenceModel SpalartAllmaras; turbulence on; @@ -24,150 +25,150 @@ laminarCoeffs kEpsilonCoeffs { - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; + Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.44; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.92; + alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923; } RNGkEpsilonCoeffs { - Cmu Cmu [0 0 0 0 0 0 0] 0.0845; - C1 C1 [0 0 0 0 0 0 0] 1.42; - C2 C2 [0 0 0 0 0 0 0] 1.68; - alphak alphaK [0 0 0 0 0 0 0] 1.39; - alphaEps alphaEps [0 0 0 0 0 0 0] 1.39; - eta0 eta0 [0 0 0 0 0 0 0] 4.38; - beta beta [0 0 0 0 0 0 0] 0.012; + Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.0845; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.42; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.68; + alphak alphaK [ 0 0 0 0 0 0 0 ] 1.39; + alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 1.39; + eta0 eta0 [ 0 0 0 0 0 0 0 ] 4.38; + beta beta [ 0 0 0 0 0 0 0 ] 0.012; } NonlinearKEShihCoeffs { - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - alphak alphak [0 0 0 0 0 0 0] 1; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76932; - A1 A1 [0 0 0 0 0 0 0] 1.25; - A2 A2 [0 0 0 0 0 0 0] 1000; - Ctau1 Ctau1 [0 0 0 0 0 0 0] -4; - Ctau2 Ctau2 [0 0 0 0 0 0 0] 13; - Ctau3 Ctau3 [0 0 0 0 0 0 0] -2; - alphaKsi alphaKsi [0 0 0 0 0 0 0] 0.9; + Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.44; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.92; + alphak alphak [ 0 0 0 0 0 0 0 ] 1; + alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76932; + A1 A1 [ 0 0 0 0 0 0 0 ] 1.25; + A2 A2 [ 0 0 0 0 0 0 0 ] 1000; + Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4; + Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13; + Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2; + alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9; } LienCubicKECoeffs { - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - alphak alphak [0 0 0 0 0 0 0] 1; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; - A1 A1 [0 0 0 0 0 0 0] 1.25; - A2 A2 [0 0 0 0 0 0 0] 1000; - Ctau1 Ctau1 [0 0 0 0 0 0 0] -4; - Ctau2 Ctau2 [0 0 0 0 0 0 0] 13; - Ctau3 Ctau3 [0 0 0 0 0 0 0] -2; - alphaKsi alphaKsi [0 0 0 0 0 0 0] 0.9; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.44; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.92; + alphak alphak [ 0 0 0 0 0 0 0 ] 1; + alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923; + A1 A1 [ 0 0 0 0 0 0 0 ] 1.25; + A2 A2 [ 0 0 0 0 0 0 0 ] 1000; + Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4; + Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13; + Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2; + alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9; } QZetaCoeffs { - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - alphaZeta alphaZeta [0 0 0 0 0 0 0] 0.76923; + Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.44; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.92; + alphaZeta alphaZeta [ 0 0 0 0 0 0 0 ] 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; + Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.44; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.92; + alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923; } LamBremhorstKECoeffs { - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; + Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.44; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.92; + alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923; } LienCubicKELowReCoeffs { - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - alphak alphak [0 0 0 0 0 0 0] 1; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; - A1 A1 [0 0 0 0 0 0 0] 1.25; - A2 A2 [0 0 0 0 0 0 0] 1000; - Ctau1 Ctau1 [0 0 0 0 0 0 0] -4; - Ctau2 Ctau2 [0 0 0 0 0 0 0] 13; - Ctau3 Ctau3 [0 0 0 0 0 0 0] -2; - alphaKsi alphaKsi [0 0 0 0 0 0 0] 0.9; - Am Am [0 0 0 0 0 0 0] 0.016; - Aepsilon Aepsilon [0 0 0 0 0 0 0] 0.263; - Amu Amu [0 0 0 0 0 0 0] 0.00222; + Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.44; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.92; + alphak alphak [ 0 0 0 0 0 0 0 ] 1; + alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923; + A1 A1 [ 0 0 0 0 0 0 0 ] 1.25; + A2 A2 [ 0 0 0 0 0 0 0 ] 1000; + Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4; + Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13; + Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2; + alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9; + Am Am [ 0 0 0 0 0 0 0 ] 0.016; + Aepsilon Aepsilon [ 0 0 0 0 0 0 0 ] 0.263; + Amu Amu [ 0 0 0 0 0 0 0 ] 0.00222; } LienLeschzinerLowReCoeffs { - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - alphak alphak [0 0 0 0 0 0 0] 1; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; - Am Am [0 0 0 0 0 0 0] 0.016; - Aepsilon Aepsilon [0 0 0 0 0 0 0] 0.263; - Amu Amu [0 0 0 0 0 0 0] 0.00222; + Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.44; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.92; + alphak alphak [ 0 0 0 0 0 0 0 ] 1; + alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923; + Am Am [ 0 0 0 0 0 0 0 ] 0.016; + Aepsilon Aepsilon [ 0 0 0 0 0 0 0 ] 0.263; + Amu Amu [ 0 0 0 0 0 0 0 ] 0.00222; } LRRCoeffs { - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - Clrr1 Clrr1 [0 0 0 0 0 0 0] 1.8; - Clrr2 Clrr2 [0 0 0 0 0 0 0] 0.6; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - Cs Cs [0 0 0 0 0 0 0] 0.25; - Ceps Ceps [0 0 0 0 0 0 0] 0.15; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; + Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09; + Clrr1 Clrr1 [ 0 0 0 0 0 0 0 ] 1.8; + Clrr2 Clrr2 [ 0 0 0 0 0 0 0 ] 0.6; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.44; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.92; + Cs Cs [ 0 0 0 0 0 0 0 ] 0.25; + Ceps Ceps [ 0 0 0 0 0 0 0 ] 0.15; + alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu Cmu [0 0 0 0 0 0 0] 0.09; - Clg1 Clg1 [0 0 0 0 0 0 0] 1.8; - Clg2 Clg2 [0 0 0 0 0 0 0] 0.6; - C1 C1 [0 0 0 0 0 0 0] 1.44; - C2 C2 [0 0 0 0 0 0 0] 1.92; - C1Ref C1Ref [0 0 0 0 0 0 0] 0.5; - C2Ref C2Ref [0 0 0 0 0 0 0] 0.3; - Cs Cs [0 0 0 0 0 0 0] 0.25; - Ceps Ceps [0 0 0 0 0 0 0] 0.15; - alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923; - alphaR alphaR [0 0 0 0 0 0 0] 1.22; + Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09; + Clg1 Clg1 [ 0 0 0 0 0 0 0 ] 1.8; + Clg2 Clg2 [ 0 0 0 0 0 0 0 ] 0.6; + C1 C1 [ 0 0 0 0 0 0 0 ] 1.44; + C2 C2 [ 0 0 0 0 0 0 0 ] 1.92; + C1Ref C1Ref [ 0 0 0 0 0 0 0 ] 0.5; + C2Ref C2Ref [ 0 0 0 0 0 0 0 ] 0.3; + Cs Cs [ 0 0 0 0 0 0 0 ] 0.25; + Ceps Ceps [ 0 0 0 0 0 0 0 ] 0.15; + alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923; + alphaR alphaR [ 0 0 0 0 0 0 0 ] 1.22; } SpalartAllmarasCoeffs { - alphaNut alphaNut [0 0 0 0 0 0 0] 1.5; - Cb1 Cb1 [0 0 0 0 0 0 0] 0.1355; - Cb2 Cb2 [0 0 0 0 0 0 0] 0.622; - Cw2 Cw2 [0 0 0 0 0 0 0] 0.3; - Cw3 Cw3 [0 0 0 0 0 0 0] 2; - Cv1 Cv1 [0 0 0 0 0 0 0] 7.1; - //Next line Modified vorticity factor by Ashford 1996 - Cv2 Cv2 [0 0 0 0 0 0 0] 5.0; + alphaNut alphaNut [ 0 0 0 0 0 0 0 ] 1.5; + Cb1 Cb1 [ 0 0 0 0 0 0 0 ] 0.1355; + Cb2 Cb2 [ 0 0 0 0 0 0 0 ] 0.622; + Cw2 Cw2 [ 0 0 0 0 0 0 0 ] 0.3; + Cw3 Cw3 [ 0 0 0 0 0 0 0 ] 2; + Cv1 Cv1 [ 0 0 0 0 0 0 0 ] 7.1; + Cv2 Cv2 [ 0 0 0 0 0 0 0 ] 5; } wallFunctionCoeffs { - kappa kappa [0 0 0 0 0 0 0] 0.4187; - E E [0 0 0 0 0 0 0] 9; + kappa kappa [ 0 0 0 0 0 0 0 ] 0.4187; + E E [ 0 0 0 0 0 0 0 ] 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/system/controlDict b/tutorials/incompressible/simpleFoam/airFoil2D/system/controlDict index 3b6e0b2a477c6f7cc7897a8cd0a353c2c438e97e..0b19a7dffe63dc2309cf919e422252246088bafa 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/system/controlDict +++ b/tutorials/incompressible/simpleFoam/airFoil2D/system/controlDict @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/system/fvSchemes b/tutorials/incompressible/simpleFoam/airFoil2D/system/fvSchemes index 6b972e1acd5a209b76e9d26f0f1fd76cbfdf193c..db79ef84a1a8e4367e4859d63bf5711b8d0d54f5 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/system/fvSchemes +++ b/tutorials/incompressible/simpleFoam/airFoil2D/system/fvSchemes @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes @@ -40,8 +41,7 @@ laplacianSchemes laplacian(nuEff,U) Gauss linear corrected; laplacian((1|A(U)),p) Gauss linear corrected; laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; - - laplacian(1,p) Gauss linear corrected; + laplacian(1,p) Gauss linear corrected; } interpolationSchemes @@ -58,7 +58,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/system/fvSolution b/tutorials/incompressible/simpleFoam/airFoil2D/system/fvSolution index 7da40edc0a82d80dcd1b3d79c4486163dafd5cbe..6f7dffd99bd59c324d9f1e673cce74169fc25975 100644 --- a/tutorials/incompressible/simpleFoam/airFoil2D/system/fvSolution +++ b/tutorials/incompressible/simpleFoam/airFoil2D/system/fvSolution @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,50 +10,51 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p GAMG + p { - tolerance 1e-6; - relTol 0.1; - - smoother GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - + solver GAMG; + tolerance 1e-06; + relTol 0.1; + smoother GaussSeidel; + nPreSweeps 0; + nPostSweeps 2; cacheAgglomeration true; - nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - U smoothSolver + U { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-8; - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-08; + relTol 0.1; + } - nuTilda smoothSolver + nuTilda { - smoother GaussSeidel; - nSweeps 2; - tolerance 1e-8; - relTol 0.1; - }; + solver smoothSolver; + smoother GaussSeidel; + nSweeps 2; + tolerance 1e-08; + relTol 0.1; + } } SIMPLE { nNonOrthogonalCorrectors 0; - pRefCell 0; - pRefValue 0; + pRefCell 0; + pRefValue 0; } relaxationFactors @@ -63,4 +64,5 @@ relaxationFactors nuTilda 0.7; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/constant/RASProperties b/tutorials/incompressible/simpleFoam/pitzDaily/constant/RASProperties index e46e0a858b12c777bb11bc364b144cd6feb2b1da..559c506d1113db8266b365093851601b52fde4e5 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily/constant/RASProperties +++ b/tutorials/incompressible/simpleFoam/pitzDaily/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,175 +27,175 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } realizableKECoeffs { - Cmu 0.09; - A0 4.0; - C2 1.9; - alphak 1; - alphaEps 0.833333; + Cmu 0.09; + A0 4; + C2 1.9; + alphak 1; + alphaEps 0.833333; } kOmegaSSTCoeffs { - alphaK1 0.85034; - alphaK2 1.0; - alphaOmega1 0.5; - alphaOmega2 0.85616; - gamma1 0.5532; - gamma2 0.4403; - beta1 0.0750; - beta2 0.0828; - betaStar 0.09; - a1 0.31; - c1 10; - - Cmu 0.09; + alphaK1 0.85034; + alphaK2 1; + alphaOmega1 0.5; + alphaOmega2 0.85616; + gamma1 0.5532; + gamma2 0.4403; + beta1 0.075; + beta2 0.0828; + betaStar 0.09; + a1 0.31; + c1 10; + Cmu 0.09; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/constant/transportProperties b/tutorials/incompressible/simpleFoam/pitzDaily/constant/transportProperties index fd5fc94660c15bb124be01fc5bfb49f4e27dde73..aad34b40df2a22407d363cccfba0f552c4bf276f 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily/constant/transportProperties +++ b/tutorials/incompressible/simpleFoam/pitzDaily/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,28 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // transportModel Newtonian; -nu nu [0 2 -1 0 0 0 0] 1e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict b/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict index 77e3a65b502c713669b69feb25d664894139c35f..29292679f23bcb180a3eb138052ce6a8ae0661f7 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict +++ b/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSchemes b/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSchemes index 49767ffb28201561b24dc72ef7c7a0d600cd306a..0477c57b510377b1dadd485d418aad07f85cca1f 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSchemes +++ b/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes @@ -63,7 +64,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSolution b/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSolution index 8a32ba1d6c29306485b4a9da6b594cf0c29db770..a8d89c42281647be46dba2f59b00096ff3eeb5e6 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSolution +++ b/tutorials/incompressible/simpleFoam/pitzDaily/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,48 +10,60 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0.01; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.01; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } } SIMPLE @@ -69,4 +81,5 @@ relaxationFactors nuTilda 0.7; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/constant/RASProperties b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/constant/RASProperties index e46e0a858b12c777bb11bc364b144cd6feb2b1da..559c506d1113db8266b365093851601b52fde4e5 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/constant/RASProperties +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,175 +27,175 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } realizableKECoeffs { - Cmu 0.09; - A0 4.0; - C2 1.9; - alphak 1; - alphaEps 0.833333; + Cmu 0.09; + A0 4; + C2 1.9; + alphak 1; + alphaEps 0.833333; } kOmegaSSTCoeffs { - alphaK1 0.85034; - alphaK2 1.0; - alphaOmega1 0.5; - alphaOmega2 0.85616; - gamma1 0.5532; - gamma2 0.4403; - beta1 0.0750; - beta2 0.0828; - betaStar 0.09; - a1 0.31; - c1 10; - - Cmu 0.09; + alphaK1 0.85034; + alphaK2 1; + alphaOmega1 0.5; + alphaOmega2 0.85616; + gamma1 0.5532; + gamma2 0.4403; + beta1 0.075; + beta2 0.0828; + betaStar 0.09; + a1 0.31; + c1 10; + Cmu 0.09; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/constant/transportProperties b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/constant/transportProperties index fd5fc94660c15bb124be01fc5bfb49f4e27dde73..aad34b40df2a22407d363cccfba0f552c4bf276f 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/constant/transportProperties +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,28 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // transportModel Newtonian; -nu nu [0 2 -1 0 0 0 0] 1e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict index 77e3a65b502c713669b69feb25d664894139c35f..29292679f23bcb180a3eb138052ce6a8ae0661f7 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/decomposeParDict b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/decomposeParDict index 296e5226e1198e26acebdfa8fdfcc2dbefbbd70d..e6a13cc19051491fead1b45cf30ae2bc347a04d8 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/decomposeParDict +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,24 +18,23 @@ FoamFile numberOfSubdomains 4; method hierarchical; -//method metis; -//method parMetis; simpleCoeffs { - n (2 1 1); + n ( 2 1 1 ); delta 0.001; } hierarchicalCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; order xyz; } metisCoeffs -{} +{ +} manualCoeffs { @@ -43,8 +43,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSchemes b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSchemes index 49767ffb28201561b24dc72ef7c7a0d600cd306a..0477c57b510377b1dadd485d418aad07f85cca1f 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSchemes +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes @@ -63,7 +64,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSolution b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSolution index 8a32ba1d6c29306485b4a9da6b594cf0c29db770..a8d89c42281647be46dba2f59b00096ff3eeb5e6 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSolution +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,48 +10,60 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0.01; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.01; + } + + U { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } } SIMPLE @@ -69,4 +81,5 @@ relaxationFactors nuTilda 0.7; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/constant/RASProperties b/tutorials/incompressible/simpleSRFFoam/mixer/constant/RASProperties index 892738ac369e5e6e9736738e72e3ac7b5ed7dfc0..f543226c9b0ae5af82f266274304fb8acf2f5ab6 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/constant/RASProperties +++ b/tutorials/incompressible/simpleSRFFoam/mixer/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kOmegaSST; +RASModel kOmegaSST; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,166 +27,166 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } kOmegaSSTCoeffs { - alphaK1 0.85034; - alphaK2 1.0; - alphaOmega1 0.5; - alphaOmega2 0.85616; - gamma1 0.5532; - gamma2 0.4403; - beta1 0.0750; - beta2 0.0828; - betaStar 0.09; - a1 0.31; - c1 10; - - Cmu 0.09; + alphaK1 0.85034; + alphaK2 1; + alphaOmega1 0.5; + alphaOmega2 0.85616; + gamma1 0.5532; + gamma2 0.4403; + beta1 0.075; + beta2 0.0828; + betaStar 0.09; + a1 0.31; + c1 10; + Cmu 0.09; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/constant/SRFProperties b/tutorials/incompressible/simpleSRFFoam/mixer/constant/SRFProperties index 97e480826337d414e2c900af8b78c0c949ca347d..e3281ee1e6bb4bcb88f9ec21091a2e8c7418c227 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/constant/SRFProperties +++ b/tutorials/incompressible/simpleSRFFoam/mixer/constant/SRFProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,17 +10,19 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object SRFProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -SRFModel rpm; +SRFModel rpm; -axis (0 0 1); +axis ( 0 0 1 ); rpmCoeffs { - rpm 5000.0; + rpm 5000; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/constant/transportProperties b/tutorials/incompressible/simpleSRFFoam/mixer/constant/transportProperties index db1e716f78f8e4627d26a2c95cb00439981205f4..50b8da0ba579db00f7a2c47fe50d1b0b9d5741d1 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/constant/transportProperties +++ b/tutorials/incompressible/simpleSRFFoam/mixer/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,28 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // transportModel Newtonian; -nu nu [0 2 -1 0 0 0 0] 1.5e-05; +nu nu [ 0 2 -1 0 0 0 0 ] 1.5e-05; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 1; } BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 0; - n n [0 0 0 0 0 0 0] 1; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 0; + n n [ 0 0 0 0 0 0 0 ] 1; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/system/controlDict b/tutorials/incompressible/simpleSRFFoam/mixer/system/controlDict index b50c43e4d8e33d82cf15abb63810d2a99130f9b1..46e7cd00c334efd3d10a44f4e932cef57ccff22d 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/system/controlDict +++ b/tutorials/incompressible/simpleSRFFoam/mixer/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSchemes b/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSchemes index 636bf4ad6727a3f02c97a3848b3f23ff1dc4db6f..f2697595694d0407519f8badc4cbff3c4f661f9d 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSchemes +++ b/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default steadyState; + default steadyState; } gradSchemes @@ -32,7 +33,7 @@ divSchemes div(phi,Urel) Gauss upwind; div(phi,k) Gauss upwind; div(phi,epsilon) Gauss upwind; - div(phi,omega) Gauss upwind; + div(phi,omega) Gauss upwind; div(phi,R) Gauss upwind; div(R) Gauss linear; div(phi,nuTilda) Gauss upwind; @@ -65,7 +66,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSolution b/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSolution index f16662b3e5152175f478cd786dfc5fb46abcaaa8..f2fd9ead3d3e5c80c2e54aa946c162cf942743a4 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSolution +++ b/tutorials/incompressible/simpleSRFFoam/mixer/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,54 +10,68 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-06; - relTol 0.01; - }; - Urel PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0.01; + } + + Urel { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - omega PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + omega { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + R { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-05; - relTol 0.1; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0.1; + } } SIMPLE @@ -76,4 +90,5 @@ relaxationFactors nuTilda 0.7; } + // ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/controlDict b/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/controlDict index b2622384ddabbbd9022f1607b1080bc55f64a584..ef80311ee11931792c1d637b6d45c5a9b75c24de 100644 --- a/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/controlDict +++ b/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -32,7 +31,6 @@ writeInterval 1; purgeWrite 0; -//writeFormat binary; writeFormat ascii; writePrecision 7; @@ -45,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/decomposeParDict b/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/decomposeParDict index 25b7e5c29b7f7a4c789c87be17168cd90f722122..c0de7923c6eef835d325647f9b074087c87add01 100644 --- a/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/decomposeParDict +++ b/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,18 +18,16 @@ FoamFile numberOfSubdomains 6; method hierarchical; -//method metis; -//method parMetis; simpleCoeffs { - n (4 1 1); + n ( 4 1 1 ); delta 0.001; } hierarchicalCoeffs { - n (3 2 1); + n ( 3 2 1 ); delta 0.001; order xyz; } @@ -40,8 +39,6 @@ manualCoeffs metisCoeffs { - //n (5 1 1); - //cellWeightsFile "constant/cellWeightsFile"; } diff --git a/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/fvSchemes b/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/fvSchemes index 51ebb81a9da7ee1d671f1bdf6351da21d6c12cd7..2fa85964b7e2113902ff5be6f03334f6777d84b6 100644 --- a/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/fvSchemes +++ b/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,9 +10,9 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes @@ -24,8 +24,6 @@ gradSchemes { default Gauss linear; grad(p) Gauss linear; - - //snGradCorr(cellMotionU) Gauss linear; } divSchemes @@ -39,7 +37,6 @@ laplacianSchemes default none; laplacian(nu,U) Gauss linear corrected; laplacian(1|A(U),p) Gauss linear corrected; - laplacian(diffusivity,cellMotionU) Gauss linear uncorrected; } @@ -57,7 +54,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/fvSolution b/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/fvSolution index 9e9998642e78ea59c1aef2bbb95c799fffef6501..876c8c233f9dece81ca38c9186f66b783bae4ec9 100644 --- a/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/fvSolution +++ b/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,21 +10,13 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers -{ - // p ICCG 1e-06 0; - p AMG 1e-06 0 10; - U BICCG 1e-05 0; - - // Meshmotion - cellMotionU ICCG 1e-6 0.0; - cellMotionUx ICCG 1e-6 0.0; -} +{} PISO { @@ -34,4 +26,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/snappyHexMeshDict b/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/snappyHexMeshDict index 4b547f7a5137e62caa5a2c6571cd56635c9f5d6c..2efe6901aa1657a7bb782cd7991cfc944b713132 100644 --- a/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/snappyHexMeshDict +++ b/tutorials/mesh/snappyHexMesh/iglooWithFridges/system/snappyHexMeshDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,321 +10,138 @@ FoamFile version 2.0; format ascii; class dictionary; - object autoHexMeshDict; + location "system"; + object snappyHexMeshDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Which of the steps to run castellatedMesh true; + snap true; -addLayers true; +addLayers true; -// Geometry. Definition of all surfaces. All surfaces are of class -// searchableSurface. -// Surfaces are used -// - to specify refinement for any mesh cell intersecting it -// - to specify refinement for any mesh cell inside/outside/near -// - to 'snap' the mesh boundary to the surface geometry { fridgeA { - type searchableBox; - min (2 2 0); - max (3 3 2); + type searchableBox; + min ( 2 2 0 ); + max ( 3 3 2 ); } fridgeB { - type searchableBox; - min (3.5 3 0); - max (4.3 3.8 1.8); + type searchableBox; + min ( 3.5 3 0 ); + max ( 4.3 3.8 1.8 ); } igloo { - type searchableSphere; - centre (3 3 0); - radius 4; + type searchableSphere; + centre ( 3 3 0 ); + radius 4; } -}; - - +} -// Settings for the castellatedMesh generation. castellatedMeshControls { - - // Refinement parameters - // ~~~~~~~~~~~~~~~~~~~~~ - - // While refining maximum number of cells per processor. This is basically - // the number of cells that fit on a processor. If you choose this too small - // it will do just more refinement iterations to obtain a similar mesh. - maxLocalCells 1000000; - - // Overall cell limit (approximately). Refinement will stop immediately - // upon reaching this number so a refinement level might not complete. - // Note that this is the number of cells before removing the part which - // is not 'visible' from the keepPoint. The final number of cells might - // actually be a lot less. - maxGlobalCells 2000000; - - // The surface refinement loop might spend lots of iterations refining just a - // few cells. This setting will cause refinement to stop if <= minimumRefine - // are selected for refinement. Note: it will at least do one iteration - // (unless the number of cells to refine is 0) + maxLocalCells 1000000; + maxGlobalCells 2000000; minRefinementCells 0; - - // Number of buffer layers between different levels. - // 1 means normal 2:1 refinement restriction, larger means slower - // refinement. nCellsBetweenLevels 1; - - - - // Explicit feature edge refinement - // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - // Specifies a level for any cell intersected by its edges. - // This is a featureEdgeMesh, read from constant/triSurface for now. - features - ( - //{ - // file "someLine.eMesh"; - // level 2; - //} - ); - - - - // Surface based refinement - // ~~~~~~~~~~~~~~~~~~~~~~~~ - - // Specifies two levels for every surface. The first is the minimum level, - // every cell intersecting a surface gets refined up to the minimum level. - // The second level is the maximum level. Cells that 'see' multiple - // intersections where the intersections make an - // angle > resolveFeatureAngle get refined up to the maximum level. - + features ( ); refinementSurfaces { fridgeA { - // Surface-wise min and max refinement level - level (2 2); + level ( 2 2 ); } + fridgeB { - // Surface-wise min and max refinement level - level (2 2); + level ( 2 2 ); } + igloo { - // Surface-wise min and max refinement level - level (1 1); + level ( 1 1 ); } } - // Resolve sharp angles on fridges resolveFeatureAngle 60; - - - // Region-wise refinement - // ~~~~~~~~~~~~~~~~~~~~~~ - - // Specifies refinement level for cells in relation to a surface. One of - // three modes - // - distance. 'levels' specifies per distance to the surface the - // wanted refinement level. The distances need to be specified in - // descending order. - // - inside. 'levels' is only one entry and only the level is used. All - // cells inside the surface get refined up to the level. The surface - // needs to be closed for this to be possible. - // - outside. Same but cells outside. - refinementRegions { } - - // Mesh selection - // ~~~~~~~~~~~~~~ - - // After refinement patches get added for all refinementSurfaces and - // all cells intersecting the surfaces get put into these patches. The - // section reachable from the locationInMesh is kept. - // NOTE: This point should never be on a face, always inside a cell, even - // after refinement. - locationInMesh (3 0.28 0.43); + locationInMesh ( 3 0.28 0.43 ); } - - -// Settings for the snapping. snapControls { - //- Number of patch smoothing iterations before finding correspondence - // to surface - nSmoothPatch 3; - - //- Relative distance for points to be attracted by surface feature point - // or edge. True distance is this factor times local - // maximum edge length. - tolerance 4.0; - - //- Number of mesh displacement relaxation iterations. - nSolveIter 30; - - //- Maximum number of snapping relaxation iterations. Should stop - // before upon reaching a correct mesh. - nRelaxIter 5; + nSmoothPatch 3; + tolerance 4; + nSolveIter 30; + nRelaxIter 5; } - - -// Settings for the layer addition. addLayersControls { - // Per final patch (so not geometry!) the layer information layers { fridgeA_region0 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + fridgeB_region0 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + igloo_region0 { - nSurfaceLayers 1; + nSurfaceLayers 1; } } - // Expansion factor for layer mesh - expansionRatio 1.0; - - //- Wanted thickness of final added cell layer. If multiple layers - // is the - // thickness of the layer furthest away from the wall. - // Relative to undistorted size of cell outside layer. + expansionRatio 1; finalLayerRatio 0.5; - - //- Minimum thickness of cell layer. If for any reason layer - // cannot be above minThickness do not add layer. - // Relative to undistorted size of cell outside layer. - minThickness 0.25; - - //- If points get not extruded do nGrow layers of connected faces that are - // also not grown. This helps convergence of the layer addition process - // close to features. - nGrow 0; - - - // Advanced settings - - //- When not to extrude surface. 0 is flat surface, 90 is when two faces - // make straight angle. - featureAngle 60; - - //- Maximum number of snapping relaxation iterations. Should stop - // before upon reaching a correct mesh. - nRelaxIter 5; - - // Number of smoothing iterations of surface normals + minThickness 0.25; + nGrow 0; + featureAngle 60; + nRelaxIter 5; nSmoothSurfaceNormals 1; - - // Number of smoothing iterations of interior mesh movement direction - nSmoothNormals 3; - - // Smooth layer thickness over surface patches + nSmoothNormals 3; nSmoothThickness 10; - - // Stop layer growth on highly warped cells maxFaceThicknessRatio 0.5; - - // Reduce layer growth where ratio thickness to medial - // distance is large maxThicknessToMedialRatio 0.3; - - // Angle used to pick up medial axis points minMedianAxisAngle 130; - - // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; } - - -// Generic mesh quality settings. At any undoable phase these determine -// where to undo. meshQualityControls { - //- Maximum non-orthogonality allowed. Set to 180 to disable. - maxNonOrtho 65; - - //- Max skewness allowed. Set to <0 to disable. + maxNonOrtho 65; maxBoundarySkewness 20; maxInternalSkewness 4; - - //- Max concaveness allowed. Is angle (in degrees) below which concavity - // is allowed. 0 is straight face, <0 would be convex face. - // Set to 180 to disable. - maxConcave 80; - - //- Minimum projected area v.s. actual area. Set to -1 to disable. - minFlatness 0.5; - - //- Minimum pyramid volume. Is absolute volume of cell pyramid. - // Set to very negative number (e.g. -1E30) to disable. - minVol 1e-13; - - //- Minimum face area. Set to <0 to disable. - minArea -1; - - //- Minimum face twist. Set to <-1 to disable. dot product of face normal - //- and face centre triangles normal - minTwist 0.05; - - //- minimum normalised cell determinant - //- 1 = hex, <= 0 = folded or flattened illegal cell - minDeterminant 0.001; - - //- minFaceWeight (0 -> 0.5) - minFaceWeight 0.05; - - //- minVolRatio (0 -> 1) - minVolRatio 0.01; - - //must be >0 for Fluent compatibility + maxConcave 80; + minFlatness 0.5; + minVol 1e-13; + minArea -1; + minTwist 0.05; + minDeterminant 0.001; + minFaceWeight 0.05; + minVolRatio 0.01; minTriangleTwist -1; - - - // Advanced - - //- Number of error distribution iterations - nSmoothScale 4; - //- amount to scale back displacement at error points - errorReduction 0.75; + nSmoothScale 4; + errorReduction 0.75; } +debug 0; -// Advanced - -// Flags for optional output -// 0 : only write final meshes -// 1 : write intermediate meshes -// 2 : write volScalarField with cellLevel for postprocessing -// 4 : write current intersections as .obj files -debug 0; - +mergeTolerance 1e-06; -// Merge tolerance. Is fraction of overall bounding box of initial mesh. -// Note: the write tolerance needs to be higher than this. -mergeTolerance 1E-6; // ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/motorBike/system/controlDict b/tutorials/mesh/snappyHexMesh/motorBike/system/controlDict index b2622384ddabbbd9022f1607b1080bc55f64a584..ef80311ee11931792c1d637b6d45c5a9b75c24de 100644 --- a/tutorials/mesh/snappyHexMesh/motorBike/system/controlDict +++ b/tutorials/mesh/snappyHexMesh/motorBike/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -32,7 +31,6 @@ writeInterval 1; purgeWrite 0; -//writeFormat binary; writeFormat ascii; writePrecision 7; @@ -45,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/motorBike/system/decomposeParDict b/tutorials/mesh/snappyHexMesh/motorBike/system/decomposeParDict index 25b7e5c29b7f7a4c789c87be17168cd90f722122..c0de7923c6eef835d325647f9b074087c87add01 100644 --- a/tutorials/mesh/snappyHexMesh/motorBike/system/decomposeParDict +++ b/tutorials/mesh/snappyHexMesh/motorBike/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,18 +18,16 @@ FoamFile numberOfSubdomains 6; method hierarchical; -//method metis; -//method parMetis; simpleCoeffs { - n (4 1 1); + n ( 4 1 1 ); delta 0.001; } hierarchicalCoeffs { - n (3 2 1); + n ( 3 2 1 ); delta 0.001; order xyz; } @@ -40,8 +39,6 @@ manualCoeffs metisCoeffs { - //n (5 1 1); - //cellWeightsFile "constant/cellWeightsFile"; } diff --git a/tutorials/mesh/snappyHexMesh/motorBike/system/fvSchemes b/tutorials/mesh/snappyHexMesh/motorBike/system/fvSchemes index 51ebb81a9da7ee1d671f1bdf6351da21d6c12cd7..2fa85964b7e2113902ff5be6f03334f6777d84b6 100644 --- a/tutorials/mesh/snappyHexMesh/motorBike/system/fvSchemes +++ b/tutorials/mesh/snappyHexMesh/motorBike/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,9 +10,9 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes @@ -24,8 +24,6 @@ gradSchemes { default Gauss linear; grad(p) Gauss linear; - - //snGradCorr(cellMotionU) Gauss linear; } divSchemes @@ -39,7 +37,6 @@ laplacianSchemes default none; laplacian(nu,U) Gauss linear corrected; laplacian(1|A(U),p) Gauss linear corrected; - laplacian(diffusivity,cellMotionU) Gauss linear uncorrected; } @@ -57,7 +54,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/motorBike/system/fvSolution b/tutorials/mesh/snappyHexMesh/motorBike/system/fvSolution index 242f5524a281abb08f508c60ce47a0b3d4624647..876c8c233f9dece81ca38c9186f66b783bae4ec9 100644 --- a/tutorials/mesh/snappyHexMesh/motorBike/system/fvSolution +++ b/tutorials/mesh/snappyHexMesh/motorBike/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,21 +10,13 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers -{ - //p ICCG 1e-06 0; - p AMG 1e-06 0 10; - U BICCG 1e-05 0; - - // Meshmotion - cellMotionU ICCG 1e-6 0.0; - cellMotionUx ICCG 1e-6 0.0; -} +{} PISO { diff --git a/tutorials/mesh/snappyHexMesh/motorBike/system/snappyHexMeshDict b/tutorials/mesh/snappyHexMesh/motorBike/system/snappyHexMeshDict index e3d24a69219cfb53bbcb51cb9d2e02bc7ed434f5..fa094e1b03b4fe1b3d419af45a6b757592cfac4c 100644 --- a/tutorials/mesh/snappyHexMesh/motorBike/system/snappyHexMeshDict +++ b/tutorials/mesh/snappyHexMesh/motorBike/system/snappyHexMeshDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,568 +10,450 @@ FoamFile version 2.0; format ascii; class dictionary; - object autoHexMeshDict; + location "system"; + object snappyHexMeshDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Which of the steps to run castellatedMesh true; + snap true; -addLayers true; +addLayers true; -// Geometry. Definition of all surfaces. All surfaces are of class -// searchableSurface. -// Surfaces are used -// - to specify refinement for any mesh cell intersecting it -// - to specify refinement for any mesh cell inside/outside/near -// - to 'snap' the mesh boundary to the surface geometry { motorBike.stl { - type triSurfaceMesh; - name motorBike; + type triSurfaceMesh; + name motorBike; } refinementBox { - type searchableBox; - min (-0.3 -0.4 -0.1); - max ( 3.0 0.4 1.4); + type searchableBox; + min ( -0.3 -0.4 -0.1 ); + max ( 3 0.4 1.4 ); } -}; - - +} -// Settings for the castellatedMesh generation. castellatedMeshControls { - - // Refinement parameters - // ~~~~~~~~~~~~~~~~~~~~~ - - // While refining maximum number of cells per processor. This is basically - // the number of cells that fit on a processor. If you choose this too small - // it will do just more refinement iterations to obtain a similar mesh. - maxLocalCells 1000000; - - // Overall cell limit (approximately). Refinement will stop immediately - // upon reaching this number so a refinement level might not complete. - // Note that this is the number of cells before removing the part which - // is not 'visible' from the keepPoint. The final number of cells might - // actually be a lot less. - maxGlobalCells 2000000; - - // The surface refinement loop might spend lots of iterations refining just a - // few cells. This setting will cause refinement to stop if <= minimumRefine - // are selected for refinement. Note: it will at least do one iteration - // (unless the number of cells to refine is 0) + maxLocalCells 1000000; + maxGlobalCells 2000000; minRefinementCells 10; - - // Number of buffer layers between different levels. - // 1 means normal 2:1 refinement restriction, larger means slower - // refinement. nCellsBetweenLevels 2; - - - - // Explicit feature edge refinement - // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - // Specifies a level for any cell intersected by its edges. - // This is a featureEdgeMesh, read from constant/triSurface for now. - features - ( - //{ - // file "someLine.eMesh"; - // level 2; - //} - ); - - - - // Surface based refinement - // ~~~~~~~~~~~~~~~~~~~~~~~~ - - // Specifies two levels for every surface. The first is the minimum level, - // every cell intersecting a surface gets refined up to the minimum level. - // The second level is the maximum level. Cells that 'see' multiple - // intersections where the intersections make an - // angle > resolveFeatureAngle get refined up to the maximum level. - + features ( ); refinementSurfaces { motorBike { - // Surface-wise min and max refinement level - level (5 6); + level ( 5 6 ); } } - // Resolve sharp angles resolveFeatureAngle 30; - - - // Region-wise refinement - // ~~~~~~~~~~~~~~~~~~~~~~ - - // Specifies refinement level for cells in relation to a surface. One of - // three modes - // - distance. 'levels' specifies per distance to the surface the - // wanted refinement level. The distances need to be specified in - // descending order. - // - inside. 'levels' is only one entry and only the level is used. All - // cells inside the surface get refined up to the level. The surface - // needs to be closed for this to be possible. - // - outside. Same but cells outside. - refinementRegions { refinementBox { - mode inside; - levels ((1E15 4)); + mode inside; + levels ( ( 1e+15 4 ) ); } } - - // Mesh selection - // ~~~~~~~~~~~~~~ - - // After refinement patches get added for all refinementSurfaces and - // all cells intersecting the surfaces get put into these patches. The - // section reachable from the locationInMesh is kept. - // NOTE: This point should never be on a face, always inside a cell, even - // after refinement. - locationInMesh (3 3 0.43); + locationInMesh ( 3 3 0.43 ); } - - -// Settings for the snapping. snapControls { - //- Number of patch smoothing iterations before finding correspondence - // to surface - nSmoothPatch 3; - - //- Relative distance for points to be attracted by surface feature point - // or edge. True distance is this factor times local - // maximum edge length. - tolerance 4.0; - - //- Number of mesh displacement relaxation iterations. - nSolveIter 30; - - //- Maximum number of snapping relaxation iterations. Should stop - // before upon reaching a correct mesh. - nRelaxIter 5; + nSmoothPatch 3; + tolerance 4; + nSolveIter 30; + nRelaxIter 5; } - - -// Settings for the layer addition. addLayersControls { - // Per final patch (so not geometry!) the layer information layers { minZ { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_frt-fairing:001%1 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_windshield:002%2 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rr-wh-rim:005%5 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rr-wh-rim:010%10 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fr-wh-rim:011%11 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fr-wh-brake-disk:012%12 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_frame:016-shadow%13 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-susp:014%14 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-susp:014-shadow%15 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_frame:016%16 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rr-wh-rim:005-shadow%17 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rr-wh-chain-hub:022%22 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rearseat%24 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_frt-fairing%25 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_windshield%26 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_headlights%27 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_driversseat%28 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-body%29 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fuel-tank%30 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_exhaust%31 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rr-wh-rim%32 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fr-mud-guard%33 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fr-wh-rim%34 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fr-wh-brake-disk%35 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fr-brake-caliper%36 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fr-wh-tyre%37 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_hbars%38 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fr-forks%39 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_chain%40 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rr-wh-tyre%41 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_square-dial%42 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_round-dial%43 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_dial-holder%44 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-susp%45 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-brake-lights%46 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-light-bracket%47 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_frame%48 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-mud-guard%49 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-susp-spring-damp%50 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fairing-inner-plate%51 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_clutch-housing%52 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_radiator%53 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_water-pipe%54 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_water-pump%55 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_engine%56 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-shock-link%57 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-brake-fluid-pot-bracket%58 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-brake-fluid-pot%59 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_footpeg%60 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rr-wh-chain-hub%61 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-brake-caliper%62 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rider-helmet%65 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rider-visor%66 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rider-boots%67 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rider-gloves%68 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rider-body%69 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_frame:0%70 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_frt-fairing:001-shadow%74 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_windshield-shadow%75 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fr-mud-guard-shadow%81 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_fr-wh-brake-disk-shadow%83 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-mud-guard-shadow%84 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-susp-spring-damp-shadow%85 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_radiator-shadow%86 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-shock-link-shadow%87 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rear-brake-fluid-pot-bracket-shadow%88 { - nSurfaceLayers 1; + nSurfaceLayers 1; } + motorBike_rr-wh-chain-hub-shadow%89 { - nSurfaceLayers 1; + nSurfaceLayers 1; } } - // Expansion factor for layer mesh - expansionRatio 1.0; - - //- Wanted thickness of final added cell layer. If multiple layers - // is the - // thickness of the layer furthest away from the wall. - // Relative to undistorted size of cell outside layer. + expansionRatio 1; finalLayerRatio 0.3; - - //- Minimum thickness of cell layer. If for any reason layer - // cannot be above minThickness do not add layer. - // Relative to undistorted size of cell outside layer. - minThickness 0.1; - - //- If points get not extruded do nGrow layers of connected faces that are - // also not grown. This helps convergence of the layer addition process - // close to features. - nGrow 1; - - - // Advanced settings - - //- When not to extrude surface. 0 is flat surface, 90 is when two faces - // make straight angle. - featureAngle 30; - - //- Maximum number of snapping relaxation iterations. Should stop - // before upon reaching a correct mesh. - nRelaxIter 3; - - // Number of smoothing iterations of surface normals + minThickness 0.1; + nGrow 1; + featureAngle 30; + nRelaxIter 3; nSmoothSurfaceNormals 1; - - // Number of smoothing iterations of interior mesh movement direction - nSmoothNormals 3; - - // Smooth layer thickness over surface patches + nSmoothNormals 3; nSmoothThickness 10; - - // Stop layer growth on highly warped cells maxFaceThicknessRatio 0.5; - - // Reduce layer growth where ratio thickness to medial - // distance is large maxThicknessToMedialRatio 0.3; - - // Angle used to pick up medial axis points minMedianAxisAngle 130; - - // Create buffer region for new layer terminations nBufferCellsNoExtrude 0; } - - -// Generic mesh quality settings. At any undoable phase these determine -// where to undo. meshQualityControls { - //- Maximum non-orthogonality allowed. Set to 180 to disable. - maxNonOrtho 65; - - //- Max skewness allowed. Set to <0 to disable. + maxNonOrtho 65; maxBoundarySkewness 20; maxInternalSkewness 4; - - //- Max concaveness allowed. Is angle (in degrees) below which concavity - // is allowed. 0 is straight face, <0 would be convex face. - // Set to 180 to disable. - maxConcave 80; - - //- Minimum projected area v.s. actual area. Set to -1 to disable. - minFlatness 0.5; - - //- Minimum pyramid volume. Is absolute volume of cell pyramid. - // Set to very negative number (e.g. -1E30) to disable. - minVol 1e-13; - - //- Minimum face area. Set to <0 to disable. - minArea -1; - - //- Minimum face twist. Set to <-1 to disable. dot product of face normal - //- and face centre triangles normal - minTwist 0.02; - - //- minimum normalised cell determinant - //- 1 = hex, <= 0 = folded or flattened illegal cell - minDeterminant 0.001; - - //- minFaceWeight (0 -> 0.5) - minFaceWeight 0.02; - - //- minVolRatio (0 -> 1) - minVolRatio 0.01; - - //must be >0 for Fluent compatibility + maxConcave 80; + minFlatness 0.5; + minVol 1e-13; + minArea -1; + minTwist 0.02; + minDeterminant 0.001; + minFaceWeight 0.02; + minVolRatio 0.01; minTriangleTwist -1; - - - // Advanced - - //- Number of error distribution iterations - nSmoothScale 4; - //- amount to scale back displacement at error points - errorReduction 0.75; + nSmoothScale 4; + errorReduction 0.75; } +debug 0; -// Advanced - -// Flags for optional output -// 0 : only write final meshes -// 1 : write intermediate meshes -// 2 : write volScalarField with cellLevel for postprocessing -// 4 : write current intersections as .obj files -debug 0; - +mergeTolerance 1e-06; -// Merge tolerance. Is fraction of overall bounding box of initial mesh. -// Note: the write tolerance needs to be higher than this. -mergeTolerance 1E-6; // ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/constant/polyMesh/boundary b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/constant/polyMesh/boundary index eaeb38f09e82e1b87d50473c0f179baa840d4791..e9d933420b7298f5aa2fef9909433f031b113f5a 100644 --- a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/constant/polyMesh/boundary +++ b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/controlDict b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/controlDict index eb2d79fa78af0722fd2592d5ec1f0238e1ca7419..c43b52a4489940816c201cd8c03c5ca1f7694a2e 100644 --- a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/controlDict +++ b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -44,4 +45,5 @@ runTimeModifiable yes; adjustTimeStep no; + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/fvSchemes b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/fvSchemes index 83f984c2ed5482b1e2d4577dd0655845b3095878..f923afcfacf038c5cd521b7e67b1c11b4d535866 100644 --- a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/fvSchemes +++ b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -52,7 +53,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/fvSolution b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/fvSolution index ca4069e5ccf30fe01342cf94f0a77ee5abc18a14..46670343363af32a79fcf7bd788316556b9de7d7 100644 --- a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/fvSolution +++ b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,14 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p ICCG 1e-06 0; - U BICCG 1e-05 0; + p + { + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -28,4 +42,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/mdSolution b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/mdSolution index fa264d59f7facf72f25e2156a909e3a27acb9261..dfef948901fc9407d740d27c3f58e12fc09f78c8 100644 --- a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/mdSolution +++ b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/mdSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object mdSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -integrationMethod verletLeapfrog; +integrationMethod verletLeapfrog; -potentialEnergyLimit 5.256e-20; +potentialEnergyLimit 5.256e-20; -// ************************************************************************* // \ No newline at end of file + +// ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/molConfigDict b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/molConfigDict index 9423fb934a55fc0082b2616aa268bba1587b7ca9..6bd9f1538e2c0723d9505442bdf2453015012738 100644 --- a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/molConfigDict +++ b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/molConfigDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,57 +10,55 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object molConfigDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Subdictionaries specifying the contents of zones - -// Euler angles, expressed in degrees as phi, theta, psi, see http://mathworld.wolfram.com/EulerAngles.html - bottomWall { - massDensity 1220.0; - temperature 300.0; - velocityDistribution maxwellian; - bulkVelocity (0.0 0.0 0.0); - id Ar; - mass 6.63352033e-26; - latticeStructure FCC; - anchor (1.05e-9 3.18e-9 2.87e-9); - anchorSpecifies molecule; - tethered yes; - orientationAngles (30 0 0); + massDensity 1220; + temperature 300; + velocityDistribution maxwellian; + bulkVelocity ( 0 0 0 ); + id Ar; + mass 6.63352033e-26; + latticeStructure FCC; + anchor ( 1.05e-09 3.18e-09 2.87e-09 ); + anchorSpecifies molecule; + tethered yes; + orientationAngles ( 30 0 0 ); } liquid { - massDensity 1100.0; - temperature 250.0; - velocityDistribution maxwellian; - bulkVelocity (245.0 0.0 0.0); - id Ne; - mass 3.350996347e-26; - latticeStructure SC; - anchor (1.05e-9 3.18e-9 2.87e-9); - anchorSpecifies molecule; - tethered no; - orientationAngles (45 0 0); + massDensity 1100; + temperature 250; + velocityDistribution maxwellian; + bulkVelocity ( 245 0 0 ); + id Ne; + mass 3.350996347e-26; + latticeStructure SC; + anchor ( 1.05e-09 3.18e-09 2.87e-09 ); + anchorSpecifies molecule; + tethered no; + orientationAngles ( 45 0 0 ); } topWall { - massDensity 1220.0; - temperature 200.0; - velocityDistribution maxwellian; - bulkVelocity (0.0 0.0 0.0); - id Ar; - mass 6.63352033e-26; - latticeStructure BCC; - anchor (1.05e-9 3.18e-9 2.87e-9); - anchorSpecifies corner; - tethered yes; - orientationAngles (0 0 0); + massDensity 1220; + temperature 200; + velocityDistribution maxwellian; + bulkVelocity ( 0 0 0 ); + id Ar; + mass 6.63352033e-26; + latticeStructure BCC; + anchor ( 1.05e-09 3.18e-09 2.87e-09 ); + anchorSpecifies corner; + tethered yes; + orientationAngles ( 0 0 0 ); } + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/potentialDict b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/potentialDict index 7f9346077fcf8b79c7f7fd36f1be33ff4037ae2e..56a7bbee713bf0a24860dad6ad2e592c9e17f464 100644 --- a/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/potentialDict +++ b/tutorials/molecularDynamics/gnemdFoam/constrictedChannel/system/potentialDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,100 +10,78 @@ FoamFile version 2.0; format ascii; class dictionary; - object potentials; + location "system"; + object potentialDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Subdictionaries specifying types of intermolecular potential. -// Sub-sub dictionaries specify the potentials themselves. - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Removal order - -// This is the order in which to remove overlapping pairs if more than one -// type of molecule is present. The most valuable molecule type is at the -// right hand end, the molecule that will be removed 1st is 1st on the list. -// Not all types need to be present, a molecule that is not present is -// automatically less valuable than any on the list. For molecules of the -// same type there is no control over which is removed. - -removalOrder 2 (Ne Ar); - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Pair potentials - -// If there are r different type of molecules, and a pair force is required -// between all combinations, then there are C = r(r+1)/2 combinations, -// i.e. for r = {1,2,3,4}, C = {1,3,6,10} (sum of triangular numbers). - -// Pair potentials are specified by the combinaition of their ids, -// for MOLA and MOLB, "MOLA-MOLB" OR "MOLB-MOLA" is acceptable -// (strictly OR, both or neither will thrown an error) +removalOrder 2 ( Ne Ar ); pair { Ar-Ar { pairPotential maitlandSmith; - rCut 1.0e-9; - rMin 0.15e-9; + rCut 1e-09; + rMin 1.5e-10; dr 5e-14; maitlandSmithCoeffs { - m 13.0; - gamma 7.5; - rm 0.3756e-9; - epsilon 1.990108438e-21; + m 13; + gamma 7.5; + rm 3.756e-10; + epsilon 1.990108438e-21; } - energyScalingFunction doubleSigmoid; + + energyScalingFunction doubleSigmoid; doubleSigmoidCoeffs { - shift1 0.9e-9; - scale1 0.3e11; - shift2 0.97e-9; - scale2 1.2e11; + shift1 9e-10; + scale1 -64771072; + shift2 9.7e-10; + scale2 -259084288; } + writeTables yes; } Ar-Ne { pairPotential maitlandSmith; - rCut 0.9e-9; - rMin 0.1e-9; + rCut 9e-10; + rMin 1e-10; dr 5e-14; maitlandSmithCoeffs { - m 13.0; + m 13; gamma 4; - rm 0.348e-9; + rm 3.48e-10; epsilon 8.765026657e-22; } - energyScalingFunction shiftedForce; + + energyScalingFunction shiftedForce; writeTables yes; } Ne-Ne { pairPotential maitlandSmith; - rCut 0.8e-9; - rMin 0.1e-9; + rCut 8e-10; + rMin 1e-10; dr 5e-14; maitlandSmithCoeffs { - m 13.0; + m 13; gamma 5; - rm 0.30739e-9; + rm 3.0739e-10; epsilon 5.813260729e-22; } - energyScalingFunction shiftedForce; + + energyScalingFunction shiftedForce; writeTables yes; } } -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Tethering Potentials - tether { Ar @@ -112,20 +90,15 @@ tether restrainedHarmonicSpringCoeffs { springConstant 0.1; - rR 1.2e-9; + rR 1.2e-09; } } } -// ************************************************************************* // - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// External Forces - -// Bulk external forces (namely gravity) will be specified as forces rather -// than potentials to allow their direction to be controlled. - external { - gravity (0 0 0); + gravity ( 0 0 0 ); } + + +// ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/constant/polyMesh/boundary b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/constant/polyMesh/boundary index b94dd10f195233028313de6f35c87882b3d03f0b..a58d17ed7f51a0b1d98167dadad04ec7b6a21c8b 100644 --- a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/constant/polyMesh/boundary +++ b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/controlDict b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/controlDict index d28aa588409e247da3a38560004a1e8b422f7a6b..46436871638186b4ead04e658ceeadd2579b9a5f 100644 --- a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/controlDict +++ b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -44,4 +45,5 @@ runTimeModifiable yes; adjustTimeStep no; + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/decomposeParDict b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/decomposeParDict index 69e7126628c6cb18221392557b2e3bc2d2eb46e5..2b1855ea4634bda4d66c8129ce2d08d57a2fb0c9 100644 --- a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/decomposeParDict +++ b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,36 +10,31 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 4; -method metis; +method metis; simpleCoeffs { - n (4 1 1); + n ( 4 1 1 ); delta 0.001; } hierarchicalCoeffs { - n (1 1 1); + n ( 1 1 1 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -49,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/fvSchemes b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/fvSchemes index 83f984c2ed5482b1e2d4577dd0655845b3095878..f923afcfacf038c5cd521b7e67b1c11b4d535866 100644 --- a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/fvSchemes +++ b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -52,7 +53,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/fvSolution b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/fvSolution index ca4069e5ccf30fe01342cf94f0a77ee5abc18a14..46670343363af32a79fcf7bd788316556b9de7d7 100644 --- a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/fvSolution +++ b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,14 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p ICCG 1e-06 0; - U BICCG 1e-05 0; + p + { + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -28,4 +42,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/mdSolution b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/mdSolution index fa264d59f7facf72f25e2156a909e3a27acb9261..dfef948901fc9407d740d27c3f58e12fc09f78c8 100644 --- a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/mdSolution +++ b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/mdSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object mdSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -integrationMethod verletLeapfrog; +integrationMethod verletLeapfrog; -potentialEnergyLimit 5.256e-20; +potentialEnergyLimit 5.256e-20; -// ************************************************************************* // \ No newline at end of file + +// ************************************************************************* // diff --git a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/molConfigDict b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/molConfigDict index 63d337e5dcbb501ebdfa62b5011799847bddc2fa..937130f4ac3ba22f29b727686566f27b6adfa45a 100644 --- a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/molConfigDict +++ b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/molConfigDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,58 +10,55 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object molConfigDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Subdictionaries specifying the contents of zones - for the moment have a single species in each block - move to mixed - -// Euler angles, expressed in degrees as phi, theta, psi, see http://mathworld.wolfram.com/EulerAngles.html - sectionA { - massDensity 1220.0; - temperature 300.0; - velocityDistribution maxwellian; - bulkVelocity (-250.0 0.0 0.0); - id Ar; - mass 6.63352033e-26; - latticeStructure SC; - anchor (0.0 0.0 0.0); - anchorSpecifies molecule; - tethered no; - orientationAngles (0 0 0); + massDensity 1220; + temperature 300; + velocityDistribution maxwellian; + bulkVelocity ( -250 0 0 ); + id Ar; + mass 6.63352033e-26; + latticeStructure SC; + anchor ( 0 0 0 ); + anchorSpecifies molecule; + tethered no; + orientationAngles ( 0 0 0 ); } sectionB { - massDensity 1220.0; - temperature 300.0; - velocityDistribution maxwellian; - bulkVelocity (-250.0 0.0 0.0); - id Ne; - mass 3.350917e-26; - latticeStructure SC; - anchor (0.0 0.0 0.0); - anchorSpecifies molecule; - tethered no; - orientationAngles (0 0 0); + massDensity 1220; + temperature 300; + velocityDistribution maxwellian; + bulkVelocity ( -250 0 0 ); + id Ne; + mass 3.350917e-26; + latticeStructure SC; + anchor ( 0 0 0 ); + anchorSpecifies molecule; + tethered no; + orientationAngles ( 0 0 0 ); } sectionC { - massDensity 1220.0; - temperature 300.0; - velocityDistribution maxwellian; - bulkVelocity (-250.0 0.0 0.0); - id Ar; - mass 6.63352033e-26; - latticeStructure SC; - anchor (0.0 0.0 0.0); - anchorSpecifies molecule; - tethered no; - orientationAngles (0 0 0); + massDensity 1220; + temperature 300; + velocityDistribution maxwellian; + bulkVelocity ( -250 0 0 ); + id Ar; + mass 6.63352033e-26; + latticeStructure SC; + anchor ( 0 0 0 ); + anchorSpecifies molecule; + tethered no; + orientationAngles ( 0 0 0 ); } + // ************************************************************************* // - \ No newline at end of file diff --git a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/potentialDict b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/potentialDict index 7789766620729c6ee94392f0ccfa7414a318636c..0386a6994e0d9708901895788978e11f2d5bf453 100644 --- a/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/potentialDict +++ b/tutorials/molecularDynamics/gnemdFoam/nanoNozzle/system/potentialDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,95 +10,77 @@ FoamFile version 2.0; format ascii; class dictionary; - object potentials; + location "system"; + object potentialDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Subdictionaries specifying types of intermolecular potential. -// Sub-sub dictionaries specify the potentials themselves. - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Removal order - -// This is the order in which to remove overlapping pairs if more than one -// type of molecule is present. The most valuable molecule type is at the -// right hand end, the molecule that will be removed 1st is 1st on the list. -// Not all types need to be present, a molecule that is not present is -// automatically less valuable than any on the list. For molecules of the -// same type there is no control over which is removed. - -removalOrder 1 (Ar); - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Pair potentials - -// If there are r different type of molecules, and a pair force is required -// between all combinations, then there are C = r(r+1)/2 combinations, -// i.e. for r = {1,2,3,4}, C = {1,3,6,10} (sum of triangular numbers). - -// Pair potentials are specified by the combinaition of their ids, -// for MOLA and MOLB, "MOLA-MOLB" OR "MOLB-MOLA" is acceptable -// (strictly OR, both or neither will thrown an error) +removalOrder 1 ( Ar ); pair { Ar-Ar { pairPotential maitlandSmith; - rCut 1.0e-9; - rMin 0.15e-9; + rCut 1e-09; + rMin 1.5e-10; dr 5e-14; maitlandSmithCoeffs { - m 13.0; - gamma 7.5; - rm 0.3756e-9; - epsilon 1.990108438e-21; + m 13; + gamma 7.5; + rm 3.756e-10; + epsilon 1.990108438e-21; } - energyScalingFunction doubleSigmoid; + + energyScalingFunction doubleSigmoid; doubleSigmoidCoeffs { - shift1 0.9e-9; - scale1 0.3e11; - shift2 0.97e-9; - scale2 1.2e11; + shift1 9e-10; + scale1 -64771072; + shift2 9.7e-10; + scale2 -259084288; } + writeTables no; } Ar-Ne { pairPotential maitlandSmith; - rCut 0.9e-9; - rMin 0.1e-9; + rCut 9e-10; + rMin 1e-10; dr 5e-14; maitlandSmithCoeffs { - m 13.0; + m 13; gamma 4; - rm 0.348e-9; + rm 3.48e-10; epsilon 8.765026657e-22; } - energyScalingFunction shiftedForce; + + energyScalingFunction shiftedForce; writeTables no; } Ne-Ne { pairPotential maitlandSmith; - rCut 0.8e-9; - rMin 0.1e-9; + rCut 8e-10; + rMin 1e-10; dr 5e-14; maitlandSmithCoeffs { - m 13.0; + m 13; gamma 5; - rm 0.30739e-9; + rm 3.0739e-10; epsilon 5.813260729e-22; } - energyScalingFunction shiftedForce; + + energyScalingFunction shiftedForce; writeTables no; } } + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/constant/polyMesh/boundary b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/constant/polyMesh/boundary index 54dbb7ef4a6be0e63882c5fe42752ad8c7a3b896..b3548de91cf4646aa6692d8e02914c5ed4755ff7 100644 --- a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/constant/polyMesh/boundary +++ b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/controlDict b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/controlDict index 76f7ed8a7ee4afac7f47fb4c97b4a42a01147053..f1052a4864fad271f58b2d6f62e0f3898d42c81d 100644 --- a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/controlDict +++ b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -44,4 +45,5 @@ runTimeModifiable yes; adjustTimeStep no; + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/fvSchemes b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/fvSchemes index 83f984c2ed5482b1e2d4577dd0655845b3095878..f923afcfacf038c5cd521b7e67b1c11b4d535866 100644 --- a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/fvSchemes +++ b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -52,7 +53,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/fvSolution b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/fvSolution index ca4069e5ccf30fe01342cf94f0a77ee5abc18a14..46670343363af32a79fcf7bd788316556b9de7d7 100644 --- a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/fvSolution +++ b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,14 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p ICCG 1e-06 0; - U BICCG 1e-05 0; + p + { + solver PCG; + preconditioner DIC; + tolerance 1e-06; + relTol 0; + } + + U + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -28,4 +42,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/mdEquilibrationDict b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/mdEquilibrationDict index e044b8378542974b38127b812d5a4e04aa9e2ac3..2dd296045bbd9676b0bf078bc53d2dc5e4958365 100644 --- a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/mdEquilibrationDict +++ b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/mdEquilibrationDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object mdEquilibrationDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -equilibrationTargetTemperature 300.0; +equilibrationTargetTemperature 300; -// ************************************************************************* // \ No newline at end of file + +// ************************************************************************* // diff --git a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/mdSolution b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/mdSolution index fa264d59f7facf72f25e2156a909e3a27acb9261..dfef948901fc9407d740d27c3f58e12fc09f78c8 100644 --- a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/mdSolution +++ b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/mdSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object mdSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -integrationMethod verletLeapfrog; +integrationMethod verletLeapfrog; -potentialEnergyLimit 5.256e-20; +potentialEnergyLimit 5.256e-20; -// ************************************************************************* // \ No newline at end of file + +// ************************************************************************* // diff --git a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/molConfigDict b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/molConfigDict index 9ae05138695aaa3318c057b041796500fadef8b6..6f48e375e8c3ba101230631096b6ecd6df24a156 100644 --- a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/molConfigDict +++ b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/molConfigDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,26 +10,25 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object molConfigDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Euler angles, expressed in degrees as phi, theta, psi, -// see http://mathworld.wolfram.com/EulerAngles.html - liquid { - massDensity 1220.0; - temperature 300.0; - velocityDistribution maxwellian; - bulkVelocity (0.0 0.0 0.0); - id Ar; - mass 6.63352033e-26; - latticeStructure SC; - anchor (0.0 0.0 0.0); - anchorSpecifies molecule; - tethered no; - orientationAngles (0 0 0); + massDensity 1220; + temperature 300; + velocityDistribution maxwellian; + bulkVelocity ( 0 0 0 ); + id Ar; + mass 6.63352033e-26; + latticeStructure SC; + anchor ( 0 0 0 ); + anchorSpecifies molecule; + tethered no; + orientationAngles ( 0 0 0 ); } + // ************************************************************************* // diff --git a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/potentialDict b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/potentialDict index 15af6ed181a6dbe23c4370e35f174a986539f1a3..1abf7b0e569b0a3b4dd0530d9c9f3ec332d43f6c 100644 --- a/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/potentialDict +++ b/tutorials/molecularDynamics/mdEquilibrationFoam/periodicCube/system/potentialDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,64 +10,39 @@ FoamFile version 2.0; format ascii; class dictionary; - object potentials; + location "system"; + object potentialDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Subdictionaries specifying types of intermolecular potential. -// Sub-sub dictionaries specify the potentials themselves. - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Removal order - -// This is the order in which to remove overlapping pairs if more than one -// type of molecule is present. The most valuable molecule type is at the -// right hand end, the molecule that will be removed 1st is 1st on the list. -// Not all types need to be present, a molecule that is not present is -// automatically less valuable than any on the list. For molecules of the -// same type there is no control over which is removed. - -removalOrder 1 (Ar); - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Pair potentials - -// If there are r different type of molecules, and a pair force is required -// between all combinations, then there are C = r(r+1)/2 combinations, -// i.e. for r = {1,2,3,4}, C = {1,3,6,10} (sum of triangular numbers). - -// Pair potentials are specified by the combinaition of their ids, -// for MOLA and MOLB, "MOLA-MOLB" OR "MOLB-MOLA" is acceptable -// (strictly OR, both or neither will thrown an error) +removalOrder 1 ( Ar ); pair { Ar-Ar { pairPotential azizChen; - rCut 1.2e-9; - rMin 0.15e-9; + rCut 1.2e-09; + rMin 1.5e-10; dr 2e-14; azizChenCoeffs { - epsilon 1.97742255e-21; - rm 3.759e-10; - A 0.9502720e7; - alpha 16.345655; - C6 1.0914254; - C8 0.6002595; - C10 0.3700113; - D 1.4; - gamma 2.0; + epsilon 1.97742255e-21; + rm 3.759e-10; + A 9502720; + alpha 16.345655; + C6 1.0914254; + C8 0.6002595; + C10 0.3700113; + D 1.4; + gamma 2; } - energyScalingFunction noScaling; + + energyScalingFunction noScaling; writeTables yes; } } -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Tethering Potentials - tether { Ar @@ -76,20 +51,15 @@ tether restrainedHarmonicSpringCoeffs { springConstant 0.0277; - rR 1.2e-9; + rR 1.2e-09; } } } -// ************************************************************************* // - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// External Forces - -// Bulk external forces (namely gravity) will be specified as forces rather -// than potentials to allow their direction to be controlled. - external { - gravity (0 0 0); + gravity ( 0 0 0 ); } + + +// ************************************************************************* // diff --git a/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/RASProperties b/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/RASProperties index 3bb698673a1b454d8de4ae16debf32147e030d10..3569e78dc3564dc685fe71877c195db359d8343e 100644 --- a/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/RASProperties +++ b/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel laminar; +RASModel laminar; -turbulence off; +turbulence off; -printCoeffs off; +printCoeffs off; laminarCoeffs { @@ -26,17 +27,18 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/environmentalProperties b/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..a866ff549fd799e63d2d6946a66cf3da14d092bd 100644 --- a/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/environmentalProperties +++ b/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/transportProperties b/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/transportProperties index 11155a1923264716a2e5fcdb56bbe5f4c342b5fc..cfdcc78cc78f9a84679629a8773b81552d8f9924 100644 --- a/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/transportProperties +++ b/tutorials/multiphase/bubbleFoam/bubbleColumn/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,26 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -rhoa rhoa [1 -3 0 0 0 0 0] 1; +rhoa rhoa [ 1 -3 0 0 0 0 0 ] 1; -rhob rhob [1 -3 0 0 0 0 0] 1000; +rhob rhob [ 1 -3 0 0 0 0 0 ] 1000; -nua nua [0 2 -1 0 0 0 0] 1.6e-05; +nua nua [ 0 2 -1 0 0 0 0 ] 1.6e-05; -nub nub [0 2 -1 0 0 0 0] 1e-06; +nub nub [ 0 2 -1 0 0 0 0 ] 1e-06; -da da [0 1 0 0 0 0 0] 0.003; +da da [ 0 1 0 0 0 0 0 ] 0.003; -db db [0 1 0 0 0 0 0] 0.0001; +db db [ 0 1 0 0 0 0 0 ] 0.0001; -Cvm Cvm [0 0 0 0 0 0 0] 0.5; +Cvm Cvm [ 0 0 0 0 0 0 0 ] 0.5; -Cl Cl [0 0 0 0 0 0 0] 0; +Cl Cl [ 0 0 0 0 0 0 0 ] 0; + +Ct Ct [ 0 0 0 0 0 0 0 ] 1; -Ct Ct [0 0 0 0 0 0 0] 1; // ************************************************************************* // diff --git a/tutorials/multiphase/bubbleFoam/bubbleColumn/system/controlDict b/tutorials/multiphase/bubbleFoam/bubbleColumn/system/controlDict index aad7cb2e7540f810f3fee89159c6e089b21fccb9..3691a7b810a4b94605892528dead9681db9cd880 100644 --- a/tutorials/multiphase/bubbleFoam/bubbleColumn/system/controlDict +++ b/tutorials/multiphase/bubbleFoam/bubbleColumn/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/multiphase/bubbleFoam/bubbleColumn/system/fvSchemes b/tutorials/multiphase/bubbleFoam/bubbleColumn/system/fvSchemes index 8a016bd1c44d2f6430dd6d1f89a0a1e5528c035b..9817f51954040119e64e4ad036f16c64d06437ac 100644 --- a/tutorials/multiphase/bubbleFoam/bubbleColumn/system/fvSchemes +++ b/tutorials/multiphase/bubbleFoam/bubbleColumn/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -29,7 +30,7 @@ divSchemes default none; div(phia,Ua) Gauss limitedLinearV 1; div(phib,Ub) Gauss limitedLinearV 1; - div(phib,k) Gauss limitedLinear 1; + div(phib,k) Gauss limitedLinear 1; div(phib,epsilon) Gauss limitedLinear 1; div(phi,alpha) Gauss limitedLinear01 1; div((-nuEffa*grad(Ua).T())) Gauss linear; @@ -57,7 +58,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/bubbleFoam/bubbleColumn/system/fvSolution b/tutorials/multiphase/bubbleFoam/bubbleColumn/system/fvSolution index 8ca429638cb43cc2660a2c3cd57ad4f7d6729201..e987a2da9fd838660cb54a78ec1073ad9bfb8503 100644 --- a/tutorials/multiphase/bubbleFoam/bubbleColumn/system/fvSolution +++ b/tutorials/multiphase/bubbleFoam/bubbleColumn/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,54 +10,68 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-10; - relTol 0; - }; - Ua PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-10; + relTol 0; + } + + Ua { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Ub PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Ub { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - alpha PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + alpha { - preconditioner DILU; - tolerance 1e-10; - relTol 0; - }; - beta PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-10; + relTol 0; + } + + beta { - preconditioner DILU; - tolerance 1e-10; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-10; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -70,4 +84,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/LESProperties b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/LESProperties index 86f1040611b61575a7159ed3fd9907dd8e31a62a..ef3e3809daa57c3d9ce9107b7b3e8ae57bf8b223 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/LESProperties +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/LESProperties @@ -1,15 +1,16 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -24,96 +25,96 @@ laminarCoeffs devOneEqEddyCoeffs { - ck 0.07; - ce 1.05; + ck 0.07; + ce 1.05; } oneEqEddyCoeffs { - ck 0.07; - ce 1.05; + ck 0.07; + ce 1.05; } dynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } locDynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } SmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; } Smagorinsky2Coeffs { - ce 1.05; - ck 0.07; - cD2 0.02; + ce 1.05; + ck 0.07; + cD2 0.02; } spectEddyViscCoeffs { - ce 1.05; - cB 8.22; - cK1 0.83; - cK2 1.03; - cK3 4.75; - cK4 2.55; + ce 1.05; + cB 8.22; + cK1 0.83; + cK2 1.03; + cK3 4.75; + cK4 2.55; } dynSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } mixedSmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; filter simple; } dynMixedSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } LRRDiffStressCoeffs { - ce 1.05; - ck 0.09; - c1 1.8; - c2 0.6; + ce 1.05; + ck 0.09; + c1 1.8; + c2 0.6; } DeardorffDiffStressCoeffs { - ce 1.05; - ck 0.09; - cm 4.13; + ce 1.05; + ck 0.09; + cm 4.13; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; - CDES 0.65; - ck 0.07; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; + CDES 0.65; + ck 0.07; } cubeRootVolCoeffs @@ -128,6 +129,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -135,9 +137,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -147,6 +151,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -154,10 +159,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -167,14 +174,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/polyMesh/boundary b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/polyMesh/boundary index f7d75820c377876486fc7e532ffb122f9547d02d..b2c07faf58570d3ca814e6ea0b4f1697eca466a6 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/polyMesh/boundary +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/thermodynamicProperties b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/thermodynamicProperties index 39d5cf170cfd3616c094647b90a057d1469ed402..806b177923e7ad915e792f8d15a3546bc6ccd320 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/thermodynamicProperties +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/thermodynamicProperties @@ -1,29 +1,31 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object thermodynamicProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -barotropicCompressibilityModel linear; //Chung; +barotropicCompressibilityModel linear; -psiv psiv [0 -2 2 0 0] 2.5e-06; +psiv psiv [ 0 -2 2 0 0 ] 2.5e-06; -rholSat rholSat [1 -3 0 0 0] 830; +rholSat rholSat [ 1 -3 0 0 0 ] 830; -psil psil [0 -2 2 0 0] 5e-07; +psil psil [ 0 -2 2 0 0 ] 5e-07; -pSat pSat [1 -1 -2 0 0] 4500; +pSat pSat [ 1 -1 -2 0 0 ] 4500; + +rhoMin rhoMin [ 1 -3 0 0 0 ] 0.001; -rhoMin rhoMin [1 -3 0 0 0] 0.001; // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/transportProperties b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/transportProperties index dcf82123d287f2292957ea37d36a8ff7acc3d285..7d254ddcf23603b5709e6a4d1bc0fb82d9934386 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/transportProperties +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/transportProperties @@ -1,21 +1,23 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -mul mul [1 -1 -1 0 0] 6.500e-03; -muv muv [1 -1 -1 0 0] 5.953e-06; +mul mul [ 1 -1 -1 0 0 ] 0.0065; + +muv muv [ 1 -1 -1 0 0 ] 5.953e-06; twoPhase { @@ -27,43 +29,46 @@ twoPhase phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 7.831e-06; - rho rho [1 -3 0 0 0 0 0] 830; + nu nu [ 0 2 -1 0 0 0 0 ] 7.831e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 830; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - m m [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + m m [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - k k [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + k k [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 4.252e-05; - rho rho [1 -3 0 0 0 0 0] 0.14; + nu nu [ 0 2 -1 0 0 0 0 ] 4.252e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 0.14; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - m m [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + m m [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - k k [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + k k [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/turbulenceProperties b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/turbulenceProperties index dcadcf17cd97481597090cf391913d3fe6432687..9ddab1bfcd2e922809b338b9bf02770bf770a024 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/constant/turbulenceProperties +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/constant/turbulenceProperties @@ -1,19 +1,21 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType LESModel; + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.1 b/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.1 index 9dc6572157363a81371dd84e0eb1e9371d758ce7..a7c7e625e5403387aa3b92c464b9d8c5615c7ba4 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.1 +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.1 @@ -1,29 +1,25 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.1; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0.004 -0.001 -1 ) ( 0.012 0.001 1 ) ; } ); -topoSetSources -( - boxToCell - { - box (4e-03 -1e-03 -1) (12e-3 1e-03 1); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.2 b/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.2 index 0eb66c8739bf5aaa726844faa441413d623c17cd..470258895d1a503d39431f85dc16d207019b0cc0 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.2 +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.2 @@ -1,29 +1,25 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.2; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0.0045 -0.00075 -1 ) ( 0.0095 0.00075 1 ) ; } ); -topoSetSources -( - boxToCell - { - box (4.5e-03 -0.75e-03 -1) (9.5e-3 0.75e-03 1); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.3 b/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.3 index c1833b014ea36df11a792fe579eb49ea05df82c8..530c710e1f0e6bae3655c4127e4bca08ecd7a049 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.3 +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/system/cellSetDict.3 @@ -1,29 +1,25 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.3; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0.00475 -0.000375 -1 ) ( 0.009 0.000375 1 ) ; } ); -topoSetSources -( - boxToCell - { - box (4.75e-03 -0.375e-03 -1) (9e-03 0.375e-03 1); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict b/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict index 8c40820a16523c37fd0b3d8430345fc7408b0ad6..073ada6caa4135e14a0734304802d068a2d2b87a 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/system/controlDict @@ -1,88 +1,85 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -startFrom latestTime; +startFrom latestTime; -startTime 0; +startTime 0; -stopAt endTime; +stopAt endTime; -endTime 2e-4; +endTime 0.0002; -deltaT 1e-8; +deltaT 1e-08; -writeControl adjustableRunTime; +writeControl adjustableRunTime; -writeInterval 2e-5; +writeInterval 2e-05; -purgeWrite 0; +purgeWrite 0; -writeFormat binary; +writeFormat binary; -writePrecision 6; +writePrecision 6; -writeCompression compressed; +writeCompression compressed; -timeFormat general; +timeFormat general; -runTimeModifiable yes; +runTimeModifiable yes; -adjustTimeStep on; +adjustTimeStep on; -maxCo 0.5; +maxCo 0.5; -maxAcousticCo 50.0; +maxAcousticCo 50; functions ( fieldAverage1 { - // Type of functionObject type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - + functionObjectLibs ( "libfieldFunctionObjects.so" ); enabled false; - outputControl outputTime; - - // Fields to be probed. runTime modifiable! fields ( U { - mean on; - prime2Mean off; - base time; + mean on; + prime2Mean off; + base time; } + p { - mean on; - prime2Mean off; - base time; + mean on; + prime2Mean off; + base time; } + gamma { - mean on; - prime2Mean off; - base time; + mean on; + prime2Mean off; + base time; } ); } ); + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/system/fvSchemes b/tutorials/multiphase/cavitatingFoam/les/throttle/system/fvSchemes index 69156453d7f8b3a25f298b3f2918a456e57df374..957a4953528940c7639e5bd5dda7dec8949d68f1 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/system/fvSchemes +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/system/fvSchemes @@ -1,57 +1,52 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } interpolationSchemes { - default linear; + default linear; } divSchemes { - default none; -// div(phiv,rho) Gauss upwind; -// div(phi,U) Gauss upwind; -// div(phiv,k) Gauss upwind; - - div(phiv,rho) Gauss limitedLinear 0.2; - div(phi,U) Gauss filteredLinear2V 0.2 0; - div(phiv,k) Gauss filteredLinear2 0.2 0; + default none; + div(phiv,rho) Gauss limitedLinear 0.2; + div(phi,U) Gauss filteredLinear2V 0.2 0; + div(phiv,k) Gauss filteredLinear2 0.2 0; } gradSchemes { - default Gauss linear; + default Gauss linear; } laplacianSchemes { - default none; - - laplacian(nuf,rhoU) Gauss linear corrected; - laplacian(muEff,U) Gauss linear corrected; + default none; + laplacian(nuf,rhoU) Gauss linear corrected; + laplacian(muEff,U) Gauss linear corrected; laplacian(rrhoUAf,p) Gauss linear corrected; - laplacian(rUAf,p) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - - laplacian(1,p) Gauss linear corrected; + laplacian(rUAf,p) Gauss linear corrected; + laplacian(DkEff,k) Gauss linear corrected; + laplacian(1,p) Gauss linear corrected; } snGradSchemes @@ -62,9 +57,10 @@ snGradSchemes fluxRequired { - default none; - p; - rho; + default none; + p ; + rho ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/system/fvSolution b/tutorials/multiphase/cavitatingFoam/les/throttle/system/fvSolution index f5b778ec9cfd6c126100ba56c32093a7c536abfb..7aa0a3d54c1a84143128c20184e2362f5851e20a 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/system/fvSolution +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/system/fvSolution @@ -1,77 +1,78 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - omega PBiCG + omega { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - k PBiCG + k { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - rho PBiCG + rho { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - U PBiCG + U { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - p GAMG + p { - tolerance 1e-8; - relTol 0; - - smoother GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0; + smoother GaussSeidel; + nPreSweeps 0; + nPostSweeps 2; cacheAgglomeration true; - nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } } PISO { - nCorrectors 3; - nNonOrthogonalCorrectors 0; - -// removeSwirl 2; + nCorrectors 3; + nNonOrthogonalCorrectors 0; } SIMPLE { - } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/system/refineMeshDict b/tutorials/multiphase/cavitatingFoam/les/throttle/system/refineMeshDict index 12b021090d69400d48f6bbf58b910e002a9d80da..1cc48dd0cc739a9bfdf6c12df5980eeb0f78379b 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/system/refineMeshDict +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/system/refineMeshDict @@ -1,39 +1,37 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object refineMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -set c0; +set c0; coordinateSystem global; globalCoeffs { - tan1 (1 0 0); - tan2 (0 1 0); + tan1 ( 1 0 0 ); + tan2 ( 0 1 0 ); } -directions -( - tan1 - tan2 -); +directions ( tan1 tan2 ); -useHexTopology yes; +useHexTopology yes; -geometricCut no; +geometricCut no; + +writeMesh no; -writeMesh no; // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/LESProperties b/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/LESProperties index 86f1040611b61575a7159ed3fd9907dd8e31a62a..ef3e3809daa57c3d9ce9107b7b3e8ae57bf8b223 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/LESProperties +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/LESProperties @@ -1,15 +1,16 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -24,96 +25,96 @@ laminarCoeffs devOneEqEddyCoeffs { - ck 0.07; - ce 1.05; + ck 0.07; + ce 1.05; } oneEqEddyCoeffs { - ck 0.07; - ce 1.05; + ck 0.07; + ce 1.05; } dynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } locDynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } SmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; } Smagorinsky2Coeffs { - ce 1.05; - ck 0.07; - cD2 0.02; + ce 1.05; + ck 0.07; + cD2 0.02; } spectEddyViscCoeffs { - ce 1.05; - cB 8.22; - cK1 0.83; - cK2 1.03; - cK3 4.75; - cK4 2.55; + ce 1.05; + cB 8.22; + cK1 0.83; + cK2 1.03; + cK3 4.75; + cK4 2.55; } dynSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } mixedSmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; filter simple; } dynMixedSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } LRRDiffStressCoeffs { - ce 1.05; - ck 0.09; - c1 1.8; - c2 0.6; + ce 1.05; + ck 0.09; + c1 1.8; + c2 0.6; } DeardorffDiffStressCoeffs { - ce 1.05; - ck 0.09; - cm 4.13; + ce 1.05; + ck 0.09; + cm 4.13; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; - CDES 0.65; - ck 0.07; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; + CDES 0.65; + ck 0.07; } cubeRootVolCoeffs @@ -128,6 +129,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -135,9 +137,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -147,6 +151,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -154,10 +159,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -167,14 +174,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/polyMesh/boundary b/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/polyMesh/boundary index 30c545703a24f488a1d52a1d8ceca4fb3dfdc69e..adffe02dd45cd472f937c168e19da397fa4b5792 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/polyMesh/boundary +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/thermodynamicProperties b/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/thermodynamicProperties index 39d5cf170cfd3616c094647b90a057d1469ed402..806b177923e7ad915e792f8d15a3546bc6ccd320 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/thermodynamicProperties +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/thermodynamicProperties @@ -1,29 +1,31 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object thermodynamicProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -barotropicCompressibilityModel linear; //Chung; +barotropicCompressibilityModel linear; -psiv psiv [0 -2 2 0 0] 2.5e-06; +psiv psiv [ 0 -2 2 0 0 ] 2.5e-06; -rholSat rholSat [1 -3 0 0 0] 830; +rholSat rholSat [ 1 -3 0 0 0 ] 830; -psil psil [0 -2 2 0 0] 5e-07; +psil psil [ 0 -2 2 0 0 ] 5e-07; -pSat pSat [1 -1 -2 0 0] 4500; +pSat pSat [ 1 -1 -2 0 0 ] 4500; + +rhoMin rhoMin [ 1 -3 0 0 0 ] 0.001; -rhoMin rhoMin [1 -3 0 0 0] 0.001; // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/transportProperties b/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/transportProperties index dcf82123d287f2292957ea37d36a8ff7acc3d285..7d254ddcf23603b5709e6a4d1bc0fb82d9934386 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/transportProperties +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/transportProperties @@ -1,21 +1,23 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -mul mul [1 -1 -1 0 0] 6.500e-03; -muv muv [1 -1 -1 0 0] 5.953e-06; +mul mul [ 1 -1 -1 0 0 ] 0.0065; + +muv muv [ 1 -1 -1 0 0 ] 5.953e-06; twoPhase { @@ -27,43 +29,46 @@ twoPhase phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 7.831e-06; - rho rho [1 -3 0 0 0 0 0] 830; + nu nu [ 0 2 -1 0 0 0 0 ] 7.831e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 830; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - m m [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + m m [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - k k [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + k k [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 4.252e-05; - rho rho [1 -3 0 0 0 0 0] 0.14; + nu nu [ 0 2 -1 0 0 0 0 ] 4.252e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 0.14; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - m m [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + m m [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - k k [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + k k [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.1 b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.1 index 9dc6572157363a81371dd84e0eb1e9371d758ce7..a7c7e625e5403387aa3b92c464b9d8c5615c7ba4 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.1 +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.1 @@ -1,29 +1,25 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.1; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0.004 -0.001 -1 ) ( 0.012 0.001 1 ) ; } ); -topoSetSources -( - boxToCell - { - box (4e-03 -1e-03 -1) (12e-3 1e-03 1); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.2 b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.2 index 0eb66c8739bf5aaa726844faa441413d623c17cd..470258895d1a503d39431f85dc16d207019b0cc0 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.2 +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.2 @@ -1,29 +1,25 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.2; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0.0045 -0.00075 -1 ) ( 0.0095 0.00075 1 ) ; } ); -topoSetSources -( - boxToCell - { - box (4.5e-03 -0.75e-03 -1) (9.5e-3 0.75e-03 1); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.3 b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.3 index c1833b014ea36df11a792fe579eb49ea05df82c8..530c710e1f0e6bae3655c4127e4bca08ecd7a049 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.3 +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/cellSetDict.3 @@ -1,29 +1,25 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.3; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0.00475 -0.000375 -1 ) ( 0.009 0.000375 1 ) ; } ); -topoSetSources -( - boxToCell - { - box (4.75e-03 -0.375e-03 -1) (9e-03 0.375e-03 1); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict index 903c0569a51c7c07ebdc28649a2b1e30eb78d4c8..0b3c87648677c77cd65dbecb5951ab982b360f6a 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/controlDict @@ -1,88 +1,85 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -startFrom latestTime; +startFrom latestTime; -startTime 0; +startTime 0; -stopAt endTime; +stopAt endTime; -endTime 1e-4; +endTime 0.0001; -deltaT 1e-8; +deltaT 1e-08; -writeControl adjustableRunTime; +writeControl adjustableRunTime; -writeInterval 5e-6; +writeInterval 5e-06; -purgeWrite 0; +purgeWrite 0; -writeFormat binary; +writeFormat binary; -writePrecision 6; +writePrecision 6; -writeCompression compressed; +writeCompression compressed; -timeFormat general; +timeFormat general; -runTimeModifiable yes; +runTimeModifiable yes; -adjustTimeStep on; +adjustTimeStep on; -maxCo 0.5; +maxCo 0.5; -maxAcousticCo 50.0; +maxAcousticCo 50; functions ( fieldAverage1 { - // Type of functionObject type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - + functionObjectLibs ( "libfieldFunctionObjects.so" ); enabled false; - outputControl outputTime; - - // Fields to be probed. runTime modifiable! fields ( U { - mean on; - prime2Mean off; - base time; + mean on; + prime2Mean off; + base time; } + p { - mean on; - prime2Mean off; - base time; + mean on; + prime2Mean off; + base time ; } + gamma { - mean on; - prime2Mean off; - base time; + mean on; + prime2Mean off; + base time; } ); } ); + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/decomposeParDict b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/decomposeParDict index 30bfe19d72448cf87690f42caaddeac137600b1a..14efcafd72ee49e7952c70bb62c02612ac4bdd7b 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/decomposeParDict +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/decomposeParDict @@ -1,15 +1,16 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,26 +21,20 @@ method simple; simpleCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; } hierarchicalCoeffs { - n (1 1 1); + n ( 1 1 1 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -49,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/fvSchemes b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/fvSchemes index 69156453d7f8b3a25f298b3f2918a456e57df374..957a4953528940c7639e5bd5dda7dec8949d68f1 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/fvSchemes +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/fvSchemes @@ -1,57 +1,52 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } interpolationSchemes { - default linear; + default linear; } divSchemes { - default none; -// div(phiv,rho) Gauss upwind; -// div(phi,U) Gauss upwind; -// div(phiv,k) Gauss upwind; - - div(phiv,rho) Gauss limitedLinear 0.2; - div(phi,U) Gauss filteredLinear2V 0.2 0; - div(phiv,k) Gauss filteredLinear2 0.2 0; + default none; + div(phiv,rho) Gauss limitedLinear 0.2; + div(phi,U) Gauss filteredLinear2V 0.2 0; + div(phiv,k) Gauss filteredLinear2 0.2 0; } gradSchemes { - default Gauss linear; + default Gauss linear; } laplacianSchemes { - default none; - - laplacian(nuf,rhoU) Gauss linear corrected; - laplacian(muEff,U) Gauss linear corrected; + default none; + laplacian(nuf,rhoU) Gauss linear corrected; + laplacian(muEff,U) Gauss linear corrected; laplacian(rrhoUAf,p) Gauss linear corrected; - laplacian(rUAf,p) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - - laplacian(1,p) Gauss linear corrected; + laplacian(rUAf,p) Gauss linear corrected; + laplacian(DkEff,k) Gauss linear corrected; + laplacian(1,p) Gauss linear corrected; } snGradSchemes @@ -62,9 +57,10 @@ snGradSchemes fluxRequired { - default none; - p; - rho; + default none; + p ; + rho ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/fvSolution b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/fvSolution index f5b778ec9cfd6c126100ba56c32093a7c536abfb..7aa0a3d54c1a84143128c20184e2362f5851e20a 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/fvSolution +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/fvSolution @@ -1,77 +1,78 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - omega PBiCG + omega { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - k PBiCG + k { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - rho PBiCG + rho { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - U PBiCG + U { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - p GAMG + p { - tolerance 1e-8; - relTol 0; - - smoother GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0; + smoother GaussSeidel; + nPreSweeps 0; + nPostSweeps 2; cacheAgglomeration true; - nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } } PISO { - nCorrectors 3; - nNonOrthogonalCorrectors 0; - -// removeSwirl 2; + nCorrectors 3; + nNonOrthogonalCorrectors 0; } SIMPLE { - } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/mapFieldsDict b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/mapFieldsDict index bc87cbc6a4dd987dd8a2c644600b04a813311a2c..f162b0b3abe50a21696b0064fee988297e061024 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/mapFieldsDict +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/mapFieldsDict @@ -1,25 +1,23 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object mapFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -patchMap -( -); +patchMap ( ); + +cuttingPatches ( ); -cuttingPatches -( -); // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/refineMeshDict b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/refineMeshDict index 91dd88b58aa8c81804ffa4576073666631fb6dd8..b2ee8aaba8be572268e2eb4dad46b011c87112d5 100644 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/refineMeshDict +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/system/refineMeshDict @@ -1,41 +1,38 @@ /*--------------------------------*- 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 { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object refineMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -set c0; +set c0; coordinateSystem global; globalCoeffs { - tan1 (1 0 0); - tan2 (0 1 0); - tan3 (0 0 1); + tan1 ( 1 0 0 ); + tan2 ( 0 1 0 ); + tan3 ( 0 0 1 ); } -directions -( - tan1 - tan2 - tan3 -); +directions ( tan1 tan2 tan3 ); -useHexTopology yes; +useHexTopology yes; -geometricCut no; +geometricCut no; + +writeMesh no; -writeMesh no; // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/RASProperties b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/RASProperties index ee5f9ee5d7415f6981276e035737887017c780e4..461a7c61ff5489e67e96b994a036d66ca9355ed8 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/RASProperties +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kOmegaSST; +RASModel kOmegaSST; turbulence on; @@ -24,175 +25,175 @@ laminarCoeffs kOmegaSSTCoeffs { - alphaK1 0.85034; - alphaK2 1.0; - alphaOmega1 0.5; - alphaOmega2 0.85616; - gamma1 0.5532; - gamma2 0.4403; - beta1 0.0750; - beta2 0.0828; - betaStar 0.09; - a1 0.31; - c1 10; - - Cmu 0.09; + alphaK1 0.85034; + alphaK2 1; + alphaOmega1 0.5; + alphaOmega2 0.85616; + gamma1 0.5532; + gamma2 0.4403; + beta1 0.075; + beta2 0.0828; + betaStar 0.09; + a1 0.31; + c1 10; + Cmu 0.09; } kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } realizableKECoeffs { - Cmu 0.09; - A0 4.0; - C2 1.9; - alphak 1; - alphaEps 0.833333; + Cmu 0.09; + A0 4; + C2 1.9; + alphak 1; + alphaEps 0.833333; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/polyMesh/boundary b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/polyMesh/boundary index 716ff9df05e0d84e526e8feefb9a721fd0f04798..59f24d80d0f357d27a4b9bfd10777011d610ffa8 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/polyMesh/boundary +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/thermodynamicProperties b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/thermodynamicProperties index 39d5cf170cfd3616c094647b90a057d1469ed402..8e37778cf1a27db45ef5d5bc72717cb214e87f7e 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/thermodynamicProperties +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/thermodynamicProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,20 +10,22 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermodynamicProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -barotropicCompressibilityModel linear; //Chung; +barotropicCompressibilityModel linear; -psiv psiv [0 -2 2 0 0] 2.5e-06; +psiv psiv [ 0 -2 2 0 0 ] 2.5e-06; -rholSat rholSat [1 -3 0 0 0] 830; +rholSat rholSat [ 1 -3 0 0 0 ] 830; -psil psil [0 -2 2 0 0] 5e-07; +psil psil [ 0 -2 2 0 0 ] 5e-07; -pSat pSat [1 -1 -2 0 0] 4500; +pSat pSat [ 1 -1 -2 0 0 ] 4500; + +rhoMin rhoMin [ 1 -3 0 0 0 ] 0.001; -rhoMin rhoMin [1 -3 0 0 0] 0.001; // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/transportProperties b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/transportProperties index dcf82123d287f2292957ea37d36a8ff7acc3d285..d87d3805cadf39344df36bc66e637941abe44596 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/transportProperties +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -mul mul [1 -1 -1 0 0] 6.500e-03; -muv muv [1 -1 -1 0 0] 5.953e-06; +mul mul [ 1 -1 -1 0 0 ] 0.0065; + +muv muv [ 1 -1 -1 0 0 ] 5.953e-06; twoPhase { @@ -27,43 +29,46 @@ twoPhase phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 7.831e-06; - rho rho [1 -3 0 0 0 0 0] 830; + nu nu [ 0 2 -1 0 0 0 0 ] 7.831e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 830; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - m m [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + m m [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - k k [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + k k [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 4.252e-05; - rho rho [1 -3 0 0 0 0 0] 0.14; + nu nu [ 0 2 -1 0 0 0 0 ] 4.252e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 0.14; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - m m [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + m m [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] -999; - nuInf nuInf [0 2 -1 0 0 0 0] -999; - k k [0 0 1 0 0 0 0] -999; - n n [0 0 0 0 0 0 0] -999; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999; + k k [ 0 0 1 0 0 0 0 ] -999; + n n [ 0 0 0 0 0 0 0 ] -999; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/turbulenceProperties b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/turbulenceProperties index 07f85c68df22113b7c7747b89457597b0ea41d66..b70f6702e4ef7644c20687bce6536c6690720da9 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/turbulenceProperties +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/constant/turbulenceProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType RASModel; + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.1 b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.1 index 9dc6572157363a81371dd84e0eb1e9371d758ce7..b693a8e2658b1a4f06071d32ac4bdae3a08ba2e5 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.1 +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.1 @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,20 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.1; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0.004 -0.001 -1 ) ( 0.012 0.001 1 ) ; } ); -topoSetSources -( - boxToCell - { - box (4e-03 -1e-03 -1) (12e-3 1e-03 1); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.2 b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.2 index 0eb66c8739bf5aaa726844faa441413d623c17cd..bb0f5cec255a6bf0c46c0c540c6c39ca0bec70a2 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.2 +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.2 @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,20 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.2; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0.0045 -0.00075 -1 ) ( 0.0095 0.00075 1 ) ; } ); -topoSetSources -( - boxToCell - { - box (4.5e-03 -0.75e-03 -1) (9.5e-3 0.75e-03 1); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.3 b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.3 index c1833b014ea36df11a792fe579eb49ea05df82c8..910813740228d284c14885b2d13cd3b40b812bf2 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.3 +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/cellSetDict.3 @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,20 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.3; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0.00475 -0.000375 -1 ) ( 0.009 0.000375 1 ) ; } ); -topoSetSources -( - boxToCell - { - box (4.75e-03 -0.375e-03 -1) (9e-03 0.375e-03 1); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/controlDict b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/controlDict index 04b11dbad0dd36b9db7faa1a4201e085b5450be6..d541a7c7ef32bd611f562d8519435e5d5db17486 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/controlDict +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,40 +10,42 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -startFrom latestTime; +startFrom latestTime; -startTime 0; +startTime 0; -stopAt endTime; +stopAt endTime; -endTime 2e-3; +endTime 0.002; -deltaT 1e-8; +deltaT 1e-08; -writeControl adjustableRunTime; +writeControl adjustableRunTime; -writeInterval 1e-4; +writeInterval 0.0001; -purgeWrite 0; +purgeWrite 0; -writeFormat ascii; +writeFormat ascii; -writePrecision 6; +writePrecision 6; -writeCompression uncompressed; +writeCompression uncompressed; -timeFormat general; +timeFormat general; -runTimeModifiable yes; +runTimeModifiable yes; -adjustTimeStep on; +adjustTimeStep on; -maxCo 0.5; +maxCo 0.5; + +maxAcousticCo 50; -maxAcousticCo 50.0; // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/fvSchemes b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/fvSchemes index fc43eb63b87746b8d2dd16a9fad5e20fa5c2be08..28237bd21c5a7b0331d99edf1b10d94a8fe533f8 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/fvSchemes +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,46 +10,45 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } interpolationSchemes { - default linear; + default linear; } divSchemes { - default none; - div(phiv,rho) Gauss limitedLinear 0.2; - div(phi,U) Gauss limitedLinearV 0.2; - div(phiv,omega) Gauss limitedLinear 0.2; - div(phiv,k) Gauss limitedLinear 0.2; + default none; + div(phiv,rho) Gauss limitedLinear 0.2; + div(phi,U) Gauss limitedLinearV 0.2; + div(phiv,omega) Gauss limitedLinear 0.2; + div(phiv,k) Gauss limitedLinear 0.2; } gradSchemes { - default Gauss linear; + default Gauss linear; } laplacianSchemes { - default none; - - laplacian(nuf,rhoU) Gauss linear corrected; - laplacian(muEff,U) Gauss linear corrected; + default none; + laplacian(nuf,rhoU) Gauss linear corrected; + laplacian(muEff,U) Gauss linear corrected; laplacian(rrhoUAf,p) Gauss linear corrected; - laplacian(rUAf,p) Gauss linear corrected; + laplacian(rUAf,p) Gauss linear corrected; laplacian(DomegaEff,omega) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - - laplacian(1,p) Gauss linear corrected; + laplacian(DkEff,k) Gauss linear corrected; + laplacian(1,p) Gauss linear corrected; } snGradSchemes @@ -60,9 +59,10 @@ snGradSchemes fluxRequired { - default none; - p; - rho; + default none; + p ; + rho ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/fvSolution b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/fvSolution index f6bad1ada0bf1ca6bae8743af73b528278e0e658..4f413e7ef14f8370ee05b0ecc07f37b9ad0a8dc7 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/fvSolution +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,66 +10,69 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - omega PBiCG + omega { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - k PBiCG + k { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - rho PBiCG + rho { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - U PBiCG + U { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } - p GAMG + p { - tolerance 1e-8; - relTol 0; - - smoother GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0; + smoother GaussSeidel; + nPreSweeps 0; + nPostSweeps 2; cacheAgglomeration true; - nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } } PISO { - nCorrectors 2; - nNonOrthogonalCorrectors 1; - -// removeSwirl 2; + nCorrectors 2; + nNonOrthogonalCorrectors 1; } SIMPLE -{} +{ +} + // ************************************************************************* // diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/refineMeshDict b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/refineMeshDict index 12b021090d69400d48f6bbf58b910e002a9d80da..0a46e4d6670e184852cea0fb39376e957a24fdc3 100644 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/system/refineMeshDict +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/system/refineMeshDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,28 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object refineMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -set c0; +set c0; coordinateSystem global; globalCoeffs { - tan1 (1 0 0); - tan2 (0 1 0); + tan1 ( 1 0 0 ); + tan2 ( 0 1 0 ); } -directions -( - tan1 - tan2 -); +directions ( tan1 tan2 ); -useHexTopology yes; +useHexTopology yes; -geometricCut no; +geometricCut no; + +writeMesh no; -writeMesh no; // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/U b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/U index 367007d0c0ac04629d7b7b24464e19c55ce25d22..5b7a093a4f1a7a3fd9d894c5816520479f592166 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/U +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/alpha1.org b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/alpha1.org index f0a978580ee347e0159ed3b5f47665127c7b85a9..355df071cbcdb252069691da3b06e4b3a5f43460 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/alpha1.org +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/alpha1.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/pd.org b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/pd.org index dd6d6631cad8b29e8cb23c402504b1b6757bed8e..5f5f977f4311ab2cad0ebf9602845f7a3a48cf50 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/pd.org +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/0/pd.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/LESProperties b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/LESProperties index bb84772ba51036c08aa1082c7e6720dfe9d65037..dd76a64b4322ec34e9f1ad69d99f59864483e211 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/LESProperties +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/LESProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -26,89 +27,89 @@ laminarCoeffs oneEqEddyCoeffs { - ck 0.07; - ce 1.05; + ck 0.07; + ce 1.05; } dynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } locDynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } SmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; } Smagorinsky2Coeffs { - ce 1.05; - ck 0.07; - cD2 0.02; + ce 1.05; + ck 0.07; + cD2 0.02; } spectEddyViscCoeffs { - ce 1.05; - cB 8.22; - cK1 0.83; - cK2 1.03; - cK3 4.75; - cK4 2.55; + ce 1.05; + cB 8.22; + cK1 0.83; + cK2 1.03; + cK3 4.75; + cK4 2.55; } dynSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } mixedSmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; filter simple; } dynMixedSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } LRRDiffStressCoeffs { - ce 1.05; - ck 0.09; - c1 1.8; - c2 0.6; + ce 1.05; + ck 0.09; + c1 1.8; + c2 0.6; } DeardorffDiffStressCoeffs { - ce 1.05; - ck 0.09; - cm 4.13; + ce 1.05; + ck 0.09; + cm 4.13; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - CDES 0.65; - ck 0.07; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + CDES 0.65; + ck 0.07; } cubeRootVolCoeffs @@ -123,6 +124,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -130,9 +132,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -142,6 +146,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -149,10 +154,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -162,14 +169,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/environmentalProperties b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/environmentalProperties index c65ebf7f14b660d9bd5a86dbe868a819b4cf9fc7..938322374a12738e1c9fd6b846c4b8187e6177df 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/environmentalProperties +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/polyMesh/blockMeshDict b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/polyMesh/blockMeshDict index 56d39f67b2f56dabcc34b604d8bd5caad2d60703..0231b385dfca17e9f7af6bbbc59bada7b7f369fb 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/polyMesh/blockMeshDict +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/polyMesh/blockMeshDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/polyMesh/boundary b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/polyMesh/boundary index a6a3281fd72f7a13b8fb5bd5a0d44edc0abc0059..52529b0c3d5075ad4224ad57b495a8f91cda9eaf 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/polyMesh/boundary +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev-09ca1eb6b56f | +| \\ / O peration | Version: 1.5-09ca1eb6b56f | | \\ / A nd | | | \\/ M anipulation | www.OpenFOAM.org | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/transportProperties b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/transportProperties index 201e3b4946c6a80782a848fc0e55a8a2bf6fce8f..67e66cd27d1df7d295302ee3b4f3744065d9a450 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/transportProperties +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,32 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 //water +phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1e-6; - rho rho [1 -3 0 0 0 0 0] 1000; - rho0 rho0 [1 -3 0 0 0 0 0] 1000; - psi psi [0 -2 2 0 0] 1e-5; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 1000; + rho0 rho0 [ 1 -3 0 0 0 0 0 ] 1000; + psi psi [ 0 -2 2 0 0 ] 1e-05; } -phase2 //air +phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1.589e-5; - rho rho [1 -3 0 0 0 0 0] 1; - rho0 rho0 [1 -3 0 0 0 0 0] 0; - psi psi [0 -2 2 0 0] 1e-5; + nu nu [ 0 2 -1 0 0 0 0 ] 1.589e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; + rho0 rho0 [ 1 -3 0 0 0 0 0 ] 0; + psi psi [ 0 -2 2 0 0 ] 1e-05; } -pMin pMin [1 -1 -2 0 0 0 0] 1e4; +pMin pMin [ 1 -1 -2 0 0 0 0 ] 10000; + +sigma sigma [ 1 0 -2 0 0 0 0 ] 0.07; -sigma sigma [1 0 -2 0 0 0 0] 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/turbulenceProperties b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/turbulenceProperties index d3f32ecb06e6235cefb9e465d2767faa80138f38..a925d3cc2b28640b5aebf7779f6a9008e77b09fc 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/turbulenceProperties +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/constant/turbulenceProperties @@ -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,13 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//simulationType laminar; -//simulationType RASModel; -simulationType LESModel; +simulationType LESModel; // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/controlDict b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/controlDict index 03f0c207d6fd268ad7267214f33a705e87554c1f..53a30129f4a4eb55b01f71112d3864e8b66b7462 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/controlDict +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -23,11 +23,11 @@ stopAt endTime; endTime 0.5; -deltaT 1e-04; +deltaT 0.0001; writeControl adjustableRunTime; -writeInterval 5e-03; +writeInterval 0.005; purgeWrite 0; @@ -49,4 +49,5 @@ maxCo 0.25; maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/fvSchemes b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/fvSchemes index ee05b3ed1d2133d70d60afad6c05a6f7c65b92e8..373e1ca67d95f93b6f87c25f206a931c6c14ba76 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/fvSchemes +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -26,15 +27,11 @@ gradSchemes divSchemes { - div(rho*phi,U) Gauss upwind; //linear; - + div(rho*phi,U) Gauss upwind; div(phi,alpha) Gauss vanLeer; - div(phirb,alpha) Gauss interfaceCompression 1.0; - - div(phi,pd) Gauss upwind; //vanLeer; //linear; - + div(phirb,alpha) Gauss interfaceCompression 1; + div(phi,pd) Gauss upwind; div(phi,k) Gauss vanLeer; - div((nuEff*dev(grad(U).T()))) Gauss linear; } @@ -45,7 +42,7 @@ laplacianSchemes interpolationSchemes { - default linear; + default linear; } snGradSchemes @@ -56,9 +53,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - gamma; + pd ; + pcorr ; + gamma ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/fvSolution b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/fvSolution index 868252473975e23b298727de38f9dd66fbef0b56..3416674d0782e6a26af8e5de6eb075c7b792a6cf 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/fvSolution +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,105 +10,112 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-5; - relTol 0; - - smoother DICGaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nBottomSweeps 2; - + preconditioner GAMG; + tolerance 1e-05; + relTol 0; + smoother DICGaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nBottomSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; - - tolerance 1e-5; - relTol 0; - maxIter 100; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - rho diagonal - {}; + tolerance 1e-05; + relTol 0; + maxIter 100; + } - pd GAMG + rho { - tolerance 1e-7; - relTol 0.01; - - smoother DIC; //GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; + solver diagonal; + } + pd + { + solver GAMG; + tolerance 1e-07; + relTol 0.01; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - pdFinal PCG + pdFinal { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-7; - relTol 0; - - nVcycles 2; - - smoother DICGaussSeidel; - nPreSweeps 2; - nPostSweeps 2; - nFinestSweeps 2; - + preconditioner GAMG; + tolerance 1e-07; + relTol 0; + nVcycles 2; + smoother DICGaussSeidel; + nPreSweeps 2; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-7; - relTol 0; - maxIter 20; - }; + tolerance 1e-07; + relTol 0; + maxIter 20; + } - U smoothSolver + U { - smoother GaussSeidel; - tolerance 1e-6; - relTol 0; - nSweeps 1; - }; - - k PBiCG + solver smoothSolver; + smoother GaussSeidel; + tolerance 1e-06; + relTol 0; + nSweeps 1; + } + + k { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - B PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + B { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } } PISO @@ -123,4 +130,5 @@ PISO cAlpha 1; } + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/setFieldsDict b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/setFieldsDict index 510871c44b36a0002f4a97b6fa70c3e4e0b63e99..d1992643325e54bb632fa934b57dc0c257580c08 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/setFieldsDict +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge2D/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,39 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue alpha1 1 - volScalarFieldValue pd 1e5 -); +defaultFieldValues ( volScalarFieldValue alpha1 1 volScalarFieldValue pd 100000 ); -regions -( - sphereToCell - { - centre (0.5 0.5 0); - radius 0.1; +regions ( sphereToCell { centre ( 0.5 0.5 0 ) ; radius 0.1 ; fieldValues ( volScalarFieldValue alpha1 0 volScalarFieldValue pd 1000000 ) ; } boxToCell { box ( -10 1 -1 ) ( 10 10 1 ) ; fieldValues ( volScalarFieldValue alpha1 0 ) ; } ); - fieldValues - ( - volScalarFieldValue alpha1 0 - volScalarFieldValue pd 10e5 - ); - } - - boxToCell - { - box (-10 1 -1) (10 10 1); - - fieldValues - ( - volScalarFieldValue alpha1 0 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/U b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/U index 6840d0129ffba7002bf7ffcee4028d548ac2d02f..06fac63442a65c66af325f4e0110e0465d84f85f 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/U +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/alpha1.org b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/alpha1.org index cf3931804ff3b104621bada30b87c449748808b2..38175b056ae3aba273aa07f76b4d2ee94da9fd4e 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/alpha1.org +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/alpha1.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/pd.org b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/pd.org index 57bee34347bb93e83fc679b2360f4bc9aa216195..efe6f4ca9c57592011bedf77d0c8ff218a2eea5c 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/pd.org +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/0/pd.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/LESProperties b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/LESProperties index bb84772ba51036c08aa1082c7e6720dfe9d65037..dd76a64b4322ec34e9f1ad69d99f59864483e211 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/LESProperties +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/LESProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -26,89 +27,89 @@ laminarCoeffs oneEqEddyCoeffs { - ck 0.07; - ce 1.05; + ck 0.07; + ce 1.05; } dynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } locDynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } SmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; } Smagorinsky2Coeffs { - ce 1.05; - ck 0.07; - cD2 0.02; + ce 1.05; + ck 0.07; + cD2 0.02; } spectEddyViscCoeffs { - ce 1.05; - cB 8.22; - cK1 0.83; - cK2 1.03; - cK3 4.75; - cK4 2.55; + ce 1.05; + cB 8.22; + cK1 0.83; + cK2 1.03; + cK3 4.75; + cK4 2.55; } dynSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } mixedSmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; filter simple; } dynMixedSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } LRRDiffStressCoeffs { - ce 1.05; - ck 0.09; - c1 1.8; - c2 0.6; + ce 1.05; + ck 0.09; + c1 1.8; + c2 0.6; } DeardorffDiffStressCoeffs { - ce 1.05; - ck 0.09; - cm 4.13; + ce 1.05; + ck 0.09; + cm 4.13; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - CDES 0.65; - ck 0.07; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + CDES 0.65; + ck 0.07; } cubeRootVolCoeffs @@ -123,6 +124,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -130,9 +132,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -142,6 +146,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -149,10 +154,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -162,14 +169,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/environmentalProperties b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/environmentalProperties index c65ebf7f14b660d9bd5a86dbe868a819b4cf9fc7..938322374a12738e1c9fd6b846c4b8187e6177df 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/environmentalProperties +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/polyMesh/blockMeshDict b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/polyMesh/blockMeshDict index 6a0e1ca9ce740b5cae31b95714d2f2f6bba392b1..c93921851e1c854413cb7e2aff8f2bd474d83fea 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/polyMesh/blockMeshDict +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/polyMesh/blockMeshDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/polyMesh/boundary b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/polyMesh/boundary index 3517ca55be180a00b154b971fd6945bd75fd1afc..f3c84ef8fbdd9331d89e5698db346553c27425d6 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/polyMesh/boundary +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev-09ca1eb6b56f | +| \\ / O peration | Version: 1.5-09ca1eb6b56f | | \\ / A nd | | | \\/ M anipulation | www.OpenFOAM.org | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/transportProperties b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/transportProperties index 201e3b4946c6a80782a848fc0e55a8a2bf6fce8f..67e66cd27d1df7d295302ee3b4f3744065d9a450 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/transportProperties +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,32 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -phase1 //water +phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1e-6; - rho rho [1 -3 0 0 0 0 0] 1000; - rho0 rho0 [1 -3 0 0 0 0 0] 1000; - psi psi [0 -2 2 0 0] 1e-5; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 1000; + rho0 rho0 [ 1 -3 0 0 0 0 0 ] 1000; + psi psi [ 0 -2 2 0 0 ] 1e-05; } -phase2 //air +phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1.589e-5; - rho rho [1 -3 0 0 0 0 0] 1; - rho0 rho0 [1 -3 0 0 0 0 0] 0; - psi psi [0 -2 2 0 0] 1e-5; + nu nu [ 0 2 -1 0 0 0 0 ] 1.589e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; + rho0 rho0 [ 1 -3 0 0 0 0 0 ] 0; + psi psi [ 0 -2 2 0 0 ] 1e-05; } -pMin pMin [1 -1 -2 0 0 0 0] 1e4; +pMin pMin [ 1 -1 -2 0 0 0 0 ] 10000; + +sigma sigma [ 1 0 -2 0 0 0 0 ] 0.07; -sigma sigma [1 0 -2 0 0 0 0] 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/turbulenceProperties b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/turbulenceProperties index fe67e8fecae0729e7345802955479523972bb72d..a925d3cc2b28640b5aebf7779f6a9008e77b09fc 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/turbulenceProperties +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/constant/turbulenceProperties @@ -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,13 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -//simulationType laminar; -//simulationType RASModel; -simulationType LESModel; +simulationType LESModel; // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/controlDict b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/controlDict index 03f0c207d6fd268ad7267214f33a705e87554c1f..53a30129f4a4eb55b01f71112d3864e8b66b7462 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/controlDict +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -23,11 +23,11 @@ stopAt endTime; endTime 0.5; -deltaT 1e-04; +deltaT 0.0001; writeControl adjustableRunTime; -writeInterval 5e-03; +writeInterval 0.005; purgeWrite 0; @@ -49,4 +49,5 @@ maxCo 0.25; maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/decomposeParDict b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/decomposeParDict index fd4a88324169c196c7a5ff8e48a0a1fd3893b6d3..59ad3aca886f37729e4941e28a63e9982d6f660e 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/decomposeParDict +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,24 +18,23 @@ FoamFile numberOfSubdomains 4; method hierarchical; -//method metis; -//method parMetis; simpleCoeffs { - n (1 4 1); + n ( 1 4 1 ); delta 0.001; } hierarchicalCoeffs { - n (1 4 1); + n ( 1 4 1 ); delta 0.001; order xyz; } metisCoeffs -{} +{ +} manualCoeffs { @@ -43,8 +43,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/fvSchemes b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/fvSchemes index ee05b3ed1d2133d70d60afad6c05a6f7c65b92e8..373e1ca67d95f93b6f87c25f206a931c6c14ba76 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/fvSchemes +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -26,15 +27,11 @@ gradSchemes divSchemes { - div(rho*phi,U) Gauss upwind; //linear; - + div(rho*phi,U) Gauss upwind; div(phi,alpha) Gauss vanLeer; - div(phirb,alpha) Gauss interfaceCompression 1.0; - - div(phi,pd) Gauss upwind; //vanLeer; //linear; - + div(phirb,alpha) Gauss interfaceCompression 1; + div(phi,pd) Gauss upwind; div(phi,k) Gauss vanLeer; - div((nuEff*dev(grad(U).T()))) Gauss linear; } @@ -45,7 +42,7 @@ laplacianSchemes interpolationSchemes { - default linear; + default linear; } snGradSchemes @@ -56,9 +53,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - gamma; + pd ; + pcorr ; + gamma ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/fvSolution b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/fvSolution index 868252473975e23b298727de38f9dd66fbef0b56..3416674d0782e6a26af8e5de6eb075c7b792a6cf 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/fvSolution +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,105 +10,112 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-5; - relTol 0; - - smoother DICGaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nBottomSweeps 2; - + preconditioner GAMG; + tolerance 1e-05; + relTol 0; + smoother DICGaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nBottomSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; - - tolerance 1e-5; - relTol 0; - maxIter 100; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - rho diagonal - {}; + tolerance 1e-05; + relTol 0; + maxIter 100; + } - pd GAMG + rho { - tolerance 1e-7; - relTol 0.01; - - smoother DIC; //GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; + solver diagonal; + } + pd + { + solver GAMG; + tolerance 1e-07; + relTol 0.01; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - pdFinal PCG + pdFinal { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-7; - relTol 0; - - nVcycles 2; - - smoother DICGaussSeidel; - nPreSweeps 2; - nPostSweeps 2; - nFinestSweeps 2; - + preconditioner GAMG; + tolerance 1e-07; + relTol 0; + nVcycles 2; + smoother DICGaussSeidel; + nPreSweeps 2; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-7; - relTol 0; - maxIter 20; - }; + tolerance 1e-07; + relTol 0; + maxIter 20; + } - U smoothSolver + U { - smoother GaussSeidel; - tolerance 1e-6; - relTol 0; - nSweeps 1; - }; - - k PBiCG + solver smoothSolver; + smoother GaussSeidel; + tolerance 1e-06; + relTol 0; + nSweeps 1; + } + + k { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - B PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + B { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } } PISO @@ -123,4 +130,5 @@ PISO cAlpha 1; } + // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/setFieldsDict b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/setFieldsDict index d0e435037219410e9f082c6b98ea271b807be53c..fb686e791c29a4621e44bf2cab9b086005d62bc0 100644 --- a/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/setFieldsDict +++ b/tutorials/multiphase/compressibleInterFoam/depthCharge3D/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,39 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue alpha1 1 - volScalarFieldValue pd 1e5 -); +defaultFieldValues ( volScalarFieldValue alpha1 1 volScalarFieldValue pd 100000 ); -regions -( - sphereToCell - { - centre (0.5 0.5 0.5); - radius 0.1; +regions ( sphereToCell { centre ( 0.5 0.5 0.5 ) ; radius 0.1 ; fieldValues ( volScalarFieldValue alpha1 0 volScalarFieldValue pd 1000000 ) ; } boxToCell { box ( -10 1 -1 ) ( 10 10 1 ) ; fieldValues ( volScalarFieldValue alpha1 0 ) ; } ); - fieldValues - ( - volScalarFieldValue alpha1 0 - volScalarFieldValue pd 10e5 - ); - } - - boxToCell - { - box (-10 1 -1) (10 10 1); - - fieldValues - ( - volScalarFieldValue alpha1 0 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/U b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/U index be74aea5a1aaf718ea75cf5a20eb54ccd26c383d..f37e2e0d0f33e4884077c84e9cca1affac24fa4f 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/U +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/gamma b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/gamma index e7dd5fba7368da3b79bb3cbb827b2dd005130122..2e2bf16c3cca0a5c052a99e0876c414064f647f0 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/gamma +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/gamma @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/gamma.org b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/gamma.org index e7dd5fba7368da3b79bb3cbb827b2dd005130122..2e2bf16c3cca0a5c052a99e0876c414064f647f0 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/gamma.org +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/gamma.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/pd b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/pd index bf55dd55f315cf27b92d411d5096a5a4aec43242..f5801776cf3a904337fb7591c1581bbfa72c7a6d 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/pd +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/pd @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/U b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/U index 92dbcc46724d7ba2b763f571d9ca3dfb0fd93ead..e791ef363f6ab10c6e1062b8c37499062dbf8b92 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/U +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/gamma b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/gamma index f933566bb4830a8d9a3feb50b92a98c0840a81a0..7602a0953b91a29e678b54f16b84d237ae5dbae6 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/gamma +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/gamma @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/gamma.org b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/gamma.org index e7dd5fba7368da3b79bb3cbb827b2dd005130122..2e2bf16c3cca0a5c052a99e0876c414064f647f0 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/gamma.org +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/gamma.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/pd b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/pd index bf55dd55f315cf27b92d411d5096a5a4aec43242..f5801776cf3a904337fb7591c1581bbfa72c7a6d 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/pd +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/pd @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/RASProperties b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/RASProperties index 919d435ff3602345a8e7191d795a24a89434bfcc..035a467881184ab15b7f8e2874b04983bc167675 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/RASProperties +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/RASProperties @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,16 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// RASModel kEpsilon; -RASModel laminar; +RASModel laminar; -turbulence on; +turbulence on; -printCoeffs off; +printCoeffs off; laminarCoeffs { @@ -27,149 +27,150 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/dynamicMeshDict b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/dynamicMeshDict index 56b10abaf93c5fe737903f5f97a810dd11e0f240..3ff397dfee0b51425587d68904a8e3d7014b0c51 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/dynamicMeshDict +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/dynamicMeshDict @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,54 +10,26 @@ FoamFile version 2.0; format ascii; class dictionary; - object motionProperties; + location "constant"; + object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMesh dynamicRefineFvMesh; +dynamicFvMesh dynamicRefineFvMesh; -// Refinement dynamicRefineFvMeshCoeffs { - // Refine every refineInterval timesteps - refineInterval 1; - - // volScalarField to base refinement on - field gamma; - - // - // 1. interpolate field - // 2. mark any cell - // - using a point value >minLevel <maxLevel - // - level < maxRefinement - // - unprotected - // 3. if too many cells determine cost function: - // - lowest level wins - // - cell closest to (0.5*minLevel + 0.5*maxLevel) wins - - // Which cells to un/refine: based on point values (simple averaging). - // - refine pointCells of point value > refineLevel - // - unrefine pointCells of point value < unrefineLevel and that - // are not within nBufferLayers of points marked for refinement. - - // All cells (neighbouring a cell with) gamma get refined + refineInterval 1; + field gamma; lowerRefineLevel 0.001; upperRefineLevel 0.999; - // All points are candidates for unrefining (gamma always <1) - unrefineLevel 10; - nBufferLayers 1; - - // Maximum refinement level (starts from 0) - maxRefinement 2; - - // Maximum cell limit (approximate) - maxCells 200000; - - // Fluxes to correct and variable they can be interpolated from - correctFluxes ((phi U)); - - // Write cellLevel? - dumpLevel true; + unrefineLevel 10; + nBufferLayers 1; + maxRefinement 2; + maxCells 200000; + correctFluxes ( ( phi U ) ); + dumpLevel true; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/environmentalProperties b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/environmentalProperties index 40232c0c406c02d21a4ae29a31f702bbf84c6214..639bd90b066ffdac881dc8722b84c1bf39170e9d 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/environmentalProperties +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/environmentalProperties @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 -9.81); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 -9.81 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/blockMeshDict b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/blockMeshDict index 09be8b82ff78d294ba284bb86ff83c3a10e33f1b..b31c66979716d07e62e665e402c29a9f64111e35 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/blockMeshDict +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/blockMeshDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/boundary b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/boundary index 1300f15c762cb0db7971c1aca556785ce057f860..924d99d9373a00ca40e7b97192e8911704e94737 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/boundary +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/sets/c0 b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/sets/c0 index 3ffad18a1e10bae2704e0b0a0ec5c948c1bc42c7..2f7f7412e51609a949d7c20ea4fbb7d3a183fae3 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/sets/c0 +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/sets/c0 @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/sets/c0_old b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/sets/c0_old index b39c920d1309cac114b21e9d8d6d9408719b9289..e28610eeda927d09227498a77ec583d086216e02 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/sets/c0_old +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/polyMesh/sets/c0_old @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/transportProperties b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/transportProperties index 3460aba08f9209a1c2842221d35d8b00c3a8f2dc..b8f03496c1493693d3994a211ffaed9fb15b1027 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/transportProperties @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,45 +18,48 @@ FoamFile phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1e-06; - rho rho [1 -3 0 0 0 0 0] 1000; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 1000; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 0; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 0; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 0.0142515; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 99.6; - n n [0 0 0 0 0 0 0] 0.1003; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 99.6; + n n [ 0 0 0 0 0 0 0 ] 0.1003; } } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1.48e-05; - rho rho [1 -3 0 0 0 0 0] 1; + nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 0; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 0; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 0.0142515; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 99.6; - n n [0 0 0 0 0 0 0] 0.1003; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 99.6; + n n [ 0 0 0 0 0 0 0 ] 0.1003; } } -sigma sigma [1 0 -2 0 0 0 0] 0.07; +sigma sigma [ 1 0 -2 0 0 0 0 ] 0.07; + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/controlDict b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/controlDict index f560d7c85b5347667d40360680158761709e773a..4790e5fc3f0a9c5f4f1f6ec30951a8552fd6ebaf 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/controlDict @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -25,9 +25,9 @@ endTime 2; deltaT 0.001; -writeControl adjustableRunTime; //timeStep; //adjustableRunTime; +writeControl adjustableRunTime; -writeInterval 0.02; //10; //0.02; +writeInterval 0.02; purgeWrite 0; @@ -49,4 +49,5 @@ maxCo 0.1; maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/decomposeParDict b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/decomposeParDict index b7f14f71546ee6876e32c3b8e21d538dce935530..d4601d33a257b924355555355b99293a7f1ddb61 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/decomposeParDict +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/decomposeParDict @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,23 +18,23 @@ FoamFile numberOfSubdomains 6; method metis; -//method hierarchical; simpleCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; } hierarchicalCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; order xyz; } metisCoeffs -{} +{ +} manualCoeffs { @@ -42,8 +43,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSchemes b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSchemes index a03b85207dd4384e28573b1487fef828812a300f..f08b9b1ac23f71bbecb6cc581a8a36b416183bca 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSchemes +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSchemes @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -28,7 +29,7 @@ gradSchemes divSchemes { - div(rho*phi,U) Gauss upwind; //limitedLinearV 1; + div(rho*phi,U) Gauss upwind; div(phi,gamma) Gauss vanLeer; div(phirb,gamma) Gauss interfaceCompression; } @@ -51,9 +52,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - gamma; + pd ; + pcorr ; + gamma ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSolution b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSolution index ecb3469be2182e87d2759857b9af6d184bc53784..e33d8a03f003766791666d7d97f531906504a333 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSolution @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,102 +10,107 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-3; - relTol 0; - - smoother GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nBottomSweeps 2; - + preconditioner GAMG; + tolerance 0.001; + relTol 0; + smoother GaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nBottomSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-4; - relTol 0; - maxIter 100; - }; + tolerance 0.0001; + relTol 0; + maxIter 100; + } - pd GAMG + pd { - tolerance 1e-8; - relTol 0.05; - - smoother GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0.05; + smoother GaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - pdFinal PCG + pdFinal { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-8; - relTol 0; - - nVcycles 2; - - smoother GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + preconditioner GAMG; + tolerance 1e-08; + relTol 0; + nVcycles 2; + smoother GaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-8; - relTol 0; - maxIter 20; - }; + tolerance 1e-08; + relTol 0; + maxIter 20; + } - U smoothSolver + U { - smoother GaussSeidel; - tolerance 1e-6; - relTol 0; - nSweeps 1; - }; - - k PBiCG + solver smoothSolver; + smoother GaussSeidel; + tolerance 1e-06; + relTol 0; + nSweeps 1; + } + + k { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - B PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + B { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } } PISO @@ -120,9 +125,10 @@ PISO pdRefValue 0; pRefProbe { - fields (pd); - probeLocations ((0.51 0.51 0.51)); - }; + fields ( pd ); + probeLocations ( ( 0.51 0.51 0.51 ) ); + } } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/setFieldsDict index 708c1cacd697d76dc1290bd72a30614d92ada9ef..892a12e4429a2d4b2f51f4a661b7e12c3560d2a7 100644 --- a/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/setFieldsDict @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: 1.5 | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,27 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue gamma 0 - volVectorFieldValue U (0 0 0) -); +defaultFieldValues ( volScalarFieldValue gamma 0 volVectorFieldValue U ( 0 0 0 ) ); -regions -( - boxToCell - { - box (0 0 0) (0.60 0.1875 0.75); +regions ( boxToCell { box ( 0 0 0 ) ( 0.6 0.1875 0.75 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } ); - fieldValues - ( - volScalarFieldValue gamma 1 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/U b/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/U index ae062bdf0d1fa6458df95c93f8ffeb9d7df188be..bf28b4a48e82189066d43e58a30ef9db69891aab 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/U +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/gamma.org b/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/gamma.org index 2711563003114c5f54dc987dbeca328598f590e8..e7fbe1d082401eabb45b5d241ab99b51ac0a997a 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/gamma.org +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/gamma.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/pd b/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/pd index cefcbb7d442aad8e22f25fbaedbfbb0e68eed4b7..020ff7cc00a27e6b27aed9640ba406c34958cb98 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/pd +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/0/pd @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/RASProperties b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/RASProperties index ac1efb34c5d460ae6483a045c147312455969903..ac647d46427282fac607f94584e78ca379f120a8 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/RASProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// RASModel kEpsilon; -RASModel laminar; +RASModel laminar; turbulence off; @@ -25,149 +25,150 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/dynamicMeshDict b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/dynamicMeshDict index e7a0ec06d662ae2718dffc093a0605bbf62f732f..f8a9a9bd8b3dd8cd97772d60b537574b1f46ea6c 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/dynamicMeshDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/dynamicMeshDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,51 +10,31 @@ FoamFile version 2.0; format ascii; class dictionary; - object motionProperties; + location "constant"; + object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMesh solidBodyMotionFvMesh; +dynamicFvMesh solidBodyMotionFvMesh; solidBodyMotionFvMeshCoeffs { solidBodyMotionFunction SDA; - SDACoeffs { - // Centre of gravity - CofG (0 0 0); - - // Model scale ratio - lamda 50; - - // Max roll amplitude [rad] - rollAmax 0.22654; - - // Min roll amplitude [rad] - rollAmin 0.10472; - - // Heave amplitude [m] - heaveA 3.79; - - // Sway amplitude [m] - swayA 2.34; - - // Damping Coefficient [-] - Q 2.00; - - // Time Period for liquid [sec] - Tp 13.93; - - // Natural Period of Ship [sec] - Tpn 11.93; - - // Reference time step [sec] - dTi 0.059; - - // Incr. in Tp/unit 'dTi'[-] - dTp -0.001; + CofG ( 0 0 0 ); + lamda 50; + rollAmax 0.22654; + rollAmin 0.10472; + heaveA 3.79; + swayA 2.34; + Q 2; + Tp 13.93; + Tpn 11.93; + dTi 0.059; + dTp -0.001; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/environmentalProperties b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/environmentalProperties index 40232c0c406c02d21a4ae29a31f702bbf84c6214..9fd11e4ef267ca5f4cd3c6432b6e2075f5655e88 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/environmentalProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 -9.81); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 -9.81 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/blockMeshDict b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/blockMeshDict index 3c52247aa29f0cb0eeb549c39a24a6e11a8f3391..c7d3ee2dcd51f0c5fa1b35f42cdbcc6d79e30493 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/blockMeshDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/blockMeshDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/blockMeshDict.m4 b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/blockMeshDict.m4 index b6c1cdd4ad9b1d6ba5fd81e26deeeb626cee8b8f..b56cbe4342576c10393d6eb995d49acc0925e240 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/blockMeshDict.m4 +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/blockMeshDict.m4 @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/boundary b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/boundary index 57267e87f7e42310c06882be5d8864dc3c77adc2..53b37c41f6d9efc89d3a51c6c2425a165026e2dc 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/boundary +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/transportProperties b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/transportProperties index c20854a9031a956ad8bc154b0a4ae87375add730..02287f422b58ea20261ee3a90e0012076a3fb490 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,17 +18,18 @@ FoamFile phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1e-6; - rho rho [1 -3 0 0 0 0 0] 998.2; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1.48e-05; - rho rho [1 -3 0 0 0 0 0] 1; + nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; } -sigma sigma [1 0 -2 0 0 0 0] 0.0; +sigma sigma [ 1 0 -2 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/controlDict b/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/controlDict index a4d077ea1919324987eb0d533fdc4615840f0eef..f533a54408a008a373e38f555a3d71a7e37b351b 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -53,24 +53,15 @@ functions ( probes { - // Type of functionObject type probes; - - // Output every outputControl timeStep; outputInterval 1; - - // Name of the directory for the probe data name probes; - - // Locations to be probed. runTime modifiable! probeLocations ( - (0 9.95 19.77) - (0 -9.95 19.77) + ( 0 9.95 19.77 ) + ( 0 -9.95 19.77 ) ); - - // Fields to be probed. runTime modifiable! fields ( p @@ -79,18 +70,11 @@ functions wallPressure { - // Type of functionObject type surfaces; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libsampling.so"); - - // Output every + functionObjectLibs ( "libsampling.so" ); outputControl timeStep; outputInterval 10; - surfaceFormat raw; - fields ( p @@ -100,12 +84,13 @@ functions ( walls { - type patch; - patchName walls; - triangulate false; + type patch; + patchName walls; + triangulate false; } ); } ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/decomposeParDict b/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/decomposeParDict index d4594e09475d920c6ca71413fa457c4ec15810ac..fa967d3199a414ba839010517229d0ab3089cf07 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/decomposeParDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,26 +21,20 @@ method hierarchical; simpleCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; } hierarchicalCoeffs { - n (4 2 2); + n ( 4 2 2 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -49,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/fvSchemes b/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/fvSchemes index f089e4e5e6a14300b65f1deeeda14777be255c0c..a6a73ef77f21be751e2301408b87cc04164b8d8c 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/fvSchemes +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -51,9 +52,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - gamma; + pd ; + pcorr ; + gamma ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/fvSolution b/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/fvSolution index 3aaca52375805f2de0bb55235af2d945db86e22c..a4dc358cdaca88ee07fd5a2eece1c21359e9146f 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,83 +10,83 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-5; - relTol 0; - - smoother DICGaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nBottomSweeps 2; - + preconditioner GAMG; + tolerance 1e-05; + relTol 0; + smoother DICGaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nBottomSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-5; - relTol 0; - maxIter 100; - }; + tolerance 1e-05; + relTol 0; + maxIter 100; + } - pd GAMG + pd { - tolerance 1e-8; - relTol 0.01; - - smoother DIC; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0.01; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - pdFinal PCG + pdFinal { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 2e-9; - relTol 0; - - nVcycles 2; - - smoother DICGaussSeidel; - nPreSweeps 2; - nPostSweeps 2; - nFinestSweeps 2; - + preconditioner GAMG; + tolerance 2e-09; + relTol 0; + nVcycles 2; + smoother DICGaussSeidel; + nPreSweeps 2; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 2e-9; - relTol 0; - maxIter 20; - }; + tolerance 2e-09; + relTol 0; + maxIter 20; + } - U smoothSolver + U { - smoother GaussSeidel; - tolerance 1e-6; - relTol 0; - nSweeps 1; - }; + solver smoothSolver; + smoother GaussSeidel; + tolerance 1e-06; + relTol 0; + nSweeps 1; + } } PISO @@ -98,26 +98,19 @@ PISO nGammaSubCycles 3; cGamma 1.5; correctPhi no; - pRefProbe { - fields - ( - p - ); - - probeLocations - ( - (0 0 0.15) - ); + fields ( p ); + probeLocations ( ( 0 0 0.15 ) ); } - pRefValue 1e5; + pRefValue 100000; } relaxationFactors { - U 1.0; + U 1; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/setFieldsDict index 2c881a7ba48d03bc05de5c2d82ab02c90c1928ef..7c6f1065041fd4a9571afb39b53fae87aefbaefb 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,26 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue gamma 0 -); +defaultFieldValues ( volScalarFieldValue gamma 0 ); -regions -( - boxToCell - { - box (-100 -100 -100) (100 100 0); +regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } ); - fieldValues - ( - volScalarFieldValue gamma 1 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/U b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/U index ae062bdf0d1fa6458df95c93f8ffeb9d7df188be..bf28b4a48e82189066d43e58a30ef9db69891aab 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/U +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/gamma.org b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/gamma.org index 2711563003114c5f54dc987dbeca328598f590e8..e7fbe1d082401eabb45b5d241ab99b51ac0a997a 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/gamma.org +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/gamma.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/pd b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/pd index cefcbb7d442aad8e22f25fbaedbfbb0e68eed4b7..020ff7cc00a27e6b27aed9640ba406c34958cb98 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/pd +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/pd @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/RASProperties b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/RASProperties index ac1efb34c5d460ae6483a045c147312455969903..ac647d46427282fac607f94584e78ca379f120a8 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/RASProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// RASModel kEpsilon; -RASModel laminar; +RASModel laminar; turbulence off; @@ -25,149 +25,150 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/dynamicMeshDict b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/dynamicMeshDict index 2b9f0bed1195391eeea3f4c700c909217a838025..e9ca15c3386a6ef33ee07505fd6f82015a9183a2 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/dynamicMeshDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/dynamicMeshDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,51 +10,31 @@ FoamFile version 2.0; format ascii; class dictionary; - object motionProperties; + location "constant"; + object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMesh solidBodyMotionFvMesh; +dynamicFvMesh solidBodyMotionFvMesh; solidBodyMotionFvMeshCoeffs { solidBodyMotionFunction SDA; - SDACoeffs { - // Centre of gravity - CofG (0 0 0); - - // Model scale ratio - lamda 50; - - // Max roll amplitude [rad] - rollAmax 0.2; - - // Min roll amplitude [rad] - rollAmin 0.1; - - // Heave amplitude [m] - heaveA 4; - - // Sway amplitude [m] - swayA 2.4; - - // Damping Coefficient [-] - Q 2; - - // Time Period for liquid [sec] - Tp 14; - - // Natural Period of Ship [sec] - Tpn 12; - - // Reference time step [sec] - dTi 0.06; - - // Incr. in Tp/unit 'dTi'[-] - dTp -0.001; + CofG ( 0 0 0 ); + lamda 50; + rollAmax 0.2; + rollAmin 0.1; + heaveA 4; + swayA 2.4; + Q 2; + Tp 14; + Tpn 12; + dTi 0.06; + dTp -0.001; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/environmentalProperties b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/environmentalProperties index 40232c0c406c02d21a4ae29a31f702bbf84c6214..9fd11e4ef267ca5f4cd3c6432b6e2075f5655e88 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/environmentalProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 -9.81); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 -9.81 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/blockMeshDict b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/blockMeshDict index 3c52247aa29f0cb0eeb549c39a24a6e11a8f3391..c7d3ee2dcd51f0c5fa1b35f42cdbcc6d79e30493 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/blockMeshDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/blockMeshDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/blockMeshDict.m4 b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/blockMeshDict.m4 index b6c1cdd4ad9b1d6ba5fd81e26deeeb626cee8b8f..b56cbe4342576c10393d6eb995d49acc0925e240 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/blockMeshDict.m4 +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/blockMeshDict.m4 @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/boundary b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/boundary index 57267e87f7e42310c06882be5d8864dc3c77adc2..53b37c41f6d9efc89d3a51c6c2425a165026e2dc 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/boundary +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/transportProperties b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/transportProperties index c20854a9031a956ad8bc154b0a4ae87375add730..02287f422b58ea20261ee3a90e0012076a3fb490 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,17 +18,18 @@ FoamFile phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1e-6; - rho rho [1 -3 0 0 0 0 0] 998.2; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1.48e-05; - rho rho [1 -3 0 0 0 0 0] 1; + nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; } -sigma sigma [1 0 -2 0 0 0 0] 0.0; +sigma sigma [ 1 0 -2 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/controlDict b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/controlDict index 0bacce4c995976475551971d1842b33a846c1d20..a4e44f2de3153e8998fc44a13ff9793f9a52e513 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -53,24 +53,15 @@ functions ( probes { - // Type of functionObject type probes; - - // Output every 10th time step outputControl timeStep; outputInterval 10; - - // Name of the directory for the probe data name probes; - - // Locations to be probed. runTime modifiable! probeLocations ( - (0 9.95 19.77) - (0 -9.95 19.77) + ( 0 9.95 19.77 ) + ( 0 -9.95 19.77 ) ); - - // Fields to be probed. runTime modifiable! fields ( p @@ -79,33 +70,26 @@ functions wallPressure { - // Type of functionObject type surfaces; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libsampling.so"); - - // Output every 10th time step + functionObjectLibs ( "libsampling.so" ); outputControl timeStep; outputInterval 10; - surfaceFormat raw; - fields ( p ); - surfaces ( walls { - type patch; - patchName walls; - triangulate false; + type patch; + patchName walls; + triangulate false; } ); } ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/decomposeParDict b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/decomposeParDict index d4594e09475d920c6ca71413fa457c4ec15810ac..fa967d3199a414ba839010517229d0ab3089cf07 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/decomposeParDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,26 +21,20 @@ method hierarchical; simpleCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; } hierarchicalCoeffs { - n (4 2 2); + n ( 4 2 2 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -49,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/fvSchemes b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/fvSchemes index f089e4e5e6a14300b65f1deeeda14777be255c0c..a6a73ef77f21be751e2301408b87cc04164b8d8c 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/fvSchemes +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -51,9 +52,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - gamma; + pd ; + pcorr ; + gamma ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/fvSolution b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/fvSolution index 3aaca52375805f2de0bb55235af2d945db86e22c..a4dc358cdaca88ee07fd5a2eece1c21359e9146f 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,83 +10,83 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-5; - relTol 0; - - smoother DICGaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nBottomSweeps 2; - + preconditioner GAMG; + tolerance 1e-05; + relTol 0; + smoother DICGaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nBottomSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-5; - relTol 0; - maxIter 100; - }; + tolerance 1e-05; + relTol 0; + maxIter 100; + } - pd GAMG + pd { - tolerance 1e-8; - relTol 0.01; - - smoother DIC; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0.01; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - pdFinal PCG + pdFinal { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 2e-9; - relTol 0; - - nVcycles 2; - - smoother DICGaussSeidel; - nPreSweeps 2; - nPostSweeps 2; - nFinestSweeps 2; - + preconditioner GAMG; + tolerance 2e-09; + relTol 0; + nVcycles 2; + smoother DICGaussSeidel; + nPreSweeps 2; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 2e-9; - relTol 0; - maxIter 20; - }; + tolerance 2e-09; + relTol 0; + maxIter 20; + } - U smoothSolver + U { - smoother GaussSeidel; - tolerance 1e-6; - relTol 0; - nSweeps 1; - }; + solver smoothSolver; + smoother GaussSeidel; + tolerance 1e-06; + relTol 0; + nSweeps 1; + } } PISO @@ -98,26 +98,19 @@ PISO nGammaSubCycles 3; cGamma 1.5; correctPhi no; - pRefProbe { - fields - ( - p - ); - - probeLocations - ( - (0 0 0.15) - ); + fields ( p ); + probeLocations ( ( 0 0 0.15 ) ); } - pRefValue 1e5; + pRefValue 100000; } relaxationFactors { - U 1.0; + U 1; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/setFieldsDict index 2c881a7ba48d03bc05de5c2d82ab02c90c1928ef..7c6f1065041fd4a9571afb39b53fae87aefbaefb 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,26 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue gamma 0 -); +defaultFieldValues ( volScalarFieldValue gamma 0 ); -regions -( - boxToCell - { - box (-100 -100 -100) (100 100 0); +regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } ); - fieldValues - ( - volScalarFieldValue gamma 1 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/U b/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/U index df1f4c5a6cac4fec14e0fe27b4ce52192bbb8588..da644fd824cc6e5940268c434025786c3fe29e9e 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/U +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/gamma.org b/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/gamma.org index 85902dcba56932d63c672f60079995cbf927b363..f1c22f97410479c154057939b1a71124a9884acc 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/gamma.org +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/gamma.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/pd b/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/pd index 25379b239c07f497fa0d81af72650ff736e464f2..ac7e49da81a5ead98e613c5891faccae05ef2629 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/pd +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/0/pd @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/RASProperties b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/RASProperties index ac1efb34c5d460ae6483a045c147312455969903..ac647d46427282fac607f94584e78ca379f120a8 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/RASProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// RASModel kEpsilon; -RASModel laminar; +RASModel laminar; turbulence off; @@ -25,149 +25,150 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/dynamicMeshDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/dynamicMeshDict index e7a0ec06d662ae2718dffc093a0605bbf62f732f..f8a9a9bd8b3dd8cd97772d60b537574b1f46ea6c 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/dynamicMeshDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/dynamicMeshDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,51 +10,31 @@ FoamFile version 2.0; format ascii; class dictionary; - object motionProperties; + location "constant"; + object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMesh solidBodyMotionFvMesh; +dynamicFvMesh solidBodyMotionFvMesh; solidBodyMotionFvMeshCoeffs { solidBodyMotionFunction SDA; - SDACoeffs { - // Centre of gravity - CofG (0 0 0); - - // Model scale ratio - lamda 50; - - // Max roll amplitude [rad] - rollAmax 0.22654; - - // Min roll amplitude [rad] - rollAmin 0.10472; - - // Heave amplitude [m] - heaveA 3.79; - - // Sway amplitude [m] - swayA 2.34; - - // Damping Coefficient [-] - Q 2.00; - - // Time Period for liquid [sec] - Tp 13.93; - - // Natural Period of Ship [sec] - Tpn 11.93; - - // Reference time step [sec] - dTi 0.059; - - // Incr. in Tp/unit 'dTi'[-] - dTp -0.001; + CofG ( 0 0 0 ); + lamda 50; + rollAmax 0.22654; + rollAmin 0.10472; + heaveA 3.79; + swayA 2.34; + Q 2; + Tp 13.93; + Tpn 11.93; + dTi 0.059; + dTp -0.001; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/environmentalProperties b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/environmentalProperties index 40232c0c406c02d21a4ae29a31f702bbf84c6214..9fd11e4ef267ca5f4cd3c6432b6e2075f5655e88 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/environmentalProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 -9.81); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 -9.81 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/blockMeshDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/blockMeshDict index 0d21d111481f4479c9f59f540e7962d4a65e3e4c..98820d1a0069d2fb15abd412722b3b18d51be5f1 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/blockMeshDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/blockMeshDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/blockMeshDict.m4 b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/blockMeshDict.m4 index f97859e6bffaa7c864e14cd5f5c62968652fc03f..4d323b9c9706530c88d5784599b330afd50b13b0 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/blockMeshDict.m4 +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/blockMeshDict.m4 @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/boundary b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/boundary index 28068f37d475c1adafedec2ee7c20e8de8d7df32..31c74e19c2e09fdc21361f3b94abc32f9b151784 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/boundary +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/transportProperties b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/transportProperties index c20854a9031a956ad8bc154b0a4ae87375add730..02287f422b58ea20261ee3a90e0012076a3fb490 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,17 +18,18 @@ FoamFile phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1e-6; - rho rho [1 -3 0 0 0 0 0] 998.2; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1.48e-05; - rho rho [1 -3 0 0 0 0 0] 1; + nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; } -sigma sigma [1 0 -2 0 0 0 0] 0.0; +sigma sigma [ 1 0 -2 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/controlDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/controlDict index 959e229e953ce20fe0db08f76ba8b25023588583..1b122632d3a10a68a5acb3c0a015f737076e0fcf 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -53,61 +53,21 @@ functions ( probes { - // Type of functionObject type probes; - - // Output every outputControl timeStep; outputInterval 1; - - // Name of the directory for the probe data name probes; - - // Locations to be probed. runTime modifiable! probeLocations ( - (0 9.95 19.77) - (0 -9.95 19.77) + ( 0 9.95 19.77 ) + ( 0 -9.95 19.77 ) ); - - // Fields to be probed. runTime modifiable! fields ( p ); } - - /* - wallPressure - { - // Type of functionObject - type surfaces; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libsampling.so"); - - // Output every 10th time step - outputControl timeStep; - outputInterval 10; - - surfaceFormat raw; - - fields - ( - p - ); - - surfaces - ( - walls - { - type patch; - patchName walls; - triangulate false; - } - ); - } - */ ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/decomposeParDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/decomposeParDict index d4594e09475d920c6ca71413fa457c4ec15810ac..fa967d3199a414ba839010517229d0ab3089cf07 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/decomposeParDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,26 +21,20 @@ method hierarchical; simpleCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; } hierarchicalCoeffs { - n (4 2 2); + n ( 4 2 2 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -49,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/fvSchemes b/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/fvSchemes index f089e4e5e6a14300b65f1deeeda14777be255c0c..a6a73ef77f21be751e2301408b87cc04164b8d8c 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/fvSchemes +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -51,9 +52,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - gamma; + pd ; + pcorr ; + gamma ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/fvSolution b/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/fvSolution index 3aaca52375805f2de0bb55235af2d945db86e22c..a4dc358cdaca88ee07fd5a2eece1c21359e9146f 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,83 +10,83 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-5; - relTol 0; - - smoother DICGaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nBottomSweeps 2; - + preconditioner GAMG; + tolerance 1e-05; + relTol 0; + smoother DICGaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nBottomSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-5; - relTol 0; - maxIter 100; - }; + tolerance 1e-05; + relTol 0; + maxIter 100; + } - pd GAMG + pd { - tolerance 1e-8; - relTol 0.01; - - smoother DIC; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0.01; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - pdFinal PCG + pdFinal { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 2e-9; - relTol 0; - - nVcycles 2; - - smoother DICGaussSeidel; - nPreSweeps 2; - nPostSweeps 2; - nFinestSweeps 2; - + preconditioner GAMG; + tolerance 2e-09; + relTol 0; + nVcycles 2; + smoother DICGaussSeidel; + nPreSweeps 2; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 2e-9; - relTol 0; - maxIter 20; - }; + tolerance 2e-09; + relTol 0; + maxIter 20; + } - U smoothSolver + U { - smoother GaussSeidel; - tolerance 1e-6; - relTol 0; - nSweeps 1; - }; + solver smoothSolver; + smoother GaussSeidel; + tolerance 1e-06; + relTol 0; + nSweeps 1; + } } PISO @@ -98,26 +98,19 @@ PISO nGammaSubCycles 3; cGamma 1.5; correctPhi no; - pRefProbe { - fields - ( - p - ); - - probeLocations - ( - (0 0 0.15) - ); + fields ( p ); + probeLocations ( ( 0 0 0.15 ) ); } - pRefValue 1e5; + pRefValue 100000; } relaxationFactors { - U 1.0; + U 1; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/setFieldsDict index 2c881a7ba48d03bc05de5c2d82ab02c90c1928ef..7c6f1065041fd4a9571afb39b53fae87aefbaefb 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,26 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue gamma 0 -); +defaultFieldValues ( volScalarFieldValue gamma 0 ); -regions -( - boxToCell - { - box (-100 -100 -100) (100 100 0); +regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } ); - fieldValues - ( - volScalarFieldValue gamma 1 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/U b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/U index df1f4c5a6cac4fec14e0fe27b4ce52192bbb8588..da644fd824cc6e5940268c434025786c3fe29e9e 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/U +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/gamma.org b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/gamma.org index 85902dcba56932d63c672f60079995cbf927b363..f1c22f97410479c154057939b1a71124a9884acc 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/gamma.org +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/gamma.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/pd b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/pd index 25379b239c07f497fa0d81af72650ff736e464f2..ac7e49da81a5ead98e613c5891faccae05ef2629 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/pd +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/0/pd @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/RASProperties b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/RASProperties index ac1efb34c5d460ae6483a045c147312455969903..ac647d46427282fac607f94584e78ca379f120a8 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/RASProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// RASModel kEpsilon; -RASModel laminar; +RASModel laminar; turbulence off; @@ -25,149 +25,150 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/dynamicMeshDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/dynamicMeshDict index 2b9f0bed1195391eeea3f4c700c909217a838025..e9ca15c3386a6ef33ee07505fd6f82015a9183a2 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/dynamicMeshDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/dynamicMeshDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,51 +10,31 @@ FoamFile version 2.0; format ascii; class dictionary; - object motionProperties; + location "constant"; + object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMesh solidBodyMotionFvMesh; +dynamicFvMesh solidBodyMotionFvMesh; solidBodyMotionFvMeshCoeffs { solidBodyMotionFunction SDA; - SDACoeffs { - // Centre of gravity - CofG (0 0 0); - - // Model scale ratio - lamda 50; - - // Max roll amplitude [rad] - rollAmax 0.2; - - // Min roll amplitude [rad] - rollAmin 0.1; - - // Heave amplitude [m] - heaveA 4; - - // Sway amplitude [m] - swayA 2.4; - - // Damping Coefficient [-] - Q 2; - - // Time Period for liquid [sec] - Tp 14; - - // Natural Period of Ship [sec] - Tpn 12; - - // Reference time step [sec] - dTi 0.06; - - // Incr. in Tp/unit 'dTi'[-] - dTp -0.001; + CofG ( 0 0 0 ); + lamda 50; + rollAmax 0.2; + rollAmin 0.1; + heaveA 4; + swayA 2.4; + Q 2; + Tp 14; + Tpn 12; + dTi 0.06; + dTp -0.001; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/environmentalProperties b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/environmentalProperties index 40232c0c406c02d21a4ae29a31f702bbf84c6214..9fd11e4ef267ca5f4cd3c6432b6e2075f5655e88 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/environmentalProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 -9.81); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 -9.81 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/blockMeshDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/blockMeshDict index 0d21d111481f4479c9f59f540e7962d4a65e3e4c..98820d1a0069d2fb15abd412722b3b18d51be5f1 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/blockMeshDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/blockMeshDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/blockMeshDict.m4 b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/blockMeshDict.m4 index f97859e6bffaa7c864e14cd5f5c62968652fc03f..4d323b9c9706530c88d5784599b330afd50b13b0 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/blockMeshDict.m4 +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/blockMeshDict.m4 @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/boundary b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/boundary index 28068f37d475c1adafedec2ee7c20e8de8d7df32..31c74e19c2e09fdc21361f3b94abc32f9b151784 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/boundary +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/transportProperties b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/transportProperties index c20854a9031a956ad8bc154b0a4ae87375add730..02287f422b58ea20261ee3a90e0012076a3fb490 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,17 +18,18 @@ FoamFile phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1e-6; - rho rho [1 -3 0 0 0 0 0] 998.2; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1.48e-05; - rho rho [1 -3 0 0 0 0 0] 1; + nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; } -sigma sigma [1 0 -2 0 0 0 0] 0.0; +sigma sigma [ 1 0 -2 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/controlDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/controlDict index 959e229e953ce20fe0db08f76ba8b25023588583..1b122632d3a10a68a5acb3c0a015f737076e0fcf 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -53,61 +53,21 @@ functions ( probes { - // Type of functionObject type probes; - - // Output every outputControl timeStep; outputInterval 1; - - // Name of the directory for the probe data name probes; - - // Locations to be probed. runTime modifiable! probeLocations ( - (0 9.95 19.77) - (0 -9.95 19.77) + ( 0 9.95 19.77 ) + ( 0 -9.95 19.77 ) ); - - // Fields to be probed. runTime modifiable! fields ( p ); } - - /* - wallPressure - { - // Type of functionObject - type surfaces; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libsampling.so"); - - // Output every 10th time step - outputControl timeStep; - outputInterval 10; - - surfaceFormat raw; - - fields - ( - p - ); - - surfaces - ( - walls - { - type patch; - patchName walls; - triangulate false; - } - ); - } - */ ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/decomposeParDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/decomposeParDict index d4594e09475d920c6ca71413fa457c4ec15810ac..fa967d3199a414ba839010517229d0ab3089cf07 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/decomposeParDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,26 +21,20 @@ method hierarchical; simpleCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; } hierarchicalCoeffs { - n (4 2 2); + n ( 4 2 2 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -49,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/fvSchemes b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/fvSchemes index f089e4e5e6a14300b65f1deeeda14777be255c0c..a6a73ef77f21be751e2301408b87cc04164b8d8c 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/fvSchemes +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -51,9 +52,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - gamma; + pd ; + pcorr ; + gamma ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/fvSolution b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/fvSolution index 3aaca52375805f2de0bb55235af2d945db86e22c..a4dc358cdaca88ee07fd5a2eece1c21359e9146f 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,83 +10,83 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-5; - relTol 0; - - smoother DICGaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nBottomSweeps 2; - + preconditioner GAMG; + tolerance 1e-05; + relTol 0; + smoother DICGaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nBottomSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-5; - relTol 0; - maxIter 100; - }; + tolerance 1e-05; + relTol 0; + maxIter 100; + } - pd GAMG + pd { - tolerance 1e-8; - relTol 0.01; - - smoother DIC; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0.01; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - pdFinal PCG + pdFinal { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 2e-9; - relTol 0; - - nVcycles 2; - - smoother DICGaussSeidel; - nPreSweeps 2; - nPostSweeps 2; - nFinestSweeps 2; - + preconditioner GAMG; + tolerance 2e-09; + relTol 0; + nVcycles 2; + smoother DICGaussSeidel; + nPreSweeps 2; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 2e-9; - relTol 0; - maxIter 20; - }; + tolerance 2e-09; + relTol 0; + maxIter 20; + } - U smoothSolver + U { - smoother GaussSeidel; - tolerance 1e-6; - relTol 0; - nSweeps 1; - }; + solver smoothSolver; + smoother GaussSeidel; + tolerance 1e-06; + relTol 0; + nSweeps 1; + } } PISO @@ -98,26 +98,19 @@ PISO nGammaSubCycles 3; cGamma 1.5; correctPhi no; - pRefProbe { - fields - ( - p - ); - - probeLocations - ( - (0 0 0.15) - ); + fields ( p ); + probeLocations ( ( 0 0 0.15 ) ); } - pRefValue 1e5; + pRefValue 100000; } relaxationFactors { - U 1.0; + U 1; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/setFieldsDict index 2c881a7ba48d03bc05de5c2d82ab02c90c1928ef..7c6f1065041fd4a9571afb39b53fae87aefbaefb 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D3DoF/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,26 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue gamma 0 -); +defaultFieldValues ( volScalarFieldValue gamma 0 ); -regions -( - boxToCell - { - box (-100 -100 -100) (100 100 0); +regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } ); - fieldValues - ( - volScalarFieldValue gamma 1 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/U b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/U index df1f4c5a6cac4fec14e0fe27b4ce52192bbb8588..da644fd824cc6e5940268c434025786c3fe29e9e 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/U +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/gamma.org b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/gamma.org index 85902dcba56932d63c672f60079995cbf927b363..f1c22f97410479c154057939b1a71124a9884acc 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/gamma.org +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/gamma.org @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/pd b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/pd index 25379b239c07f497fa0d81af72650ff736e464f2..ac7e49da81a5ead98e613c5891faccae05ef2629 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/pd +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/0/pd @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/RASProperties b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/RASProperties index ac1efb34c5d460ae6483a045c147312455969903..ac647d46427282fac607f94584e78ca379f120a8 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/RASProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,12 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// RASModel kEpsilon; -RASModel laminar; +RASModel laminar; turbulence off; @@ -25,149 +25,150 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/dynamicMeshDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/dynamicMeshDict index 639bcd053b70dd7fedda1aab03e6b236353794a6..caba842ea5626377f2f14efa09f192710ee25b78 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/dynamicMeshDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/dynamicMeshDict @@ -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,24 +10,22 @@ FoamFile version 2.0; format ascii; class dictionary; - object motionProperties; + location "constant"; + object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMesh solidBodyMotionFvMesh; +dynamicFvMesh solidBodyMotionFvMesh; solidBodyMotionFvMeshCoeffs { solidBodyMotionFunction SKA; - SKACoeffs { - // Centre of gravity - CofG (0 0 0); - - // Time data file name + CofG ( 0 0 0 ); timeDataFileName "constant/6DoF.dat"; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/environmentalProperties b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/environmentalProperties index 40232c0c406c02d21a4ae29a31f702bbf84c6214..9fd11e4ef267ca5f4cd3c6432b6e2075f5655e88 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/environmentalProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 -9.81); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 -9.81 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/blockMeshDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/blockMeshDict index 0d21d111481f4479c9f59f540e7962d4a65e3e4c..98820d1a0069d2fb15abd412722b3b18d51be5f1 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/blockMeshDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/blockMeshDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/blockMeshDict.m4 b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/blockMeshDict.m4 index f97859e6bffaa7c864e14cd5f5c62968652fc03f..4d323b9c9706530c88d5784599b330afd50b13b0 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/blockMeshDict.m4 +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/blockMeshDict.m4 @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/boundary b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/boundary index 28068f37d475c1adafedec2ee7c20e8de8d7df32..31c74e19c2e09fdc21361f3b94abc32f9b151784 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/boundary +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/transportProperties b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/transportProperties index c20854a9031a956ad8bc154b0a4ae87375add730..02287f422b58ea20261ee3a90e0012076a3fb490 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,17 +18,18 @@ FoamFile phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1e-6; - rho rho [1 -3 0 0 0 0 0] 998.2; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 998.2; } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1.48e-05; - rho rho [1 -3 0 0 0 0 0] 1; + nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; } -sigma sigma [1 0 -2 0 0 0 0] 0.0; +sigma sigma [ 1 0 -2 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/controlDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/controlDict index 959e229e953ce20fe0db08f76ba8b25023588583..1b122632d3a10a68a5acb3c0a015f737076e0fcf 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/controlDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -53,61 +53,21 @@ functions ( probes { - // Type of functionObject type probes; - - // Output every outputControl timeStep; outputInterval 1; - - // Name of the directory for the probe data name probes; - - // Locations to be probed. runTime modifiable! probeLocations ( - (0 9.95 19.77) - (0 -9.95 19.77) + ( 0 9.95 19.77 ) + ( 0 -9.95 19.77 ) ); - - // Fields to be probed. runTime modifiable! fields ( p ); } - - /* - wallPressure - { - // Type of functionObject - type surfaces; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libsampling.so"); - - // Output every 10th time step - outputControl timeStep; - outputInterval 10; - - surfaceFormat raw; - - fields - ( - p - ); - - surfaces - ( - walls - { - type patch; - patchName walls; - triangulate false; - } - ); - } - */ ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/decomposeParDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/decomposeParDict index d4594e09475d920c6ca71413fa457c4ec15810ac..fa967d3199a414ba839010517229d0ab3089cf07 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/decomposeParDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,26 +21,20 @@ method hierarchical; simpleCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; } hierarchicalCoeffs { - n (4 2 2); + n ( 4 2 2 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -49,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/fvSchemes b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/fvSchemes index f089e4e5e6a14300b65f1deeeda14777be255c0c..a6a73ef77f21be751e2301408b87cc04164b8d8c 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/fvSchemes +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -51,9 +52,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - gamma; + pd ; + pcorr ; + gamma ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/fvSolution b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/fvSolution index 3aaca52375805f2de0bb55235af2d945db86e22c..a4dc358cdaca88ee07fd5a2eece1c21359e9146f 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/fvSolution +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,83 +10,83 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-5; - relTol 0; - - smoother DICGaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nBottomSweeps 2; - + preconditioner GAMG; + tolerance 1e-05; + relTol 0; + smoother DICGaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nBottomSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-5; - relTol 0; - maxIter 100; - }; + tolerance 1e-05; + relTol 0; + maxIter 100; + } - pd GAMG + pd { - tolerance 1e-8; - relTol 0.01; - - smoother DIC; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0.01; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - pdFinal PCG + pdFinal { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 2e-9; - relTol 0; - - nVcycles 2; - - smoother DICGaussSeidel; - nPreSweeps 2; - nPostSweeps 2; - nFinestSweeps 2; - + preconditioner GAMG; + tolerance 2e-09; + relTol 0; + nVcycles 2; + smoother DICGaussSeidel; + nPreSweeps 2; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 2e-9; - relTol 0; - maxIter 20; - }; + tolerance 2e-09; + relTol 0; + maxIter 20; + } - U smoothSolver + U { - smoother GaussSeidel; - tolerance 1e-6; - relTol 0; - nSweeps 1; - }; + solver smoothSolver; + smoother GaussSeidel; + tolerance 1e-06; + relTol 0; + nSweeps 1; + } } PISO @@ -98,26 +98,19 @@ PISO nGammaSubCycles 3; cGamma 1.5; correctPhi no; - pRefProbe { - fields - ( - p - ); - - probeLocations - ( - (0 0 0.15) - ); + fields ( p ); + probeLocations ( ( 0 0 0.15 ) ); } - pRefValue 1e5; + pRefValue 100000; } relaxationFactors { - U 1.0; + U 1; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/setFieldsDict b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/setFieldsDict index 2c881a7ba48d03bc05de5c2d82ab02c90c1928ef..7c6f1065041fd4a9571afb39b53fae87aefbaefb 100644 --- a/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/setFieldsDict +++ b/tutorials/multiphase/interDyMFoam/sloshingTank3D6DoF/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,26 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue gamma 0 -); +defaultFieldValues ( volScalarFieldValue gamma 0 ); -regions -( - boxToCell - { - box (-100 -100 -100) (100 100 0); +regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } ); - fieldValues - ( - volScalarFieldValue gamma 1 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/0/U b/tutorials/multiphase/interFoam/laminar/damBreak/0/U index 9dcf5eae9a46f2cf8d1f2c50e4d67549358bb667..dca001ffb0c4ba0fca9465b634dad5f4dae3b8a9 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/0/U +++ b/tutorials/multiphase/interFoam/laminar/damBreak/0/U @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/constant/dynamicMeshDict b/tutorials/multiphase/interFoam/laminar/damBreak/constant/dynamicMeshDict index c87164cda226aff4d98a827f4c84ac33c3b1ecd8..cea5c19ae6aa26eb604192e6db563a0fa9fd93b3 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/constant/dynamicMeshDict +++ b/tutorials/multiphase/interFoam/laminar/damBreak/constant/dynamicMeshDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; - object motionProperties; + location "constant"; + object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dynamicFvMesh staticFvMesh; +dynamicFvMesh staticFvMesh; + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/constant/environmentalProperties b/tutorials/multiphase/interFoam/laminar/damBreak/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..a866ff549fd799e63d2d6946a66cf3da14d092bd 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/constant/environmentalProperties +++ b/tutorials/multiphase/interFoam/laminar/damBreak/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/constant/polyMesh/boundary b/tutorials/multiphase/interFoam/laminar/damBreak/constant/polyMesh/boundary index eb22ec5273f7a92f89eb73ad1d24ffcbf3235cda..3a6342293a65ea0926ba2905f85f1d656a0d0064 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/constant/polyMesh/boundary +++ b/tutorials/multiphase/interFoam/laminar/damBreak/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/constant/transportProperties b/tutorials/multiphase/interFoam/laminar/damBreak/constant/transportProperties index 117a1c916919c1ed2f9036e1b0ea66d5b64f804a..b8f03496c1493693d3994a211ffaed9fb15b1027 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/constant/transportProperties +++ b/tutorials/multiphase/interFoam/laminar/damBreak/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -17,45 +18,48 @@ FoamFile phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1e-06; - rho rho [1 -3 0 0 0 0 0] 1000; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 1000; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 0; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 0; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 0.0142515; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 99.6; - n n [0 0 0 0 0 0 0] 0.1003; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 99.6; + n n [ 0 0 0 0 0 0 0 ] 0.1003; } } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1.48e-05; - rho rho [1 -3 0 0 0 0 0] 1; + nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 0; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 0; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 0.0142515; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 99.6; - n n [0 0 0 0 0 0 0] 0.1003; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 99.6; + n n [ 0 0 0 0 0 0 0 ] 0.1003; } } -sigma sigma [1 0 -2 0 0 0 0] 0.07; +sigma sigma [ 1 0 -2 0 0 0 0 ] 0.07; + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/constant/turbulenceProperties b/tutorials/multiphase/interFoam/laminar/damBreak/constant/turbulenceProperties index 0efb448180f1ba26ac35d2dda07035e9ec6873f6..886d34bdef135c39216d342240a96bf0530bdd62 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/constant/turbulenceProperties +++ b/tutorials/multiphase/interFoam/laminar/damBreak/constant/turbulenceProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType laminar; + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/system/controlDict b/tutorials/multiphase/interFoam/laminar/damBreak/system/controlDict index 8415c7bc8498b6f83bbbe706963987ae7210136c..5546d05292ba0b8c758f2994d21d04aa71d38cfc 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/system/controlDict +++ b/tutorials/multiphase/interFoam/laminar/damBreak/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -49,4 +49,5 @@ maxCo 0.5; maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/system/decomposeParDict b/tutorials/multiphase/interFoam/laminar/damBreak/system/decomposeParDict index cf0067afd3c7bf4315a46cf427fc9aa763511c0f..bf8dffb737c91db0646cde4bd56a4fd0629c82b9 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/system/decomposeParDict +++ b/tutorials/multiphase/interFoam/laminar/damBreak/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,26 +21,20 @@ method simple; simpleCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; } hierarchicalCoeffs { - n (1 1 1); + n ( 1 1 1 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -49,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSchemes b/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSchemes index 6b8e4385b40a677ca15c2384a98c7d710a29a4b7..d242b76b754914e7115105855ad61600253674b9 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSchemes +++ b/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -51,9 +52,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - alpha1; + pd ; + pcorr ; + alpha1 ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSolution b/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSolution index 57f829277796a6f17ec77d5965259173a400a546..b1b00223fcd0bbe688671476a0173185fb0313f5 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSolution +++ b/tutorials/multiphase/interFoam/laminar/damBreak/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,36 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner DIC; - tolerance 1e-10; - relTol 0; - }; - pd PCG + solver PCG; + preconditioner DIC; + tolerance 1e-10; + relTol 0; + } + + pd { - preconditioner DIC; - tolerance 1e-7; - relTol 0.05; - }; - pdFinal PCG + solver PCG; + preconditioner DIC; + tolerance 1e-07; + relTol 0.05; + } + + pdFinal { - preconditioner DIC; - tolerance 1e-7; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-07; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } } PISO @@ -52,4 +60,5 @@ PISO cAlpha 1; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/system/setFieldsDict b/tutorials/multiphase/interFoam/laminar/damBreak/system/setFieldsDict index 8e031272ac37ad56d3e3282004fd2f3ee8a87366..21e4416d79807159d602cdb72a0f9df7367950ea 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/system/setFieldsDict +++ b/tutorials/multiphase/interFoam/laminar/damBreak/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,27 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue alpha1 0 - volVectorFieldValue U (0 0 0) -); +defaultFieldValues ( volScalarFieldValue alpha1 0 volVectorFieldValue U ( 0 0 0 ) ); -regions -( - boxToCell - { - box (0 0 -1) (0.1461 0.292 1); +regions ( boxToCell { box ( 0 0 -1 ) ( 0.1461 0.292 1 ) ; fieldValues ( volScalarFieldValue alpha1 1 ) ; } ); - fieldValues - ( - volScalarFieldValue alpha1 1 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/LESProperties b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/LESProperties index 568799d2231b34f683f1f6bd3c02c7a237abb64f..1d34e2477f47060c279bf8bfc559ec77f7861540 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/LESProperties +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/LESProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,17 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object LESProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -LESModel oneEqEddy; +LESModel oneEqEddy; -turbulence on; +turbulence on; -delta smooth; +delta smooth; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -28,90 +29,90 @@ laminarCoeffs oneEqEddyCoeffs { - ck 0.07; - ce 1.05; + ck 0.07; + ce 1.05; } dynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } locDynOneEqEddyCoeffs { - ce 1.05; + ce 1.05; filter simple; } SmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; } Smagorinsky2Coeffs { - ce 1.05; - ck 0.07; - cD2 0.02; + ce 1.05; + ck 0.07; + cD2 0.02; } spectEddyViscCoeffs { - ce 1.05; - cB 8.22; - cK1 0.83; - cK2 1.03; - cK3 4.75; - cK4 2.55; + ce 1.05; + cB 8.22; + cK1 0.83; + cK2 1.03; + cK3 4.75; + cK4 2.55; } dynSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } mixedSmagorinskyCoeffs { - ce 1.05; - ck 0.07; + ce 1.05; + ck 0.07; filter simple; } dynMixedSmagorinskyCoeffs { - ce 1.05; + ce 1.05; filter simple; } LRRDiffStressCoeffs { - ce 1.05; - ck 0.09; - c1 1.8; - c2 0.6; + ce 1.05; + ck 0.09; + c1 1.8; + c2 0.6; } DeardorffDiffStressCoeffs { - ce 1.05; - ck 0.09; - cm 4.13; + ce 1.05; + ck 0.09; + cm 4.13; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; - CDES 0.65; - ck 0.07; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; + CDES 0.65; + ck 0.07; } cubeRootVolCoeffs @@ -126,6 +127,7 @@ PrandtlCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -133,9 +135,11 @@ PrandtlCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Cdelta 0.158; + + Cdelta 0.158; } vanDriestCoeffs @@ -145,6 +149,7 @@ vanDriestCoeffs { deltaCoeff 1; } + smoothCoeffs { delta cubeRootVol; @@ -152,10 +157,12 @@ vanDriestCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } - Aplus 26; - Cdelta 0.158; + + Aplus 26; + Cdelta 0.158; } smoothCoeffs @@ -165,14 +172,16 @@ smoothCoeffs { deltaCoeff 1; } + maxDeltaRatio 1.1; } -kappa 0.4187; +kappa 0.4187; wallFunctionCoeffs { - E 9; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/environmentalProperties b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/environmentalProperties index ca80af21ee6180ad2667f0efe40c92ac5df7ee7a..645c9af09920faa00dce17c1d3a52689e877a1f0 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/environmentalProperties +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 0 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 0 0 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/c0 b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/c0 index e2320b01cffac5dba8a064c7cd470a4318a69e18..04d478574abae87d7877c2a6465c449190ebb533 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/c0 +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/c0 @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/c0_old b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/c0_old index 250a0c6d5311f65c0531e1d54e5983c45a167d73..5fbe1c4c4b15e3608a0e45519f8bea631f0e42ec 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/c0_old +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/c0_old @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/refinedCells b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/refinedCells index 383d411db8a9cd0c0991719605d49a17e0930791..276e2ccb5f5c8196dc1021dedc004f9e6a72ee1c 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/refinedCells +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/polyMesh/sets/refinedCells @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/transportProperties b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/transportProperties index ef321fd883b4c0a85f785c9ffec235fe27f90d80..295d67f64414b13d387f6f08ccae4fa0762155af 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/transportProperties +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -24,45 +25,48 @@ twoPhase phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 5.952e-06; - rho rho [1 -3 0 0 0 0 0] 840; + nu nu [ 0 2 -1 0 0 0 0 ] 5.952e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 840; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 0; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 0; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 0.0142515; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 99.6; - n n [0 0 0 0 0 0 0] 0.1003; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 99.6; + n n [ 0 0 0 0 0 0 0 ] 0.1003; } } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 8.5e-07; - rho rho [1 -3 0 0 0 0 0] 20; + nu nu [ 0 2 -1 0 0 0 0 ] 8.5e-07; + rho rho [ 1 -3 0 0 0 0 0 ] 20; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 0; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 0; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 0.0142515; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 99.6; - n n [0 0 0 0 0 0 0] 0.1003; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 99.6; + n n [ 0 0 0 0 0 0 0 ] 0.1003; } } -sigma sigma [1 0 -2 0 0 0 0] 0.0261; +sigma sigma [ 1 0 -2 0 0 0 0 ] 0.0261; + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/turbulenceProperties b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/turbulenceProperties index dcadcf17cd97481597090cf391913d3fe6432687..2e42797ca9558f9a6c4c3b2195313dda5504598a 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/turbulenceProperties +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/constant/turbulenceProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType LESModel; + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict index d56de07c7ff767844393cd8be435f9ac0f0297fb..cc4838bb42562f758f1e7ef0527ecc2453c61256 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,20 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object cellSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0 0 -2e-05 ) ( 0.0036 0.0003 2e-05 ) ; } ); -topoSetSources -( - boxToCell - { - box (0 0 -20e-06) (3600e-6 300e-06 20e-06); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict.1 b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict.1 index ae151cca9d707fddfb638b2485829ed6e608d309..b2294190d0a022d264dd7c29c993921ede635b0f 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict.1 +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict.1 @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,20 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.1; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0 0 -2e-05 ) ( 0.0036 0.0008 4e-05 ) ; } ); -topoSetSources -( - boxToCell - { - box (0 0 -20e-06) (3600e-6 800e-06 40e-06); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict.2 b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict.2 index d56de07c7ff767844393cd8be435f9ac0f0297fb..e5e1a3c5c9d5594271ca38de4824d3f4de481778 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict.2 +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/cellSetDict.2 @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,20 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; - object cellSetDict; + location "system"; + object cellSetDict.2; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -name c0; +name c0; -action new; +action new; + +topoSetSources ( boxToCell { box ( 0 0 -2e-05 ) ( 0.0036 0.0003 2e-05 ) ; } ); -topoSetSources -( - boxToCell - { - box (0 0 -20e-06) (3600e-6 300e-06 20e-06); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/controlDict b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/controlDict index e7a4ac1b84c109aceed597154e81ba5c9dcc3648..58243b4b8d07d004055110f6c6ab589ceb2d50d6 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/controlDict +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -49,4 +49,5 @@ maxCo 0.5; maxDeltaT 1e-08; + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSchemes b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSchemes index 2d28e02de03ea0463ec4c7e251fa88b5f2cca6f5..2a273c5e51cb5bcdaf8b079c33459db6568e75a2 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSchemes +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -55,9 +56,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - alpha1; + pd ; + pcorr ; + alpha1 ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSolution b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSolution index 8d5181515e957c9eaaab47d8d389359bbb9bf3a6..660482ad377d9745a5a8fd4b6fc67486640c3726 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSolution +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,102 +10,107 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-5; - relTol 0; - - smoother DICGaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nBottomSweeps 2; - + preconditioner GAMG; + tolerance 1e-05; + relTol 0; + smoother DICGaussSeidel; + nPreSweeps 0; + nPostSweeps 2; + nBottomSweeps 2; cacheAgglomeration false; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-5; - relTol 0; - maxIter 100; - }; + tolerance 1e-05; + relTol 0; + maxIter 100; + } - pd GAMG + pd { - tolerance 1e-7; - relTol 0.01; - - smoother DIC; //GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + solver GAMG; + tolerance 1e-07; + relTol 0.01; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - pdFinal PCG + pdFinal { - preconditioner GAMG + solver PCG; + preconditioner { - tolerance 1e-7; - relTol 0; - - nVcycles 2; - - smoother DICGaussSeidel; - nPreSweeps 2; - nPostSweeps 2; - nFinestSweeps 2; - + preconditioner GAMG; + tolerance 1e-07; + relTol 0; + nVcycles 2; + smoother DICGaussSeidel; + nPreSweeps 2; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } - tolerance 1e-7; - relTol 0; - maxIter 20; - }; + tolerance 1e-07; + relTol 0; + maxIter 20; + } - U smoothSolver + U { - smoother GaussSeidel; - tolerance 1e-6; - relTol 0; - nSweeps 1; - }; - - k PBiCG + solver smoothSolver; + smoother GaussSeidel; + tolerance 1e-06; + relTol 0; + nSweeps 1; + } + + k { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - B PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + B { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } } PISO @@ -118,4 +123,5 @@ PISO cAlpha 2; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/refineMeshDict b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/refineMeshDict index 170cf1ffab6f9cf63b5879fa6a5801d2a548b6cb..d4922505f77bf842bd015c48086b902352d03f43 100644 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/refineMeshDict +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/system/refineMeshDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,35 +10,34 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object refineMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -set c0; +set c0; coordinateSystem global; globalCoeffs { - tan1 (1 0 0); - tan2 (0 1 0); + tan1 ( 1 0 0 ); + tan2 ( 0 1 0 ); } patchLocalCoeffs { - patch outside; - tan1 (1 0 0); + patch outside; + tan1 ( 1 0 0 ); } -directions -( - tan1 -); +directions ( tan1 ); -useHexTopology no; +useHexTopology no; -geometricCut yes; +geometricCut yes; + +writeMesh no; -writeMesh no; // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/constant/RASProperties b/tutorials/multiphase/interFoam/ras/damBreak/constant/RASProperties index 8bf244a6058dcebb47174e2c822be1157593fa81..ce5406cd7aadd133ad41d268c5e2771a33d1c979 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/constant/RASProperties +++ b/tutorials/multiphase/interFoam/ras/damBreak/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,158 +27,159 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } RNGkEpsilonCoeffs { - Cmu 0.0845; - C1 1.42; - C2 1.68; - alphak 1.39; - alphaEps 1.39; - eta0 4.38; - beta 0.012; + Cmu 0.0845; + C1 1.42; + C2 1.68; + alphak 1.39; + alphaEps 1.39; + eta0 4.38; + beta 0.012; } realizableKECoeffs { - Cmu 0.09; - A0 4.0; - C2 1.9; - alphak 1; - alphaEps 0.833333; + Cmu 0.09; + A0 4; + C2 1.9; + alphak 1; + alphaEps 0.833333; } NonlinearKEShihCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76932; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76932; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } LienCubicKECoeffs { - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; } QZetaCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaZeta 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaZeta 0.76923; anisotropic no; } LaunderSharmaKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LamBremhorstKECoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphaEps 0.76923; } LienCubicKELowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - A1 1.25; - A2 1000; - Ctau1 -4; - Ctau2 13; - Ctau3 -2; - alphaKsi 0.9; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + A1 1.25; + A2 1000; + Ctau1 -4; + Ctau2 13; + Ctau3 -2; + alphaKsi 0.9; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LienLeschzinerLowReCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; - Am 0.016; - Aepsilon 0.263; - Amu 0.00222; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; + Am 0.016; + Aepsilon 0.263; + Amu 0.00222; } LRRCoeffs { - Cmu 0.09; - Clrr1 1.8; - Clrr2 0.6; - C1 1.44; - C2 1.92; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; + Cmu 0.09; + Clrr1 1.8; + Clrr2 0.6; + C1 1.44; + C2 1.92; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; } LaunderGibsonRSTMCoeffs { - Cmu 0.09; - Clg1 1.8; - Clg2 0.6; - C1 1.44; - C2 1.92; - C1Ref 0.5; - C2Ref 0.3; - Cs 0.25; - Ceps 0.15; - alphaEps 0.76923; - alphaR 1.22; + Cmu 0.09; + Clg1 1.8; + Clg2 0.6; + C1 1.44; + C2 1.92; + C1Ref 0.5; + C2Ref 0.3; + Cs 0.25; + Ceps 0.15; + alphaEps 0.76923; + alphaR 1.22; } SpalartAllmarasCoeffs { - alphaNut 1.5; - Cb1 0.1355; - Cb2 0.622; - Cw2 0.3; - Cw3 2; - Cv1 7.1; - Cv2 5.0; + alphaNut 1.5; + Cb1 0.1355; + Cb2 0.622; + Cw2 0.3; + Cw3 2; + Cv1 7.1; + Cv2 5; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/constant/environmentalProperties b/tutorials/multiphase/interFoam/ras/damBreak/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..a866ff549fd799e63d2d6946a66cf3da14d092bd 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/constant/environmentalProperties +++ b/tutorials/multiphase/interFoam/ras/damBreak/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/constant/transportProperties b/tutorials/multiphase/interFoam/ras/damBreak/constant/transportProperties index f2b23a57f19e1117a77663a61a3635779056038f..79161dad1bf1ba36f93f50e1414341ae43b4a685 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/constant/transportProperties +++ b/tutorials/multiphase/interFoam/ras/damBreak/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -24,45 +25,48 @@ twoPhase phase1 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1e-06; - rho rho [1 -3 0 0 0 0 0] 1000; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 1000; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 0; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 0; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 0.0142515; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 99.6; - n n [0 0 0 0 0 0 0] 0.1003; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 99.6; + n n [ 0 0 0 0 0 0 0 ] 0.1003; } } phase2 { transportModel Newtonian; - nu nu [0 2 -1 0 0 0 0] 1.48e-05; - rho rho [1 -3 0 0 0 0 0] 1; + nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; CrossPowerLawCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 1e-06; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - m m [0 0 1 0 0 0 0] 1; - n n [0 0 0 0 0 0 0] 0; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + m m [ 0 0 1 0 0 0 0 ] 1; + n n [ 0 0 0 0 0 0 0 ] 0; } + BirdCarreauCoeffs { - nu0 nu0 [0 2 -1 0 0 0 0] 0.0142515; - nuInf nuInf [0 2 -1 0 0 0 0] 1e-06; - k k [0 0 1 0 0 0 0] 99.6; - n n [0 0 0 0 0 0 0] 0.1003; + nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; + nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; + k k [ 0 0 1 0 0 0 0 ] 99.6; + n n [ 0 0 0 0 0 0 0 ] 0.1003; } } -sigma sigma [1 0 -2 0 0 0 0] 0.07; +sigma sigma [ 1 0 -2 0 0 0 0 ] 0.07; + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/constant/turbulenceProperties b/tutorials/multiphase/interFoam/ras/damBreak/constant/turbulenceProperties index 07f85c68df22113b7c7747b89457597b0ea41d66..b70f6702e4ef7644c20687bce6536c6690720da9 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/constant/turbulenceProperties +++ b/tutorials/multiphase/interFoam/ras/damBreak/constant/turbulenceProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType RASModel; + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/system/controlDict b/tutorials/multiphase/interFoam/ras/damBreak/system/controlDict index 92227befc184c30b09f90bbd20d1b2f01bd82570..e2b799e52f41a455f50c3e6531af5d352485ba56 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/system/controlDict +++ b/tutorials/multiphase/interFoam/ras/damBreak/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -49,4 +49,5 @@ maxCo 0.2; maxDeltaT 1; + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/system/decomposeParDict b/tutorials/multiphase/interFoam/ras/damBreak/system/decomposeParDict index cf0067afd3c7bf4315a46cf427fc9aa763511c0f..bf8dffb737c91db0646cde4bd56a4fd0629c82b9 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/system/decomposeParDict +++ b/tutorials/multiphase/interFoam/ras/damBreak/system/decomposeParDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,26 +21,20 @@ method simple; simpleCoeffs { - n (2 2 1); + n ( 2 2 1 ); delta 0.001; } hierarchicalCoeffs { - n (1 1 1); + n ( 1 1 1 ); delta 0.001; order xyz; } metisCoeffs { - processorWeights - ( - 1 - 1 - 1 - 1 - ); + processorWeights ( 1 1 1 1 ); } manualCoeffs @@ -49,8 +44,7 @@ manualCoeffs distributed no; -roots -( -); +roots ( ); + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/system/fvSchemes b/tutorials/multiphase/interFoam/ras/damBreak/system/fvSchemes index fd4e9a351974d4cc32f8627f4a583e92d71fc175..499ad01e5c625d5e9cb16c5f3693f73f17a84206 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/system/fvSchemes +++ b/tutorials/multiphase/interFoam/ras/damBreak/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -34,7 +35,6 @@ divSchemes div(phi,R) Gauss upwind; div(R) Gauss linear; div(phi,nuTilda) Gauss upwind; - div((nuEff*dev(grad(U).T()))) Gauss linear; } @@ -57,9 +57,10 @@ snGradSchemes fluxRequired { default no; - pd; - pcorr; - gamma; + pd ; + pcorr ; + gamma ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/system/fvSolution b/tutorials/multiphase/interFoam/ras/damBreak/system/fvSolution index edb52854d056a9fb8bb4799708743400264369a2..ea7bd97c27c3f83f3dd9ab1b2c0da77625af3bd2 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/system/fvSolution +++ b/tutorials/multiphase/interFoam/ras/damBreak/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,60 +10,76 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - pcorr PCG + pcorr { - preconditioner DIC; - tolerance 1e-10; - relTol 0; - }; - pd PCG + solver PCG; + preconditioner DIC; + tolerance 1e-10; + relTol 0; + } + + pd { - preconditioner DIC; - tolerance 1e-7; - relTol 0.05; - }; - pdFinal PCG + solver PCG; + preconditioner DIC; + tolerance 1e-07; + relTol 0.05; + } + + pdFinal { - preconditioner DIC; - tolerance 1e-7; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-07; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-06; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-06; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - R PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + R { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; - nuTilda PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } + + nuTilda { - preconditioner DILU; - tolerance 1e-08; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-08; + relTol 0; + } } PISO @@ -76,4 +92,5 @@ PISO cGamma 2; } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/system/setFieldsDict b/tutorials/multiphase/interFoam/ras/damBreak/system/setFieldsDict index e7666438bbe4735aecd12f49030731efacc13b68..bafb3a32c09ce67dbcbe79d8e1b4e566f2a991dd 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/system/setFieldsDict +++ b/tutorials/multiphase/interFoam/ras/damBreak/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,27 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue gamma 0 - volVectorFieldValue U (0 0 0) -); +defaultFieldValues ( volScalarFieldValue gamma 0 volVectorFieldValue U ( 0 0 0 ) ); -regions -( - boxToCell - { - box (0 0 -1) (0.1461 0.292 1); +regions ( boxToCell { box ( 0 0 -1 ) ( 0.1461 0.292 1 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } ); - fieldValues - ( - volScalarFieldValue gamma 1 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/dahl/constant/RASProperties b/tutorials/multiphase/settlingFoam/dahl/constant/RASProperties index 808b6f2aea1bf05ecdb24185abb8fc89d544d5ab..7d55e238e459fd3486cc80530d7f34fd00c7d15e 100644 --- a/tutorials/multiphase/settlingFoam/dahl/constant/RASProperties +++ b/tutorials/multiphase/settlingFoam/dahl/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,18 +27,19 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 0.85; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 0.85; + alphak 1; + alphaEps 0.76923; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/dahl/constant/environmentalProperties b/tutorials/multiphase/settlingFoam/dahl/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..a866ff549fd799e63d2d6946a66cf3da14d092bd 100644 --- a/tutorials/multiphase/settlingFoam/dahl/constant/environmentalProperties +++ b/tutorials/multiphase/settlingFoam/dahl/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/dahl/constant/transportProperties b/tutorials/multiphase/settlingFoam/dahl/constant/transportProperties index 9614962b90f139b967f2cda367884a44fb8553f2..db12081a215ccd890265f58d0fa3c57f36b39381 100644 --- a/tutorials/multiphase/settlingFoam/dahl/constant/transportProperties +++ b/tutorials/multiphase/settlingFoam/dahl/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,44 +10,46 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -muc muc [1 -1 -1 0 0 0 0] 0.00178; +muc muc [ 1 -1 -1 0 0 0 0 ] 0.00178; -plasticViscosityCoeff plasticViscosityCoeff [1 -1 -1 0 0 0 0] 0.00023143; +plasticViscosityCoeff plasticViscosityCoeff [ 1 -1 -1 0 0 0 0 ] 0.00023143; -plasticViscosityExponent plasticViscosityExponent [0 0 0 0 0 0 0] 179.26; +plasticViscosityExponent plasticViscosityExponent [ 0 0 0 0 0 0 0 ] 179.26; BinghamPlastic on; -yieldStressCoeff yieldStressCoeff [1 -1 -2 0 0 0 0] 0.00042189; +yieldStressCoeff yieldStressCoeff [ 1 -1 -2 0 0 0 0 ] 0.00042189; -yieldStressExponent yieldStressExponent [0 0 0 0 0 0 0] 1050.8; +yieldStressExponent yieldStressExponent [ 0 0 0 0 0 0 0 ] 1050.8; -yieldStressOffset yieldStressOffset [0 0 0 0 0 0 0] 0; +yieldStressOffset yieldStressOffset [ 0 0 0 0 0 0 0 ] 0; -rhoc rhoc [1 -3 0 0 0 0 0] 996; +rhoc rhoc [ 1 -3 0 0 0 0 0 ] 996; -rhod rhod [1 -3 0 0 0 0 0] 1996; +rhod rhod [ 1 -3 0 0 0 0 0 ] 1996; VdjModel simple; simpleCoeffs { - V0 V0 [0 1 -1 0 0 0 0] (0 -0.002198 0); - a a [0 0 0 0 0 0 0] 285.84; - a1 a1 [0 0 0 0 0 0 0] 0; - alphaMin alphaMin [0 0 0 0 0 0 0] 0; + V0 V0 [ 0 1 -1 0 0 0 0 ] ( 0 -0.002198 0 ); + a a [ 0 0 0 0 0 0 0 ] 285.84; + a1 a1 [ 0 0 0 0 0 0 0 ] 0; + alphaMin alphaMin [ 0 0 0 0 0 0 0 ] 0; } generalCoeffs { - V0 V0 [0 1 -1 0 0 0 0] (0 -0.0018 0); - a a [0 0 0 0 0 0 0] 1e-05; - a1 a1 [0 0 0 0 0 0 0] 0.1; - alphaMin alphaMin [0 0 0 0 0 0 0] 2e-05; + V0 V0 [ 0 1 -1 0 0 0 0 ] ( 0 -0.0018 0 ); + a a [ 0 0 0 0 0 0 0 ] 1e-05; + a1 a1 [ 0 0 0 0 0 0 0 ] 0.1; + alphaMin alphaMin [ 0 0 0 0 0 0 0 ] 2e-05; } + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/dahl/system/controlDict b/tutorials/multiphase/settlingFoam/dahl/system/controlDict index 7b2093120b87fed8c8d2c2ea24d24331d2f63597..e4ca7a80493988339ac0e316a0f75f5cc0aeb6bd 100644 --- a/tutorials/multiphase/settlingFoam/dahl/system/controlDict +++ b/tutorials/multiphase/settlingFoam/dahl/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/dahl/system/fvSchemes b/tutorials/multiphase/settlingFoam/dahl/system/fvSchemes index 0eb0bf6badc3d7a3b2a7d5e403455a0130e840b0..bf1fbc9a82cc67cf7726cc6eae00880cd4306060 100644 --- a/tutorials/multiphase/settlingFoam/dahl/system/fvSchemes +++ b/tutorials/multiphase/settlingFoam/dahl/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -57,7 +58,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/dahl/system/fvSolution b/tutorials/multiphase/settlingFoam/dahl/system/fvSolution index 994dcde6c912e7dc15e1283680d28b7161ac39e9..04bab7f93fdbb7238f45b4b8228be622ee02ebc0 100644 --- a/tutorials/multiphase/settlingFoam/dahl/system/fvSolution +++ b/tutorials/multiphase/settlingFoam/dahl/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,48 +10,60 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-07; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-07; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-07; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-07; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-07; - relTol 0; - }; - rho PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + rho { - preconditioner DIC; - tolerance 1e-07; - relTol 0; - }; - Alpha PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-07; + relTol 0; + } + + Alpha { - preconditioner DILU; - tolerance 1e-07; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } } PISO @@ -60,4 +72,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/tank3D/constant/RASProperties b/tutorials/multiphase/settlingFoam/tank3D/constant/RASProperties index 808b6f2aea1bf05ecdb24185abb8fc89d544d5ab..a19f0292e20c63566acdb0e9a8dd8bb9a1ff4589 100644 --- a/tutorials/multiphase/settlingFoam/tank3D/constant/RASProperties +++ b/tutorials/multiphase/settlingFoam/tank3D/constant/RASProperties @@ -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,15 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence on; +turbulence on; -printCoeffs on; +printCoeffs on; laminarCoeffs { @@ -26,18 +27,19 @@ laminarCoeffs kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 0.85; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 0.85; + alphak 1; + alphaEps 0.76923; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/tank3D/constant/environmentalProperties b/tutorials/multiphase/settlingFoam/tank3D/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..938322374a12738e1c9fd6b846c4b8187e6177df 100644 --- a/tutorials/multiphase/settlingFoam/tank3D/constant/environmentalProperties +++ b/tutorials/multiphase/settlingFoam/tank3D/constant/environmentalProperties @@ -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,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/tank3D/constant/transportProperties b/tutorials/multiphase/settlingFoam/tank3D/constant/transportProperties index 1d92419af461960f17092422aed1d4c5ec7d7a8f..559067579f0557be925920f8b6d4a783926a1b7a 100644 --- a/tutorials/multiphase/settlingFoam/tank3D/constant/transportProperties +++ b/tutorials/multiphase/settlingFoam/tank3D/constant/transportProperties @@ -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,44 +10,46 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -muc muc [1 -1 -1 0 0 0 0] 0.00178; +muc muc [ 1 -1 -1 0 0 0 0 ] 0.00178; -plasticViscosityCoeff plasticViscosityCoeff [1 -1 -1 0 0 0 0] 0.00023143; +plasticViscosityCoeff plasticViscosityCoeff [ 1 -1 -1 0 0 0 0 ] 0.00023143; -plasticViscosityExponent plasticViscosityExponent [0 0 0 0 0 0 0] 0.17926; +plasticViscosityExponent plasticViscosityExponent [ 0 0 0 0 0 0 0 ] 0.17926; BinghamPlastic on; -yieldStressCoeff yieldStressCoeff [1 -1 -2 0 0 0 0] 5.5469e-07; +yieldStressCoeff yieldStressCoeff [ 1 -1 -2 0 0 0 0 ] 5.5469e-07; -yieldStressExponent yieldStressExponent [0 0 0 0 0 0 0] 95.25; +yieldStressExponent yieldStressExponent [ 0 0 0 0 0 0 0 ] 95.25; -yieldStressOffset yieldStressOffset [0 0 0 0 0 0 0] 0; +yieldStressOffset yieldStressOffset [ 0 0 0 0 0 0 0 ] 0; -rhoc rhoc [1 -3 0 0 0 0 0] 1000; +rhoc rhoc [ 1 -3 0 0 0 0 0 ] 1000; -rhod rhod [1 -3 0 0 0 0 0] 1042; +rhod rhod [ 1 -3 0 0 0 0 0 ] 1042; VdjModel simple; simpleCoeffs { - V0 V0 [0 1 -1 0 0 0 0] (0 -0.002198 0); - a a [0 0 0 0 0 0 0] 8.84; - a1 a1 [0 0 0 0 0 0 0] 0; - alphaMin alphaMin [0 0 0 0 0 0 0] 0; + V0 V0 [ 0 1 -1 0 0 0 0 ] ( 0 -0.002198 0 ); + a a [ 0 0 0 0 0 0 0 ] 8.84; + a1 a1 [ 0 0 0 0 0 0 0 ] 0; + alphaMin alphaMin [ 0 0 0 0 0 0 0 ] 0; } generalCoeffs { - V0 V0 [0 1 -1 0 0 0 0] (0 -0.0018 0); - a a [0 0 0 0 0 0 0] 1e-05; - a1 a1 [0 0 0 0 0 0 0] 0.1; - alphaMin alphaMin [0 0 0 0 0 0 0] 2e-05; + V0 V0 [ 0 1 -1 0 0 0 0 ] ( 0 -0.0018 0 ); + a a [ 0 0 0 0 0 0 0 ] 1e-05; + a1 a1 [ 0 0 0 0 0 0 0 ] 0.1; + alphaMin alphaMin [ 0 0 0 0 0 0 0 ] 2e-05; } + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/tank3D/system/controlDict b/tutorials/multiphase/settlingFoam/tank3D/system/controlDict index f7c7ecd1d65dbf11ff2c06511f1b752f58f2b183..1adf79151c0e8e126f99987d2ae62fe2a324f030 100644 --- a/tutorials/multiphase/settlingFoam/tank3D/system/controlDict +++ b/tutorials/multiphase/settlingFoam/tank3D/system/controlDict @@ -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,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,4 +43,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/tank3D/system/fvSchemes b/tutorials/multiphase/settlingFoam/tank3D/system/fvSchemes index 0eb0bf6badc3d7a3b2a7d5e403455a0130e840b0..5b0849d52babb4965de36826635f4d3513bac257 100644 --- a/tutorials/multiphase/settlingFoam/tank3D/system/fvSchemes +++ b/tutorials/multiphase/settlingFoam/tank3D/system/fvSchemes @@ -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,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -57,7 +58,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/tank3D/system/fvSolution b/tutorials/multiphase/settlingFoam/tank3D/system/fvSolution index 994dcde6c912e7dc15e1283680d28b7161ac39e9..8c14a9fae9f2e4d91e7d31e2053a125c45cff565 100644 --- a/tutorials/multiphase/settlingFoam/tank3D/system/fvSolution +++ b/tutorials/multiphase/settlingFoam/tank3D/system/fvSolution @@ -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,48 +10,60 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p PCG + p { - preconditioner DIC; - tolerance 1e-07; - relTol 0; - }; - U PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-07; + relTol 0; + } + + U { - preconditioner DILU; - tolerance 1e-07; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-07; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-07; - relTol 0; - }; - rho PCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + rho { - preconditioner DIC; - tolerance 1e-07; - relTol 0; - }; - Alpha PBiCG + solver PCG; + preconditioner DIC; + tolerance 1e-07; + relTol 0; + } + + Alpha { - preconditioner DILU; - tolerance 1e-07; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } } PISO @@ -60,4 +72,5 @@ PISO nNonOrthogonalCorrectors 0; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/RASProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/RASProperties index 9a6e83d8dee458d7c68b400aaa2f7132f75b65a6..530659456503c852fcdd3b45b7f60d014b64063f 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/RASProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/RASProperties @@ -2,45 +2,38 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Switch turbulence model on or off +turbulence on; -turbulence on; - -printCoeffs on; - -// Standard k-epsilon model coefficients -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +printCoeffs on; kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.375; - - alphak 1.0; - alphaEps 0.82142; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.375; + alphak 1; + alphaEps 0.82142; } -// Wall function coefficients -// ~~~~~~~~~~~~~~~~~~~~~~~~~~ - wallFunctionCoeffs { - kappa 0.4187; - E 9.0; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/environmentalProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/environmentalProperties index bf423d1c51d003e026a3fb610e45ee7332f073ef..d1abb1921fca674416ed8e44ebca7cd1c9d3cbd3 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/environmentalProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/environmentalProperties @@ -2,18 +2,20 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0] (0 0 -9.81); +g g [ 0 1 -2 0 0 ] ( 0 0 -9.81 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/filterProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/filterProperties index 79c0a96d7142ca06a862e1b620c232f9643f2bdc..2c236c7d44fd299e3f7952394e625ba719646891 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/filterProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/filterProperties @@ -2,25 +2,26 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object filterProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -filter off; +filter off; -// filterNormal has to be in the direction of trapped particles -filterNormal (0 0 1); +filterNormal ( 0 0 1 ); -filterPosition filterPosition [0 1 0 0 0] (0 0 0.02); +filterPosition filterPosition [ 0 1 0 0 0 ] ( 0 0 0.02 ); + +filterThickness filterThickness [ 0 1 0 0 0 ] 1e-06; -filterThickness filterThickness [0 1 0 0 0] 1.0e-6; // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/interfacialProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/interfacialProperties index c7f7b93365c8abe3df07baad21968fcc1ba5712a..800dbd9adc92424ffac797e042ee3ce0b796f855 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/interfacialProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/interfacialProperties @@ -2,21 +2,24 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object interfacialProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dragModela GidaspowSchillerNaumann; -dragModelb GidaspowSchillerNaumann; +dragModela GidaspowSchillerNaumann; + +dragModelb GidaspowSchillerNaumann; + +dragPhase a; -dragPhase a; // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/kineticTheoryProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/kineticTheoryProperties index 54773983962ab22f55e77ffa8874148f58fc26ff..ba6ef530f14039ac0b8ee2485cdcc3c89c2e39a3 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/kineticTheoryProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/kineticTheoryProperties @@ -2,49 +2,51 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object kineticTheoryProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -kineticTheory off; +kineticTheory off; -equilibrium on; +equilibrium on; -e e [ 0 0 0 0 0 0 0 ] 0.9 ; +e e [ 0 0 0 0 0 0 0 ] 0.9; -alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.6 ; +alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.6; -alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.5 ; +alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.5; -Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05 ; +Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05; -eta eta [ 0 0 0 0 0 0 0 ] 2.0 ; +eta eta [ 0 0 0 0 0 0 0 ] 2; -p p [ 0 0 0 0 0 0 0 ] 5.0 ; +p p [ 0 0 0 0 0 0 0 ] 5; -phi phi [ 0 0 0 0 0 0 0 ] 25.0 ; +phi phi [ 0 0 0 0 0 0 0 ] 25; -viscosityModel Syamlal; +viscosityModel Syamlal; -conductivityModel HrenyaSinclair; +conductivityModel HrenyaSinclair; -granularPressureModel Lun; +granularPressureModel Lun; -frictionalStressModel JohnsonJackson; +frictionalStressModel JohnsonJackson; -radialModel Gidaspow; +radialModel Gidaspow; HrenyaSinclairCoeffs { - L L [ 0 1 0 0 0 0 0 ] 5.0e-4 ; + L L [ 0 1 0 0 0 0 0 ] 0.0005; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/ppProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/ppProperties index 67edcc1047c477b4ccbb221232599ba08f0291c2..73ff7f8d0920b41cd9ebcc416516ad60fed9071e 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/ppProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/ppProperties @@ -2,26 +2,28 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object ppProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -preAlphaExp 500; +preAlphaExp 500; -expMax 1.0e+3; +expMax 1000; -alphaMax 0.6; +alphaMax 0.6; -g0 g0 [1 -1 -2 0 0 0 0 ] 1000 ; +g0 g0 [ 1 -1 -2 0 0 0 0 ] 1000; + +packingLimiter no; -packingLimiter no; // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/transportProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/transportProperties index 657b38074edb24a6e0e29e67ea561547926d8a4e..9a08405bdb3ac65e961d519368750c72b7fb3eba 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/transportProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/constant/transportProperties @@ -2,40 +2,40 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// a is the discrete phase and -// b is the continuous phase - -// sand phasea { - rho rho [1 -3 0 0 0] 2640; - nu nu [0 2 -1 0 0] 1.0e-6; - d d [0 1 0 0 0 0 0] 480.0e-6; + rho rho [ 1 -3 0 0 0 ] 2640; + nu nu [ 0 2 -1 0 0 ] 1e-06; + d d [ 0 1 0 0 0 0 0 ] 0.00048; } -// air phaseb { - rho rho [1 -3 0 0 0] 1.28; - nu nu [0 2 -1 0 0] 1.328e-5; - d d [0 1 0 0 0 0 0] 1.0; + rho rho [ 1 -3 0 0 0 ] 1.28; + nu nu [ 0 2 -1 0 0 ] 1.328e-05; + d d [ 0 1 0 0 0 0 0 ] 1; } -Cvm Cvm [0 0 0 0 0] 0.0; -Cl Cl [0 0 0 0 0] 0.0; -Ct Ct [0 0 0 0 0] 0.0; -alphaAlpha alphaAlpha [0 0 0 0 0] 0.0; +Cvm Cvm [ 0 0 0 0 0 ] 0; + +Cl Cl [ 0 0 0 0 0 ] 0; + +Ct Ct [ 0 0 0 0 0 ] 0; + +alphaAlpha alphaAlpha [ 0 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict index 026a5ed2a4e4b19322ba7bbe6c32418ebb797ff2..8b29ef416eb46c78f06056aebc108e42e7c42c6f 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict @@ -2,19 +2,19 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -23,7 +23,7 @@ stopAt endTime; endTime 10; -deltaT 1e-3; +deltaT 0.001; writeControl adjustableRunTime; @@ -41,53 +41,15 @@ timeFormat general; timePrecision 6; -runTimeModifiable on; +runTimeModifiable on; adjustTimeStep yes; maxCo 0.5; -maxDeltaT 1; - -functions -( - fieldAverage1 - { - // Type of functionObject - type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - - // Fields to be averaged - runTime modifiable - fields - ( - Ua - { - mean on; - prime2Mean off; - base time; - } - Ub - { - mean on; - prime2Mean off; - base time; - } - alpha - { - mean on; - prime2Mean off; - base time; - } - p - { - mean on; - prime2Mean off; - base time; - } - ); - } -); +maxDeltaT 1; + +functions ( fieldAverage1 { type fieldAverage ; functionObjectLibs ( "libfieldFunctionObjects.so" ) ; fields ( Ua { mean on ; prime2Mean off ; base time ; } Ub { mean on ; prime2Mean off ; base time ; } alpha { mean on ; prime2Mean off ; base time ; } p { mean on ; prime2Mean off ; base time ; } ) ; } ); + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/system/fvSchemes b/tutorials/multiphase/twoPhaseEulerFoam/bed/system/fvSchemes index e9a33d28eea7c8f77a2103c5c983139c0082ab9a..1e881ca7e568902f1f3448eb5b67053c9c2fce3a 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/system/fvSchemes +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/system/fvSchemes @@ -2,14 +2,15 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -62,7 +63,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/system/fvSolution b/tutorials/multiphase/twoPhaseEulerFoam/bed/system/fvSolution index 2cd36751bdcc0663497ff79cdc21af464b4f9ab7..7b4017d70c84517fc1c1633f02e3b743e01d1c41 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/system/fvSolution +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/system/fvSolution @@ -2,77 +2,91 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p GAMG + p { - tolerance 1e-8; - relTol 0; - - smoother DIC; //GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; - Ua PBiCG + agglomerator faceAreaPair; + mergeLevels 1; + } + + Ua { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Ub PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Ub { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - alpha PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + alpha { - preconditioner DILU; - tolerance 1e-10; - relTol 0; - }; - beta PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-10; + relTol 0; + } + + beta { - preconditioner DILU; - tolerance 1e-10; - relTol 0; - }; - Theta PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-10; + relTol 0; + } + + Theta { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -85,4 +99,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/RASProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/RASProperties index 9a6e83d8dee458d7c68b400aaa2f7132f75b65a6..803255b5a016ac955f309243d387795460ff0030 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/RASProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,37 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Switch turbulence model on or off +turbulence on; -turbulence on; - -printCoeffs on; - -// Standard k-epsilon model coefficients -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +printCoeffs on; kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - C3 -0.375; - - alphak 1.0; - alphaEps 0.82142; + Cmu 0.09; + C1 1.44; + C2 1.92; + C3 -0.375; + alphak 1; + alphaEps 0.82142; } -// Wall function coefficients -// ~~~~~~~~~~~~~~~~~~~~~~~~~~ - wallFunctionCoeffs { - kappa 0.4187; - E 9.0; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/environmentalProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/environmentalProperties index d7a56e9b2f62f49753030db15895bf067dd344cb..6a8eb74fb89ac0cc0bb440deb759d62087efe497 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/environmentalProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/filterProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/filterProperties index 79c0a96d7142ca06a862e1b620c232f9643f2bdc..2ab1a87e808dd7a2ad1297964fc18d01df6a2743 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/filterProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/filterProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,17 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object filterProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -filter off; +filter off; -// filterNormal has to be in the direction of trapped particles -filterNormal (0 0 1); +filterNormal ( 0 0 1 ); -filterPosition filterPosition [0 1 0 0 0] (0 0 0.02); +filterPosition filterPosition [ 0 1 0 0 0 ] ( 0 0 0.02 ); + +filterThickness filterThickness [ 0 1 0 0 0 ] 1e-06; -filterThickness filterThickness [0 1 0 0 0] 1.0e-6; // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/interfacialProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/interfacialProperties index e321ce4023dfdae0f079b4aa3db7cf74b09926e0..8b6c5044c944f19c6e642e7c382cbb80c3731b26 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/interfacialProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/interfacialProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object interfacialProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dragModela GidaspowErgunWenYu; + dragModelb GidaspowErgunWenYu; dragPhase a; + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/kineticTheoryProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/kineticTheoryProperties index 88224645ce0552b167893610c133f8284b69f007..cd52e8b208e6984a7ec4cd0d6aa2ff6c187e4263 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/kineticTheoryProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/kineticTheoryProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,41 +10,43 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object kineticTheoryProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -kineticTheory on; +kineticTheory on; -equilibrium on; +equilibrium on; -e e [ 0 0 0 0 0 0 0 ] 0.8 ; +e e [ 0 0 0 0 0 0 0 ] 0.8; -alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.62 ; +alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.62; -alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.65 ; +alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.65; -Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05 ; +Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05; -eta eta [ 0 0 0 0 0 0 0 ] 2.0 ; +eta eta [ 0 0 0 0 0 0 0 ] 2; -p p [ 0 0 0 0 0 0 0 ] 5.0 ; +p p [ 0 0 0 0 0 0 0 ] 5; -phi phi [ 0 0 0 0 0 0 0 ] 0.0 ; +phi phi [ 0 0 0 0 0 0 0 ] 0; -viscosityModel Gidaspow; +viscosityModel Gidaspow; -conductivityModel Gidaspow; +conductivityModel Gidaspow; -granularPressureModel Lun; +granularPressureModel Lun; -frictionalStressModel JohnsonJackson; +frictionalStressModel JohnsonJackson; -radialModel Gidaspow; +radialModel Gidaspow; HrenyaSinclairCoeffs { - L L [ 0 1 0 0 0 0 0 ] 5.0e-4 ; + L L [ 0 1 0 0 0 0 0 ] 0.0005; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/polyMesh/boundary b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/polyMesh/boundary index e2e0e3a9f23e9f26addc8bba6e079d4e67c0de81..a861e9875c9bd40ca9e83718ce5708062aa4f382 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/polyMesh/boundary +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev-8cbffd16687e | +| \\ / O peration | Version: 1.5-8cbffd16687e | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/ppProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/ppProperties index 1a484d0b9ce82f096aedff643d43bdcebd627c7e..cb6ac970f0fd55b306efc58eb2bcbd18721e8e6b 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/ppProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/ppProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,18 +10,20 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object ppProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -preAlphaExp 500; +preAlphaExp 500; -expMax 1.0e+3; +expMax 1000; -alphaMax 0.62; +alphaMax 0.62; -g0 g0 [ 1 -1 -2 0 0 0 0 ] 0 ; +g0 g0 [ 1 -1 -2 0 0 0 0 ] 0; + +packingLimiter no; -packingLimiter no; // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/transportProperties b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/transportProperties index 02e67fa12aa89f67c4d303381b35ceb487a84a12..c58d767175b91be126623ce99c1ddae7e9c06adf 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/transportProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,32 +10,32 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// a is the discrete phase and -// b is the continuous phase - -// sand phasea { - rho rho [1 -3 0 0 0] 2500; - nu nu [0 2 -1 0 0] 1.0e-6; - d d [0 1 0 0 0 0 0] 300.0e-6; + rho rho [ 1 -3 0 0 0 ] 2500; + nu nu [ 0 2 -1 0 0 ] 1e-06; + d d [ 0 1 0 0 0 0 0 ] 0.0003; } -// air phaseb { - rho rho [1 -3 0 0 0] 1.2; - nu nu [0 2 -1 0 0] 1.5e-5; - d d [0 1 0 0 0 0 0] 1.0; + rho rho [ 1 -3 0 0 0 ] 1.2; + nu nu [ 0 2 -1 0 0 ] 1.5e-05; + d d [ 0 1 0 0 0 0 0 ] 1; } -Cvm Cvm [0 0 0 0 0] 0.0; -Cl Cl [0 0 0 0 0] 0.0; -Ct Ct [0 0 0 0 0] 0.0; -alphaAlpha alphaAlpha [0 0 0 0 0] 0.0; +Cvm Cvm [ 0 0 0 0 0 ] 0; + +Cl Cl [ 0 0 0 0 0 ] 0; + +Ct Ct [ 0 0 0 0 0 ] 0; + +alphaAlpha alphaAlpha [ 0 0 0 0 0 ] 0; + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict index df4a5a205e8138e14ff465ba229bbd829e1f8478..2a969d4d7abc281a9e51fbd13039b76e6ec5c9d5 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom latestTime; startTime 0; @@ -23,7 +23,7 @@ stopAt endTime; endTime 2; -deltaT 5e-4; +deltaT 0.0005; writeControl adjustableRunTime; @@ -47,50 +47,9 @@ adjustTimeStep no; maxCo 0.9; -maxDeltaT 1e-5; - -functions -( - fieldAverage1 - { - // Type of functionObject - type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - - outputControl outputTime; - - // Fields to be averaged - runTime modifiable - fields - ( - Ua - { - mean on; - prime2Mean off; - base time; - } - Ub - { - mean on; - prime2Mean off; - base time; - } - alpha - { - mean on; - prime2Mean off; - base time; - } - p - { - mean on; - prime2Mean off; - base time; - } - ); - } -); +maxDeltaT 1e-05; + +functions ( fieldAverage1 { type fieldAverage ; functionObjectLibs ( "libfieldFunctionObjects.so" ) ; outputControl outputTime ; fields ( Ua { mean on ; prime2Mean off ; base time ; } Ub { mean on ; prime2Mean off ; base time ; } alpha { mean on ; prime2Mean off ; base time ; } p { mean on ; prime2Mean off ; base time ; } ) ; } ); // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/fvSchemes b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/fvSchemes index e175e1530e1a54352771efd1782535f783711a68..d007d55f784a4b6daad339d280ddc3c25a47e786 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/fvSchemes +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -29,13 +30,13 @@ divSchemes default none; div(phia,Ua) Gauss limitedLinearV 1; div(phib,Ub) Gauss limitedLinearV 1; - div(phib,k) Gauss limitedLinear 1; + div(phib,k) Gauss limitedLinear 1; div(phib,epsilon) Gauss limitedLinear 1; div(phi,alpha) Gauss limitedLinear01 1; div(phir,alpha) Gauss limitedLinear01 1; - div(phi,Theta) Gauss limitedLinear 1; - div(Rca) Gauss linear; - div(Rcb) Gauss linear; + div(phi,Theta) Gauss limitedLinear 1; + div(Rca) Gauss linear; + div(Rcb) Gauss linear; } laplacianSchemes @@ -64,7 +65,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/fvSolution b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/fvSolution index 9fb3867d9344f38c63f25185d8bb5122d66d8ddb..3c5f789ef5988943e2d3af12fa54288198e49e08 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/fvSolution +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,69 +10,83 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p GAMG + p { - tolerance 1e-8; - relTol 0; - - smoother DIC; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; - Ua PBiCG + agglomerator faceAreaPair; + mergeLevels 1; + } + + Ua { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Ub PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Ub { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - alpha PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + alpha { - preconditioner DILU; - tolerance 1e-10; - relTol 0; - }; - beta PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-10; + relTol 0; + } + + beta { - preconditioner DILU; - tolerance 1e-10; - relTol 0; - }; - Theta PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-10; + relTol 0; + } + + Theta { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -96,4 +110,5 @@ relaxationFactors epsilon 1; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/setFieldsDict b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/setFieldsDict index 6ea881e1f610336cbfe8af534c684cfdeadb8578..a25df870f69f806af3e1da2d519c3f9da9be5202 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/setFieldsDict +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/setFieldsDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,26 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues -( - volScalarFieldValue alpha 0.0 -); +defaultFieldValues ( volScalarFieldValue alpha 0 ); -regions -( - boxToCell - { - box (0 0 -0.1) (0.15 0.5 0.1); +regions ( boxToCell { box ( 0 0 -0.1 ) ( 0.15 0.5 0.1 ) ; fieldValues ( volScalarFieldValue alpha 0.55 ) ; } ); - fieldValues - ( - volScalarFieldValue alpha 0.55 - ); - } -); // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/RASProperties b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/RASProperties index 63f3e2fac1193adda3d64a41d37f66a9b72f92c7..b84915eafc5afd9f32c3e7585564fb023a24c077 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/RASProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/RASProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,29 +10,31 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object RASProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -RASModel kEpsilon; +RASModel kEpsilon; -turbulence off; +turbulence off; -printCoeffs off; +printCoeffs off; kEpsilonCoeffs { - Cmu 0.09; - C1 1.44; - C2 1.92; - alphak 1; - alphaEps 0.76923; + Cmu 0.09; + C1 1.44; + C2 1.92; + alphak 1; + alphaEps 0.76923; } wallFunctionCoeffs { - kappa 0.4187; - E 9; + kappa 0.4187; + E 9; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/environmentalProperties b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/environmentalProperties index 03e0adce892c8e4fdd83c43484578d4bb486aca3..a866ff549fd799e63d2d6946a66cf3da14d092bd 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/environmentalProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/environmentalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,10 +10,12 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -g g [0 1 -2 0 0 0 0] (0 -9.81 0); +g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 ); + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/interfacialProperties b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/interfacialProperties index 9c1430c9f1fe540fe6c44a74ddce9eadc7d6f37e..28e9538668fea1158a209296e3d8e512bcd60950 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/interfacialProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/interfacialProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,16 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object interfacialProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dragModela SchillerNaumann; -dragModelb SchillerNaumann; +dragModela SchillerNaumann; + +dragModelb SchillerNaumann; + +dragPhase blended; -dragPhase blended; // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/kineticTheoryProperties b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/kineticTheoryProperties index 54773983962ab22f55e77ffa8874148f58fc26ff..3ac1fd2b3048ffa48740d38b7a75f2a3293184eb 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/kineticTheoryProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/kineticTheoryProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,41 +10,43 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object kineticTheoryProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -kineticTheory off; +kineticTheory off; -equilibrium on; +equilibrium on; -e e [ 0 0 0 0 0 0 0 ] 0.9 ; +e e [ 0 0 0 0 0 0 0 ] 0.9; -alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.6 ; +alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.6; -alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.5 ; +alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.5; -Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05 ; +Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05; -eta eta [ 0 0 0 0 0 0 0 ] 2.0 ; +eta eta [ 0 0 0 0 0 0 0 ] 2; -p p [ 0 0 0 0 0 0 0 ] 5.0 ; +p p [ 0 0 0 0 0 0 0 ] 5; -phi phi [ 0 0 0 0 0 0 0 ] 25.0 ; +phi phi [ 0 0 0 0 0 0 0 ] 25; -viscosityModel Syamlal; +viscosityModel Syamlal; -conductivityModel HrenyaSinclair; +conductivityModel HrenyaSinclair; -granularPressureModel Lun; +granularPressureModel Lun; -frictionalStressModel JohnsonJackson; +frictionalStressModel JohnsonJackson; -radialModel Gidaspow; +radialModel Gidaspow; HrenyaSinclairCoeffs { - L L [ 0 1 0 0 0 0 0 ] 5.0e-4 ; + L L [ 0 1 0 0 0 0 0 ] 0.0005; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/ppProperties b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/ppProperties index 9829a5d8d020387d58c05de5bb4a8aadbea626da..30e82b6435c681b947c3578f7846566ddc41dd88 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/ppProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/ppProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,18 +10,20 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object ppProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -preAlphaExp 300; +preAlphaExp 300; -expMax 10.0; +expMax 10; -alphaMax 0.6; +alphaMax 0.6; -g0 g0 [ 1 -1 -2 0 0 0 0 ] 0 ; +g0 g0 [ 1 -1 -2 0 0 0 0 ] 0; + +packingLimiter off; -packingLimiter off; // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/transportProperties b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/transportProperties index a8b0138b70e506305ea0df45fbf596908546b6ab..fbea88e14421d00668501673102c81b1b1f591f1 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/transportProperties +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/constant/transportProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,30 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// water phaseb { - nu nu [0 2 -1 0 0 0 0] 1.0e-06; - rho rho [1 -3 0 0 0 0 0] 1000.0; - d d [0 1 0 0 0 0 0] 0.0001; + nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; + rho rho [ 1 -3 0 0 0 0 0 ] 1000; + d d [ 0 1 0 0 0 0 0 ] 0.0001; } -// air phasea { - nu nu [0 2 -1 0 0 0 0] 1.6e-05; - rho rho [1 -3 0 0 0 0 0] 1.0; - d d [0 1 0 0 0 0 0] 0.003; + nu nu [ 0 2 -1 0 0 0 0 ] 1.6e-05; + rho rho [ 1 -3 0 0 0 0 0 ] 1; + d d [ 0 1 0 0 0 0 0 ] 0.003; } -Cvm Cvm [0 0 0 0 0 0 0] 0.5; +Cvm Cvm [ 0 0 0 0 0 0 0 ] 0.5; -Cl Cl [0 0 0 0 0 0 0] 0; +Cl Cl [ 0 0 0 0 0 0 0 ] 0; + +Ct Ct [ 0 0 0 0 0 0 0 ] 1; -Ct Ct [0 0 0 0 0 0 0] 1.0; // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/controlDict index c2e280e5dc8b2c2fda7c06bb32dad2889a449fbd..342ea403e6d8a2dc328d85db01cda520ae9d769d 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/controlDict +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -43,52 +43,13 @@ timePrecision 6; runTimeModifiable yes; -adjustTimeStep no; - -maxCo 0.5; - -maxDeltaT 1; - -functions -( - fieldAverage1 - { - // Type of functionObject - type fieldAverage; - - // Where to load it from (if not already in solver) - functionObjectLibs ("libfieldFunctionObjects.so"); - - // Fields to be averaged - runTime modifiable - fields - ( - Ua - { - mean on; - prime2Mean off; - base time; - } - Ub - { - mean on; - prime2Mean off; - base time; - } - alpha - { - mean on; - prime2Mean off; - base time; - } - p - { - mean on; - prime2Mean off; - base time; - } - ); - } -); +adjustTimeStep no; + +maxCo 0.5; + +maxDeltaT 1; + +functions ( fieldAverage1 { type fieldAverage ; functionObjectLibs ( "libfieldFunctionObjects.so" ) ; fields ( Ua { mean on ; prime2Mean off ; base time ; } Ub { mean on ; prime2Mean off ; base time ; } alpha { mean on ; prime2Mean off ; base time ; } p { mean on ; prime2Mean off ; base time ; } ) ; } ); // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/fvSchemes b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/fvSchemes index 520b6d769f8b35b9fd95dd6919c23ed104f69079..ab97d5edfd6479b251fba71422949278ef5212db 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/fvSchemes +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { - default Euler; + default Euler; } gradSchemes @@ -29,7 +30,7 @@ divSchemes default none; div(phia,Ua) Gauss limitedLinearV 1; div(phib,Ub) Gauss limitedLinearV 1; - div(phib,k) Gauss limitedLinear 1; + div(phib,k) Gauss limitedLinear 1; div(phib,epsilon) Gauss limitedLinear 1; div(phi,alpha) Gauss limitedLinear01 1; div(phir,alpha) Gauss limitedLinear01 1; @@ -62,7 +63,8 @@ snGradSchemes fluxRequired { default no; - p; + p ; } + // ************************************************************************* // diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/fvSolution b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/fvSolution index 9e338073203e9014de7f445b7ec3555a1659ed06..2bc97a6bde222c607741bfb736988f0392a9a7e7 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/fvSolution +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,69 +10,83 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - p GAMG + p { - tolerance 1e-8; - relTol 0; - - smoother DIC; //GaussSeidel; - nPreSweeps 0; - nPostSweeps 2; - nFinestSweeps 2; - + solver GAMG; + tolerance 1e-08; + relTol 0; + smoother DIC; + nPreSweeps 0; + nPostSweeps 2; + nFinestSweeps 2; cacheAgglomeration true; nCellsInCoarsestLevel 10; - agglomerator faceAreaPair; - mergeLevels 1; - }; - Ua PBiCG + agglomerator faceAreaPair; + mergeLevels 1; + } + + Ua { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - Ub PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + Ub { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - alpha PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + alpha { - preconditioner DILU; - tolerance 1e-10; - relTol 0; - }; - beta PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-10; + relTol 0; + } + + beta { - preconditioner DILU; - tolerance 1e-10; - relTol 0; - }; - Theta PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-10; + relTol 0; + } + + Theta { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - k PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + k { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; - epsilon PBiCG + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } + + epsilon { - preconditioner DILU; - tolerance 1e-05; - relTol 0; - }; + solver PBiCG; + preconditioner DILU; + tolerance 1e-05; + relTol 0; + } } PISO @@ -85,4 +99,5 @@ PISO pRefValue 0; } + // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/constant/mechanicalProperties b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/constant/mechanicalProperties index e3320fa73f7afc1758dfae8c9b1689dc8db3131b..3cfd7ac9ea8c7e56ec2e38b7dffb7ab28d547efa 100644 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/constant/mechanicalProperties +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/constant/mechanicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,16 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object mechanicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -rho rho [1 -3 0 0 0 0 0] 7854; +rho rho [ 1 -3 0 0 0 0 0 ] 7854; -nu nu [0 0 0 0 0 0 0] 0.3; +nu nu [ 0 0 0 0 0 0 0 ] 0.3; -E E [1 -1 -2 0 0 0 0] 2e+11; +E E [ 1 -1 -2 0 0 0 0 ] 2e+11; planeStress yes; + // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/constant/thermalProperties b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/constant/thermalProperties index 697653844566102223cde17a4113857b1a0be883..cc2766f73fc0fda6cd81ef814e30b59a71186501 100644 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/constant/thermalProperties +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/constant/thermalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,16 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -C C [0 2 -2 -1 0 0 0] 434; +C C [ 0 2 -2 -1 0 0 0 ] 434; -k k [1 1 -3 -1 0 0 0] 60.5; +k k [ 1 1 -3 -1 0 0 0 ] 60.5; -alpha alpha [0 0 0 -1 0 0 0] 1.1e-05; +alpha alpha [ 0 0 0 -1 0 0 0 ] 1.1e-05; thermalStress no; + // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/controlDict b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/controlDict index 14218ed2cf9afeb4868b3cca87a9fcdc7541d715..a6c2f2ec34b806dbfd3a94ac05d1f6b10681b075 100644 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/controlDict +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,11 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - startFrom startTime; startTime 0; @@ -45,4 +45,5 @@ graphFormat raw; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/fvSchemes b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/fvSchemes index 80a280328fb8493b3c2eb7198aafcfd02975d6ee..04aadf324474aa05a22d2ef2037a8fb82e45acab 100644 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/fvSchemes +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,13 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // d2dt2Schemes { - default steadyState; + default steadyState; } gradSchemes @@ -56,4 +57,5 @@ fluxRequired T no; } + // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/fvSolution b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/fvSolution index 322eae255971126c2f65dcb06da72a6e1364e40b..e940f183e123b55b68513af723914e92065a0ae2 100644 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/fvSolution +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,41 +10,36 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - D GAMG + D { - tolerance 1e-06; - relTol 0.9; - - smoother GaussSeidel; - + solver GAMG; + tolerance 1e-06; + relTol 0.9; + smoother GaussSeidel; cacheAgglomeration true; - nCellsInCoarsestLevel 20; + agglomerator faceAreaPair; + mergeLevels 1; + } - agglomerator faceAreaPair; - mergeLevels 1; - }; - - T GAMG + T { - tolerance 1e-06; - relTol 0.9; - - smoother GaussSeidel; - + solver GAMG; + tolerance 1e-06; + relTol 0.9; + smoother GaussSeidel; cacheAgglomeration true; - nCellsInCoarsestLevel 20; - - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } } stressAnalysis @@ -54,4 +49,5 @@ stressAnalysis D 1e-06; } + // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleDict b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleDict index 3fa6bffca47a4e2720027457219917d0f67a4059..db2a9715f298a40a8e7d5d702733d50106ef7592 100644 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleDict +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,32 +10,20 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // interpolationScheme cellPoint; -setFormat raw; +setFormat raw; -sets -( - leftPatch - { - type uniform; - axis y; - start (0 0.5 0.25); - end (0 2 0.25); - nPoints 100; - } -); +sets ( leftPatch { type uniform ; axis y ; start ( 0 0.5 0.25 ) ; end ( 0 2 0.25 ) ; nPoints 100 ; } ); -surfaces -(); +surfaces ( ); + +fields ( sigmaxx ); -fields -( - sigmaxx -); // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleSurfaceDict b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleSurfaceDict index 48cc2fbe89ca86ad009976e8fe729312648bd235..71e26c183797fb3b13f1f3b41ed06bf30015e6f3 100644 --- a/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleSurfaceDict +++ b/tutorials/stressAnalysis/solidDisplacementFoam/plateHole/system/sampleSurfaceDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,27 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; - object sampleDict; + location "system"; + object sampleSurfaceDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // interpolationScheme cellPoint; -surfaceFormat dx; +surfaceFormat dx; -surfaces -( - constantPlane - { - name plate; - basePoint (0 0 0.25); - normalVector (0 0 1); - } -); +surfaces ( constantPlane { name plate ; basePoint ( 0 0 0.25 ) ; normalVector ( 0 0 1 ) ; } ); + +fields ( sigmaxx ); -fields -( - sigmaxx -); // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/constant/mechanicalProperties b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/constant/mechanicalProperties index 247cf4f822ef80e7bdd56c98ea2be3ca11adad9e..fa331e2c1d0f0ff151759d50215cbb65945fc606 100644 --- a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/constant/mechanicalProperties +++ b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/constant/mechanicalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,14 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object mechanicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -rho rho [1 -3 0 0 0 0 0] 7854; -E E [1 -1 -2 0 0 0 0] 2e+11; -nu nu [0 0 0 0 0 0 0] 0.0; -planeStress yes; +rho rho [ 1 -3 0 0 0 0 0 ] 7854; -// ************************************************************************* // +E E [ 1 -1 -2 0 0 0 0 ] 2e+11; + +nu nu [ 0 0 0 0 0 0 0 ] 0; + +planeStress yes; + +// ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/constant/thermalProperties b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/constant/thermalProperties index 697653844566102223cde17a4113857b1a0be883..cc2766f73fc0fda6cd81ef814e30b59a71186501 100644 --- a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/constant/thermalProperties +++ b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/constant/thermalProperties @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,16 +10,18 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object thermalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -C C [0 2 -2 -1 0 0 0] 434; +C C [ 0 2 -2 -1 0 0 0 ] 434; -k k [1 1 -3 -1 0 0 0] 60.5; +k k [ 1 1 -3 -1 0 0 0 ] 60.5; -alpha alpha [0 0 0 -1 0 0 0] 1.1e-05; +alpha alpha [ 0 0 0 -1 0 0 0 ] 1.1e-05; thermalStress no; + // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict index a4cb735f882ce260afca0512db40e8b2087e249b..70865b72da752836df8bc02216e167b06b599cd0 100644 --- a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict +++ b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -40,4 +41,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict.org b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict.org index 40023235e70c56fc9053d8534eb1b8ea955ebfcc..4118e538da1612cb06abdb8a787e6834d20a0835 100644 --- a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict.org +++ b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/controlDict.org @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,7 +10,8 @@ FoamFile version 2.0; format ascii; class dictionary; - object controlDict; + location "system"; + object controlDict.org; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -26,7 +27,7 @@ deltaT 2e-05; writeControl runTime; -writeInterval 2.5e-02; +writeInterval 0.025; purgeWrite 0; @@ -40,4 +41,5 @@ timePrecision 6; runTimeModifiable yes; + // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/fvSchemes b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/fvSchemes index 46da299431b31a316c493ec90a615be71b0e15f9..8a9bcb77cfdd053b601a0208621f7084016e7262 100644 --- a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/fvSchemes +++ b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/fvSchemes @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,23 +10,24 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // d2dt2Schemes { - default steadyState; + default steadyState; } gradSchemes { - default Gauss cubic; //fourth; //Gauss linear; + default Gauss cubic; } divSchemes { - default Gauss cubic; //Gauss linear; + default Gauss cubic; } laplacianSchemes @@ -47,7 +48,8 @@ snGradSchemes fluxRequired { default no; - D; + D ; } + // ************************************************************************* // diff --git a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/fvSolution b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/fvSolution index 1263539c228358f5735efe4153c5b09f957c40da..eef2e5a2dbf5ab259e2e1ccac8803a6c49353894 100644 --- a/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/fvSolution +++ b/tutorials/stressAnalysis/solidEquilibriumDisplacementFoam/beamEndLoad/system/fvSolution @@ -2,7 +2,7 @@ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,48 +10,44 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { - D GAMG + D { - tolerance 1e-06; - relTol 0.99; - - smoother GaussSeidel; - + solver GAMG; + tolerance 1e-06; + relTol 0.99; + smoother GaussSeidel; cacheAgglomeration true; - nCellsInCoarsestLevel 6; + agglomerator faceAreaPair; + mergeLevels 1; + } - agglomerator faceAreaPair; - mergeLevels 1; - }; - - Dcorr GAMG + Dcorr { - tolerance 1e-06; - relTol 0.99; - - smoother GaussSeidel; - + solver GAMG; + tolerance 1e-06; + relTol 0.99; + smoother GaussSeidel; cacheAgglomeration true; - nCellsInCoarsestLevel 6; - - agglomerator faceAreaPair; - mergeLevels 1; - }; + agglomerator faceAreaPair; + mergeLevels 1; + } } stressAnalysis { - nCorrectors 1; - D 1e-10; + nCorrectors 1; + D 1e-10; accelerationFactor 2; } + // ************************************************************************* //