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
......@@ -58,7 +58,7 @@ int main(int argc, char *argv[])
if (!LTS)
{
#include "CourantNo.H"
#include "compressibleCourantNo.H"
#include "setInitialDeltaT.H"
}
......
......@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
if (!LTS)
{
#include "CourantNo.H"
#include "compressibleCourantNo.H"
#include "setInitialDeltaT.H"
}
......
......@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
if (!LTS)
{
#include "CourantNo.H"
#include "compressibleCourantNo.H"
#include "setInitialDeltaT.H"
}
......
......@@ -63,12 +63,11 @@ int main(int argc, char *argv[])
#include "createMRF.H"
#include "createFvOptions.H"
#include "createRhoUf.H"
#include "CourantNo.H"
#include "createControls.H"
if (!LTS)
{
#include "CourantNo.H"
#include "compressibleCourantNo.H"
#include "setInitialDeltaT.H"
}
......
......@@ -61,7 +61,7 @@ int main(int argc, char *argv[])
if (!LTS)
{
#include "CourantNo.H"
#include "compressibleCourantNo.H"
#include "setInitialDeltaT.H"
}
......
......@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
#include "createMRF.H"
#include "createFvOptions.H"
#include "createRhoUf.H"
#include "CourantNo.H"
#include "compressibleCourantNo.H"
#include "setInitialDeltaT.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
if (!LTS)
{
#include "CourantNo.H"
#include "compressibleCourantNo.H"
#include "setInitialDeltaT.H"
}
......
......@@ -65,7 +65,7 @@ int main(int argc, char *argv[])
if (!LTS)
{
#include "CourantNo.H"
#include "compressibleCourantNo.H"
#include "setInitialDeltaT.H"
}
......
......@@ -32,8 +32,6 @@ Description
if (adjustTimeStep)
{
#include "CourantNo.H"
if (CoNum > SMALL)
{
scalar maxDeltaTFact =
......
Supports Markdown
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