SOWFA Tutorial

Hey everyone,

I am trying to learn SOWFA as I think it quite an interesting tool to use. However, I am struggling to use it, especially coupling ABL precursor to wind turbine and wind farm simulation. Indeed in tutorials some files are missing, making it really difficult to understand how to make everything work…
For example, the precursor directory (/projects/precursor/neutral3x3) haven’t been added due to its size apparently:

Problem is that I do not know how this files look like, how to create them, … But they are completely necessary to set precursor datas for wind farm simulation:

I want to try to run example.ALM. What I did so far is:
-1) run example.ABL.flatTerrain.neutral from 0 to 20000s with ABLSolver (no problem here)
-2) run again example.ABL.flatTerrain.neutral from 20000s to 22000s with a smaller timestep and with boundaryDataPre function enable.
-3) with boundaryDataPre I found a python script that is able to construct boundaryData. You can find it there: [url]https://github.com/OffWind/offwind/tree/master/Offwind.App/Offwind.Wpf/Templates/precursorABL/neutral[/url]
So far I think these boundary data are what I was looking for. But for sources, I have no idea of how to proceed.
-4) I copied the mesh from the precursor and refined locally the turbines areas. I linked the boundaryData. I used changeDictionary utility to change boundaries from cyclic to inflow/outflow.
-5) As I didn’t get the sources files I tried an other way to make it work using mapFields utility but for now I didn’t succeed to make it work. Here is my way to proceed if some are interested:

If someone has already managed to run the tutorials, all of them, I’m interested to know how you did. I basically just need the method to create the precursor directory.

By the way, my project is to manage to simulate wind farm in complex terrain, and see the impact of wake on the production.

Thanks for your time,
Guillaume Doguet.

Problem solved.

hi Guillaume, can you post your solution? I am sure it will be helpful for other people who encounter similar problems, thanks!

Hey did you by any chance validate your ABL? I also ran the precursor simulation for the Neutral ABL. However when i try to validate it with log-Law, it doesn’t match at some point.

Hi Guillaume, how did you manage to input the sources files? I’d really appreciate any help you can give me, as I’m absolutely stuck at this point!