Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
cb048746
Commit
cb048746
authored
Nov 23, 2015
by
Henry Weller
Browse files
alphatFixedDmdtWallBoilingWallFunction: Obtain the turbulence model directly from the phase
parent
64690f39
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/alphatFixedDmdtWallBoilingWallFunction/alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.C
View file @
cb048746
...
...
@@ -24,14 +24,16 @@ License
\*---------------------------------------------------------------------------*/
#include
"alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField.H"
#include
"compressibleTurbulenceModel.H"
#include
"fvPatchFieldMapper.H"
#include
"volFields.H"
#include
"addToRunTimeSelectionTable.H"
#include
"twoPhaseSystem.H"
#include
"ThermalPhaseChangePhaseSystem.H"
#include
"MomentumTransferPhaseSystem.H"
#include
"compressibleTurbulenceModel.H"
#include
"ThermalDiffusivity.H"
#include
"PhaseCompressibleTurbulenceModel.H"
#include
"wallFvPatch.H"
#include
"addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -242,15 +244,7 @@ void alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::updateCoeffs()
const
label
patchi
=
patch
().
index
();
// Retrieve turbulence properties from model
const
compressibleTurbulenceModel
&
turbModel
=
db
().
lookupObject
<
compressibleTurbulenceModel
>
(
IOobject
::
groupName
(
compressibleTurbulenceModel
::
propertiesName
,
dimensionedInternalField
().
group
()
)
);
const
phaseCompressibleTurbulenceModel
&
turbModel
=
liquid
.
turbulence
();
const
scalar
Cmu25
=
pow025
(
Cmu_
);
...
...
applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/fixedMultiPhaseHeatFlux/fixedMultiPhaseHeatFluxFvPatchScalarField.C
View file @
cb048746
...
...
@@ -25,14 +25,14 @@ License
#include
"fixedMultiPhaseHeatFluxFvPatchScalarField.H"
#include
"fvPatchFieldMapper.H"
#include
"volFields.H"
#include
"addToRunTimeSelectionTable.H"
#include
"twoPhaseSystem.H"
#include
"ThermalPhaseChangePhaseSystem.H"
#include
"MomentumTransferPhaseSystem.H"
#include
"compressibleTurbulenceModel.H"
#include
"ThermalDiffusivity.H"
#include
"PhaseCompressibleTurbulenceModel.H"
#include
"addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment