mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: fieldAverage - read state properties using getDict. Fixes #358
This commit is contained in:
@ -235,7 +235,7 @@ void Foam::functionObjects::fieldAverage::readAveragingProperties()
|
||||
if (foundProperty(fieldName))
|
||||
{
|
||||
dictionary fieldDict;
|
||||
getProperty(fieldName, fieldDict);
|
||||
getDict(fieldName, fieldDict);
|
||||
|
||||
totalIter_[fieldi] = readLabel(fieldDict.lookup("totalIter"));
|
||||
totalTime_[fieldi] = readScalar(fieldDict.lookup("totalTime"));
|
||||
|
||||
Reference in New Issue
Block a user