Skip to content
GitLab
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
1dc9e7c4
Commit
1dc9e7c4
authored
Feb 20, 2019
by
sergio
Committed by
Andrew Heather
Feb 20, 2019
Browse files
BUG: Fixing entry consistency in PhaseMixtureEThermo.C
and reading dpdt in one basicThermo constructor
parent
4b1eea0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/solvers/multiphase/interCondensatingEvaporatingFoam/temperaturePhaseChangeTwoPhaseMixtures/twoPhaseMixtureEThermo/twoPhaseMixtureEThermo.C
View file @
1dc9e7c4
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016 OpenCFD Ltd.
\\ / A nd | Copyright (C) 2016
-2019
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -570,7 +570,7 @@ bool Foam::twoPhaseMixtureEThermo::read()
{
if
(
basicThermo
::
read
()
&&
thermoIncompressibleTwoPhaseMixture
::
read
())
{
basicThermo
::
read
Entry
(
"pDivU"
,
pDivU_
);
basicThermo
::
read
IfPresent
(
"pDivU"
,
pDivU_
);
basicThermo
::
readEntry
(
"TSat"
,
TSat_
);
return
true
;
}
...
...
src/thermophysicalModels/basic/basicThermo/basicThermo.C
View file @
1dc9e7c4
...
...
@@ -242,7 +242,9 @@ Foam::basicThermo::basicThermo
),
mesh
,
dimensionedScalar
(
dimensionSet
(
1
,
-
1
,
-
1
,
0
,
0
),
Zero
)
)
),
dpdt_
(
lookupOrDefault
<
Switch
>
(
"dpdt"
,
true
))
{}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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