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/)
-   -   [SOWFA] SOWFA installation Error (https://www.cfd-online.com/Forums/openfoam-community-contributions/166450-sowfa-installation-error.html)

mohsen.boojari February 9, 2016 14:25

SOWFA installation Error
 
Hi everyone,
I'm trying to install and use the SOWFA code but i'm facing this error :

Code:

Making dependency list for source file pisoFoamTurbine.C
could not open file horizontalAxisWindTurbinesALM.H for source file pisoFoamTurbine.C
SOURCE=pisoFoamTurbine.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/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam222/src/transportModels -I/opt/openfoam222/src/transportModels/incompressible/singlePhaseTransportModel -I/opt/openfoam222/src/finiteVolume/lnInclude -I/home/mohsen/OpenFOAM/mohsen-2.2.2/src/turbineModels/lnInclude -IlnInclude -I. -I/opt/openfoam222/src/OpenFOAM/lnInclude -I/opt/openfoam222/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/pisoFoamTurbine.o
pisoFoamTurbine.C:38:43: fatal error: horizontalAxisWindTurbinesALM.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/pisoFoamTurbine.o] Error 1

i can't underestand why it can not open the
Code:

horizontalAxisWindTurbinesALM.H
file!!
any Idea about what's the cause of my problem and the solution for it??
thank you all

fertinaz April 13, 2016 11:53

Hi mohsen,

I don't know if you could solve this problem since February but i am gonna write a few comments anyway just in case that there might be others having the same issue.

It looks like the package you downloaded is missing the file you mentioned

Open the Allwmake file in Sowfa root folder and try compiling step by step because there are some other missing files as well. You can find them in the Sowfa's git repo.

Hope this helps

Fatih


All times are GMT -4. The time now is 00:24.