Skip to content
Snippets Groups Projects
Commit 0cf3ae4f authored by Henry Weller's avatar Henry Weller
Browse files

Compressible solver: correct initial Courant-number calculation

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1816
parent 413c7187
Branches
Tags
No related merge requests found
Showing with 8 additions and 11 deletions
...@@ -58,7 +58,7 @@ int main(int argc, char *argv[]) ...@@ -58,7 +58,7 @@ int main(int argc, char *argv[])
if (!LTS) if (!LTS)
{ {
#include "CourantNo.H" #include "compressibleCourantNo.H"
#include "setInitialDeltaT.H" #include "setInitialDeltaT.H"
} }
......
...@@ -59,7 +59,7 @@ int main(int argc, char *argv[]) ...@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
if (!LTS) if (!LTS)
{ {
#include "CourantNo.H" #include "compressibleCourantNo.H"
#include "setInitialDeltaT.H" #include "setInitialDeltaT.H"
} }
......
...@@ -59,7 +59,7 @@ int main(int argc, char *argv[]) ...@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
if (!LTS) if (!LTS)
{ {
#include "CourantNo.H" #include "compressibleCourantNo.H"
#include "setInitialDeltaT.H" #include "setInitialDeltaT.H"
} }
......
...@@ -63,12 +63,11 @@ int main(int argc, char *argv[]) ...@@ -63,12 +63,11 @@ int main(int argc, char *argv[])
#include "createMRF.H" #include "createMRF.H"
#include "createFvOptions.H" #include "createFvOptions.H"
#include "createRhoUf.H" #include "createRhoUf.H"
#include "CourantNo.H"
#include "createControls.H" #include "createControls.H"
if (!LTS) if (!LTS)
{ {
#include "CourantNo.H" #include "compressibleCourantNo.H"
#include "setInitialDeltaT.H" #include "setInitialDeltaT.H"
} }
......
...@@ -61,7 +61,7 @@ int main(int argc, char *argv[]) ...@@ -61,7 +61,7 @@ int main(int argc, char *argv[])
if (!LTS) if (!LTS)
{ {
#include "CourantNo.H" #include "compressibleCourantNo.H"
#include "setInitialDeltaT.H" #include "setInitialDeltaT.H"
} }
......
...@@ -57,7 +57,7 @@ int main(int argc, char *argv[]) ...@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
#include "createMRF.H" #include "createMRF.H"
#include "createFvOptions.H" #include "createFvOptions.H"
#include "createRhoUf.H" #include "createRhoUf.H"
#include "CourantNo.H" #include "compressibleCourantNo.H"
#include "setInitialDeltaT.H" #include "setInitialDeltaT.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
...@@ -70,7 +70,7 @@ int main(int argc, char *argv[]) ...@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
if (!LTS) if (!LTS)
{ {
#include "CourantNo.H" #include "compressibleCourantNo.H"
#include "setInitialDeltaT.H" #include "setInitialDeltaT.H"
} }
......
...@@ -65,7 +65,7 @@ int main(int argc, char *argv[]) ...@@ -65,7 +65,7 @@ int main(int argc, char *argv[])
if (!LTS) if (!LTS)
{ {
#include "CourantNo.H" #include "compressibleCourantNo.H"
#include "setInitialDeltaT.H" #include "setInitialDeltaT.H"
} }
......
...@@ -32,8 +32,6 @@ Description ...@@ -32,8 +32,6 @@ Description
if (adjustTimeStep) if (adjustTimeStep)
{ {
#include "CourantNo.H"
if (CoNum > SMALL) if (CoNum > SMALL)
{ {
scalar maxDeltaTFact = scalar maxDeltaTFact =
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment