particle::initCellFacePt(): Added suggestions to resolve failure to find particle

Resolves bug report: http://www.openfoam.org/mantisbt/view.php?id=1461
This commit is contained in:
Henry
2015-01-01 13:42:57 +00:00
parent fef662401a
commit 83421f2aeb

View File

@ -756,8 +756,14 @@ inline void Foam::particle::initCellFacePt()
// error.
FatalErrorIn("void Foam::particle::initCellFacePt()")
<< "cell, tetFace and tetPt search failure at position "
<< position_ << nl << "for requested cell " << oldCellI
<< " cell, tetFace and tetPt search failure at "
<< "position " << position_ << nl
<< " for requested cell " << oldCellI << nl
<< " If this is a restart or "
"reconstruction/decomposition etc. it is likely that"
" the write precision is not sufficient.\n"
" Either increase 'writePrecision' or "
"set 'writeFormat' to 'binary'"
<< abort(FatalError);
}