Skip to content
Snippets Groups Projects
Commit 47482b92 authored by Henry's avatar Henry
Browse files

LTSinterFoam: test for localEuler as a valid scheme in the new alphaEqn

parent 218875bf
Branches
Tags
No related merge requests found
......@@ -40,6 +40,7 @@ Description
#include "fvCFD.H"
#include "CMULES.H"
#include "EulerDdtScheme.H"
#include "localEulerDdtScheme.H"
#include "CrankNicolsonDdtScheme.H"
#include "subCycle.H"
#include "immiscibleIncompressibleTwoPhaseMixture.H"
......
......@@ -13,7 +13,11 @@
// Set the off-centering coefficient according to ddt scheme
scalar ocCoeff = 0;
if (isType<fv::EulerDdtScheme<scalar> >(ddtAlpha()))
if
(
isType<fv::EulerDdtScheme<scalar> >(ddtAlpha())
|| isType<fv::localEulerDdtScheme<scalar> >(ddtAlpha())
)
{
ocCoeff = 0;
}
......
......@@ -36,6 +36,7 @@ Description
#include "dynamicFvMesh.H"
#include "CMULES.H"
#include "EulerDdtScheme.H"
#include "localEulerDdtScheme.H"
#include "CrankNicolsonDdtScheme.H"
#include "subCycle.H"
#include "immiscibleIncompressibleTwoPhaseMixture.H"
......
......@@ -40,6 +40,7 @@ Description
#include "fvCFD.H"
#include "CMULES.H"
#include "EulerDdtScheme.H"
#include "localEulerDdtScheme.H"
#include "CrankNicolsonDdtScheme.H"
#include "subCycle.H"
#include "immiscibleIncompressibleTwoPhaseMixture.H"
......
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