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
0bc9a459
Commit
0bc9a459
authored
May 31, 2017
by
Henry Weller
Committed by
Andrew Heather
May 31, 2017
Browse files
CourantNo: Removed check for nInternalFaces which is not correct in general in parallel
parent
ec6c0d7e
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/dynamicFvMesh/include/meshCourantNo.H
View file @
0bc9a459
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
7
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -32,7 +32,6 @@ Description
scalar
meshCoNum
=
0
.
0
;
scalar
meanMeshCoNum
=
0
.
0
;
if
(
mesh
.
nInternalFaces
())
{
scalarField
sumPhi
(
...
...
src/finiteVolume/cfdTools/compressible/compressibleCourantNo.H
View file @
0bc9a459
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
7
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -32,12 +32,10 @@ Description
scalar
CoNum
=
0
.
0
;
scalar
meanCoNum
=
0
.
0
;
if
(
mesh
.
nInternalFaces
())
{
scalarField
sumPhi
(
fvc
::
surfaceSum
(
mag
(
phi
))().
primitiveField
()
/
rho
.
primitiveField
()
fvc
::
surfaceSum
(
mag
(
phi
))().
primitiveField
()
/
rho
.
primitiveField
()
);
CoNum
=
0
.
5
*
gMax
(
sumPhi
/
mesh
.
V
().
field
())
*
runTime
.
deltaTValue
();
...
...
src/finiteVolume/cfdTools/incompressible/CourantNo.H
View file @
0bc9a459
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
7
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -32,7 +32,6 @@ Description
scalar
CoNum
=
0
.
0
;
scalar
meanCoNum
=
0
.
0
;
if
(
mesh
.
nInternalFaces
())
{
scalarField
sumPhi
(
...
...
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