diff --git a/applications/solvers/multiphase/compressibleInterFoam/VoFphaseCompressibleTurbulenceModels/compressibleInterPhaseTransportModel.C b/applications/solvers/multiphase/compressibleInterFoam/VoFphaseCompressibleTurbulenceModels/compressibleInterPhaseTransportModel.C index 52089420b..424c7dc8b 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/VoFphaseCompressibleTurbulenceModels/compressibleInterPhaseTransportModel.C +++ b/applications/solvers/multiphase/compressibleInterFoam/VoFphaseCompressibleTurbulenceModels/compressibleInterPhaseTransportModel.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -94,7 +94,8 @@ Foam::compressibleInterPhaseTransportModel::compressibleInterPhaseTransportModel turbulence1_ = ( - PhaseCompressibleTurbulenceModel::New + ThermalDiffusivity> + ::New ( alpha1, rho1, @@ -107,7 +108,8 @@ Foam::compressibleInterPhaseTransportModel::compressibleInterPhaseTransportModel turbulence2_ = ( - PhaseCompressibleTurbulenceModel::New + ThermalDiffusivity> + ::New ( alpha2, rho2, @@ -141,12 +143,18 @@ Foam::compressibleInterPhaseTransportModel::alphaEff() const if (twoPhaseTransport_) { return - mixture_.alpha1()*mixture_.thermo1().alphaEff(turbulence1_->mut()) - + mixture_.alpha2()*mixture_.thermo2().alphaEff(turbulence2_->mut()); + mixture_.alpha1()*mixture_.thermo1().alphaEff + ( + turbulence1_->alphat() + ) + + mixture_.alpha2()*mixture_.thermo2().alphaEff + ( + turbulence2_->alphat() + ); } else { - return turbulence_->mut(); + return mixture_.alphaEff(turbulence_->alphat()); } } diff --git a/applications/solvers/multiphase/compressibleInterFoam/VoFphaseCompressibleTurbulenceModels/compressibleInterPhaseTransportModel.H b/applications/solvers/multiphase/compressibleInterFoam/VoFphaseCompressibleTurbulenceModels/compressibleInterPhaseTransportModel.H index b758ce3f9..2aae144b7 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/VoFphaseCompressibleTurbulenceModels/compressibleInterPhaseTransportModel.H +++ b/applications/solvers/multiphase/compressibleInterFoam/VoFphaseCompressibleTurbulenceModels/compressibleInterPhaseTransportModel.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -84,10 +84,16 @@ class compressibleInterPhaseTransportModel autoPtr turbulence_; //- Phase-1 transport model (constructed for two-phase transport) - autoPtr> turbulence1_; + autoPtr + < + ThermalDiffusivity> + > turbulence1_; //- Phase-2 transport model (constructed for two-phase transport) - autoPtr> turbulence2_; + autoPtr + < + ThermalDiffusivity> + > turbulence2_; // Private Member Functions diff --git a/applications/solvers/multiphase/compressibleInterFoam/twoPhaseMixtureThermo/twoPhaseMixtureThermo.C b/applications/solvers/multiphase/compressibleInterFoam/twoPhaseMixtureThermo/twoPhaseMixtureThermo.C index 01e5d5999..192dee724 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/twoPhaseMixtureThermo/twoPhaseMixtureThermo.C +++ b/applications/solvers/multiphase/compressibleInterFoam/twoPhaseMixtureThermo/twoPhaseMixtureThermo.C @@ -365,8 +365,7 @@ Foam::tmp Foam::twoPhaseMixtureThermo::kappaEff { return alpha1().boundaryField()[patchi]*thermo1_->kappaEff(alphat, patchi) - + alpha2().boundaryField()[patchi]*thermo2_->kappaEff(alphat, patchi) - ; + + alpha2().boundaryField()[patchi]*thermo2_->kappaEff(alphat, patchi); } @@ -389,8 +388,7 @@ Foam::tmp Foam::twoPhaseMixtureThermo::alphaEff { return alpha1().boundaryField()[patchi]*thermo1_->alphaEff(alphat, patchi) - + alpha2().boundaryField()[patchi]*thermo2_->alphaEff(alphat, patchi) - ; + + alpha2().boundaryField()[patchi]*thermo2_->alphaEff(alphat, patchi); }