diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseIncompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseIncompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C index bb2658a3efa2c89e58e51878d2cacecd3a67222d..1fc59d91fb4da4105e3b1d76c97157308e8ffe49 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseIncompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseIncompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C @@ -55,8 +55,6 @@ Foam::RASModels::kineticTheoryModel::kineticTheoryModel phase_(phase), - draga_(phase.fluid().drag1()), - viscosityModel_ ( kineticTheoryModels::viscosityModel::New @@ -401,7 +399,11 @@ void Foam::RASModels::kineticTheoryModel::correct() ( alpha*(1.0 - alpha), phase_.fluid().residualPhaseFraction() - )*draga_.K(magUr + phase_.fluid().residualSlip())/rho + ) + *phase_.fluid().drag(phase_).K + ( + magUr + phase_.fluid().residualSlip() + )/rho ); // Eq. 3.25, p. 50 Js = J1 - J2 diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseIncompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseIncompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H index 776b523f56916f4a9ce9cc4e267eb24ad9c191a8..ecf03b105e2973ecd7755c7ae227de52e9e774cd 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseIncompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseIncompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H @@ -82,8 +82,8 @@ class kineticTheoryModel const phaseModel& phase_; - //- Drag model - const dragModel& draga_; + ////- Drag model + //const dragModel& draga_; // Sub-models diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/twoPhaseSystem.H b/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/twoPhaseSystem.H index 967ffc222641a77f4e79f33167b715fde48262f5..cc781bcbc12c3ff3dc2f455e290c2803ec43f3b9 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/twoPhaseSystem.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/twoPhaseSystem.H @@ -82,7 +82,7 @@ class twoPhaseSystem //- Total volumetric flux surfaceScalarField phi_; - //- + //- Dilatation term volScalarField dgdt_; //- Surface tension coefficient @@ -224,7 +224,7 @@ public: return phi_; } - //- Return + //- Return the dilatation term const volScalarField& dgdt() const { return dgdt_;