CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [IHFOAM] Problem with compilation of IHFOAM (https://www.cfd-online.com/Forums/openfoam-community-contributions/147562-problem-compilation-ihfoam.html)

CrisMoreira January 23, 2015 18:00

Problem with compilation of IHFOAM
 
I have the source code and then i installed Cygwin to compile the boundary conditions.
At first i created a directory to genAbs and then proceed to execute the ./allmake command, but an error message appeared.

Here is the link to screen with the error
https://www.dropbox.com/s/3mg1f0p2yw...30.00.png?dl=0

It's my first time doing this kind of things and i'm having a hard work dealing with it, can anyone please help me?

Phicau January 24, 2015 09:29

Hi Cristina,

your dropbox link does not work for me right now.

I really don't know what might be going on, as I have never used OpenFOAM under windows using Cygwin.

Please clarify the error you get as much as possible so that we can be able to help you. By the way, are you able to run the regular OpenFOAM tutorials after installation?

Best,

Pablo

CrisMoreira January 24, 2015 13:42

Hi Phicau,
Thank you for your reply.
I got the wclean and wmake in the message error and then i discover that is a problem with the OpenFOAM installation, i'm trying to solve it.
I didn't try run the regular OpenFOAM before doing the compilation of IHFOAM, but i will as soon i can solve the instalation problem.

CrisMoreira January 29, 2015 16:15

Okay, I had to quit installing this on Windows, could not resolve installation errors.


Now i have created a dual boot with Ubuntu 12.04 and successfully installed OpenFoam 2.2.2 (could run the tutorials without problem).


I have easily compiled the boundary conditions of IHFOAM but when i try to compile the solvers this error message appears:

cristina@cristina-HP-Pavilion-g6-Notebook-PC:~/IHFOAM/solvers$ cd /home/cristina/IHFOAM/solvers/ihFoamFE30_31
cristina@cristina-HP-Pavilion-g6-Notebook-PC:~/IHFOAM/solvers/ihFoamFE30_31$ ./allMake
Making dependency list for source file ihFoam.C
could not open file twoPhaseMixture.H for source file ihFoam.C
could not open file readPIMPLEControls.H for source file ihFoam.C
SOURCE=ihFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam222/src/transportModels -I/opt/openfoam222/src/transportModels/incompressible/lnInclude -I/opt/openfoam222/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam222/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam222/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam222/src/OpenFOAM/lnInclude -I/opt/openfoam222/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ihFoam.o
ihFoam.C:68:29: erro fatal: twoPhaseMixture.H: Ficheiro ou directoria inexistente
compilação terminada.
make: ** [Make/linux64GccDPOpt/ihFoam.o] Erro 1
ihFoam compilation failed


From what i read it seems that i'm making the directory wrong, but i don't know how to solve.

Can anyone, please, help me
? :)

Phicau January 29, 2015 16:44

Hi Cristina,

you are trying to compile FOAM-extend version in OpenFOAM 2.2.2 ,you should compile the specific solver for your version:

Code:

cd ~/IHFOAM/solvers/ihFoamOF222
./allMake

Best,

Pablo

CrisMoreira January 30, 2015 05:31

Hi Pablo,

Thank you for helping me. Done! :)


All times are GMT -4. The time now is 05:12.