BUG: binModels: read and use writeFile settings (fixes #2553)

This commit is contained in:
Kutalmis Bercin
2022-08-02 17:18:25 +01:00
parent 9f40db8977
commit b0cd2ea991
3 changed files with 9 additions and 4 deletions

View File

@ -148,6 +148,11 @@ Foam::binModel::binModel
bool Foam::binModel::read(const dictionary& dict)
{
if (!functionObjects::writeFile::read(dict))
{
return false;
}
patchSet_ = mesh_.boundaryMesh().patchSet(dict.get<wordRes>("patches"));
fieldNames_ = dict.get<wordHashSet>("fields").sortedToc();