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
f50d727863
commit
73eee8e542
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue