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);
|
||||
|
||||
const word forceType(dict.lookup("type"));
|
||||
names.append(forceType);
|
||||
|
||||
if (dict.found("binData"))
|
||||
{
|
||||
@ -64,8 +65,6 @@ Foam::wordList Foam::functionObjects::forces::createFileNames
|
||||
}
|
||||
}
|
||||
|
||||
names.append(forceType);
|
||||
|
||||
return names;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user