argonne-lcf / TensorFlowFoam

Integrating the TensorFlow 1.15 C-API into OpenFOAM 5.0 for data-driven CFD algorithm development
MIT License
200 stars 72 forks source link

Compiling Error : 'Foam : : simpleControl : : loop()' and Solution to it. #31

Open Vish-mohan opened 3 years ago

Vish-mohan commented 3 years ago

The OpenFOAM users working with OF7 or higher versions to study this wonderful model might run into an error while compiling the simpleFoam_ML solver. simpleFoam_ML error

The solution to this lies in providing "while (simple.loop())" in simpleFoam_ML.C an argument. Here that is "runTime" .