SOWFA Support

Provide feedback, request enhancements, and get help with wind-turbine computer-aided engineering tools.

Moderators: Bonnie.Jonkman, Jason.Jonkman

Posts: 4
Joined: Sun Mar 25, 2018 11:47 pm
Organization: Grenoble INP - ENSE3
Location: Japan

Re: SOWFA Support

Postby Guillaume.Doguet » Wed May 09, 2018 1:46 am

Dear Eugen,

I never get this error for instance, what is your case setup (boundaries, mesh, ...)?

Posts: 2
Joined: Tue Oct 04, 2016 9:19 am
Organization: Technical University Delft
Location: Netherlands

Re: SOWFA Support

Postby Amrien.Habiboella » Mon Jul 30, 2018 8:53 am

Guillaume.Doguet wrote:Dear Eugen,

I never get this error for instance, what is your case setup (boundaries, mesh, ...)?

Is there a reason you are using ABLterrainsolver instead of the ABLsolver?

Posts: 1
Joined: Tue Sep 04, 2018 7:16 am
Organization: HAW Hamburg
Location: Hamburg

Re: SOWFA Support

Postby Dirk.Heutelbeck » Wed Sep 05, 2018 2:41 am

I have a problem istalling SOWFA-1c359de. I use openfoam 2.4.x wich is preinstalled on my terminal from University. When i run Allwclean, there comes fatal Error: horizontalAxisWindTurbinesALMAdvanced.H: no such file or directory.

Any ideas how to handel this?

kind regards

Posts: 3
Joined: Fri Oct 12, 2018 4:06 am
Organization: Ecole Centrale Nantes
Location: France

Re: SOWFA Support

Postby Manaf.Muhammed » Tue Oct 16, 2018 3:44 am

Are you able to figureout how to solve this issue, please help me, iam stuck; mail me at

Guillaume.Doguet wrote:
Yilei.Song wrote:Hello everyone,

I am new to OpenFOAM and just begin to use SOWFA. My version of OpenFoam is 2.3.1 on Ubuntu 14.04 and I downloaded the latest SOWFA from github. I have already run the precursor ABL case successfully, but I just don't know how to save the precursor data as inflow boundary conditions which will be further used in the windPlant case. I have read about the former suggestion that something can be find in ... BL/neutral (like "" and ""), but I still failed to get any useful data. Following the instruction, nothing can be found in the boundaryData folder. Can anyone tell me how to run it correctly? Please give me more detailed instructions.

Thanks a lot.

Hi Yilei.Song

I also want to use precursor data as inflow conditions to run example case ADM turbine or ALM turbine. But the precursor data folders haven't been added to the SOWFA directory because they were too big. Do you have any idea of how to create/get precursorDir file or others to run this tutorial cases?
For example, this is what is asked as precursor to run the example case (from runscript.solve.1):


I think as you mentioned that boundaryData can be created using files such as "" but for driving sources I have no idea how to proceed. I do not really understand actually what are these driving sources.

If you manage to solve this problem tell me, or if someone knows how to proceed please let us know.


Posts: 3
Joined: Fri Oct 12, 2018 4:06 am
Organization: Ecole Centrale Nantes
Location: France

Re: SOWFA Support

Postby Manaf.Muhammed » Mon Oct 29, 2018 2:41 am

When i was running example.ADM i encountered withe the following error.please help

Time = 20145.5 Time Step = 40291
Courant Number mean: 0.299860887324 max: 0.41506723414
PIMPLE: iteration 1
<U_1> = (5.32997659191 0.195153404911 -0.00904748281988) <U_s> = (3.3316336642 0.133134102186 0) <dU/dn> = (0.137141181314 0.00425622665763 -0.00124181136743)
DILUPBiCG: Solving for Ux, Initial residual = 0.00856587251151, Final residual = 1.58274808219e-07, No Iterations 3
DILUPBiCG: Solving for Uy, Initial residual = 0.0119671718047, Final residual = 2.12107870702e-07, No Iterations 3
DILUPBiCG: Solving for Uz, Initial residual = 0.0456909217966, Final residual = 8.4202657728e-07, No Iterations 3
DILUPBiCG: Solving for T, Initial residual = 0.00062633029353, Final residual = 1.22875379823e-07, No Iterations 3
GAMGPCG: Solving for p_rgh, Initial residual = 0.0601739916016, Final residual = 0.000286707860098, No Iterations 1
<U_1> = (5.32960404611 0.194998450267 -0.00905510913384) <U_s> = (3.3310199578 0.133136167178 0) <dU/dn> = (0.137157731551 0.00424545080023 -0.00124285811641)
DILUPBiCG: Solving for T, Initial residual = 3.56520215837e-05, Final residual = 4.73860796406e-07, No Iterations 1
GAMGPCG: Solving for p_rgh, Initial residual = 0.00257877220385, Final residual = 1.51627089236e-05, No Iterations 2
<U_1> = (5.32963068884 0.194998472112 -0.00905385749337) <U_s> = (3.33104639494 0.1331360321 0) <dU/dn> = (0.137157745659 0.00424546156944 -0.00124268632262)
DILUPBiCG: Solving for T, Initial residual = 3.4470946218e-05, Final residual = 4.36729152486e-07, No Iterations 1
GAMGPCG: Solving for p_rgh, Initial residual = 0.00202161695809, Final residual = 7.01190760993e-07, No Iterations 3
<U_1> = (5.32963226568 0.194998481116 -0.0090539768129) <U_s> = (3.33104792486 0.133136043918 0) <dU/dn> = (0.13715774888 0.00424546137636 -0.00124270269981)
DILUPBiCG: Solving for T, Initial residual = 1.94327813797e-06, Final residual = 3.3395606206e-08, No Iterations 1
Local Flux Continuity Error: Min 1.52919942504e-14 Max 3.11084414644e-06 Weighted Mean 3.34572808239e-09
Total Boundary Flux: -5.15979081683e-09
Total Boundary Area: 28524636.7347
Momentum Driving Source Term: (0.000216793650368 0.000757503264606 0) m/s^2
Temperature Driving Source Term: 0 K/s
[3] error in IOstream "/media/VM_Shared_Dir/mmanaf-2.4.x/MyCases/test2/ADM_case2/constant/boundaryData/west/20146/k" for operation operator>>(Istream&, List<T>&) : reading entry
[3] file: /media/VM_Shared_Dir/mmanaf-2.4.x/MyCases/test2/ADM_case2/constant/boundaryData/west/20146/k at line 498.
[3] From function IOstream::fatalCheck(const char*) const
MPI_ABORT was invoked on rank 3 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
[3] in file db/IOstreams/IOstreams/IOstream.C at line 114.
FOAM parallel run exiting

Posts: 3
Joined: Fri Oct 12, 2018 4:06 am
Organization: Ecole Centrale Nantes
Location: France

Re: hWindWidth

Postby Manaf.Muhammed » Wed Oct 31, 2018 5:29 am

Magdalena.Mache wrote:Hello everybody!

I am getting started with the new SOWFA version after having some experience with the old one.
The new ABL runs already succesfully, but for the windPlantSolverFAST, I see that there is no tutorial
and there are several changes since the last version.
Could you tell me what "hWindWidht" stands for ?
After looking at the source code,
I added this term to the ABL dictionnary with a value of 0 and it seems to work :) ,
but I would have prefered to better understand.

Thank you in advance for your help!

Best regards,

I have the samehelp could you please help

Posts: 2
Joined: Tue Mar 12, 2019 3:58 am
Organization: Hochschule Flensburg
Location: Germany

Re: SOWFA Support

Postby Merle.Sieb » Sun Mar 31, 2019 2:22 am

Hi everyone,

I compiled SOWFA from github together with OpenFoam 2.4.x after having some issues with the .H files I managed that and the compilation finished without errors (except for the OpenFAST Solvers, see below).

Nevertheless, when trying to run the ABL.flatTerrain example cases I encounter the following error as also stated similar by others already:

--> FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : /home/ms-sowfa/OpenFOAM/SOWFA-2.4.x/lib/linux64GccDPOpt/ undefined symbol: _ZTIN4Foam14incompressible9LESModels11GenEddyViscE
--> FOAM Warning :
From function dlLibraryTable::open(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load ""

I read in other posts this warning is not relevant for the old SOWFA version, but already the blockMesh does not seem to finish and is not creating any points. Furthermore I read lincompressibleLESModels should be included in the make/options file. It is included, so I wonder (as it is stated "" could not be load) if lSOWFAincompressibleLESModels needs to be included or if there is a error somewhere else? I am completely new to this topic and hence not quite sure how the libary linking works.

Moreover I encountered the error

OPENFAST_DIR is set to '/home/ms-sowfa/openfast'. Attempting to compile OpenFAST pisoFoam solver.
Making dependency list for source file pisoFoamTurbine.C
could not open file OpenFAST.H for source file pisoFoamTurbine.C due to No such file or directory
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/home/ms-sowfa/OpenFOAM/OpenFOAM-2.4.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/ms-sowfa/OpenFOAM/OpenFOAM-2.4.x/src/transportModels -I/home/ms-sowfa/OpenFOAM/OpenFOAM-2.4.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/ms-sowfa/OpenFOAM/OpenFOAM-2.4.x/src/finiteVolume/lnInclude -I/home/ms-sowfa/OpenFOAM/OpenFOAM-2.4.x/src/meshTools/lnInclude -I/home/ms-sowfa/OpenFOAM/OpenFOAM-2.4.x/src/fvOptions/lnInclude -I/home/ms-sowfa/OpenFOAM/OpenFOAM-2.4.x/src/sampling/lnInclude -I/home/ms-sowfa/OpenFOAM/SOWFA-2.4.x/src/turbineModels/turbineModelsOpenFAST/lnInclude -DOMPI_SKIP_MPICXX -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -IlnInclude -I. -I/home/ms-sowfa/OpenFOAM/OpenFOAM-2.4.x/src/OpenFOAM/lnInclude -I/home/ms-sowfa/OpenFOAM/OpenFOAM-2.4.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/pisoFoamTurbine.o
In file included from pisoFoamTurbine.C:38:0:
/home/ms-sowfa/OpenFOAM/SOWFA-2.4.x/src/turbineModels/turbineModelsOpenFAST/lnInclude/horizontalAxisWindTurbinesALMOpenFAST.H:68:22: fatal error: OpenFAST.H: Datei oder Verzeichnis nicht gefunden
#include "OpenFAST.H"
compilation terminated.
make: *** [Make/linux64GccDPOpt/pisoFoamTurbine.o] Fehler 1

for the OpenFAST compilation. Where exactly does the $OPENFAST_DIR need to be stated to to be able to find the OpenFAST.H file and which Path should $HDF5_DIR have? (I compiled OpenFAST from github in /home/ms-sowfa/openfast)

Thanks a lot for all the help provided within in the community and thanks a lot in advance for an answer.

Regards Merle

Posts: 2
Joined: Fri Feb 22, 2019 9:22 am
Organization: self
Location: United Kingdom

Re: SOWFA Support

Postby Arturo.Ortega » Tue Jul 16, 2019 1:17 pm

Dear All

I would like to know if it is possible to run SOWFA using RANS instead of LES for a time-domain simulation to get a time series of power, torque, and others?


Posts: 29
Joined: Fri May 08, 2020 2:12 am
Organization: CSIR-SERC
Location: India

Re: SOWFA Support

Postby Srinivasa.Ramisetti » Fri May 15, 2020 5:53 am

Hello all,

Can SOWFA work with more latest versions of OpenFOAM like 1912?


Posts: 25
Joined: Mon Nov 20, 2017 1:47 am
Organization: Shahid Beheshti University
Location: Iran, Tehran

Re: SOWFA Support

Postby Vahid.Fazlollahi » Mon Aug 03, 2020 1:11 am

Hi dear all,
i installed and compiled SOWFA with OpenFoam_2.4.x in Ubuntu 16.04, but
SOWFA does not have Super Controller, can you tell me how can i add Super
Controller in SOWFA?

Best Regards,

Posts: 25
Joined: Tue Aug 25, 2020 1:16 am
Organization: Shenyang University of Technology
Location: China

Re: SOWFA Support

Postby Jiaping.Cui » Fri Aug 28, 2020 9:13 pm

Srinivasa.Ramisetti wrote:Hello all,

Can SOWFA work with more latest versions of OpenFOAM like 1912?


Dear Srinivasa

I also want to use other new versions of OpenFOAM, because these old versions are not so easy to use. Now I want to use OpenFOAM-7. So I want to know if you get the clear answer about using higher version of OpenFOAM?



Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: No registered users and 1 guest