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:
parent
85daa4f41a
commit
24690df17f
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue