olaFlow compilation error #238
Replies: 7 comments
-
|
I realized that in my version of OF, the
Some text is in spanish, here goes the translation Cheers |
Beta Was this translation helpful? Give feedback.
-
|
Quick answer: We have a wiki page dedicated on how to compile an old version of olaFlow, namely OLAFOAM: https://github.com/blueCFD/Core/wiki/Building-OLAFOAM-with-blueCFD-Core You can find the changes we had to make to it here: https://github.com/blueCFD/OLAFOAM/commits/blueCFD-Core - namely: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much, you saved me a lot of time, it's working now. I managed to run some of the tutorials, but the ones that use python files throw the following error I followed the instructions of this link #128 for installing the python package, nevertheless the error message is the same. Do you have any suggestion? Thanks again. |
Beta Was this translation helpful? Give feedback.
-
|
Issue #128 has a lot of commands... did you run these two commands? |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I tried those commands and installed python3 and numpy but the message was still the same. In the end I solved it by reinstalling blueCFD. Even though I still get the message |
Beta Was this translation helpful? Give feedback.
-
|
If by any chance you need numpy to work, please read issues #128 and #129, because there you can find more details on how to proceed in upgrading the MSys2 installation that blueCFD-Core provides. |
Beta Was this translation helpful? Give feedback.
-
|
In case anyone stumbles on this and wants to compile OlaFlow for BlueCFD + OpenFOAM-8 here are the additional steps needed after cloning the OlaFlow source.
That should let the solvers compile under BlueCFD's msys2 environment. I've run a couple of the tutorials and haven't found any issues yet. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, I've been having trouble in compiling olaFlow in blueCFD with OF version 5. The boundary conditions compilation seems alright but I get the following error when compiling the solver (the complete log file for the allMake command and the olaDyMFlow.C file are attached):
In file included from olaDyMFlow.C:83:0: CorrectPhi.H:2:1: error: expected constructor, destructor, or type conversion before '(' token ( ^ In file included from C:/PROGRA~1/BLUECF~1/OpenFOAM-5.x/src/finiteVolume/lnInclude/continuityErrs.H:1:0, from CorrectPhi.H:11, from olaDyMFlow.C:83: C:/PROGRA~1/BLUECF~1/OpenFOAM-5.x/src/finiteVolume/cfdTools/incompressible/continuityErrs.H:32:1: error: expected unqualified-id before '{' token { ^ In file included from olaDyMFlow.C:117:0: correctPhi.H: In function 'int main(int, char**)': correctPhi.H:1:1: error: 'CorrectPhi' was not declared in this scope CorrectPhi ^~~~~~~~~~ correctPhi.H:1:1: note: suggested alternative: 'correctPhi' CorrectPhi ^~~~~~~~~~ correctPhi make[1]: *** [/home/ofuser/blueCFD/OpenFOAM-5.x/wmake/rules/General/transform:26: Make/mingw_w64GccDPInt32Opt/olaDyMFlow.o] Error 1 make[1]: se sale del directorio '/home/ofuser/blueCFD/ofuser-of5/olaFlow-master/solvers/olaFlowOF500/olaDyMFlow' make: *** [/home/ofuser/blueCFD/OpenFOAM-5.x/wmake/makefiles/apps:39: olaDyMFlow] Error 2 olaFlow solvers compilation failedlog.make.gz
olaDyMFlow.gz
I would appreciate any help, thanks!
Beta Was this translation helpful? Give feedback.
All reactions