Skip to content
Snippets Groups Projects
Commit 60d0c592 authored by Henry's avatar Henry Committed by Andrew Heather
Browse files

fvMeshGeometry: Dump core if phi() is called for a non-moving mesh to help trace problem

parent 603b23f4
Branches
Tags
No related merge requests found
......@@ -441,7 +441,7 @@ const surfaceScalarField& fvMesh::phi() const
{
FatalErrorIn("fvMesh::phi()")
<< "mesh flux field does not exist, is the mesh actually moving?"
<< exit(FatalError);
<< abort(FatalError);
}
// Set zero current time
......@@ -461,7 +461,7 @@ surfaceScalarField& fvMesh::setPhi()
{
FatalErrorIn("fvMesh::setPhi()")
<< "mesh flux field does not exist, is the mesh actually moving?"
<< exit(FatalError);
<< abort(FatalError);
}
return *phiPtr_;
......
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