CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[IHFOAM] Problem with compilation of IHFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2015, 19:00
Default Problem with compilation of IHFOAM
  #1
New Member
 
Cristina Moreira
Join Date: Jan 2015
Location: Portugal
Posts: 28
Rep Power: 11
CrisMoreira is on a distinguished road
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?
CrisMoreira is offline   Reply With Quote

Old   January 24, 2015, 10:29
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
Phicau is offline   Reply With Quote

Old   January 24, 2015, 14:42
Default
  #3
New Member
 
Cristina Moreira
Join Date: Jan 2015
Location: Portugal
Posts: 28
Rep Power: 11
CrisMoreira is on a distinguished road
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 is offline   Reply With Quote

Old   January 29, 2015, 17:15
Default
  #4
New Member
 
Cristina Moreira
Join Date: Jan 2015
Location: Portugal
Posts: 28
Rep Power: 11
CrisMoreira is on a distinguished road
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
?
CrisMoreira is offline   Reply With Quote

Old   January 29, 2015, 17:44
Default
  #5
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
Phicau is offline   Reply With Quote

Old   January 30, 2015, 06:31
Default
  #6
New Member
 
Cristina Moreira
Join Date: Jan 2015
Location: Portugal
Posts: 28
Rep Power: 11
CrisMoreira is on a distinguished road
Hi Pablo,

Thank you for helping me. Done!
CrisMoreira is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compilation problem on Linux System Nitin Pathak Fluent UDF and Scheme Programming 6 September 29, 2018 21:26
compilation problem of gamma-ReThetatSST transition model giammy92 OpenFOAM 1 November 3, 2017 06:45
OpenFoam Extend-3.0 - libscotch 6.0 compilation Problem rkc.cfd OpenFOAM Installation 4 January 31, 2014 15:21
solver compilation problem, /bin/linux64GccDPOpt directory empty arnaud6 OpenFOAM Running, Solving & CFD 0 July 25, 2013 11:48
[swak4Foam] compilation problem ganeshv OpenFOAM Community Contributions 5 November 11, 2011 17:39


All times are GMT -4. The time now is 01:30.