CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Error in Installing On MAC (https://www.cfd-online.com/Forums/openfoam-installation/130357-error-installing-mac.html)

zwbmimi February 24, 2014 19:32

Error in Installing On MAC
 
Hello,

I'm try to install OpenFOAM on MAC, and follow the instruction on this website. http://openfoamwiki.net/index.php/In...OpenFOAM_2.2.2

However, fatal errors displays at the end. and the code 'blockMesh' seems not an available command. How could I fix it? Many thanks.

could not open file PointHit.H for source file twoPhaseEulerFoam.C
could not open file PrimitivePatch.H for source file twoPhaseEulerFoam.C
could not open file SolverPerformance.H for source file twoPhaseEulerFoam.C
could not open file fvcDDt.H for source file twoPhaseEulerFoam.C
could not open file LduMatrix.H for source file twoPhaseEulerFoam.C



fatal error: PointHit.H: No such file or directory
compilation terminated.
make[2]: *** [Make/darwinIntel64Gcc46DPOpt/twoPhaseEulerFoam.o] Error 1
make[2]: Target `/Users/wenbozhan/OpenFOAM/OpenFOAM-2.2.2/platforms/darwinIntel64Gcc46DPOpt/bin/twoPhaseEulerFoam' not remade because of errors.
make[1]: *** [twoPhaseEulerFoam] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [multiphase] Error 2
make: Target `application' not remade because of errors.

wyldckat March 15, 2014 05:43

Greetings zwbmimi,

I'm assuming for the following steps, that you followed step #10 from section 4.3: http://openfoamwiki.net/index.php/In....2#Final_Steps

Go into the folder "~/OpenFOAM/OpenFOAM-2.2.2" and check the contents of the file "logName.log". Search for the first error messages and not the last ones.
If you're unable to understand the contents of the file, run:
Code:

gzip logName.log
and then attach the file "logName.log.gz" to your next post.

It's the first few errors that imply the reason why it's not working.

Best regards,
Bruno


All times are GMT -4. The time now is 15:33.