Skip to content
Snippets Groups Projects
Commit cb048746 authored by Henry Weller's avatar Henry Weller
Browse files

alphatFixedDmdtWallBoilingWallFunction: Obtain the turbulence model directly from the phase

parent 64690f39
Branches
Tags
No related merge requests found
...@@ -24,14 +24,16 @@ License ...@@ -24,14 +24,16 @@ License
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H" #include "alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H"
#include "compressibleTurbulenceModel.H"
#include "fvPatchFieldMapper.H" #include "fvPatchFieldMapper.H"
#include "volFields.H" #include "addToRunTimeSelectionTable.H"
#include "twoPhaseSystem.H" #include "twoPhaseSystem.H"
#include "ThermalPhaseChangePhaseSystem.H" #include "ThermalPhaseChangePhaseSystem.H"
#include "MomentumTransferPhaseSystem.H" #include "MomentumTransferPhaseSystem.H"
#include "compressibleTurbulenceModel.H"
#include "ThermalDiffusivity.H"
#include "PhaseCompressibleTurbulenceModel.H"
#include "wallFvPatch.H" #include "wallFvPatch.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...@@ -242,15 +244,7 @@ void alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::updateCoeffs() ...@@ -242,15 +244,7 @@ void alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::updateCoeffs()
const label patchi = patch().index(); const label patchi = patch().index();
// Retrieve turbulence properties from model // Retrieve turbulence properties from model
const compressibleTurbulenceModel& turbModel = const phaseCompressibleTurbulenceModel& turbModel = liquid.turbulence();
db().lookupObject<compressibleTurbulenceModel>
(
IOobject::groupName
(
compressibleTurbulenceModel::propertiesName,
dimensionedInternalField().group()
)
);
const scalar Cmu25 = pow025(Cmu_); const scalar Cmu25 = pow025(Cmu_);
......
...@@ -25,14 +25,14 @@ License ...@@ -25,14 +25,14 @@ License
#include "fixedMultiPhaseHeatFluxFvPatchScalarField.H" #include "fixedMultiPhaseHeatFluxFvPatchScalarField.H"
#include "fvPatchFieldMapper.H" #include "fvPatchFieldMapper.H"
#include "volFields.H" #include "addToRunTimeSelectionTable.H"
#include "twoPhaseSystem.H" #include "twoPhaseSystem.H"
#include "ThermalPhaseChangePhaseSystem.H" #include "ThermalPhaseChangePhaseSystem.H"
#include "MomentumTransferPhaseSystem.H" #include "MomentumTransferPhaseSystem.H"
#include "compressibleTurbulenceModel.H" #include "compressibleTurbulenceModel.H"
#include "ThermalDiffusivity.H" #include "ThermalDiffusivity.H"
#include "PhaseCompressibleTurbulenceModel.H" #include "PhaseCompressibleTurbulenceModel.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment