Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
OpenFOAM-plus
Commits
da42029f
Commit
da42029f
authored
Feb 16, 2015
by
Henry
Browse files
seulex: Reduce the underflow time-step
parent
cc6341a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ODE/ODESolvers/seulex/seulex.C
View file @
da42029f
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013
-2015
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -250,7 +250,7 @@ void Foam::seulex::solve
firstk
=
false
;
step
.
reject
=
false
;
if
(
mag
(
dx
)
<=
mag
(
x
)
*
SMALL
)
if
(
mag
(
dx
)
<=
mag
(
x
)
*
sqr
(
SMALL
)
)
{
WarningIn
(
"seulex::solve(scalar& x, scalarField& y, stepState&"
)
<<
"step size underflow :"
<<
dx
<<
endl
;
...
...
Write
Preview
Markdown
is supported
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