Skip to content
Snippets Groups Projects
Commit cc424ec3 authored by graham's avatar graham
Browse files

Check for zero boundaryT values

parent 864e56d1
Branches
Tags
No related merge requests found
......@@ -162,6 +162,13 @@ void Foam::FreeStream<CloudType>::inflow()
scalar mass = cloud.constProps(typeId).mass();
if (min(boundaryT[patchI]) < SMALL)
{
FatalErrorIn ("Foam::FreeStream<CloudType>::inflow()")
<< "Zero boundary temperature detected, check boundaryT condition." << nl
<< nl << abort(FatalError);
}
scalarField mostProbableSpeed
(
cloud.maxwellianMostProbableSpeed
......
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