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
92f288ca
Commit
92f288ca
authored
Sep 27, 2019
by
sergio
Committed by
Andrew Heather
Sep 27, 2019
Browse files
BUG: Correcting issue 1441. Reading cAlphas entry for multiphase
parent
a1fa05f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/solvers/multiphase/icoReactingMultiphaseInterFoam/phasesSystem/phaseSystem/multiphaseSystem/multiphaseSystem.C
View file @
92f288ca
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2017 OpenCFD Ltd.
\\ / A nd | Copyright (C) 2017
-2019
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -59,7 +59,7 @@ Foam::multiphaseSystem::multiphaseSystem
)
:
phaseSystem
(
mesh
),
cAlphas_
(
mesh
.
solverDict
(
"alpha"
).
lookup
(
"cAlphas"
)
),
cAlphas_
(),
ddtAlphaMax_
(
0
.
0
),
limitedPhiAlphas_
(
phaseModels_
.
size
()),
Su_
(
phaseModels_
.
size
()),
...
...
@@ -73,6 +73,8 @@ Foam::multiphaseSystem::multiphaseSystem
phases_
.
set
(
phasei
++
,
&
pm
);
}
mesh
.
solverDict
(
"alpha"
).
readEntry
(
"cAlphas"
,
cAlphas_
);
// Initiate Su and Sp
forAllConstIters
(
phaseModels_
,
iter
)
{
...
...
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