diff --git a/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/0/alphas b/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/0/alphas index fc0a0cff8050245fabdf0c455763851e64ea964d..833c25f0343a06eeeef3bff3b080a24ed20b17bf 100644 --- a/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/0/alphas +++ b/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/0/alphas @@ -17,7 +17,7 @@ FoamFile dimensions [0 0 0 0 0 0 0]; -internalField nonuniform List<scalar> +internalField nonuniform List<scalar> 1875 ( 1 diff --git a/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/system/fvSchemes b/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/system/fvSchemes index fe3f1e6de4afff5982c91e96c97bfd91ee58819e..feb67860ae39c145326f42328e8989a75d8bf8d5 100644 --- a/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/system/fvSchemes +++ b/tutorials/multiphase/multiphaseEulerFoam/bubbleColumn/system/fvSchemes @@ -29,8 +29,8 @@ divSchemes { default none; - div(phi,alpha) Gauss upwind; //limitedLinear01 1; - div(phirb,alpha) Gauss upwind; + "div\(phi,alpha.*\)" Gauss vanLeer; + "div\(phir,alpha.*,alpha.*\)" Gauss vanLeer; "div\(phiAlpha.*,U.*\)" Gauss limitedLinearV 1; div(Rc) Gauss linear; @@ -39,7 +39,7 @@ divSchemes laplacianSchemes { - default Gauss linear uncorrected; + default Gauss linear corrected; } interpolationSchemes @@ -49,7 +49,7 @@ interpolationSchemes snGradSchemes { - default uncorrected; + default corrected; } fluxRequired diff --git a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/0.org/p b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/0.org/p index 318a5d779cdb926978cd606c834cb30075af33d5..7d12a339569a8ca8a9ef78453ef2963f94f5fba0 100644 --- a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/0.org/p +++ b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/0.org/p @@ -22,25 +22,25 @@ boundaryField { leftWall { - type buoyantPressure; + type multiphaseFixedFluxPressure; value uniform 0; } rightWall { - type buoyantPressure; + type multiphaseFixedFluxPressure; value uniform 0; } lowerWall { - type buoyantPressure; + type multiphaseFixedFluxPressure; value uniform 0; } atmosphere { - type fixedValue; //totalPressure; + type totalPressure; p0 uniform 0; U Uair; phi phiair; diff --git a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/system/fvSchemes b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/system/fvSchemes index cd9e871aaf7945c654dcd8e9c0a08d245b1b6cde..5a4bb79d9628ec2e14f036974ba794d9b805986f 100644 --- a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/system/fvSchemes +++ b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/system/fvSchemes @@ -27,12 +27,12 @@ gradSchemes divSchemes { - div(phi,alpha) Gauss vanLeer; - div(phirb,alpha) Gauss vanLeer; + "div\(phi,alpha.*\)" Gauss vanLeer; + "div\(phir,alpha.*,alpha.*\)" Gauss vanLeer; - "div\(phiAlpha.*,U.*\)" Gauss upwind; + "div\(phiAlpha.*,U.*\)" Gauss limitedLinearV 1; div(Rc) Gauss linear; - "div\(phi.*,U.*\)" Gauss upwind; + "div\(phi.*,U.*\)" Gauss limitedLinearV 1; } laplacianSchemes