Commit 4f5b0266 authored by Dirk Ekelschot's avatar Dirk Ekelschot
Browse files

Added Hex to GetTimeStep

parent c53a2cc8
......@@ -36,6 +36,7 @@
#include <CompressibleFlowSolver/EquationSystems/CompressibleFlowSystem.h>
#include <LocalRegions/TriExp.h>
#include <LocalRegions/QuadExp.h>
#include <LocalRegions/HexExp.h>
#include <MultiRegions/ExpList.h>
#include <MultiRegions/AssemblyMap/AssemblyMapDG.h>
#include <solvers/ADRSolver/EquationSystems/UnsteadyDiffusion.cpp>
......@@ -948,6 +949,12 @@ namespace Nektar
{
minLength = sqrt(Area);
}
else if (boost::dynamic_pointer_cast<LocalRegions::HexExp>(
m_fields[0]->GetExp(n)))
{
minLength = sqrt(Area);
}
tstep[n] = m_cflSafetyFactor * alpha * minLength
/ (stdVelocity[n] * cLambda
......
Markdown is supported
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