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
4e7306f0
Commit
4e7306f0
authored
Oct 25, 2017
by
mattijs
Browse files
COMP: finiteVolume: single precision build
parent
d2233d46
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/finiteVolume/fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.C
View file @
4e7306f0
...
...
@@ -169,7 +169,7 @@ void Foam::flowRateInletVelocityFvPatchVectorField::updateValues
Up
-=
nUp
*
n
;
// Remove any reverse flow
nUp
=
min
(
nUp
,
0
.
0
);
nUp
=
min
(
nUp
,
scalar
(
0
.
0
)
)
;
const
scalar
flowRate
=
flowRate_
->
value
(
t
);
const
scalar
estimatedFlowRate
=
-
gSum
(
rho
*
(
this
->
patch
().
magSf
()
*
nUp
));
...
...
src/finiteVolume/fields/fvPatchFields/derived/flowRateOutletVelocity/flowRateOutletVelocityFvPatchVectorField.C
View file @
4e7306f0
...
...
@@ -160,7 +160,7 @@ void Foam::flowRateOutletVelocityFvPatchVectorField::updateValues
Up
-=
nUp
*
n
;
// Remove any reverse flow
nUp
=
max
(
nUp
,
0
.
0
);
nUp
=
max
(
nUp
,
scalar
(
0
.
0
)
)
;
const
scalar
flowRate
=
flowRate_
->
value
(
t
);
const
scalar
estimatedFlowRate
=
gSum
(
rho
*
(
this
->
patch
().
magSf
()
*
nUp
));
...
...
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