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

Trouble running wmakewrong include paths

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2006, 12:12
Default Hello, I have OpenFoam 1.3
  #1
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello,
I have OpenFoam 1.3 running on a Fedora Core 5 machine. The system works fine, with all solvers and utilities functioning perfectly.

Recently I downloaded a stripped down solver called "steadyFlow", which is basically a simplified version of "simpleFoam".

I extracted the solver directory into the OpenFoam-1.3/solvers/incompressible folder, and ran "wmake", but it aborted with a notification of missing header files "fvCFD.H", etc...

On looking deeper, I found that the Makefile in wmake sets the include directory $LIB_SRC to "$PROJECT_DIR/src".

In the "options" file in the steadyFlow solver directory (and for that matter, in all other solvers which I checked later)... has:

EXE_INC = \
-I$(LIB_SRC)/cfdTools/incompressible \
-I$(LIB_SRC)/cfdTools/general/include

But the directory "cfdTools" is not in the root directory of "$LIB_SRC", but under a subdirectory called "finiteVolume".

When I changed the path in the "options" file, I got errors when the compiler tried to include files required by "fvCFD.H"... such as fvMesh.H, etc...

Could someone give me guidelines on how I could circumvent this problem? I am not conversant with the source structure of OpenFoam, and changing paths only led to other header files not being found.

(I tried compiling some of the already existing solvers, but they all gave the same error)

Thank you!

Philippose
philippose is offline   Reply With Quote

Old   October 13, 2006, 13:50
Default Hello again, Sorry.... I fo
  #2
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello again,
Sorry.... I found the the solution to the problem in the OpenFoam ver. 1.3 release notes.

I had to change the "options" file because there was a reorganization of the code structure between OpenFoam 1.2 and 1.3.

Things are working now!

Philippose
philippose 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
%23include paths zeliboba OpenFOAM 0 September 16, 2008 17:14
How to set compiler paths r08n OpenFOAM Installation 0 April 1, 2008 11:11
CFD Career Paths? Wise choice? boyz_99 Main CFD Forum 3 August 29, 2006 15:55
import particle paths Marie Main CFD Forum 0 August 22, 2006 15:26
How to include.... Sharad Dugad FLUENT 1 January 9, 2002 13:03


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