diff --git a/applications/solvers/compressible/rhoPimpleFoam/pEqn.H b/applications/solvers/compressible/rhoPimpleFoam/pEqn.H index a4e5fa20da..e0619a513b 100644 --- a/applications/solvers/compressible/rhoPimpleFoam/pEqn.H +++ b/applications/solvers/compressible/rhoPimpleFoam/pEqn.H @@ -21,9 +21,9 @@ if (pimple.transonic()) "phid", fvc::interpolate(psi) *( - (fvc::interpolate(rho*HbyA) & mesh.Sf()) - + rhorAUf*fvc::ddtCorr(rho, U, phi) - )/fvc::interpolate(rho) + (fvc::interpolate(HbyA) & mesh.Sf()) + + rhorAUf*fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho) + ) ); fvOptions.makeRelative(fvc::interpolate(psi), phid); diff --git a/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleDyMFoam/pEqn.H b/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleDyMFoam/pEqn.H index 1c58a02c33..e9fab27bc7 100644 --- a/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleDyMFoam/pEqn.H +++ b/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleDyMFoam/pEqn.H @@ -21,9 +21,9 @@ if (pimple.transonic()) "phid", fvc::interpolate(psi) *( - (fvc::interpolate(rho*HbyA) & mesh.Sf()) - + rhorAUf*fvc::ddtCorr(rho, U, rhoUf) - )/fvc::interpolate(rho) + (fvc::interpolate(HbyA) & mesh.Sf()) + + rhorAUf*fvc::ddtCorr(rho, U, rhoUf)/fvc::interpolate(rho) + ) ); fvc::makeRelative(phid, psi, U); diff --git a/applications/solvers/compressible/rhoPimpleFoam/rhoPimplecFoam/pEqn.H b/applications/solvers/compressible/rhoPimpleFoam/rhoPimplecFoam/pEqn.H index 0503db4207..7363add2b9 100644 --- a/applications/solvers/compressible/rhoPimpleFoam/rhoPimplecFoam/pEqn.H +++ b/applications/solvers/compressible/rhoPimpleFoam/rhoPimplecFoam/pEqn.H @@ -20,9 +20,10 @@ if (pimple.transonic()) "phid", fvc::interpolate(psi) *( - (fvc::interpolate(rho*HbyA) & mesh.Sf()) + (fvc::interpolate(HbyA) & mesh.Sf()) + fvc::interpolate(rho*rAU)*fvc::ddtCorr(rho, U, phi) - )/fvc::interpolate(rho) + /fvc::interpolate(rho) + ) ); fvOptions.makeRelative(fvc::interpolate(psi), phid); diff --git a/applications/solvers/compressible/rhoSimpleFoam/pEqn.H b/applications/solvers/compressible/rhoSimpleFoam/pEqn.H index 444f5e996a..b1fc930be9 100644 --- a/applications/solvers/compressible/rhoSimpleFoam/pEqn.H +++ b/applications/solvers/compressible/rhoSimpleFoam/pEqn.H @@ -13,8 +13,7 @@ ( "phid", fvc::interpolate(psi) - *(fvc::interpolate(rho*HbyA) & mesh.Sf()) - /fvc::interpolate(rho) + *(fvc::interpolate(HbyA) & mesh.Sf()) ); fvOptions.makeRelative(fvc::interpolate(psi), phid); diff --git a/applications/solvers/compressible/rhoSimpleFoam/rhoSimplecFoam/pEqn.H b/applications/solvers/compressible/rhoSimpleFoam/rhoSimplecFoam/pEqn.H index c656b3c3d7..78878dcfaf 100644 --- a/applications/solvers/compressible/rhoSimpleFoam/rhoSimplecFoam/pEqn.H +++ b/applications/solvers/compressible/rhoSimpleFoam/rhoSimplecFoam/pEqn.H @@ -14,8 +14,7 @@ if (simple.transonic()) ( "phid", fvc::interpolate(psi) - *(fvc::interpolate(rho*HbyA) & mesh.Sf()) - /fvc::interpolate(rho) + *(fvc::interpolate(HbyA) & mesh.Sf()) ); surfaceScalarField phic diff --git a/applications/solvers/compressible/sonicFoam/pEqn.H b/applications/solvers/compressible/sonicFoam/pEqn.H index edde4b198e..022abc466a 100644 --- a/applications/solvers/compressible/sonicFoam/pEqn.H +++ b/applications/solvers/compressible/sonicFoam/pEqn.H @@ -11,9 +11,9 @@ surfaceScalarField phid "phid", fvc::interpolate(psi)* ( - (mesh.Sf() & fvc::interpolate(rho*HbyA)) - + rhorAUf*fvc::ddtCorr(rho, U, phi) - )/fvc::interpolate(rho) + (mesh.Sf() & fvc::interpolate(HbyA)) + + rhorAUf*fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho) + ) ); // Non-orthogonal pressure corrector loop diff --git a/applications/solvers/compressible/sonicFoam/sonicDyMFoam/pEqn.H b/applications/solvers/compressible/sonicFoam/sonicDyMFoam/pEqn.H index 4799f64567..b375f0e82a 100644 --- a/applications/solvers/compressible/sonicFoam/sonicDyMFoam/pEqn.H +++ b/applications/solvers/compressible/sonicFoam/sonicDyMFoam/pEqn.H @@ -12,9 +12,9 @@ surfaceScalarField phid fvc::interpolate(psi) *( ( - (fvc::interpolate(rho*HbyA) & mesh.Sf()) - + rhorAUf*fvc::ddtCorr(rho, U, rhoUf) - )/fvc::interpolate(rho) + (fvc::interpolate(HbyA) & mesh.Sf()) + + rhorAUf*fvc::ddtCorr(rho, U, rhoUf)/fvc::interpolate(rho) + ) ) ); diff --git a/applications/solvers/compressible/sonicFoam/sonicLiquidFoam/sonicLiquidFoam.C b/applications/solvers/compressible/sonicFoam/sonicLiquidFoam/sonicLiquidFoam.C index df3f3cdc61..eb0a4a0d9a 100644 --- a/applications/solvers/compressible/sonicFoam/sonicLiquidFoam/sonicLiquidFoam.C +++ b/applications/solvers/compressible/sonicFoam/sonicLiquidFoam/sonicLiquidFoam.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -89,9 +89,9 @@ int main(int argc, char *argv[]) "phid", psi *( - (fvc::interpolate(rho*U) & mesh.Sf()) - + rhorAUf*fvc::ddtCorr(rho, U, phi) - )/fvc::interpolate(rho) + (fvc::interpolate(U) & mesh.Sf()) + + rhorAUf*fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho) + ) ); phi = (rhoO/psi)*phid; diff --git a/applications/solvers/lagrangian/DPMFoam/DPMFoam.C b/applications/solvers/lagrangian/DPMFoam/DPMFoam.C index 513c123ddf..ee8ff02742 100644 --- a/applications/solvers/lagrangian/DPMFoam/DPMFoam.C +++ b/applications/solvers/lagrangian/DPMFoam/DPMFoam.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -26,7 +26,7 @@ Application Description Transient solver for the coupled transport of a single kinematic particle - could including the effect of the volume fraction of particles on the + cloud including the effect of the volume fraction of particles on the continuous phase. \*---------------------------------------------------------------------------*/ diff --git a/applications/solvers/lagrangian/DPMFoam/MPPICFoam/MPPICFoam.C b/applications/solvers/lagrangian/DPMFoam/MPPICFoam/MPPICFoam.C index 5a036f8f50..69048cf5a6 100644 --- a/applications/solvers/lagrangian/DPMFoam/MPPICFoam/MPPICFoam.C +++ b/applications/solvers/lagrangian/DPMFoam/MPPICFoam/MPPICFoam.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -26,7 +26,7 @@ Application Description Transient solver for the coupled transport of a single kinematic particle - could including the effect of the volume fraction of particles on the + cloud including the effect of the volume fraction of particles on the continuous phase. Multi-Phase Particle In Cell (MPPIC) modeling is used to represent collisions without resolving particle-particle interactions. diff --git a/applications/solvers/multiphase/interFoam/createFields.H b/applications/solvers/multiphase/interFoam/createFields.H index 00a7d12db6..1c91f280bc 100644 --- a/applications/solvers/multiphase/interFoam/createFields.H +++ b/applications/solvers/multiphase/interFoam/createFields.H @@ -56,8 +56,6 @@ // Mass flux - // Initialisation does not matter because rhoPhi is reset after the - // alpha1 solution before it is used in the U equation. surfaceScalarField rhoPhi ( IOobject @@ -68,8 +66,7 @@ IOobject::NO_READ, IOobject::NO_WRITE ), - mesh, - dimensionedScalar("0", dimMass/dimTime, 0) + fvc::interpolate(rho)*phi ); diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Ergun/Ergun.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Ergun/Ergun.C index 6c0fcbecec..2e7d971679 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Ergun/Ergun.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Ergun/Ergun.C @@ -60,20 +60,16 @@ Foam::dragModels::Ergun::~Ergun() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -Foam::tmp Foam::dragModels::Ergun::Cd() const +Foam::tmp Foam::dragModels::Ergun::CdRe() const { return (4/3) *( 150 - *max(pair_.dispersed(), residualAlpha_) - *pair_.continuous().nu() - /( - max(scalar(1) - pair_.dispersed(), residualAlpha_) - *pair_.dispersed().d() - *max(pair_.magUr(), residualSlip_) - ) + *max(scalar(1) - pair_.continuous(), residualAlpha_) + /max(pair_.continuous(), residualAlpha_) + 1.75 + *pair_.Re() ); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Ergun/Ergun.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Ergun/Ergun.H index f8f29a8482..89e47dbb63 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Ergun/Ergun.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Ergun/Ergun.H @@ -82,7 +82,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; }; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Gibilaro/Gibilaro.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Gibilaro/Gibilaro.C index daaaf0bdc4..51e28ffdfb 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Gibilaro/Gibilaro.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Gibilaro/Gibilaro.C @@ -48,8 +48,7 @@ Foam::dragModels::Gibilaro::Gibilaro const bool registerObject ) : - dragModel(dict, pair, registerObject), - residualRe_("residualRe", dimless, dict.lookup("residualRe")) + dragModel(dict, pair, registerObject) {} @@ -61,13 +60,13 @@ Foam::dragModels::Gibilaro::~Gibilaro() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -Foam::tmp Foam::dragModels::Gibilaro::Cd() const +Foam::tmp Foam::dragModels::Gibilaro::CdRe() const { volScalarField alpha2(max(scalar(1) - pair_.dispersed(), residualAlpha_)); return (4/3) - *(17.3/(alpha2*max(pair_.Re(), residualRe_)) + scalar(0.336)) + *(17.3/alpha2 + 0.336*pair_.Re()) *max(pair_.continuous(), residualAlpha_) *pow(alpha2, -2.8); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Gibilaro/Gibilaro.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Gibilaro/Gibilaro.H index c2e103e911..6b1d3ede03 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Gibilaro/Gibilaro.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/Gibilaro/Gibilaro.H @@ -58,14 +58,6 @@ class Gibilaro : public dragModel { -private: - - // Private data - - //- Residual Reynolds number - const dimensionedScalar residualRe_; - - public: //- Runtime type information @@ -90,7 +82,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; }; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C index 9eb46e5060..ed8a871416 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C @@ -68,8 +68,7 @@ Foam::dragModels::GidaspowErgunWenYu::GidaspowErgunWenYu pair, false ) - ), - residualRe_("residualRe", dimless, dict.lookup("residualRe")) + ) {} @@ -82,11 +81,11 @@ Foam::dragModels::GidaspowErgunWenYu::~GidaspowErgunWenYu() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // Foam::tmp -Foam::dragModels::GidaspowErgunWenYu::Cd() const +Foam::dragModels::GidaspowErgunWenYu::CdRe() const { return - pos(pair_.continuous() - 0.8)*WenYu_->Cd() - + neg(pair_.continuous() - 0.8)*Ergun_->Cd(); + pos(pair_.continuous() - 0.8)*WenYu_->CdRe() + + neg(pair_.continuous() - 0.8)*Ergun_->CdRe(); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.H index e29bc28dcb..4bc2666d9d 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.H @@ -69,9 +69,6 @@ private: //- Wen Yu drag model autoPtr WenYu_; - //- Residual Reynolds number - const dimensionedScalar residualRe_; - public: @@ -97,7 +94,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; }; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.C index ce35a4ac25..0571242d55 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.C @@ -62,18 +62,18 @@ Foam::dragModels::GidaspowSchillerNaumann::~GidaspowSchillerNaumann() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // Foam::tmp -Foam::dragModels::GidaspowSchillerNaumann::Cd() const +Foam::dragModels::GidaspowSchillerNaumann::CdRe() const { volScalarField alpha2(max(scalar(1) - pair_.dispersed(), residualAlpha_)); - volScalarField Re(max(alpha2*pair_.Re(), residualRe_)); - volScalarField Cds + volScalarField Re(alpha2*pair_.Re()); + volScalarField CdsRe ( - neg(Re - 1000)*(24.0*(1.0 + 0.15*pow(Re, 0.687))/Re) - + pos(Re - 1000)*0.44 + neg(Re - 1000)*24.0*(1.0 + 0.15*pow(Re, 0.687))/alpha2 + + pos(Re - 1000)*0.44*max(Re, residualRe_) ); return - Cds + CdsRe *pow(alpha2, -2.65) *max(pair_.continuous(), residualAlpha_); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.H index b14ccf06b6..f89d15d076 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.H @@ -69,7 +69,7 @@ private: // Private data - //- Residual Reynolds number + //- Residual Reynolds Number const dimensionedScalar residualRe_; @@ -97,7 +97,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; }; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SchillerNaumann/SchillerNaumann.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SchillerNaumann/SchillerNaumann.C index 5504d1a523..2d4a654030 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SchillerNaumann/SchillerNaumann.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SchillerNaumann/SchillerNaumann.C @@ -61,13 +61,13 @@ Foam::dragModels::SchillerNaumann::~SchillerNaumann() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -Foam::tmp Foam::dragModels::SchillerNaumann::Cd() const +Foam::tmp Foam::dragModels::SchillerNaumann::CdRe() const { - volScalarField Re(pair_.Re() + residualRe_); + volScalarField Re(pair_.Re()); return - neg(Re - 1000)*(24.0*(1.0 + 0.15*pow(Re, 0.687))/Re) - + pos(Re - 1000)*0.44; + neg(Re - 1000)*24.0*(1.0 + 0.15*pow(Re, 0.687)) + + pos(Re - 1000)*0.44*max(Re, residualRe_); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SchillerNaumann/SchillerNaumann.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SchillerNaumann/SchillerNaumann.H index 21d13358ca..e3c6175b63 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SchillerNaumann/SchillerNaumann.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SchillerNaumann/SchillerNaumann.H @@ -58,7 +58,7 @@ private: // Private data - //- Residual Reynolds number + //- Residual Reynolds Number const dimensionedScalar residualRe_; @@ -86,7 +86,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; }; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SyamlalOBrien/SyamlalOBrien.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SyamlalOBrien/SyamlalOBrien.C index fbf839178f..86f38db155 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SyamlalOBrien/SyamlalOBrien.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SyamlalOBrien/SyamlalOBrien.C @@ -48,8 +48,7 @@ Foam::dragModels::SyamlalOBrien::SyamlalOBrien const bool registerObject ) : - dragModel(dict, pair, registerObject), - residualRe_("residualRe", dimless, dict.lookup("residualRe")) + dragModel(dict, pair, registerObject) {} @@ -61,17 +60,16 @@ Foam::dragModels::SyamlalOBrien::~SyamlalOBrien() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -Foam::tmp Foam::dragModels::SyamlalOBrien::Cd() const +Foam::tmp Foam::dragModels::SyamlalOBrien::CdRe() const { volScalarField alpha2(max(scalar(1) - pair_.dispersed(), residualAlpha_)); - volScalarField magUr(max(pair_.magUr(), residualSlip_)); volScalarField A(pow(alpha2, 4.14)); volScalarField B ( neg(alpha2 - 0.85)*(0.8*pow(alpha2, 1.28)) + pos(alpha2 - 0.85)*(pow(alpha2, 2.65)) ); - volScalarField Re(max(pair_.Re(), residualRe_)); + volScalarField Re(pair_.Re()); volScalarField Vr ( 0.5 @@ -79,10 +77,10 @@ Foam::tmp Foam::dragModels::SyamlalOBrien::Cd() const A - 0.06*Re + sqrt(sqr(0.06*Re) + 0.12*Re*(2.0*B - A) + sqr(A)) ) ); - volScalarField Cds(sqr(0.63 + 4.8*sqrt(Vr/Re))); + volScalarField CdsRe(sqr(0.63*sqrt(Re) + 4.8*sqrt(Vr))); return - Cds + CdsRe *max(pair_.continuous(), residualAlpha_) /sqr(Vr); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SyamlalOBrien/SyamlalOBrien.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SyamlalOBrien/SyamlalOBrien.H index 4902997245..0b45dc9421 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SyamlalOBrien/SyamlalOBrien.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/SyamlalOBrien/SyamlalOBrien.H @@ -57,14 +57,6 @@ class SyamlalOBrien : public dragModel { -private: - - // Private data - - //- Residual Reynolds number - const dimensionedScalar residualRe_; - - public: //- Runtime type information @@ -89,7 +81,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; }; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaAnalytic/TomiyamaAnalytic.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaAnalytic/TomiyamaAnalytic.C index 21a48c6673..0531e30bf0 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaAnalytic/TomiyamaAnalytic.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaAnalytic/TomiyamaAnalytic.C @@ -49,6 +49,7 @@ Foam::dragModels::TomiyamaAnalytic::TomiyamaAnalytic ) : dragModel(dict, pair, registerObject), + residualRe_("residualRe", dimless, dict.lookup("residualRe")), residualEo_("residualEo", dimless, dict.lookup("residualEo")), residualE_("residualE", dimless, dict.lookup("residualE")) {} @@ -62,7 +63,8 @@ Foam::dragModels::TomiyamaAnalytic::~TomiyamaAnalytic() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -Foam::tmp Foam::dragModels::TomiyamaAnalytic::Cd() const +Foam::tmp +Foam::dragModels::TomiyamaAnalytic::CdRe() const { volScalarField Eo(max(pair_.Eo(), residualEo_)); volScalarField E(max(pair_.E(), residualE_)); @@ -73,12 +75,14 @@ Foam::tmp Foam::dragModels::TomiyamaAnalytic::Cd() const volScalarField F((asin(rtOmEsq) - E*rtOmEsq)/OmEsq); return - (8.0/3.0)*Eo + (8.0/3.0) + *Eo /( Eo*pow(E, 2.0/3.0)/OmEsq + 16*pow(E, 0.75) ) - /sqr(F); + /sqr(F) + *max(pair_.Re(), residualRe_); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaAnalytic/TomiyamaAnalytic.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaAnalytic/TomiyamaAnalytic.H index 6c5b72fdca..237f6e9447 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaAnalytic/TomiyamaAnalytic.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaAnalytic/TomiyamaAnalytic.H @@ -68,6 +68,9 @@ private: // Private data + //- Residual Reynolds Number + const dimensionedScalar residualRe_; + //- Residual Eotvos number const dimensionedScalar residualEo_; @@ -99,7 +102,7 @@ public: // Member Functions // Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; }; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaCorrelated/TomiyamaCorrelated.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaCorrelated/TomiyamaCorrelated.C index d01af7ac9d..50fdc667f0 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaCorrelated/TomiyamaCorrelated.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaCorrelated/TomiyamaCorrelated.C @@ -49,7 +49,6 @@ Foam::dragModels::TomiyamaCorrelated::TomiyamaCorrelated ) : dragModel(dict, pair, registerObject), - residualRe_("residualRe", dimless, dict.lookup("residualRe")), A_("A", dimless, dict.lookup("A")) {} @@ -63,21 +62,21 @@ Foam::dragModels::TomiyamaCorrelated::~TomiyamaCorrelated() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // Foam::tmp -Foam::dragModels::TomiyamaCorrelated::Cd() const +Foam::dragModels::TomiyamaCorrelated::CdRe() const { - volScalarField Re(pair_.Re() + residualRe_); + volScalarField Re(pair_.Re()); volScalarField Eo(pair_.Eo()); return max ( - A_/Re + A_ *min ( (1 + 0.15*pow(Re, 0.687)), scalar(3) ), - 8*Eo/(3*Eo + 12) + 8*Eo*Re/(3*Eo + 12) ); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaCorrelated/TomiyamaCorrelated.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaCorrelated/TomiyamaCorrelated.H index c779d3262e..f3b37e121d 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaCorrelated/TomiyamaCorrelated.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/TomiyamaCorrelated/TomiyamaCorrelated.H @@ -68,9 +68,6 @@ private: // Private data - //- Residual Reynolds number - const dimensionedScalar residualRe_; - //- Coefficient const dimensionedScalar A_; @@ -99,7 +96,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; }; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/WenYu/WenYu.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/WenYu/WenYu.C index 41aeb231d6..34eab7db37 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/WenYu/WenYu.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/WenYu/WenYu.C @@ -61,18 +61,18 @@ Foam::dragModels::WenYu::~WenYu() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -Foam::tmp Foam::dragModels::WenYu::Cd() const +Foam::tmp Foam::dragModels::WenYu::CdRe() const { volScalarField alpha2(max(scalar(1) - pair_.dispersed(), residualAlpha_)); - volScalarField Re(max(pair_.Re(), residualRe_)); - volScalarField Cds + volScalarField Re(pair_.Re()); + volScalarField CdsRe ( - neg(Re - 1000)*(24.0*(1.0 + 0.15*pow(Re, 0.687))/Re) - + pos(Re - 1000)*0.44 + neg(Re - 1000)*24.0*(1.0 + 0.15*pow(Re, 0.687)) + + pos(Re - 1000)*0.44*max(Re, residualRe_) ); return - Cds + CdsRe *pow(alpha2, -2.65) *max(pair_.continuous(), residualAlpha_); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/WenYu/WenYu.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/WenYu/WenYu.H index 48df2ae526..da3cac2cfc 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/WenYu/WenYu.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/WenYu/WenYu.H @@ -72,7 +72,7 @@ private: // Private data - //- Residual Reynolds number + //- Residual Reynolds Number const dimensionedScalar residualRe_; @@ -100,7 +100,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; }; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/dragModel.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/dragModel.C index 754931df12..ce2a53a0bf 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/dragModel.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/dragModel.C @@ -90,8 +90,7 @@ Foam::dragModel::dragModel pair ) ), - residualAlpha_("residualAlpha", dimless, dict.lookup("residualAlpha")), - residualSlip_("residualSlip", dimVelocity, dict.lookup("residualSlip")) + residualAlpha_("residualAlpha", dimless, dict.lookup("residualAlpha")) {} @@ -107,14 +106,14 @@ Foam::tmp Foam::dragModel::K() const { return 0.75 - *Cd() + *CdRe() *swarmCorrection_->Cs() *pair_.continuous().rho() + *pair_.continuous().nu() /( max(pair_.continuous(), residualAlpha_) - *pair_.dispersed().d() - ) - *max(pair_.magUr(), residualSlip_); + *sqr(pair_.dispersed().d()) + ); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/dragModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/dragModel.H index ef0462e735..954d60c396 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/dragModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/dragModel.H @@ -68,9 +68,6 @@ protected: //- Residual phase fraction const dimensionedScalar residualAlpha_; - //- Residual slip velocity - const dimensionedScalar residualSlip_; - public: @@ -134,7 +131,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const = 0; + virtual tmp CdRe() const = 0; //- The drag function K used in the momentum equation // ddt(alpha1*rho1*U1) + ... = ... alpha1*alpha2*K*(U1-U2) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/noDrag/noDrag.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/noDrag/noDrag.C index f57979c349..d955c9e796 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/noDrag/noDrag.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/noDrag/noDrag.C @@ -60,7 +60,7 @@ Foam::dragModels::noDrag::~noDrag() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -Foam::tmp Foam::dragModels::noDrag::Cd() const +Foam::tmp Foam::dragModels::noDrag::CdRe() const { const fvMesh& mesh(this->pair_.phase1().mesh()); @@ -84,7 +84,7 @@ Foam::tmp Foam::dragModels::noDrag::Cd() const Foam::tmp Foam::dragModels::noDrag::K() const { - return Cd()*dimensionedScalar("zero", dimensionSet(1, -3, -1, 0, 0), 0); + return CdRe()*dimensionedScalar("zero", dimensionSet(1, -3, -1, 0, 0), 0); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/noDrag/noDrag.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/noDrag/noDrag.H index 74c30e6745..b24267ee1b 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/noDrag/noDrag.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/noDrag/noDrag.H @@ -78,7 +78,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; //- The drag function used in the momentum equation virtual tmp K() const; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/segregated/segregated.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/segregated/segregated.C index 08b59fbf6b..92b82e537d 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/segregated/segregated.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/segregated/segregated.C @@ -50,7 +50,6 @@ Foam::dragModels::segregated::segregated ) : dragModel(dict, pair, registerObject), - residualRe_("residualRe", dimless, dict.lookup("residualRe")), m_("m", dimless, dict.lookup("m")), n_("n", dimless, dict.lookup("n")) {} @@ -64,9 +63,9 @@ Foam::dragModels::segregated::~segregated() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -Foam::tmp Foam::dragModels::segregated::Cd() const +Foam::tmp Foam::dragModels::segregated::CdRe() const { - FatalErrorIn("Foam::dragModels::segregated::Cd() const") + FatalErrorIn("Foam::dragModels::segregated::CdRe() const") << "Not implemented." << "Drag coefficient not defined for the segregated model." << exit(FatalError); @@ -137,16 +136,12 @@ Foam::tmp Foam::dragModels::segregated::K() const volScalarField ReI ( - max - ( - pair_.rho() - *pair_.magUr() - /( - magGradI - *max(alpha1*alpha2, sqr(residualAlpha_)) - *muI - ), - residualRe_ + pair_.rho() + *pair_.magUr() + /( + magGradI + *max(alpha1*alpha2, sqr(residualAlpha_)) + *muI ) ); diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/segregated/segregated.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/segregated/segregated.H index 1b68d94d25..13bf2a4d10 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/segregated/segregated.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/segregated/segregated.H @@ -66,9 +66,6 @@ private: // Private data - //- Residual reynolds number - const dimensionedScalar residualRe_; - //- M coefficient const dimensionedScalar m_; @@ -100,7 +97,7 @@ public: // Member Functions //- Drag coefficient - virtual tmp Cd() const; + virtual tmp CdRe() const; //- The drag function used in the momentum equation virtual tmp K() const; diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/heatTransferModels/RanzMarshall/RanzMarshall.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/heatTransferModels/RanzMarshall/RanzMarshall.C index 019926b34b..1dd2127338 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/heatTransferModels/RanzMarshall/RanzMarshall.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/heatTransferModels/RanzMarshall/RanzMarshall.C @@ -47,8 +47,7 @@ Foam::heatTransferModels::RanzMarshall::RanzMarshall const phasePair& pair ) : - heatTransferModel(dict, pair), - residualRe_("residualRe", dimless, dict.lookup("residualRe")) + heatTransferModel(dict, pair) {} @@ -63,8 +62,7 @@ Foam::heatTransferModels::RanzMarshall::~RanzMarshall() Foam::tmp Foam::heatTransferModels::RanzMarshall::K() const { - volScalarField Re(pair_.Re() + residualRe_); - volScalarField Nu(scalar(2) + 0.6*sqrt(Re)*cbrt(pair_.Pr())); + volScalarField Nu(scalar(2) + 0.6*pair_.Re()*cbrt(pair_.Pr())); return 6.0*pair_.continuous().kappa()*Nu/sqr(pair_.dispersed().d()); } diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/heatTransferModels/RanzMarshall/RanzMarshall.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/heatTransferModels/RanzMarshall/RanzMarshall.H index 0188d2e210..a52ff75b79 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/heatTransferModels/RanzMarshall/RanzMarshall.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/heatTransferModels/RanzMarshall/RanzMarshall.H @@ -54,14 +54,6 @@ class RanzMarshall : public heatTransferModel { -private: - - // Private data - - //- Residual Reynolds number - const dimensionedScalar residualRe_; - - public: //- Runtime type information diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/Gosman/Gosman.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/Gosman/Gosman.C index 33a144df68..eccbf4e3f0 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/Gosman/Gosman.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/Gosman/Gosman.C @@ -84,12 +84,12 @@ Foam::turbulentDispersionModels::Gosman::F() const return - 0.75 - *drag.Cd() + *drag.CdRe() + *pair_.continuous().nu() *pair_.continuous().turbulence().nut() - *pair_.magUr() /( sigma_ - *pair_.dispersed().d() + *sqr(pair_.dispersed().d()) ) *pair_.continuous().rho() *fvc::grad(pair_.dispersed()); diff --git a/src/OpenFOAM/matrices/solution/solution.C b/src/OpenFOAM/matrices/solution/solution.C index ace5564e97..f3251d3c50 100644 --- a/src/OpenFOAM/matrices/solution/solution.C +++ b/src/OpenFOAM/matrices/solution/solution.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -35,7 +35,7 @@ License namespace Foam { -defineDebugSwitchWithName(solution, "solution", 0); + defineDebugSwitchWithName(solution, "solution", 0); } // List of sub-dictionaries to rewrite @@ -60,10 +60,17 @@ void Foam::solution::read(const dictionary& dict) if (dict.found("relaxationFactors")) { const dictionary& relaxDict(dict.subDict("relaxationFactors")); - if (relaxDict.found("fields")) + if (relaxDict.found("fields") || relaxDict.found("equations")) { - fieldRelaxDict_ = relaxDict.subDict("fields"); - eqnRelaxDict_ = relaxDict.subDict("equations"); + if (relaxDict.found("fields")) + { + fieldRelaxDict_ = relaxDict.subDict("fields"); + } + + if (relaxDict.found("equations")) + { + eqnRelaxDict_ = relaxDict.subDict("equations"); + } } else { diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.C index 137339e631..927c0e80b7 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -98,6 +98,22 @@ Foam::processorCyclicPolyPatch::processorCyclicPolyPatch {} +Foam::processorCyclicPolyPatch::processorCyclicPolyPatch +( + const processorCyclicPolyPatch& pp, + const polyBoundaryMesh& bm, + const label index, + const label newSize, + const label newStart +) +: + processorPolyPatch(pp, bm, index, newSize, newStart), + referPatchName_(pp.referPatchName_), + tag_(pp.tag()), + referPatchID_(-1) +{} + + Foam::processorCyclicPolyPatch::processorCyclicPolyPatch ( const processorCyclicPolyPatch& pp, diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.H index 76a833ba61..2bfc2c9830 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.H +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processorCyclic/processorCyclicPolyPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -145,6 +145,17 @@ public: //- Construct as given the original patch and resetting the // face list and boundary mesh information processorCyclicPolyPatch + ( + const processorCyclicPolyPatch& pp, + const polyBoundaryMesh& bm, + const label index, + const label newSize, + const label newStart + ); + + //- Construct as given the original patch and resetting the + // face list, boundary mesh information and referPatch + processorCyclicPolyPatch ( const processorCyclicPolyPatch& pp, const polyBoundaryMesh& bm, @@ -171,6 +182,29 @@ public: return autoPtr(new processorCyclicPolyPatch(*this, bm)); } + //- Construct and return a clone, resetting the face list + // and boundary mesh + virtual autoPtr clone + ( + const polyBoundaryMesh& bm, + const label index, + const label newSize, + const label newStart + ) const + { + return autoPtr + ( + new processorCyclicPolyPatch + ( + *this, + bm, + index, + newSize, + newStart + ) + ); + } + //- Construct and return a clone, resetting the face list // and boundary mesh virtual autoPtr clone diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/symmetryPlane/symmetryPlanePolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/symmetryPlane/symmetryPlanePolyPatch.C index d3c78904b9..63268e6832 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/symmetryPlane/symmetryPlanePolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/symmetryPlane/symmetryPlanePolyPatch.C @@ -42,29 +42,38 @@ namespace Foam void Foam::symmetryPlanePolyPatch::calcGeometry(PstreamBuffers&) { - if (returnReduce(size(), sumOp