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

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[])
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 =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment