################################
Educational and research use of the material is permitted. Please cite the following reference when using/expanding the code, graphics and data:

P. C. Yen, Y. Li, F. Scarano, and W. Yu, 2025 Near wake behavior of an asymmetric wind turbine rotor, Wind Energy Science (submitted).


################################
Animations, case settings, and source code of surgingTurbinesFoam for "Near wake behavior of an asymmetric wind turbine rotor".


################################

The simulations were perform using OpenFOAM v2312

For referring, below are the modules loaded using snellius super computer (https://www.surf.nl)

module load EESSI/2023.06
module load OpenFOAM/v2312-foss-2023a
source /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2/software/OpenFOAM/v2312-foss-2023a/OpenFOAM-v2312/etc/bashrc


################################
ANIMATIONS

Stored in directories "animationsGIF" and "animationsMP4", where GIF and MP4 formats ae both provided. 
The file names are named with the case names provided in Table 1 and Table 3.

Three dimensional iso-surfaces of vorticity magnitudes are provided in two vieweing angles.
The iso-surfaces of vorticity magnitudes are in grey/silver, while the red surfaces represents the wind turbine rotor.
The iso-values for the cases with the standard mesh and the dense mesh are 0.65 s^-1 and 0.80 s^-1, respectively, except for case Lam10D_LE, which has 0.65 s^-1.
A semi-transparent slice is plotted in the middle and its coloring is also based on vorticity magnitudes.
The duration of the video corresponds to one revolution of the wind trubine rotor, where the rotational phase angle is labeled.
Zero rotational phase angle corresponds to truncated-blade pointing upward.


################################

CASE SETTINGS

Stored in directory "caseSettings".

The OpenFOAM cases settings of the selected cases are provided.
The name of the sub-folder corresponds to the cases names listed in Table 1 and Table 3.
Job script used by the author is provided ("fullrunDiskActuator.sh") for reference.
Note that most of the key parameters are controlled in the file "parameterMaster".
Note that we have a rather high freqency of saving and we sampled lots of data.
Please ensure the settings related to the postProcessing folder are appropriated set, otherwise the disk space might be crammed (especially for hte cases with the dense mesh).


################################
SOURCE CDOE

Stored in directory "src".

Source code for the library used is provided in directory "src". Note that the source code was a modified version of turbinesFoam developed by Bachant et al., their README file and license are included as "README_from_turbinesFoam" and "LICENSE_from_turbinesFoam", respectively. Execute "Allwmake" and the library should be compiled automatically (file "libsurgingTurbinesFoam.so" should be generated somewhere depend on how the path is set). If it gives errors, one may have to check the path setting that depends on the machine one uses (in the file "src/Make/files").


################################

