The make files expect the contents of the SOWFA repository inside of $WM_PROJECT_USER_DIR (example: SOWFA/applications/solvers/incompressible/windEnergy/windPlantSolver/2.3-and-higher/options, line 9). Nevertheless the SOWFA/makeNewWorkingDir script (as well as snippet from the webinar pdf on the NREL SOWFA project page) creates a copy of the SOWFA folder itself (not just of its contents) in the OpenFOAM user directory. This results in compilation errors due to missing include files.
Line 20 in SOWFA/makeNewWorkingDir:
cp -rs $SOWFAdir $WM_PROJECT_USER_DIR
should be
cp -rs $SOWFAdir/* $WM_PROJECT_USER_DIR
instead.
The make files expect the contents of the SOWFA repository inside of
$WM_PROJECT_USER_DIR
(example:SOWFA/applications/solvers/incompressible/windEnergy/windPlantSolver/2.3-and-higher/options
, line 9). Nevertheless theSOWFA/makeNewWorkingDir
script (as well as snippet from the webinar pdf on the NREL SOWFA project page) creates a copy of theSOWFA
folder itself (not just of its contents) in the OpenFOAM user directory. This results in compilation errors due to missing include files. Line 20 inSOWFA/makeNewWorkingDir
:cp -rs $SOWFAdir $WM_PROJECT_USER_DIR
should becp -rs $SOWFAdir/* $WM_PROJECT_USER_DIR
instead.