From fcc4b2b305d902b4bb2fb4d2604989b75b081e04 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Thu, 14 Aug 2014 19:18:48 +0100 Subject: [PATCH] Switching to rothalpy equation for compressible MRF --- .../steadyCompressibleMRFFoam/createFields.H | 37 + .../steadyCompressibleMRFFoam/hEqn.H | 2 +- .../steadyCompressibleMRFFoam.C | 4 +- .../bentRotorStator/0/T | 21 +- .../bentRotorStator/0/U | 21 +- .../bentRotorStator/0/alphat | 1 - .../bentRotorStator/0/epsilon | 3187 +---------------- .../bentRotorStator/0/k | 3163 +--------------- .../bentRotorStator/0/mut | 1 - .../bentRotorStator/0/p | 36 +- .../bentRotorStator/constant/MRFZones | 7 +- .../bentRotorStator/constant/RASProperties | 12 - .../bentRotorStator/system/controlDict | 2 +- .../bentRotorStator/system/decomposeParDict | 27 + .../bentRotorStator/system/fvSchemes | 4 +- .../bentRotorStator/system/fvSolution | 21 +- .../simpleRotorStator/0/T | 21 +- .../simpleRotorStator/0/U | 19 +- .../simpleRotorStator/0/mut | 34 +- .../simpleRotorStator/0/p | 34 +- .../simpleRotorStator/constant/MRFZones | 4 +- .../simpleRotorStator/system/controlDict | 5 +- .../simpleRotorStator/system/decomposeParDict | 27 + .../simpleRotorStator/system/fvSchemes | 4 +- .../simpleRotorStator/system/fvSolution | 21 +- 25 files changed, 220 insertions(+), 6495 deletions(-) create mode 100644 tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/decomposeParDict create mode 100644 tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/decomposeParDict diff --git a/applications/solvers/compressible/steadyCompressibleMRFFoam/createFields.H b/applications/solvers/compressible/steadyCompressibleMRFFoam/createFields.H index a8fbb057e..4551563d6 100644 --- a/applications/solvers/compressible/steadyCompressibleMRFFoam/createFields.H +++ b/applications/solvers/compressible/steadyCompressibleMRFFoam/createFields.H @@ -56,3 +56,40 @@ // Create MRF zones MRFZones mrfZones(mesh); mrfZones.correctBoundaryVelocity(U); + + // Create relative velocity + volVectorField Urel + ( + IOobject + ( + "Urel", + runTime.timeName(), + mesh, + IOobject::NO_READ, + IOobject::AUTO_WRITE + ), + U + ); + mrfZones.relativeVelocity(Urel); + + // Create rotational velocity (= omega x r) + volVectorField Urot + ( + "Urot", + U - Urel + ); + + // Create rothalpy, in two steps to preserve boundary conditions + volScalarField i + ( + IOobject + ( + "i", + runTime.timeName(), + mesh, + IOobject::NO_READ, + IOobject::AUTO_WRITE + ), + h + ); + i -= 0.5*magSqr(Urot); diff --git a/applications/solvers/compressible/steadyCompressibleMRFFoam/hEqn.H b/applications/solvers/compressible/steadyCompressibleMRFFoam/hEqn.H index f6bc4743d..5dd0b827b 100644 --- a/applications/solvers/compressible/steadyCompressibleMRFFoam/hEqn.H +++ b/applications/solvers/compressible/steadyCompressibleMRFFoam/hEqn.H @@ -13,7 +13,7 @@ // Note: potential issue with reconstructed relative velocity. // HJ, 12/Dec/2009 // fvc::div(faceU, p, "div(U,p)") - fvc::div(faceU + mrfZones.fluxCorrection(), p,"div(U,p)") + fvc::div(faceU + mrfZones.fluxCorrection(), p, "div(U,p)") - p*fvc::div(faceU) // Viscous heating: note sign (devRhoReff has a minus in it) - (turbulence->devRhoReff() && fvc::grad(U)) diff --git a/applications/solvers/compressible/steadyCompressibleMRFFoam/steadyCompressibleMRFFoam.C b/applications/solvers/compressible/steadyCompressibleMRFFoam/steadyCompressibleMRFFoam.C index 80675cc19..342dbb1e2 100644 --- a/applications/solvers/compressible/steadyCompressibleMRFFoam/steadyCompressibleMRFFoam.C +++ b/applications/solvers/compressible/steadyCompressibleMRFFoam/steadyCompressibleMRFFoam.C @@ -65,7 +65,9 @@ int main(int argc, char *argv[]) # include "initConvergenceCheck.H" # include "UEqn.H" -# include "hEqn.H" +// # include "hEqn.H" + // Solving for rothalpy +# include "iEqn.H" # include "pEqn.H" # include "rhoFromP.H" diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/T b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/T index 495b4de57..16b8909df 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/T +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/T @@ -22,24 +22,19 @@ boundaryField { inlet { - type fixedValue; + type totalTemperature; + phi phi; + rho none; + psi psi; + U U; + gamma 1.4; + T0 uniform 300; value $internalField; } outlet { -// type zeroGradient; - - type waveTransmissive; - phi phi; - rho rho; - psi psi; - U U; - gamma 1.4; - inletOutlet true; - correctSupercritical false; - lInf 0.0; - fieldInf 300; + type zeroGradient; value $internalField; } diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/U b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/U index 665aab6fb..834f3f30c 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/U +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/U @@ -16,34 +16,21 @@ FoamFile dimensions [0 1 -1 0 0 0 0]; -internalField uniform (234 0 0); +internalField uniform (100 0 0); boundaryField { inlet { - type fixedValue; - value uniform (234 0 0); + type pressureInletVelocity; + value uniform (100 0 0); } outlet { -// type zeroGradient; - type inletOutlet; inletValue uniform (0 0 0); - -// type waveTransmissive; -// phi phi; -// rho rho; -// psi psi; -// U U; -// gamma 1.4; -// inletOutlet true; -// correctSupercritical false; -// lInf 0; -// fieldInf (0 0 0); -// value $internalField; + value $internalField; } bladeRotor diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/alphat b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/alphat index 1fbff8bd7..fb7f976d9 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/alphat +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/alphat @@ -70,7 +70,6 @@ boundaryField frontAndBack { type cyclic; - value uniform 0; } } diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/epsilon b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/epsilon index 954a6600a..5dacf95e3 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/epsilon +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/epsilon @@ -24,3216 +24,47 @@ boundaryField inlet { type fixedValue; - value uniform 100; + value $internalField; } outlet { type inletOutlet; - inletValue uniform 100; - value uniform 100; + inletValue $internalField; + value $internalField; } bladeRotor { type compressible::epsilonWallFunction; - refValue uniform 0; - value uniform 100; - Cmu 0.09; - kappa 0.41; - E 9.8; + value $internalField; } shaftRotor { type compressible::epsilonWallFunction; - refValue uniform 0; - value uniform 100; - Cmu 0.09; - kappa 0.41; - E 9.8; + value $internalField; } shroudRotor { type compressible::epsilonWallFunction; - refValue uniform 0; - value uniform 100; - Cmu 0.09; - kappa 0.41; - E 9.8; + value $internalField; } bladeStator { type compressible::epsilonWallFunction; - refValue uniform 0; - value uniform 100; - Cmu 0.09; - kappa 0.41; - E 9.8; + value $internalField; } shaftStator { type compressible::epsilonWallFunction; - refValue uniform 0; - value uniform 100; - Cmu 0.09; - kappa 0.41; - E 9.8; + value $internalField; } shroudStator { type compressible::epsilonWallFunction; - refValue uniform 0; - value uniform 100; - Cmu 0.09; - kappa 0.41; - E 9.8; + value $internalField; } frontAndBack { type cyclic; - value nonuniform List -3140 -( -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -100 -) -; } } diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/k b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/k index 05935562b..bde87e6b2 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/k +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/k @@ -24,3192 +24,47 @@ boundaryField inlet { type fixedValue; - value uniform 4.86; + value $internalField; } outlet { type inletOutlet; - inletValue uniform 4.86; - value uniform 4.86; + inletValue $internalField; + value $internalField; } bladeRotor { type compressible::kqRWallFunction; - value uniform 4.86; + value $internalField; } shaftRotor { type compressible::kqRWallFunction; - value uniform 4.86; + value $internalField; } shroudRotor { type compressible::kqRWallFunction; - value uniform 4.86; + value $internalField; } bladeStator { type compressible::kqRWallFunction; - value uniform 4.86; + value $internalField; } shaftStator { type compressible::kqRWallFunction; - value uniform 4.86; + value $internalField; } shroudStator { type compressible::kqRWallFunction; - value uniform 4.86; + value $internalField; } frontAndBack { type cyclic; - value nonuniform List -3140 -( -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -4.86 -) -; } } diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/mut b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/mut index 0c56e93bd..aa94dccb5 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/mut +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/mut @@ -82,7 +82,6 @@ boundaryField frontAndBack { type cyclic; - value uniform 0; } } diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/p b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/p index 948061f01..857f91eae 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/p +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/0/p @@ -22,36 +22,20 @@ boundaryField { inlet { - type zeroGradient; - -// type waveTransmissiveInlet; -// phi phi; -// rho rho; -// psi psi; -// U U; -// gamma 1.4; -// inletOutlet false; -// correctSupercritical false; -// lInf 0.0; -// fieldInf 101325; -// value uniform 101325; + type totalPressure; + phi phi; + rho none; + psi psi; + U U; + gamma 1.4; + p0 uniform 1.4e5; + value $internalField; } outlet { -// type fixedValue; - - type waveTransmissive; - phi phi; - rho rho; - psi psi; - U U; - gamma 1.4; - inletOutlet false; - correctSupercritical true; - lInf 0.1; - fieldInf 101325; - value uniform 101325; + type fixedValue; + value $internalField; } bladeRotor diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/constant/MRFZones b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/constant/MRFZones index 780c6b47f..2ee7e699d 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/constant/MRFZones +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/constant/MRFZones @@ -22,9 +22,10 @@ FoamFile nonRotatingPatches (); origin origin [0 1 0 0 0 0 0] (0 0 0); - axis axis [0 0 0 0 0 0 0] (-1 0 0); -// omega omega [0 0 -1 0 0 0 0] 5231.25; - omega omega [0 0 -1 0 0 0 0] 1000; + axis axis [0 0 0 0 0 0 0] (1 0 0); +// omega omega [0 0 -1 0 0 0 0] 5231.25; // 50k rpm, Utip = 261 m/s + omega omega [0 0 -1 0 0 0 0] 2094.395; // 20k rpm, Utip = 100 m/s +// omega omega [0 0 -1 0 0 0 0] 523.125; // 5k rpm, utip = 25.1 m/s } ) diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/constant/RASProperties b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/constant/RASProperties index fc5b5146b..069ac236d 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/constant/RASProperties +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/constant/RASProperties @@ -20,16 +20,4 @@ turbulence on; printCoeffs on; -laminarCoeffs -{} - -kEpsilonCoeffs -{} - -wallFunctionCoeffs -{ - kappa 0.4187; - E 9; -} - // ************************************************************************* // diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/controlDict b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/controlDict index ce75cc8ab..67c46e867 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/controlDict +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/controlDict @@ -20,7 +20,7 @@ startTime 0; stopAt endTime; -endTime 2000; +endTime 5000; deltaT 1; diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/decomposeParDict b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/decomposeParDict new file mode 100644 index 000000000..e46747553 --- /dev/null +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/decomposeParDict @@ -0,0 +1,27 @@ +/*--------------------------------*- C++-*-----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.7 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 1.7; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method scotch; + +distributed no; + +roots +( +); + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/fvSchemes b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/fvSchemes index 102481ca9..8ad87aa1a 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/fvSchemes +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/fvSchemes @@ -19,7 +19,7 @@ ddtSchemes default none; ddt(rho,U) steadyState; - ddt(rho,h) steadyInertial phi rho 0.25; + ddt(rho,i) steadyState; ddt(psi,p) steadyInertial phi rho 0.25; ddt(rho,k) steadyState; @@ -39,7 +39,7 @@ divSchemes { default none; div(phi,U) Gauss upwind; - div(phi,h) Gauss upwind; + div(phi,i) Gauss upwind; div(phid,p) Gauss upwind; // div(phi,U) Gauss vanLeerDC; diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/fvSolution b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/fvSolution index b7cc7e54b..9b985f11f 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/fvSolution +++ b/tutorials/compressible/steadyCompressibleMRFFoam/bentRotorStator/system/fvSolution @@ -35,8 +35,8 @@ solvers maxIter 1000; tolerance 1e-8; relTol 0.01; - }; - h + } + i { solver BiCGStab; preconditioner DILU; @@ -45,7 +45,7 @@ solvers maxIter 1000; tolerance 1e-8; relTol 0.01; - }; + } k { solver BiCGStab; @@ -55,7 +55,7 @@ solvers maxIter 1000; tolerance 1e-8; relTol 0.0; - }; + } epsilon { solver BiCGStab; @@ -65,7 +65,7 @@ solvers maxIter 1000; tolerance 1e-8; relTol 0.0; - }; + } } PIMPLE @@ -79,9 +79,10 @@ relaxationFactors { // Note: under-relaxation factors used in wave-transmissive schemes U 0.5; - p 1; + p 0.2; + i 0.1; h 0.5; - rho 0.5; + rho 0.25; k 0.2; epsilon 0.2; @@ -95,9 +96,9 @@ fieldBounds // U 1e6; // With bounding - p 50 1e6; - T 20 3000; - U 1000; + p 2e4 1e6; + T 200 500; + U 500; } // ************************************************************************* // diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/T b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/T index 495b4de57..16b8909df 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/T +++ b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/T @@ -22,24 +22,19 @@ boundaryField { inlet { - type fixedValue; + type totalTemperature; + phi phi; + rho none; + psi psi; + U U; + gamma 1.4; + T0 uniform 300; value $internalField; } outlet { -// type zeroGradient; - - type waveTransmissive; - phi phi; - rho rho; - psi psi; - U U; - gamma 1.4; - inletOutlet true; - correctSupercritical false; - lInf 0.0; - fieldInf 300; + type zeroGradient; value $internalField; } diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/U b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/U index 6d6e3e351..834f3f30c 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/U +++ b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/U @@ -16,32 +16,21 @@ FoamFile dimensions [0 1 -1 0 0 0 0]; -internalField uniform (234 0 0); +internalField uniform (100 0 0); boundaryField { inlet { - type fixedValue; - value uniform (234 0 0); + type pressureInletVelocity; + value uniform (100 0 0); } outlet { type inletOutlet; inletValue uniform (0 0 0); - -// type waveTransmissive; -// phi phi; -// rho rho; -// psi psi; -// U U; -// gamma 1.4; -// inletOutlet true; -// correctSupercritical false; -// lInf 0; -// fieldInf (0 0 0); -// value $internalField; + value $internalField; } bladeRotor diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/mut b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/mut index 3ea650604..aa94dccb5 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/mut +++ b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/mut @@ -17,47 +17,67 @@ FoamFile dimensions [1 -1 -1 0 0 0 0]; -internalField uniform 1; +internalField uniform 0; boundaryField { inlet { type calculated; + value uniform 0; } outlet { type calculated; + value uniform 0; } bladeRotor { type mutWallFunction; - value uniform 1; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; } shaftRotor { type mutWallFunction; - value uniform 1; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; } shroudRotor { type mutWallFunction; - value uniform 1; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; } bladeStator { type mutWallFunction; - value uniform 1; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; } shaftStator { type mutWallFunction; - value uniform 1; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; } shroudStator { type mutWallFunction; - value uniform 1; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; } frontAndBack { diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/p b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/p index 3ea8f19fb..857f91eae 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/p +++ b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/0/p @@ -22,35 +22,19 @@ boundaryField { inlet { - type zeroGradient; - -// type waveTransmissiveInlet; -// phi phi; -// rho rho; -// psi psi; -// U U; -// gamma 1.4; -// inletOutlet false; -// correctSupercritical false; -// lInf 0.0; -// fieldInf 101325; -// value $internalField; + type totalPressure; + phi phi; + rho none; + psi psi; + U U; + gamma 1.4; + p0 uniform 1.4e5; + value $internalField; } outlet { -// type fixedValue; - - type waveTransmissive; - phi phi; - rho rho; - psi psi; - U U; - gamma 1.4; - inletOutlet false; - correctSupercritical true; - lInf 0.1; - fieldInf 101325; + type fixedValue; value $internalField; } diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/constant/MRFZones b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/constant/MRFZones index 8b34bf477..2ee7e699d 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/constant/MRFZones +++ b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/constant/MRFZones @@ -23,7 +23,9 @@ FoamFile origin origin [0 1 0 0 0 0 0] (0 0 0); axis axis [0 0 0 0 0 0 0] (1 0 0); - omega omega [0 0 -1 0 0 0 0] 5231.25; +// omega omega [0 0 -1 0 0 0 0] 5231.25; // 50k rpm, Utip = 261 m/s + omega omega [0 0 -1 0 0 0 0] 2094.395; // 20k rpm, Utip = 100 m/s +// omega omega [0 0 -1 0 0 0 0] 523.125; // 5k rpm, utip = 25.1 m/s } ) diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/controlDict b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/controlDict index ce75cc8ab..d923236ab 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/controlDict +++ b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/controlDict @@ -14,13 +14,14 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -startFrom startTime; +startFrom latestTime; +// startFrom startTime; startTime 0; stopAt endTime; -endTime 2000; +endTime 5000; deltaT 1; diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/decomposeParDict b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/decomposeParDict new file mode 100644 index 000000000..e46747553 --- /dev/null +++ b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/decomposeParDict @@ -0,0 +1,27 @@ +/*--------------------------------*- C++-*-----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.7 | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 1.7; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 4; + +method scotch; + +distributed no; + +roots +( +); + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/fvSchemes b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/fvSchemes index 102481ca9..8ad87aa1a 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/fvSchemes +++ b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/fvSchemes @@ -19,7 +19,7 @@ ddtSchemes default none; ddt(rho,U) steadyState; - ddt(rho,h) steadyInertial phi rho 0.25; + ddt(rho,i) steadyState; ddt(psi,p) steadyInertial phi rho 0.25; ddt(rho,k) steadyState; @@ -39,7 +39,7 @@ divSchemes { default none; div(phi,U) Gauss upwind; - div(phi,h) Gauss upwind; + div(phi,i) Gauss upwind; div(phid,p) Gauss upwind; // div(phi,U) Gauss vanLeerDC; diff --git a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/fvSolution b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/fvSolution index b7cc7e54b..9b985f11f 100644 --- a/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/fvSolution +++ b/tutorials/compressible/steadyCompressibleMRFFoam/simpleRotorStator/system/fvSolution @@ -35,8 +35,8 @@ solvers maxIter 1000; tolerance 1e-8; relTol 0.01; - }; - h + } + i { solver BiCGStab; preconditioner DILU; @@ -45,7 +45,7 @@ solvers maxIter 1000; tolerance 1e-8; relTol 0.01; - }; + } k { solver BiCGStab; @@ -55,7 +55,7 @@ solvers maxIter 1000; tolerance 1e-8; relTol 0.0; - }; + } epsilon { solver BiCGStab; @@ -65,7 +65,7 @@ solvers maxIter 1000; tolerance 1e-8; relTol 0.0; - }; + } } PIMPLE @@ -79,9 +79,10 @@ relaxationFactors { // Note: under-relaxation factors used in wave-transmissive schemes U 0.5; - p 1; + p 0.2; + i 0.1; h 0.5; - rho 0.5; + rho 0.25; k 0.2; epsilon 0.2; @@ -95,9 +96,9 @@ fieldBounds // U 1e6; // With bounding - p 50 1e6; - T 20 3000; - U 1000; + p 2e4 1e6; + T 200 500; + U 500; } // ************************************************************************* //