Changing correction magnitude for confused particles from 1e-6 to 1e-3, needed for snappyHexMeshes.

This commit is contained in:
Graham
2009-03-17 18:45:55 +00:00
parent 48b3071742
commit b015be75ee

View File

@ -390,7 +390,7 @@ Foam::scalar Foam::Particle<ParticleType>::trackToFace
// slightly towards the cell-centre.
if (trackFraction < SMALL)
{
position_ += 1.0e-6*(mesh.cellCentres()[celli_] - position_);
position_ += 1.0e-3*(mesh.cellCentres()[celli_] - position_);
}
return trackFraction;