mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
functionObjects::forces: Corrected file names when using the 'binData' option
Resolves bug-report http://bugs.openfoam.org/view.php?id=2214
This commit is contained in:
@ -53,6 +53,7 @@ Foam::wordList Foam::functionObjects::forces::createFileNames
|
|||||||
DynamicList<word> names(1);
|
DynamicList<word> names(1);
|
||||||
|
|
||||||
const word forceType(dict.lookup("type"));
|
const word forceType(dict.lookup("type"));
|
||||||
|
names.append(forceType);
|
||||||
|
|
||||||
if (dict.found("binData"))
|
if (dict.found("binData"))
|
||||||
{
|
{
|
||||||
@ -64,8 +65,6 @@ Foam::wordList Foam::functionObjects::forces::createFileNames
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
names.append(forceType);
|
|
||||||
|
|
||||||
return names;
|
return names;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user