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
78418c87
Commit
78418c87
authored
Jun 13, 2018
by
Andrew Heather
Browse files
COMP: corrected field construct
parent
2a29de0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/finiteVolume/fvMatrices/solvers/isoAdvection/isoAdvection/isoAdvection.C
View file @
78418c87
...
...
@@ -479,7 +479,7 @@ void Foam::isoAdvection::limitFluxes()
// Get time step size
const
scalar
dt
=
mesh_
.
time
().
deltaT
().
value
();
volScalarField
alphaNew
=
alpha1_
-
fvc
::
surfaceIntegrate
(
dVf_
);
volScalarField
alphaNew
(
alpha1_
-
fvc
::
surfaceIntegrate
(
dVf_
)
)
;
const
scalar
aTol
=
1.0e-12
;
// Note: tolerances
scalar
maxAlphaMinus1
=
gMax
(
alphaNew
)
-
1
;
// max(alphaNew - 1);
scalar
minAlpha
=
gMin
(
alphaNew
);
// min(alphaNew);
...
...
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