diff --git a/applications/solvers/multiphase/compressibleInterFoam/alphaSuSp.H b/applications/solvers/multiphase/compressibleInterFoam/alphaSuSp.H index 1e5fa3de4b..9fdbdedcd7 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/alphaSuSp.H +++ b/applications/solvers/multiphase/compressibleInterFoam/alphaSuSp.H @@ -1,41 +1,40 @@ -volScalarField::Internal Sp +tmp Sp ( - IOobject + volScalarField::Internal::New ( "Sp", - runTime.timeName(), - mesh - ), - mesh, - dimensionedScalar(dgdt.dimensions(), 0) + mesh, + dimensionedScalar(dgdt.dimensions(), 0) + ) ); -volScalarField::Internal Su +tmp Su ( - IOobject + volScalarField::Internal::New ( "Su", - runTime.timeName(), - mesh - ), - mesh, - dimensionedScalar(dgdt.dimensions(), 0) + mesh, + dimensionedScalar(dgdt.dimensions(), 0) + ) ); +volScalarField::Internal& SpRef = Sp.ref(); +volScalarField::Internal& SuRef = Su.ref(); + forAll(dgdt, celli) { if (dgdt[celli] > 0.0) { - Sp[celli] -= dgdt[celli]/max(1.0 - alpha1[celli], 1e-4); - Su[celli] += dgdt[celli]/max(1.0 - alpha1[celli], 1e-4); + SpRef[celli] -= dgdt[celli]/max(1.0 - alpha1[celli], 1e-4); + SuRef[celli] += dgdt[celli]/max(1.0 - alpha1[celli], 1e-4); } else if (dgdt[celli] < 0.0) { - Sp[celli] += dgdt[celli]/max(alpha1[celli], 1e-4); + SpRef[celli] += dgdt[celli]/max(alpha1[celli], 1e-4); } } -volScalarField::Internal divU +tmp divU ( mesh.moving() ? fvc::div(phiCN() + mesh.phi()) diff --git a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFoam.C b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFoam.C index 8fcd8de136..3446558d10 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFoam.C +++ b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFoam.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -77,11 +77,6 @@ int main(int argc, char *argv[]) { #include "readDyMControls.H" - // Store divU from the previous mesh so that it can be mapped - // and used in correctPhi to ensure the corrected phi has the - // same divergence - volScalarField divU("divU0", fvc::div(fvc::absolute(phi, U))); - if (LTS) { #include "setRDeltaT.H" @@ -102,6 +97,20 @@ int main(int argc, char *argv[]) { if (pimple.firstPimpleIter() || moveMeshOuterCorrectors) { + // Store divU from the previous mesh so that it can be mapped + // and used in correctPhi to ensure the corrected phi has the + // same divergence + tmp divU; + + if (correctPhi) + { + divU = volScalarField::New + ( + "divU0", + fvc::div(fvc::absolute(phi, U)) + ); + } + mesh.update(); if (mesh.changing()) @@ -130,9 +139,9 @@ int main(int argc, char *argv[]) #include "meshCourantNo.H" } } - } - divU = fvc::div(fvc::absolute(phi, U)); + divU.clear(); + } #include "alphaControls.H" #include "compressibleAlphaEqnSubCycle.H" diff --git a/applications/solvers/multiphase/compressibleInterFoam/correctPhi.H b/applications/solvers/multiphase/compressibleInterFoam/correctPhi.H index 5f3dac0830..97720389b7 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/correctPhi.H +++ b/applications/solvers/multiphase/compressibleInterFoam/correctPhi.H @@ -3,8 +3,8 @@ CorrectPhi U, phi, p, - dimensionedScalar("rAUf", dimTime/rho.dimensions(), 1), - divU, + surfaceScalarField("rAUf", fvc::interpolate(rAU())), + divU(), pimple, true ); diff --git a/applications/solvers/multiphase/compressibleInterFoam/createFieldRefs.H b/applications/solvers/multiphase/compressibleInterFoam/createFieldRefs.H index 7d6360ce52..44f126f853 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/createFieldRefs.H +++ b/applications/solvers/multiphase/compressibleInterFoam/createFieldRefs.H @@ -7,3 +7,5 @@ volScalarField& p = mixture.p(); volScalarField& T = mixture.T(); const volScalarField& psi1 = mixture.thermo1().psi(); const volScalarField& psi2 = mixture.thermo2().psi(); + +tmp rAU; diff --git a/applications/solvers/multiphase/compressibleInterFoam/pEqn.H b/applications/solvers/multiphase/compressibleInterFoam/pEqn.H index a9535a3e21..b568e10816 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/pEqn.H +++ b/applications/solvers/multiphase/compressibleInterFoam/pEqn.H @@ -1,12 +1,20 @@ { - volScalarField rAU("rAU", 1.0/UEqn.A()); - surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU)); - volVectorField HbyA(constrainHbyA(rAU*UEqn.H(), U, p_rgh)); + if (correctPhi) + { + rAU.ref() = 1.0/UEqn.A(); + } + else + { + rAU = 1.0/UEqn.A(); + } + + surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU())); + volVectorField HbyA(constrainHbyA(rAU()*UEqn.H(), U, p_rgh)); surfaceScalarField phiHbyA ( "phiHbyA", fvc::flux(HbyA) - + MRF.zeroFilter(fvc::interpolate(rho*rAU)*fvc::ddtCorr(U, phi, Uf)) + + MRF.zeroFilter(fvc::interpolate(rho*rAU())*fvc::ddtCorr(U, phi, Uf)) ); MRF.makeRelative(phiHbyA); @@ -138,7 +146,7 @@ phi = phiHbyA + p_rghEqnIncomp.flux(); U = HbyA - + rAU*fvc::reconstruct((phig + p_rghEqnIncomp.flux())/rAUf); + + rAU()*fvc::reconstruct((phig + p_rghEqnIncomp.flux())/rAUf); U.correctBoundaryConditions(); fvOptions.correct(U); } diff --git a/applications/solvers/multiphase/interFoam/Make/options b/applications/solvers/multiphase/interFoam/Make/options index a82a8a5682..126aa11a65 100644 --- a/applications/solvers/multiphase/interFoam/Make/options +++ b/applications/solvers/multiphase/interFoam/Make/options @@ -4,6 +4,7 @@ EXE_INC = \ -I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/incompressibleTwoPhaseMixture/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude \ + -I$(LIB_SRC)/twoPhaseModels/twoPhaseChange/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ @@ -13,6 +14,7 @@ EXE_INC = \ EXE_LIBS = \ -limmiscibleIncompressibleTwoPhaseMixture \ + -ltwoPhaseChangeModels \ -lmomentumTransportModels \ -lincompressibleMomentumTransportModels \ -lfiniteVolume \ diff --git a/applications/solvers/multiphase/interFoam/UEqn.H b/applications/solvers/multiphase/interFoam/UEqn.H index d6ce1ed4df..03559daae4 100644 --- a/applications/solvers/multiphase/interFoam/UEqn.H +++ b/applications/solvers/multiphase/interFoam/UEqn.H @@ -6,7 +6,8 @@ + MRF.DDt(rho, U) + turbulence->divDevTau(rho, U) == - fvOptions(rho, U) + phaseChange.SU(rho, rhoPhi, U) + + fvOptions(rho, U) ); UEqn.relax(); diff --git a/applications/solvers/multiphase/interFoam/alphaSuSp.H b/applications/solvers/multiphase/interFoam/alphaSuSp.H index 0b8e05e187..feea4e84df 100644 --- a/applications/solvers/multiphase/interFoam/alphaSuSp.H +++ b/applications/solvers/multiphase/interFoam/alphaSuSp.H @@ -1,3 +1,19 @@ -zeroField Su; -zeroField Sp; -zeroField divU; +// Phase change alpha1 source +Pair> phaseChangeS +( + phaseChange.Salpha(alpha1) +); +const tmp& Su = phaseChangeS[0]; +const tmp& Sp = phaseChangeS[1]; + +tmp divU; + +if (Sp.valid()) +{ + divU = + ( + mesh.moving() + ? fvc::div(phiCN() + mesh.phi()) + : fvc::div(phiCN()) + ); +} diff --git a/applications/solvers/multiphase/interFoam/correctPhi.H b/applications/solvers/multiphase/interFoam/correctPhi.H index 89d8dd51f2..3c4d320762 100644 --- a/applications/solvers/multiphase/interFoam/correctPhi.H +++ b/applications/solvers/multiphase/interFoam/correctPhi.H @@ -1,12 +1,28 @@ -CorrectPhi -( - U, - phi, - p_rgh, - surfaceScalarField("rAUf", fvc::interpolate(rAU())), - geometricZeroField(), - pimple, - true -); +if (divU.valid()) +{ + CorrectPhi + ( + U, + phi, + p_rgh, + surfaceScalarField("rAUf", fvc::interpolate(rAU())), + divU(), + pimple, + true + ); +} +else +{ + CorrectPhi + ( + U, + phi, + p_rgh, + surfaceScalarField("rAUf", fvc::interpolate(rAU())), + geometricZeroField(), + pimple, + true + ); +} #include "continuityErrs.H" diff --git a/applications/solvers/multiphase/interFoam/createFieldRefs.H b/applications/solvers/multiphase/interFoam/createFieldRefs.H new file mode 100644 index 0000000000..c6874b154c --- /dev/null +++ b/applications/solvers/multiphase/interFoam/createFieldRefs.H @@ -0,0 +1,2 @@ +twoPhaseChangeModel& phaseChange = phaseChangePtr(); +tmp rAU; diff --git a/applications/solvers/multiphase/interFoam/createFields.H b/applications/solvers/multiphase/interFoam/createFields.H index 7c0ca261cf..be0b5a6ff9 100644 --- a/applications/solvers/multiphase/interFoam/createFields.H +++ b/applications/solvers/multiphase/interFoam/createFields.H @@ -34,6 +34,11 @@ volVectorField U Info<< "Reading transportProperties\n" << endl; immiscibleIncompressibleTwoPhaseMixture mixture(U, phi); +autoPtr phaseChangePtr +( + twoPhaseChangeModel::New(mixture) +); + volScalarField& alpha1(mixture.alpha1()); volScalarField& alpha2(mixture.alpha2()); @@ -56,21 +61,6 @@ volScalarField rho rho.oldTime(); -// Mass flux -surfaceScalarField rhoPhi -( - IOobject - ( - "rhoPhi", - runTime.timeName(), - mesh, - IOobject::NO_READ, - IOobject::NO_WRITE - ), - fvc::interpolate(rho)*phi -); - - // Construct incompressible turbulence model autoPtr turbulence ( diff --git a/applications/solvers/multiphase/interFoam/initCorrectPhi.H b/applications/solvers/multiphase/interFoam/initCorrectPhi.H index e53175c43d..27a3179ad4 100644 --- a/applications/solvers/multiphase/interFoam/initCorrectPhi.H +++ b/applications/solvers/multiphase/interFoam/initCorrectPhi.H @@ -1,46 +1,49 @@ -tmp rAU; - -if (correctPhi) +if +( + !runTime.restart() + || isType(phaseChange) +) { - rAU = new volScalarField - ( - IOobject + if (correctPhi) + { + rAU = new volScalarField ( - "rAU", - runTime.timeName(), + IOobject + ( + "rAU", + runTime.timeName(), + mesh, + IOobject::READ_IF_PRESENT, + IOobject::AUTO_WRITE + ), mesh, - IOobject::READ_IF_PRESENT, - IOobject::AUTO_WRITE - ), - mesh, - dimensionedScalar(dimTime/dimDensity, 1) - ); + dimensionedScalar(dimTime/dimDensity, 1) + ); - CorrectPhi - ( - U, - phi, - p_rgh, - surfaceScalarField("rAUf", fvc::interpolate(rAU())), - geometricZeroField(), - pimple, - false - ); - - #include "continuityErrs.H" + CorrectPhi + ( + U, + phi, + p_rgh, + surfaceScalarField("rAUf", fvc::interpolate(rAU())), + geometricZeroField(), + pimple, + false + ); + } + else + { + CorrectPhi + ( + U, + phi, + p_rgh, + dimensionedScalar(dimTime/rho.dimensions(), 1), + geometricZeroField(), + pimple, + false + ); + } } -else -{ - CorrectPhi - ( - U, - phi, - p_rgh, - dimensionedScalar(dimTime/rho.dimensions(), 1), - geometricZeroField(), - pimple, - false - ); - #include "continuityErrs.H" -} +#include "continuityErrs.H" diff --git a/applications/solvers/multiphase/interFoam/interFoam.C b/applications/solvers/multiphase/interFoam/interFoam.C index 6c88a77924..cdb4b80ae8 100644 --- a/applications/solvers/multiphase/interFoam/interFoam.C +++ b/applications/solvers/multiphase/interFoam/interFoam.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -40,6 +40,7 @@ Description #include "CrankNicolsonDdtScheme.H" #include "subCycle.H" #include "immiscibleIncompressibleTwoPhaseMixture.H" +#include "noPhaseChange.H" #include "kinematicMomentumTransportModel.H" #include "pimpleControl.H" #include "fvOptions.H" @@ -58,6 +59,7 @@ int main(int argc, char *argv[]) #include "initContinuityErrs.H" #include "createDyMControls.H" #include "createFields.H" + #include "createFieldRefs.H" #include "createAlphaFluxes.H" #include "initCorrectPhi.H" #include "createUfIfPresent.H" @@ -97,6 +99,24 @@ int main(int argc, char *argv[]) { if (pimple.firstPimpleIter() || moveMeshOuterCorrectors) { + // Store divU from the previous mesh so that it can be mapped + // and used in correctPhi to ensure the corrected phi has the + // same divergence + tmp divU; + + if + ( + correctPhi + && !isType(phaseChange) + ) + { + divU = volScalarField::New + ( + "divU0", + fvc::div(fvc::absolute(phi, U)) + ); + } + mesh.update(); if (mesh.changing()) @@ -132,8 +152,22 @@ int main(int argc, char *argv[]) #include "meshCourantNo.H" } } + + divU.clear(); } + surfaceScalarField rhoPhi + ( + IOobject + ( + "rhoPhi", + runTime.timeName(), + mesh + ), + mesh, + dimensionedScalar(dimMass/dimTime, 0) + ); + #include "alphaControls.H" #include "alphaEqnSubCycle.H" diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/UEqn.H b/applications/solvers/multiphase/interFoam/interMixingFoam/UEqn.H similarity index 90% rename from applications/solvers/multiphase/interPhaseChangeFoam/UEqn.H rename to applications/solvers/multiphase/interFoam/interMixingFoam/UEqn.H index ac127bc731..d6ce1ed4df 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/UEqn.H +++ b/applications/solvers/multiphase/interFoam/interMixingFoam/UEqn.H @@ -1,7 +1,9 @@ + MRF.correctBoundaryVelocity(U); + fvVectorMatrix UEqn ( fvm::ddt(rho, U) + fvm::div(rhoPhi, U) - - fvm::Sp(fvc::ddt(rho) + fvc::div(rhoPhi), U) + + MRF.DDt(rho, U) + turbulence->divDevTau(rho, U) == fvOptions(rho, U) diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/correctPhi.H b/applications/solvers/multiphase/interFoam/interMixingFoam/correctPhi.H similarity index 85% rename from applications/solvers/multiphase/interPhaseChangeFoam/correctPhi.H rename to applications/solvers/multiphase/interFoam/interMixingFoam/correctPhi.H index d5e94d0ea4..89d8dd51f2 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/correctPhi.H +++ b/applications/solvers/multiphase/interFoam/interMixingFoam/correctPhi.H @@ -4,7 +4,7 @@ CorrectPhi phi, p_rgh, surfaceScalarField("rAUf", fvc::interpolate(rAU())), - divU, + geometricZeroField(), pimple, true ); diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/initCorrectPhi.H b/applications/solvers/multiphase/interFoam/interMixingFoam/initCorrectPhi.H similarity index 76% rename from applications/solvers/multiphase/interPhaseChangeFoam/initCorrectPhi.H rename to applications/solvers/multiphase/interFoam/interMixingFoam/initCorrectPhi.H index e9c5a4d87a..e53175c43d 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/initCorrectPhi.H +++ b/applications/solvers/multiphase/interFoam/interMixingFoam/initCorrectPhi.H @@ -13,18 +13,16 @@ if (correctPhi) IOobject::AUTO_WRITE ), mesh, - dimensionedScalar("rAU", dimTime/dimDensity, 1) + dimensionedScalar(dimTime/dimDensity, 1) ); - volScalarField divU("divU0", fvc::div(fvc::absolute(phi, U))); - CorrectPhi ( U, phi, p_rgh, surfaceScalarField("rAUf", fvc::interpolate(rAU())), - divU, + geometricZeroField(), pimple, false ); @@ -38,7 +36,7 @@ else U, phi, p_rgh, - dimensionedScalar("rAUf", dimTime/rho.dimensions(), 1), + dimensionedScalar(dimTime/rho.dimensions(), 1), geometricZeroField(), pimple, false diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/pEqn.H b/applications/solvers/multiphase/interFoam/interMixingFoam/pEqn.H similarity index 71% rename from applications/solvers/multiphase/interPhaseChangeFoam/pEqn.H rename to applications/solvers/multiphase/interFoam/interMixingFoam/pEqn.H index 00572edef7..af72769388 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/pEqn.H +++ b/applications/solvers/multiphase/interFoam/interMixingFoam/pEqn.H @@ -14,8 +14,9 @@ ( "phiHbyA", fvc::flux(HbyA) - + fvc::interpolate(rho*rAU())*fvc::ddtCorr(U, phi, Uf) + + MRF.zeroFilter(fvc::interpolate(rho*rAU())*fvc::ddtCorr(U, phi, Uf)) ); + MRF.makeRelative(phiHbyA); if (p_rgh.needReference()) { @@ -35,35 +36,33 @@ phiHbyA += phig; // Update the pressure BCs to ensure flux consistency - constrainPressure(p_rgh, U, phiHbyA, rAUf); - - Pair> vDotP = mixture.vDotP(); - const volScalarField& vDotcP = vDotP[0](); - const volScalarField& vDotvP = vDotP[1](); + constrainPressure(p_rgh, U, phiHbyA, rAUf, MRF); while (pimple.correctNonOrthogonal()) { fvScalarMatrix p_rghEqn ( - fvc::div(phiHbyA) - fvm::laplacian(rAUf, p_rgh) - - (vDotvP - vDotcP)*(mixture.pSat() - rho*gh) - + fvm::Sp(vDotvP - vDotcP, p_rgh) + fvm::laplacian(rAUf, p_rgh) == fvc::div(phiHbyA) ); - p_rghEqn.setReference(pRefCell, pRefValue); + p_rghEqn.setReference(pRefCell, getRefCellValue(p_rgh, pRefCell)); p_rghEqn.solve(); if (pimple.finalNonOrthogonalIter()) { - phi = phiHbyA + p_rghEqn.flux(); + phi = phiHbyA - p_rghEqn.flux(); - U = HbyA + rAU()*fvc::reconstruct((phig + p_rghEqn.flux())/rAUf); + p_rgh.relax(); + + U = HbyA + rAU()*fvc::reconstruct((phig - p_rghEqn.flux())/rAUf); U.correctBoundaryConditions(); fvOptions.correct(U); } } + #include "continuityErrs.H" + // Correct Uf if the mesh is moving fvc::correctUf(Uf, U, phi); diff --git a/applications/solvers/multiphase/interFoam/pEqn.H b/applications/solvers/multiphase/interFoam/pEqn.H index af72769388..723b1f0e36 100644 --- a/applications/solvers/multiphase/interFoam/pEqn.H +++ b/applications/solvers/multiphase/interFoam/pEqn.H @@ -38,11 +38,15 @@ // Update the pressure BCs to ensure flux consistency constrainPressure(p_rgh, U, phiHbyA, rAUf, MRF); + // Cache the phase change pressure source + fvScalarMatrix Sp_rgh(phaseChange.Sp_rgh(rho, gh, p_rgh)); + while (pimple.correctNonOrthogonal()) { fvScalarMatrix p_rghEqn ( - fvm::laplacian(rAUf, p_rgh) == fvc::div(phiHbyA) + fvc::div(phiHbyA) - fvm::laplacian(rAUf, p_rgh) + == Sp_rgh ); p_rghEqn.setReference(pRefCell, getRefCellValue(p_rgh, pRefCell)); @@ -51,11 +55,11 @@ if (pimple.finalNonOrthogonalIter()) { - phi = phiHbyA - p_rghEqn.flux(); + phi = phiHbyA + p_rghEqn.flux(); p_rgh.relax(); - U = HbyA + rAU()*fvc::reconstruct((phig - p_rghEqn.flux())/rAUf); + U = HbyA + rAU()*fvc::reconstruct((phig + p_rghEqn.flux())/rAUf); U.correctBoundaryConditions(); fvOptions.correct(U); } diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/Allwclean b/applications/solvers/multiphase/interPhaseChangeFoam/Allwclean deleted file mode 100755 index 52d19bc530..0000000000 --- a/applications/solvers/multiphase/interPhaseChangeFoam/Allwclean +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -cd ${0%/*} || exit 1 # Run from this directory - -wclean libso phaseChangeTwoPhaseMixtures -wclean - -#------------------------------------------------------------------------------ diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/Allwmake b/applications/solvers/multiphase/interPhaseChangeFoam/Allwmake deleted file mode 100755 index 9655af2bd3..0000000000 --- a/applications/solvers/multiphase/interPhaseChangeFoam/Allwmake +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -cd ${0%/*} || exit 1 # Run from this directory - -# Parse arguments for library compilation -. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments - -wmake $targetType phaseChangeTwoPhaseMixtures -wmake $targetType - -#------------------------------------------------------------------------------ diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/Make/files b/applications/solvers/multiphase/interPhaseChangeFoam/Make/files deleted file mode 100644 index 4358afef8b..0000000000 --- a/applications/solvers/multiphase/interPhaseChangeFoam/Make/files +++ /dev/null @@ -1,3 +0,0 @@ -interPhaseChangeFoam.C - -EXE = $(FOAM_APPBIN)/interPhaseChangeFoam diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/Make/options b/applications/solvers/multiphase/interPhaseChangeFoam/Make/options deleted file mode 100644 index 6a07d632b1..0000000000 --- a/applications/solvers/multiphase/interPhaseChangeFoam/Make/options +++ /dev/null @@ -1,27 +0,0 @@ -EXE_INC = \ - -I. \ - -I$(LIB_SRC)/transportModels/lnInclude \ - -I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \ - -I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \ - -I$(LIB_SRC)/twoPhaseModels/incompressibleTwoPhaseMixture/lnInclude \ - -I$(LIB_SRC)/twoPhaseModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude \ - -IphaseChangeTwoPhaseMixtures/lnInclude \ - -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ - -I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \ - -I$(LIB_SRC)/finiteVolume/lnInclude \ - -I$(LIB_SRC)/dynamicFvMesh/lnInclude \ - -I$(LIB_SRC)/meshTools/lnInclude - -EXE_LIBS = \ - -lphaseChangeTwoPhaseMixtures \ - -ltwoPhaseMixture \ - -linterfaceProperties \ - -ltwoPhaseProperties \ - -lincompressibleTransportModels \ - -lmomentumTransportModels \ - -lincompressibleMomentumTransportModels \ - -lfiniteVolume \ - -ldynamicFvMesh \ - -ltopoChangerFvMesh \ - -lfvOptions \ - -lmeshTools diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/alphaControls.H b/applications/solvers/multiphase/interPhaseChangeFoam/alphaControls.H deleted file mode 100644 index 04afbdd19c..0000000000 --- a/applications/solvers/multiphase/interPhaseChangeFoam/alphaControls.H +++ /dev/null @@ -1,15 +0,0 @@ -const dictionary& alphaControls = mesh.solverDict(alpha1.name()); - -const label nAlphaCorr(alphaControls.lookup