nathanrooy / ahmed-bluff-body-cfd

Ahmed bluff body geometry (CAD + STL) and OpenFOAM (v7) validation cases
15 stars 5 forks source link

FOAM FATAL IO ERROR #1

Open DeepIndigo9 opened 3 years ago

DeepIndigo9 commented 3 years ago

When i was trying to run simpleFoam i got the next error:

No MRF models present

No finite volume options present

Starting time loop

streamLine streamLines:

--> FOAM FATAL IO ERROR: keyword trackForward is undefined in dictionary "C:/Users/usuario/Desktop/openfoam_rans/system/controlDict.functions.streamLines"

file: C:/Users/usuario/Desktop/openfoam_rans/system/controlDict.functions.streamLines from line 12 to line 53.

From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 566.
nish-ant commented 1 year ago

The trackForward keyword was discontinued from OpenFOAM v1912 onwards, see OpenFOAM-v1912/src/functionObjects/field/streamLine/streamLine.H. In the foundation version, it was supported till v8 and discontinued from v9 onwards.

You can try introducing the keyword in system/streamLines. In case it doesn't work, you might need to update OpenFOAM accordingly to get rid of this error.