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
90abd781
Commit
90abd781
authored
Oct 29, 2010
by
mattijs
Browse files
ENH: streamLineParticle: increase subiters
parent
968dbf19
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/postProcessing/functionObjects/field/streamLine/streamLineParticle.C
View file @
90abd781
...
...
@@ -192,8 +192,12 @@ bool Foam::streamLineParticle::move(streamLineParticle::trackData& td)
// set the lagrangian time-step
scalar
dt
=
min
(
dtMax
,
tEnd
);
// Cross cell in steps
for
(
label
subIter
=
0
;
subIter
<
td
.
nSubCycle_
;
subIter
++
)
// Cross cell in steps:
// - at subiter 0 calculate dt to cross cell in nSubCycle steps
// - at the last subiter do all of the remaining track
// - do a few more subiters than nSubCycle since velocity might
// be decreasing
for
(
label
subIter
=
0
;
subIter
<
2
*
td
.
nSubCycle_
;
subIter
++
)
{
--
lifeTime_
;
...
...
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