From 83421f2aeba3e551a204ccbe976e112955038458 Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 1 Jan 2015 13:42:57 +0000 Subject: [PATCH] particle::initCellFacePt(): Added suggestions to resolve failure to find particle Resolves bug report: http://www.openfoam.org/mantisbt/view.php?id=1461 --- src/lagrangian/basic/particle/particleI.H | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lagrangian/basic/particle/particleI.H b/src/lagrangian/basic/particle/particleI.H index e3c9a6e04..803a20002 100644 --- a/src/lagrangian/basic/particle/particleI.H +++ b/src/lagrangian/basic/particle/particleI.H @@ -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); }