MPLIC: Add an explicit error detailing incompatibility with NCC
Resolves bug report https://bugs.openfoam.org/view.php?id=3999
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2020-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2020-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -187,6 +187,13 @@ Foam::tmp<Foam::surfaceScalarField> Foam::MPLIC::surfaceAlpha
|
||||
}
|
||||
}
|
||||
|
||||
if (!mesh.conformal())
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "The " << type() << " scheme is not compatible with "
|
||||
<< "non-conformal meshes" << exit(FatalError);
|
||||
}
|
||||
|
||||
// Convert the alphaPhi spliced field into a surfaceScalarField
|
||||
tmp<surfaceScalarField> tslicedAlpha
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user