BUG: waveModel - set U to zero in else branch

This commit is contained in:
Andrew Heather
2016-11-22 15:42:12 +00:00
parent 1248851fa4
commit a895f20759

View File

@ -384,6 +384,10 @@ void Foam::waveModel::correct(const scalar t)
U_[facei].x() += UCorr;
}
else
{
U_[facei] = vector::zero;
}
}
}
}