mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Print a warning if the "positions" file is missing.
This commit is contained in:
@ -46,6 +46,13 @@ void Foam::Cloud<ParticleType>::initCloud(const bool checkClass)
|
|||||||
readFields();
|
readFields();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
WarningIn("Cloud<ParticleType>::initCloud(const bool checkClass)")
|
||||||
|
<< "Cannot read particle positions file " << nl
|
||||||
|
<< " " << ioP.path() << nl
|
||||||
|
<< " assuming the initial cloud contains 0 particles." << endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user