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
Commits
94951939
Commit
94951939
authored
Nov 07, 2018
by
Mark Olesen
Browse files
Merge remote-tracking branch 'origin/develop' into develop
parents
b053c36a
816674e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fvOptions/sources/derived/actuationDiskSource/actuationDiskSourceTemplates.C
View file @
94951939
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
Copyright (C) 2018 OpenCFD Ltd
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -55,11 +55,11 @@ void Foam::fv::actuationDiskSource::addActuationDiskAxialInertialResistance
reduce
(
upU
,
minOp
<
vector
>
());
reduce
(
upRho
,
minOp
<
scalar
>
());
scalar
T
=
2
.
0
*
upRho
*
diskArea_
*
mag
(
upU
)
*
a
*
(
1
-
a
);
scalar
T
=
2
.
0
*
upRho
*
diskArea_
*
sqr
(
mag
(
upU
&
uniDiskDir
)
)
*
a
*
(
1
-
a
);
for
(
const
label
celli
:
cells
)
{
Usource
[
celli
]
+=
((
Vcells
[
celli
]
/
V
())
*
T
*
E
)
&
upU
;
Usource
[
celli
]
+=
((
Vcells
[
celli
]
/
V
())
*
T
)
*
uniDiskDir
;
}
}
...
...
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