From 201a3ac221c9645944605bfb097708546e1597d2 Mon Sep 17 00:00:00 2001 From: Stefano Rolfo <35581400+rfj82982@users.noreply.github.com> Date: Thu, 14 Nov 2024 16:50:24 +0000 Subject: [PATCH 1/5] Add NREL Wind-Turbine to examples and tests --- examples/CMakeLists.txt | 2 +- examples/Wind-Turbine/CMakeLists.txt | 7 +- .../Wind-Turbine/NREL-5MW_ALM/CMakeLists.txt | 27 +- .../NRELResources/Airfoils/CMakeLists.txt | 3 + .../NREL-5MW_ALM/NRELResources/CMakeLists.txt | 4 + examples/cmake/X3D_ADD_EXAMPLE.cmake | 6 +- .../CMakeLists.txt | 5 +- tests/CMakeLists.txt | 2 +- tests/Cavity/CMakeLists.txt | 3 +- tests/Channel/CMakeLists.txt | 6 +- tests/Cylinder-wake/CMakeLists.txt | 6 +- tests/Gravity-current/CMakeLists.txt | 3 +- tests/MHD/CMakeLists.txt | 6 +- tests/Mixing-layer/CMakeLists.txt | 3 +- tests/Periodic-hill/CMakeLists.txt | 3 +- .../CMakeLists.txt | 3 +- tests/Wind-Turbine/CMakeLists.txt | 8 + .../Resources/Airfoils/CMakeLists.txt | 4 + .../Resources/Airfoils/DU21_A17.air | 295 +++++++++++++++++ .../Resources/Airfoils/DU25_A17.air | 293 +++++++++++++++++ .../Resources/Airfoils/DU30_A17.air | 296 ++++++++++++++++++ .../Resources/Airfoils/DU35_A17.air | 280 +++++++++++++++++ .../Resources/Airfoils/DU40_A17.air | 282 +++++++++++++++++ .../Resources/Airfoils/NACA64_A17.air | 264 ++++++++++++++++ .../Resources/Airfoils/cylinder1.air | 17 + .../Resources/Airfoils/cylinder2.air | 17 + tests/Wind-Turbine/Resources/NRELBlade_N71.al | 75 +++++ tests/Wind-Turbine/Resources/NRELTower_N51.al | 55 ++++ tests/Wind-Turbine/adios2_config.xml | 51 +++ .../Wind-Turbine}/input_test.i3d | 0 .../Wind-Turbine}/input_test.turb | 8 +- tests/cmake/X3D_CREATE_TEST.cmake | 9 +- 32 files changed, 1995 insertions(+), 48 deletions(-) create mode 100644 examples/Wind-Turbine/NREL-5MW_ALM/NRELResources/Airfoils/CMakeLists.txt create mode 100644 examples/Wind-Turbine/NREL-5MW_ALM/NRELResources/CMakeLists.txt create mode 100644 tests/Wind-Turbine/CMakeLists.txt create mode 100644 tests/Wind-Turbine/Resources/Airfoils/CMakeLists.txt create mode 100644 tests/Wind-Turbine/Resources/Airfoils/DU21_A17.air create mode 100644 tests/Wind-Turbine/Resources/Airfoils/DU25_A17.air create mode 100644 tests/Wind-Turbine/Resources/Airfoils/DU30_A17.air create mode 100644 tests/Wind-Turbine/Resources/Airfoils/DU35_A17.air create mode 100644 tests/Wind-Turbine/Resources/Airfoils/DU40_A17.air create mode 100644 tests/Wind-Turbine/Resources/Airfoils/NACA64_A17.air create mode 100644 tests/Wind-Turbine/Resources/Airfoils/cylinder1.air create mode 100644 tests/Wind-Turbine/Resources/Airfoils/cylinder2.air create mode 100644 tests/Wind-Turbine/Resources/NRELBlade_N71.al create mode 100644 tests/Wind-Turbine/Resources/NRELTower_N51.al create mode 100644 tests/Wind-Turbine/adios2_config.xml rename {examples/Wind-Turbine/NREL-5MW_ALM => tests/Wind-Turbine}/input_test.i3d (100%) rename {examples/Wind-Turbine/NREL-5MW_ALM => tests/Wind-Turbine}/input_test.turb (86%) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 4cf8eb08e..1b2c30ecc 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -16,4 +16,4 @@ add_subdirectory(Mixing-layer) add_subdirectory(Periodic-hill) add_subdirectory(TBL-Turbulent-Boundary-Layer) add_subdirectory(TGV-Taylor-Green-vortex) -#add_subdirectory(Wind-Turbine) +add_subdirectory(Wind-Turbine) diff --git a/examples/Wind-Turbine/CMakeLists.txt b/examples/Wind-Turbine/CMakeLists.txt index d369cbcf2..083d073fd 100644 --- a/examples/Wind-Turbine/CMakeLists.txt +++ b/examples/Wind-Turbine/CMakeLists.txt @@ -1,8 +1,3 @@ # Wind-Turbine -set(case "Wind-Turbine") -set(example_files "") -list(APPEND example_files "NREL-5MW_ALM") -list(APPEND example_files "precursor-succesor-ADM") -AddExample("${examples_dir}" "${case}" "${example_files}") - +add_subdirectory(NREL-5MW_ALM) diff --git a/examples/Wind-Turbine/NREL-5MW_ALM/CMakeLists.txt b/examples/Wind-Turbine/NREL-5MW_ALM/CMakeLists.txt index 6dc8cddda..1883edd98 100644 --- a/examples/Wind-Turbine/NREL-5MW_ALM/CMakeLists.txt +++ b/examples/Wind-Turbine/NREL-5MW_ALM/CMakeLists.txt @@ -1,19 +1,8 @@ -# ABL Neutral -set(case "Wind-Turbine") -set(case_dir "${test_dir}/${case}") -file(MAKE_DIRECTORY ${case_dir}) -set(input_file "input_test.i3d") -install(DIRECTORY DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) -install(FILES ${input_file} DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) -install(FILES input_test.turb DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) -if(ADIOS2_FOUND) - install(FILES adios2_config.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) -endif() -# If testing active add test for TGV case -file(COPY ${input_file} DESTINATION ${case_dir}) -file(COPY input_test.turb DESTINATION ${case_dir}) -file(COPY NRELResources DESTINATION ${case_dir}) -if(ADIOS2_FOUND) - file(COPY adios2_config.xml DESTINATION ${case_dir}) -endif() -add_test(NAME ${case} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} $ ${input_file} WORKING_DIRECTORY ${case_dir}) +# Wind-Turbine: NREL +set(case "Wind-Turbine-NREL-5MW") +set(example_files "") +list(APPEND example_files "adios2_config.xml") +list(APPEND example_files "NREL-5MW.i3d") +list(APPEND example_files "NREL-5MW.turb") +AddExample("${examples_dir}" "${case}" "${example_files}") +add_subdirectory(NRELResources) diff --git a/examples/Wind-Turbine/NREL-5MW_ALM/NRELResources/Airfoils/CMakeLists.txt b/examples/Wind-Turbine/NREL-5MW_ALM/NRELResources/Airfoils/CMakeLists.txt new file mode 100644 index 000000000..5338e93e6 --- /dev/null +++ b/examples/Wind-Turbine/NREL-5MW_ALM/NRELResources/Airfoils/CMakeLists.txt @@ -0,0 +1,3 @@ +set(dir "Wind-Turbine-NREL-5MW/NRELResources/Airfoils") +file(GLOB_RECURSE example_files "${CMAKE_CURRENT_SOURCE_DIR}/*.air") +AddExample("${examples_dir}" "${dir}" "${example_files}") diff --git a/examples/Wind-Turbine/NREL-5MW_ALM/NRELResources/CMakeLists.txt b/examples/Wind-Turbine/NREL-5MW_ALM/NRELResources/CMakeLists.txt new file mode 100644 index 000000000..64a103682 --- /dev/null +++ b/examples/Wind-Turbine/NREL-5MW_ALM/NRELResources/CMakeLists.txt @@ -0,0 +1,4 @@ +set(dir "Wind-Turbine-NREL-5MW/NRELResources") +file(GLOB_RECURSE example_files "${CMAKE_CURRENT_SOURCE_DIR}/*.al") +AddExample("${examples_dir}" "${dir}" "${example_files}") +add_subdirectory(Airfoils) diff --git a/examples/cmake/X3D_ADD_EXAMPLE.cmake b/examples/cmake/X3D_ADD_EXAMPLE.cmake index b83919ecf..559fb0a70 100644 --- a/examples/cmake/X3D_ADD_EXAMPLE.cmake +++ b/examples/cmake/X3D_ADD_EXAMPLE.cmake @@ -1,9 +1,9 @@ -macro(AddExample example_dir case list_files) - install(DIRECTORY DESTINATION ${example_dir}/${case}) +macro(AddExample root_dir case list_files) + install(DIRECTORY DESTINATION ${root_dir}/${case}) set(local_list "") list(APPEND local_list ${list_files}) foreach(ff IN LISTS local_list) - install(FILES ${ff} DESTINATION ${example_dir}/${case}) + install(FILES ${ff} DESTINATION ${root_dir}/${case}) endforeach() endmacro() diff --git a/tests/ABL-Atmospheric-Boundary-Layer/CMakeLists.txt b/tests/ABL-Atmospheric-Boundary-Layer/CMakeLists.txt index ba7d51571..167995c91 100644 --- a/tests/ABL-Atmospheric-Boundary-Layer/CMakeLists.txt +++ b/tests/ABL-Atmospheric-Boundary-Layer/CMakeLists.txt @@ -1,5 +1,6 @@ -# TGV +# ABL set(case "ABL-Atmospheric-Boundary-Layer") set(input_file "input_neutral_test.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e6cba7b47..7c5193896 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -26,7 +26,7 @@ if (${BUILD_TESTING_FULL}) add_subdirectory(Mixing-layer) add_subdirectory(Periodic-hill) add_subdirectory(TBL-Turbulent-Boundary-Layer) - #add_subdirectory(Wind-Turbine/NREL-5MW_ALM) + add_subdirectory(Wind-Turbine) endif (${BUILD_TESTING_FULL}) diff --git a/tests/Cavity/CMakeLists.txt b/tests/Cavity/CMakeLists.txt index d8001bb25..b7788b9cd 100644 --- a/tests/Cavity/CMakeLists.txt +++ b/tests/Cavity/CMakeLists.txt @@ -1,5 +1,6 @@ # Cavity set(case "Cavity") set(input_file "input_test.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") diff --git a/tests/Channel/CMakeLists.txt b/tests/Channel/CMakeLists.txt index d577b9308..30cb3704d 100644 --- a/tests/Channel/CMakeLists.txt +++ b/tests/Channel/CMakeLists.txt @@ -1,8 +1,10 @@ # Channel set(case "Channel-X") set(input_file "input_test_x.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") set(case "Channel-Z") set(input_file "input_test_z.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") diff --git a/tests/Cylinder-wake/CMakeLists.txt b/tests/Cylinder-wake/CMakeLists.txt index 9dae83c85..18bc7de13 100644 --- a/tests/Cylinder-wake/CMakeLists.txt +++ b/tests/Cylinder-wake/CMakeLists.txt @@ -1,8 +1,10 @@ # Channel set(case "Cylinder-wake") set(input_file "input_test.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") set(case "Cylinder-wake-moving") set(input_file "input_test_moving.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") diff --git a/tests/Gravity-current/CMakeLists.txt b/tests/Gravity-current/CMakeLists.txt index cd4d27ed3..f1372040f 100644 --- a/tests/Gravity-current/CMakeLists.txt +++ b/tests/Gravity-current/CMakeLists.txt @@ -1,5 +1,6 @@ # TGV set(case "Gravity-current") set(input_file "input_test.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") diff --git a/tests/MHD/CMakeLists.txt b/tests/MHD/CMakeLists.txt index cefac0287..2f2270956 100644 --- a/tests/MHD/CMakeLists.txt +++ b/tests/MHD/CMakeLists.txt @@ -1,8 +1,10 @@ # MHD set(case "MHD-Channel") set(input_file "input_mhdchan_test.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") set(case "MHD-OTV") set(input_file "input_otv_test.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") diff --git a/tests/Mixing-layer/CMakeLists.txt b/tests/Mixing-layer/CMakeLists.txt index 85f522227..408b63431 100644 --- a/tests/Mixing-layer/CMakeLists.txt +++ b/tests/Mixing-layer/CMakeLists.txt @@ -1,5 +1,6 @@ # Mixing Layer set(case "Mixing-layer") set(input_file "input_test.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") diff --git a/tests/Periodic-hill/CMakeLists.txt b/tests/Periodic-hill/CMakeLists.txt index 0cfefaaad..b9ddd5e20 100644 --- a/tests/Periodic-hill/CMakeLists.txt +++ b/tests/Periodic-hill/CMakeLists.txt @@ -1,5 +1,6 @@ # Periodic-hill set(case "Periodic-hill") set(input_file "input_test.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") diff --git a/tests/TBL-Turbulent-Boundary-Layer/CMakeLists.txt b/tests/TBL-Turbulent-Boundary-Layer/CMakeLists.txt index db6bdf49d..29d4ce61a 100644 --- a/tests/TBL-Turbulent-Boundary-Layer/CMakeLists.txt +++ b/tests/TBL-Turbulent-Boundary-Layer/CMakeLists.txt @@ -1,5 +1,6 @@ # TBL set(case "TBL-Turbulent-Boundary-Layer") set(input_file "input_test.i3d") -CreateMPITest(${test_dir} ${case} ${input_file}) +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") diff --git a/tests/Wind-Turbine/CMakeLists.txt b/tests/Wind-Turbine/CMakeLists.txt new file mode 100644 index 000000000..2abd2b483 --- /dev/null +++ b/tests/Wind-Turbine/CMakeLists.txt @@ -0,0 +1,8 @@ +# Wind-Turbine +set(case "Wind-Turbine") +list(APPEND input_file "input_test.i3d") +set(additional_inputs "") +list(APPEND additional_inputs "input_test.turb") +list(APPEND additional_inputs "Resources") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") + diff --git a/tests/Wind-Turbine/Resources/Airfoils/CMakeLists.txt b/tests/Wind-Turbine/Resources/Airfoils/CMakeLists.txt new file mode 100644 index 000000000..5616ba062 --- /dev/null +++ b/tests/Wind-Turbine/Resources/Airfoils/CMakeLists.txt @@ -0,0 +1,4 @@ +set(dir "Wind-Turbine-NREL-5MW/NRELResources/Airfoils") +file(GLOB_RECURSE example_files "${CMAKE_CURRENT_SOURCE_DIR}/*.air") +message(STATUS "${example_files}") +AddExample("${examples_dir}" "${dir}" "${example_files}") diff --git a/tests/Wind-Turbine/Resources/Airfoils/DU21_A17.air b/tests/Wind-Turbine/Resources/Airfoils/DU21_A17.air new file mode 100644 index 000000000..125e9174f --- /dev/null +++ b/tests/Wind-Turbine/Resources/Airfoils/DU21_A17.air @@ -0,0 +1,295 @@ +Title: DU21_A17 +Thickness to Chord Ratio: 0.21 +Zero Lift AOA (deg): -5.0609 +Reverse Camber Direction: 0 + +Reynolds Number: 4e3 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0185 0.0000 +-175.00 0.394 0.0332 0.1978 +-170.00 0.788 0.0945 0.3963 +-160.00 0.670 0.2809 0.2738 +-155.00 0.749 0.3932 0.3118 +-150.00 0.797 0.5112 0.3413 +-145.00 0.818 0.6309 0.3636 +-140.00 0.813 0.7485 0.3799 +-135.00 0.786 0.8612 0.3911 +-130.00 0.739 0.9665 0.3980 +-125.00 0.675 1.0625 0.4012 +-120.00 0.596 1.1476 0.4014 +-115.00 0.505 1.2206 0.3990 +-110.00 0.403 1.2805 0.3943 +-105.00 0.294 1.3265 0.3878 +-100.00 0.179 1.3582 0.3796 + -95.00 0.060 1.3752 0.3700 + -90.00 -0.060 1.3774 0.3591 + -85.00 -0.179 1.3648 0.3471 + -80.00 -0.295 1.3376 0.3340 + -75.00 -0.407 1.2962 0.3199 + -70.00 -0.512 1.2409 0.3049 + -65.00 -0.608 1.1725 0.2890 + -60.00 -0.693 1.0919 0.2722 + -55.00 -0.764 1.0002 0.2545 + -50.00 -0.820 0.8990 0.2359 + -45.00 -0.857 0.7900 0.2163 + -40.00 -0.875 0.6754 0.1958 + -35.00 -0.869 0.5579 0.1744 + -30.00 -0.838 0.4405 0.1520 + -25.00 -0.791 0.3256 0.1262 + -24.00 -0.794 0.3013 0.1170 + -23.00 -0.805 0.2762 0.1059 + -22.00 -0.821 0.2506 0.0931 + -21.00 -0.843 0.2246 0.0788 + -20.00 -0.869 0.1983 0.0631 + -19.00 -0.899 0.1720 0.0464 + -18.00 -0.931 0.1457 0.0286 + -17.00 -0.964 0.1197 0.0102 + -16.00 -0.999 0.0940 -0.0088 + -15.00 -1.033 0.0689 -0.0281 + -14.50 -1.050 0.0567 -0.0378 + -12.01 -0.953 0.0271 -0.0349 + -11.00 -0.900 0.0303 -0.0361 + -9.98 -0.827 0.0287 -0.0464 + -8.12 -0.536 0.0124 -0.0821 + -7.62 -0.467 0.0109 -0.0924 + -7.11 -0.393 0.0092 -0.1015 + -6.60 -0.323 0.0083 -0.1073 + -6.50 -0.311 0.0089 -0.1083 + -6.00 -0.245 0.0082 -0.1112 + -5.50 -0.178 0.0074 -0.1146 + -5.00 -0.113 0.0069 -0.1172 + -4.50 -0.048 0.0065 -0.1194 + -4.00 0.016 0.0063 -0.1213 + -3.50 0.080 0.0061 -0.1232 + -3.00 0.145 0.0058 -0.1252 + -2.50 0.208 0.0057 -0.1268 + -2.00 0.270 0.0057 -0.1282 + -1.50 0.333 0.0057 -0.1297 + -1.00 0.396 0.0057 -0.1310 + -0.50 0.458 0.0057 -0.1324 + 0.00 0.521 0.0057 -0.1337 + 0.50 0.583 0.0057 -0.1350 + 1.00 0.645 0.0058 -0.1363 + 1.50 0.706 0.0058 -0.1374 + 2.00 0.768 0.0059 -0.1385 + 2.50 0.828 0.0061 -0.1395 + 3.00 0.888 0.0063 -0.1403 + 3.50 0.948 0.0066 -0.1406 + 4.00 0.996 0.0071 -0.1398 + 4.50 1.046 0.0079 -0.1390 + 5.00 1.095 0.0090 -0.1378 + 5.50 1.145 0.0103 -0.1369 + 6.00 1.192 0.0113 -0.1353 + 6.50 1.239 0.0122 -0.1338 + 7.00 1.283 0.0131 -0.1317 + 7.50 1.324 0.0139 -0.1291 + 8.00 1.358 0.0147 -0.1249 + 8.50 1.385 0.0158 -0.1213 + 9.00 1.403 0.0181 -0.1177 + 9.50 1.401 0.0211 -0.1142 + 10.00 1.358 0.0255 -0.1103 + 10.50 1.313 0.0301 -0.1066 + 11.00 1.287 0.0347 -0.1032 + 11.50 1.274 0.0401 -0.1002 + 12.00 1.272 0.0468 -0.0971 + 12.50 1.273 0.0545 -0.0940 + 13.00 1.273 0.0633 -0.0909 + 13.50 1.273 0.0722 -0.0883 + 14.00 1.272 0.0806 -0.0865 + 14.50 1.273 0.0900 -0.0854 + 15.00 1.275 0.0987 -0.0849 + 15.50 1.281 0.1075 -0.0847 + 16.00 1.284 0.1170 -0.0850 + 16.50 1.296 0.1270 -0.0858 + 17.00 1.306 0.1368 -0.0869 + 17.50 1.308 0.1464 -0.0883 + 18.00 1.308 0.1562 -0.0901 + 18.50 1.308 0.1664 -0.0922 + 19.00 1.308 0.1770 -0.0949 + 19.50 1.307 0.1878 -0.0980 + 20.00 1.311 0.1987 -0.1017 + 20.50 1.325 0.2100 -0.1059 + 21.00 1.324 0.2214 -0.1105 + 22.00 1.277 0.2499 -0.1172 + 23.00 1.229 0.2786 -0.1239 + 24.00 1.182 0.3077 -0.1305 + 25.00 1.136 0.3371 -0.1370 + 26.00 1.093 0.3664 -0.1433 + 28.00 1.017 0.4246 -0.1556 + 30.00 0.962 0.4813 -0.1671 + 32.00 0.937 0.5356 -0.1778 + 35.00 0.947 0.6127 -0.1923 + 40.00 0.950 0.7396 -0.2154 + 45.00 0.928 0.8623 -0.2374 + 50.00 0.884 0.9781 -0.2583 + 55.00 0.821 1.0846 -0.2782 + 60.00 0.740 1.1796 -0.2971 + 65.00 0.646 1.2617 -0.3149 + 70.00 0.540 1.3297 -0.3318 + 75.00 0.425 1.3827 -0.3476 + 80.00 0.304 1.4202 -0.3625 + 85.00 0.179 1.4423 -0.3763 + 90.00 0.053 1.4512 -0.3890 + 95.00 -0.073 1.4480 -0.4004 + 100.00 -0.198 1.4294 -0.4105 + 105.00 -0.319 1.3954 -0.4191 + 110.00 -0.434 1.3464 -0.4260 + 115.00 -0.541 1.2829 -0.4308 + 120.00 -0.637 1.2057 -0.4333 + 125.00 -0.720 1.1157 -0.4330 + 130.00 -0.787 1.0144 -0.4294 + 135.00 -0.836 0.9033 -0.4219 + 140.00 -0.864 0.7845 -0.4098 + 145.00 -0.869 0.6605 -0.3922 + 150.00 -0.847 0.5346 -0.3682 + 155.00 -0.795 0.4103 -0.3364 + 160.00 -0.711 0.2922 -0.2954 + 170.00 -0.788 0.0969 -0.3966 + 175.00 -0.394 0.0334 -0.1978 + 180.00 0.000 0.0185 0.0000 + +Reynolds Number: 4e8 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0185 0.0000 +-175.00 0.394 0.0332 0.1978 +-170.00 0.788 0.0945 0.3963 +-160.00 0.670 0.2809 0.2738 +-155.00 0.749 0.3932 0.3118 +-150.00 0.797 0.5112 0.3413 +-145.00 0.818 0.6309 0.3636 +-140.00 0.813 0.7485 0.3799 +-135.00 0.786 0.8612 0.3911 +-130.00 0.739 0.9665 0.3980 +-125.00 0.675 1.0625 0.4012 +-120.00 0.596 1.1476 0.4014 +-115.00 0.505 1.2206 0.3990 +-110.00 0.403 1.2805 0.3943 +-105.00 0.294 1.3265 0.3878 +-100.00 0.179 1.3582 0.3796 + -95.00 0.060 1.3752 0.3700 + -90.00 -0.060 1.3774 0.3591 + -85.00 -0.179 1.3648 0.3471 + -80.00 -0.295 1.3376 0.3340 + -75.00 -0.407 1.2962 0.3199 + -70.00 -0.512 1.2409 0.3049 + -65.00 -0.608 1.1725 0.2890 + -60.00 -0.693 1.0919 0.2722 + -55.00 -0.764 1.0002 0.2545 + -50.00 -0.820 0.8990 0.2359 + -45.00 -0.857 0.7900 0.2163 + -40.00 -0.875 0.6754 0.1958 + -35.00 -0.869 0.5579 0.1744 + -30.00 -0.838 0.4405 0.1520 + -25.00 -0.791 0.3256 0.1262 + -24.00 -0.794 0.3013 0.1170 + -23.00 -0.805 0.2762 0.1059 + -22.00 -0.821 0.2506 0.0931 + -21.00 -0.843 0.2246 0.0788 + -20.00 -0.869 0.1983 0.0631 + -19.00 -0.899 0.1720 0.0464 + -18.00 -0.931 0.1457 0.0286 + -17.00 -0.964 0.1197 0.0102 + -16.00 -0.999 0.0940 -0.0088 + -15.00 -1.033 0.0689 -0.0281 + -14.50 -1.050 0.0567 -0.0378 + -12.01 -0.953 0.0271 -0.0349 + -11.00 -0.900 0.0303 -0.0361 + -9.98 -0.827 0.0287 -0.0464 + -8.12 -0.536 0.0124 -0.0821 + -7.62 -0.467 0.0109 -0.0924 + -7.11 -0.393 0.0092 -0.1015 + -6.60 -0.323 0.0083 -0.1073 + -6.50 -0.311 0.0089 -0.1083 + -6.00 -0.245 0.0082 -0.1112 + -5.50 -0.178 0.0074 -0.1146 + -5.00 -0.113 0.0069 -0.1172 + -4.50 -0.048 0.0065 -0.1194 + -4.00 0.016 0.0063 -0.1213 + -3.50 0.080 0.0061 -0.1232 + -3.00 0.145 0.0058 -0.1252 + -2.50 0.208 0.0057 -0.1268 + -2.00 0.270 0.0057 -0.1282 + -1.50 0.333 0.0057 -0.1297 + -1.00 0.396 0.0057 -0.1310 + -0.50 0.458 0.0057 -0.1324 + 0.00 0.521 0.0057 -0.1337 + 0.50 0.583 0.0057 -0.1350 + 1.00 0.645 0.0058 -0.1363 + 1.50 0.706 0.0058 -0.1374 + 2.00 0.768 0.0059 -0.1385 + 2.50 0.828 0.0061 -0.1395 + 3.00 0.888 0.0063 -0.1403 + 3.50 0.948 0.0066 -0.1406 + 4.00 0.996 0.0071 -0.1398 + 4.50 1.046 0.0079 -0.1390 + 5.00 1.095 0.0090 -0.1378 + 5.50 1.145 0.0103 -0.1369 + 6.00 1.192 0.0113 -0.1353 + 6.50 1.239 0.0122 -0.1338 + 7.00 1.283 0.0131 -0.1317 + 7.50 1.324 0.0139 -0.1291 + 8.00 1.358 0.0147 -0.1249 + 8.50 1.385 0.0158 -0.1213 + 9.00 1.403 0.0181 -0.1177 + 9.50 1.401 0.0211 -0.1142 + 10.00 1.358 0.0255 -0.1103 + 10.50 1.313 0.0301 -0.1066 + 11.00 1.287 0.0347 -0.1032 + 11.50 1.274 0.0401 -0.1002 + 12.00 1.272 0.0468 -0.0971 + 12.50 1.273 0.0545 -0.0940 + 13.00 1.273 0.0633 -0.0909 + 13.50 1.273 0.0722 -0.0883 + 14.00 1.272 0.0806 -0.0865 + 14.50 1.273 0.0900 -0.0854 + 15.00 1.275 0.0987 -0.0849 + 15.50 1.281 0.1075 -0.0847 + 16.00 1.284 0.1170 -0.0850 + 16.50 1.296 0.1270 -0.0858 + 17.00 1.306 0.1368 -0.0869 + 17.50 1.308 0.1464 -0.0883 + 18.00 1.308 0.1562 -0.0901 + 18.50 1.308 0.1664 -0.0922 + 19.00 1.308 0.1770 -0.0949 + 19.50 1.307 0.1878 -0.0980 + 20.00 1.311 0.1987 -0.1017 + 20.50 1.325 0.2100 -0.1059 + 21.00 1.324 0.2214 -0.1105 + 22.00 1.277 0.2499 -0.1172 + 23.00 1.229 0.2786 -0.1239 + 24.00 1.182 0.3077 -0.1305 + 25.00 1.136 0.3371 -0.1370 + 26.00 1.093 0.3664 -0.1433 + 28.00 1.017 0.4246 -0.1556 + 30.00 0.962 0.4813 -0.1671 + 32.00 0.937 0.5356 -0.1778 + 35.00 0.947 0.6127 -0.1923 + 40.00 0.950 0.7396 -0.2154 + 45.00 0.928 0.8623 -0.2374 + 50.00 0.884 0.9781 -0.2583 + 55.00 0.821 1.0846 -0.2782 + 60.00 0.740 1.1796 -0.2971 + 65.00 0.646 1.2617 -0.3149 + 70.00 0.540 1.3297 -0.3318 + 75.00 0.425 1.3827 -0.3476 + 80.00 0.304 1.4202 -0.3625 + 85.00 0.179 1.4423 -0.3763 + 90.00 0.053 1.4512 -0.3890 + 95.00 -0.073 1.4480 -0.4004 + 100.00 -0.198 1.4294 -0.4105 + 105.00 -0.319 1.3954 -0.4191 + 110.00 -0.434 1.3464 -0.4260 + 115.00 -0.541 1.2829 -0.4308 + 120.00 -0.637 1.2057 -0.4333 + 125.00 -0.720 1.1157 -0.4330 + 130.00 -0.787 1.0144 -0.4294 + 135.00 -0.836 0.9033 -0.4219 + 140.00 -0.864 0.7845 -0.4098 + 145.00 -0.869 0.6605 -0.3922 + 150.00 -0.847 0.5346 -0.3682 + 155.00 -0.795 0.4103 -0.3364 + 160.00 -0.711 0.2922 -0.2954 + 170.00 -0.788 0.0969 -0.3966 + 175.00 -0.394 0.0334 -0.1978 + 180.00 0.000 0.0185 0.0000 + diff --git a/tests/Wind-Turbine/Resources/Airfoils/DU25_A17.air b/tests/Wind-Turbine/Resources/Airfoils/DU25_A17.air new file mode 100644 index 000000000..16d7a84c6 --- /dev/null +++ b/tests/Wind-Turbine/Resources/Airfoils/DU25_A17.air @@ -0,0 +1,293 @@ +Title: DU25_A17 +Thickness to Chord Ratio: 0.25 +Zero Lift AOA (deg): -5.0609 +Reverse Camber Direction: 0 + +Reynolds Number: 4e3 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0202 0.0000 +-175.00 0.368 0.0324 0.1845 +-170.00 0.735 0.0943 0.3701 +-160.00 0.695 0.2848 0.2679 +-155.00 0.777 0.4001 0.3046 +-150.00 0.828 0.5215 0.3329 +-145.00 0.850 0.6447 0.3540 +-140.00 0.846 0.7660 0.3693 +-135.00 0.818 0.8823 0.3794 +-130.00 0.771 0.9911 0.3854 +-125.00 0.705 1.0905 0.3878 +-120.00 0.624 1.1787 0.3872 +-115.00 0.530 1.2545 0.3841 +-110.00 0.426 1.3168 0.3788 +-105.00 0.314 1.3650 0.3716 +-100.00 0.195 1.3984 0.3629 + -95.00 0.073 1.4169 0.3529 + -90.00 -0.050 1.4201 0.3416 + -85.00 -0.173 1.4081 0.3292 + -80.00 -0.294 1.3811 0.3159 + -75.00 -0.409 1.3394 0.3017 + -70.00 -0.518 1.2833 0.2866 + -65.00 -0.617 1.2138 0.2707 + -60.00 -0.706 1.1315 0.2539 + -55.00 -0.780 1.0378 0.2364 + -50.00 -0.839 0.9341 0.2181 + -45.00 -0.879 0.8221 0.1991 + -40.00 -0.898 0.7042 0.1792 + -35.00 -0.893 0.5829 0.1587 + -30.00 -0.862 0.4616 0.1374 + -25.00 -0.803 0.3441 0.1154 + -24.00 -0.792 0.3209 0.1101 + -23.00 -0.789 0.2972 0.1031 + -22.00 -0.792 0.2730 0.0947 + -21.00 -0.801 0.2485 0.0849 + -20.00 -0.815 0.2237 0.0739 + -19.00 -0.833 0.1990 0.0618 + -18.00 -0.854 0.1743 0.0488 + -17.00 -0.879 0.1498 0.0351 + -16.00 -0.905 0.1256 0.0208 + -15.00 -0.932 0.1020 0.0060 + -14.00 -0.959 0.0789 -0.0091 + -13.00 -0.985 0.0567 -0.0243 + -13.00 -0.985 0.0567 -0.0243 + -12.01 -0.953 0.0271 -0.0349 + -11.00 -0.900 0.0303 -0.0361 + -9.98 -0.827 0.0287 -0.0464 + -8.98 -0.753 0.0271 -0.0534 + -8.47 -0.691 0.0264 -0.0650 + -7.45 -0.555 0.0114 -0.0782 + -6.42 -0.413 0.0094 -0.0904 + -5.40 -0.271 0.0086 -0.1006 + -5.00 -0.220 0.0073 -0.1107 + -4.50 -0.152 0.0071 -0.1135 + -4.00 -0.084 0.0070 -0.1162 + -3.50 -0.018 0.0069 -0.1186 + -3.00 0.049 0.0068 -0.1209 + -2.50 0.115 0.0068 -0.1231 + -2.00 0.181 0.0068 -0.1252 + -1.50 0.247 0.0067 -0.1272 + -1.00 0.312 0.0067 -0.1293 + -0.50 0.377 0.0067 -0.1311 + 0.00 0.444 0.0065 -0.1330 + 0.50 0.508 0.0065 -0.1347 + 1.00 0.573 0.0066 -0.1364 + 1.50 0.636 0.0067 -0.1380 + 2.00 0.701 0.0068 -0.1396 + 2.50 0.765 0.0069 -0.1411 + 3.00 0.827 0.0070 -0.1424 + 3.50 0.890 0.0071 -0.1437 + 4.00 0.952 0.0073 -0.1448 + 4.50 1.013 0.0076 -0.1456 + 5.00 1.062 0.0079 -0.1445 + 6.00 1.161 0.0099 -0.1419 + 6.50 1.208 0.0117 -0.1403 + 7.00 1.254 0.0132 -0.1382 + 7.50 1.301 0.0143 -0.1362 + 8.00 1.336 0.0153 -0.1320 + 8.50 1.369 0.0165 -0.1276 + 9.00 1.400 0.0181 -0.1234 + 9.50 1.428 0.0211 -0.1193 + 10.00 1.442 0.0262 -0.1152 + 10.50 1.427 0.0336 -0.1115 + 11.00 1.374 0.0420 -0.1081 + 11.50 1.316 0.0515 -0.1052 + 12.00 1.277 0.0601 -0.1026 + 12.50 1.250 0.0693 -0.1000 + 13.00 1.246 0.0785 -0.0980 + 13.50 1.247 0.0888 -0.0969 + 14.00 1.256 0.1000 -0.0968 + 14.50 1.260 0.1108 -0.0973 + 15.00 1.271 0.1219 -0.0981 + 15.50 1.281 0.1325 -0.0992 + 16.00 1.289 0.1433 -0.1006 + 16.50 1.294 0.1541 -0.1023 + 17.00 1.304 0.1649 -0.1042 + 17.50 1.309 0.1754 -0.1064 + 18.00 1.315 0.1845 -0.1082 + 18.50 1.320 0.1953 -0.1110 + 19.00 1.330 0.2061 -0.1143 + 19.50 1.343 0.2170 -0.1179 + 20.00 1.354 0.2280 -0.1219 + 20.50 1.359 0.2390 -0.1261 + 21.00 1.360 0.2536 -0.1303 + 22.00 1.325 0.2814 -0.1375 + 23.00 1.288 0.3098 -0.1446 + 24.00 1.251 0.3386 -0.1515 + 25.00 1.215 0.3678 -0.1584 + 26.00 1.181 0.3972 -0.1651 + 28.00 1.120 0.4563 -0.1781 + 30.00 1.076 0.5149 -0.1904 + 32.00 1.056 0.5720 -0.2017 + 35.00 1.066 0.6548 -0.2173 + 40.00 1.064 0.7901 -0.2418 + 45.00 1.035 0.9190 -0.2650 + 50.00 0.980 1.0378 -0.2867 + 55.00 0.904 1.1434 -0.3072 + 60.00 0.810 1.2333 -0.3265 + 65.00 0.702 1.3055 -0.3446 + 70.00 0.582 1.3587 -0.3616 + 75.00 0.456 1.3922 -0.3775 + 80.00 0.326 1.4063 -0.3921 + 85.00 0.197 1.4042 -0.4057 + 90.00 0.072 1.3985 -0.4180 + 95.00 -0.050 1.3973 -0.4289 + 100.00 -0.170 1.3810 -0.4385 + 105.00 -0.287 1.3498 -0.4464 + 110.00 -0.399 1.3041 -0.4524 + 115.00 -0.502 1.2442 -0.4563 + 120.00 -0.596 1.1709 -0.4577 + 125.00 -0.677 1.0852 -0.4563 + 130.00 -0.743 0.9883 -0.4514 + 135.00 -0.792 0.8818 -0.4425 + 140.00 -0.821 0.7676 -0.4288 + 145.00 -0.826 0.6481 -0.4095 + 150.00 -0.806 0.5264 -0.3836 + 155.00 -0.758 0.4060 -0.3497 + 160.00 -0.679 0.2912 -0.3065 + 170.00 -0.735 0.0995 -0.3706 + 175.00 -0.368 0.0356 -0.1846 + 180.00 0.000 0.0202 0.0000 + +Reynolds Number: 4e8 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0202 0.0000 +-175.00 0.368 0.0324 0.1845 +-170.00 0.735 0.0943 0.3701 +-160.00 0.695 0.2848 0.2679 +-155.00 0.777 0.4001 0.3046 +-150.00 0.828 0.5215 0.3329 +-145.00 0.850 0.6447 0.3540 +-140.00 0.846 0.7660 0.3693 +-135.00 0.818 0.8823 0.3794 +-130.00 0.771 0.9911 0.3854 +-125.00 0.705 1.0905 0.3878 +-120.00 0.624 1.1787 0.3872 +-115.00 0.530 1.2545 0.3841 +-110.00 0.426 1.3168 0.3788 +-105.00 0.314 1.3650 0.3716 +-100.00 0.195 1.3984 0.3629 + -95.00 0.073 1.4169 0.3529 + -90.00 -0.050 1.4201 0.3416 + -85.00 -0.173 1.4081 0.3292 + -80.00 -0.294 1.3811 0.3159 + -75.00 -0.409 1.3394 0.3017 + -70.00 -0.518 1.2833 0.2866 + -65.00 -0.617 1.2138 0.2707 + -60.00 -0.706 1.1315 0.2539 + -55.00 -0.780 1.0378 0.2364 + -50.00 -0.839 0.9341 0.2181 + -45.00 -0.879 0.8221 0.1991 + -40.00 -0.898 0.7042 0.1792 + -35.00 -0.893 0.5829 0.1587 + -30.00 -0.862 0.4616 0.1374 + -25.00 -0.803 0.3441 0.1154 + -24.00 -0.792 0.3209 0.1101 + -23.00 -0.789 0.2972 0.1031 + -22.00 -0.792 0.2730 0.0947 + -21.00 -0.801 0.2485 0.0849 + -20.00 -0.815 0.2237 0.0739 + -19.00 -0.833 0.1990 0.0618 + -18.00 -0.854 0.1743 0.0488 + -17.00 -0.879 0.1498 0.0351 + -16.00 -0.905 0.1256 0.0208 + -15.00 -0.932 0.1020 0.0060 + -14.00 -0.959 0.0789 -0.0091 + -13.00 -0.985 0.0567 -0.0243 + -13.00 -0.985 0.0567 -0.0243 + -12.01 -0.953 0.0271 -0.0349 + -11.00 -0.900 0.0303 -0.0361 + -9.98 -0.827 0.0287 -0.0464 + -8.98 -0.753 0.0271 -0.0534 + -8.47 -0.691 0.0264 -0.0650 + -7.45 -0.555 0.0114 -0.0782 + -6.42 -0.413 0.0094 -0.0904 + -5.40 -0.271 0.0086 -0.1006 + -5.00 -0.220 0.0073 -0.1107 + -4.50 -0.152 0.0071 -0.1135 + -4.00 -0.084 0.0070 -0.1162 + -3.50 -0.018 0.0069 -0.1186 + -3.00 0.049 0.0068 -0.1209 + -2.50 0.115 0.0068 -0.1231 + -2.00 0.181 0.0068 -0.1252 + -1.50 0.247 0.0067 -0.1272 + -1.00 0.312 0.0067 -0.1293 + -0.50 0.377 0.0067 -0.1311 + 0.00 0.444 0.0065 -0.1330 + 0.50 0.508 0.0065 -0.1347 + 1.00 0.573 0.0066 -0.1364 + 1.50 0.636 0.0067 -0.1380 + 2.00 0.701 0.0068 -0.1396 + 2.50 0.765 0.0069 -0.1411 + 3.00 0.827 0.0070 -0.1424 + 3.50 0.890 0.0071 -0.1437 + 4.00 0.952 0.0073 -0.1448 + 4.50 1.013 0.0076 -0.1456 + 5.00 1.062 0.0079 -0.1445 + 6.00 1.161 0.0099 -0.1419 + 6.50 1.208 0.0117 -0.1403 + 7.00 1.254 0.0132 -0.1382 + 7.50 1.301 0.0143 -0.1362 + 8.00 1.336 0.0153 -0.1320 + 8.50 1.369 0.0165 -0.1276 + 9.00 1.400 0.0181 -0.1234 + 9.50 1.428 0.0211 -0.1193 + 10.00 1.442 0.0262 -0.1152 + 10.50 1.427 0.0336 -0.1115 + 11.00 1.374 0.0420 -0.1081 + 11.50 1.316 0.0515 -0.1052 + 12.00 1.277 0.0601 -0.1026 + 12.50 1.250 0.0693 -0.1000 + 13.00 1.246 0.0785 -0.0980 + 13.50 1.247 0.0888 -0.0969 + 14.00 1.256 0.1000 -0.0968 + 14.50 1.260 0.1108 -0.0973 + 15.00 1.271 0.1219 -0.0981 + 15.50 1.281 0.1325 -0.0992 + 16.00 1.289 0.1433 -0.1006 + 16.50 1.294 0.1541 -0.1023 + 17.00 1.304 0.1649 -0.1042 + 17.50 1.309 0.1754 -0.1064 + 18.00 1.315 0.1845 -0.1082 + 18.50 1.320 0.1953 -0.1110 + 19.00 1.330 0.2061 -0.1143 + 19.50 1.343 0.2170 -0.1179 + 20.00 1.354 0.2280 -0.1219 + 20.50 1.359 0.2390 -0.1261 + 21.00 1.360 0.2536 -0.1303 + 22.00 1.325 0.2814 -0.1375 + 23.00 1.288 0.3098 -0.1446 + 24.00 1.251 0.3386 -0.1515 + 25.00 1.215 0.3678 -0.1584 + 26.00 1.181 0.3972 -0.1651 + 28.00 1.120 0.4563 -0.1781 + 30.00 1.076 0.5149 -0.1904 + 32.00 1.056 0.5720 -0.2017 + 35.00 1.066 0.6548 -0.2173 + 40.00 1.064 0.7901 -0.2418 + 45.00 1.035 0.9190 -0.2650 + 50.00 0.980 1.0378 -0.2867 + 55.00 0.904 1.1434 -0.3072 + 60.00 0.810 1.2333 -0.3265 + 65.00 0.702 1.3055 -0.3446 + 70.00 0.582 1.3587 -0.3616 + 75.00 0.456 1.3922 -0.3775 + 80.00 0.326 1.4063 -0.3921 + 85.00 0.197 1.4042 -0.4057 + 90.00 0.072 1.3985 -0.4180 + 95.00 -0.050 1.3973 -0.4289 + 100.00 -0.170 1.3810 -0.4385 + 105.00 -0.287 1.3498 -0.4464 + 110.00 -0.399 1.3041 -0.4524 + 115.00 -0.502 1.2442 -0.4563 + 120.00 -0.596 1.1709 -0.4577 + 125.00 -0.677 1.0852 -0.4563 + 130.00 -0.743 0.9883 -0.4514 + 135.00 -0.792 0.8818 -0.4425 + 140.00 -0.821 0.7676 -0.4288 + 145.00 -0.826 0.6481 -0.4095 + 150.00 -0.806 0.5264 -0.3836 + 155.00 -0.758 0.4060 -0.3497 + 160.00 -0.679 0.2912 -0.3065 + 170.00 -0.735 0.0995 -0.3706 + 175.00 -0.368 0.0356 -0.1846 + 180.00 0.000 0.0202 0.0000 + diff --git a/tests/Wind-Turbine/Resources/Airfoils/DU30_A17.air b/tests/Wind-Turbine/Resources/Airfoils/DU30_A17.air new file mode 100644 index 000000000..9fb205cee --- /dev/null +++ b/tests/Wind-Turbine/Resources/Airfoils/DU30_A17.air @@ -0,0 +1,296 @@ +Title: DU30_A17 +Thickness to Chord Ratio: 0.3 +Zero Lift AOA (deg): -5.0609 +Reverse Camber Direction: 0 + +Reynolds Number: 4e3 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0267 0.0000 +-175.00 0.274 0.0370 0.1379 +-170.00 0.547 0.0968 0.2778 +-160.00 0.685 0.2876 0.2740 +-155.00 0.766 0.4025 0.3118 +-150.00 0.816 0.5232 0.3411 +-145.00 0.836 0.6454 0.3631 +-140.00 0.832 0.7656 0.3791 +-135.00 0.804 0.8807 0.3899 +-130.00 0.756 0.9882 0.3965 +-125.00 0.690 1.0861 0.3994 +-120.00 0.609 1.1730 0.3992 +-115.00 0.515 1.2474 0.3964 +-110.00 0.411 1.3084 0.3915 +-105.00 0.300 1.3552 0.3846 +-100.00 0.182 1.3875 0.3761 + -95.00 0.061 1.4048 0.3663 + -90.00 -0.061 1.4070 0.3551 + -85.00 -0.183 1.3941 0.3428 + -80.00 -0.302 1.3664 0.3295 + -75.00 -0.416 1.3240 0.3153 + -70.00 -0.523 1.2676 0.3001 + -65.00 -0.622 1.1978 0.2841 + -60.00 -0.708 1.1156 0.2672 + -55.00 -0.781 1.0220 0.2494 + -50.00 -0.838 0.9187 0.2308 + -45.00 -0.877 0.8074 0.2113 + -40.00 -0.895 0.6904 0.1909 + -35.00 -0.889 0.5703 0.1696 + -30.00 -0.858 0.4503 0.1475 + -25.00 -0.832 0.3357 0.1224 + -24.00 -0.852 0.3147 0.1156 + -23.00 -0.882 0.2946 0.1081 + -22.00 -0.919 0.2752 0.1000 + -21.00 -0.963 0.2566 0.0914 + -20.00 -1.013 0.2388 0.0823 + -19.00 -1.067 0.2218 0.0728 + -18.00 -1.125 0.2056 0.0631 + -17.00 -1.185 0.1901 0.0531 + -16.00 -1.245 0.1754 0.0430 + -15.25 -1.290 0.1649 0.0353 + -14.24 -1.229 0.1461 0.0240 + -13.24 -1.148 0.1263 0.0100 + -12.22 -1.052 0.1051 -0.0090 + -11.22 -0.965 0.0886 -0.0230 + -10.19 -0.867 0.0740 -0.0336 + -9.70 -0.822 0.0684 -0.0375 + -9.18 -0.769 0.0605 -0.0440 + -8.18 -0.756 0.0270 -0.0578 + -7.19 -0.690 0.0180 -0.0590 + -6.65 -0.616 0.0166 -0.0633 + -6.13 -0.542 0.0152 -0.0674 + -6.00 -0.525 0.0117 -0.0732 + -5.50 -0.451 0.0105 -0.0766 + -5.00 -0.382 0.0097 -0.0797 + -4.50 -0.314 0.0092 -0.0825 + -4.00 -0.251 0.0091 -0.0853 + -3.50 -0.189 0.0089 -0.0884 + -3.00 -0.120 0.0089 -0.0914 + -2.50 -0.051 0.0088 -0.0942 + -2.00 0.017 0.0088 -0.0969 + -1.50 0.085 0.0088 -0.0994 + -1.00 0.152 0.0088 -0.1018 + -0.50 0.219 0.0088 -0.1041 + 0.00 0.288 0.0087 -0.1062 + 0.50 0.354 0.0087 -0.1086 + 1.00 0.421 0.0088 -0.1107 + 1.50 0.487 0.0089 -0.1129 + 2.00 0.554 0.0090 -0.1149 + 2.50 0.619 0.0091 -0.1168 + 3.00 0.685 0.0092 -0.1185 + 3.50 0.749 0.0093 -0.1201 + 4.00 0.815 0.0095 -0.1218 + 4.50 0.879 0.0096 -0.1233 + 5.00 0.944 0.0097 -0.1248 + 5.50 1.008 0.0099 -0.1260 + 6.00 1.072 0.0101 -0.1270 + 6.50 1.135 0.0103 -0.1280 + 7.00 1.197 0.0107 -0.1287 + 7.50 1.256 0.0112 -0.1289 + 8.00 1.305 0.0125 -0.1270 + 9.00 1.390 0.0155 -0.1207 + 9.50 1.424 0.0171 -0.1158 + 10.00 1.458 0.0192 -0.1116 + 10.50 1.488 0.0219 -0.1073 + 11.00 1.512 0.0255 -0.1029 + 11.50 1.533 0.0307 -0.0983 + 12.00 1.549 0.0370 -0.0949 + 12.50 1.558 0.0452 -0.0921 + 13.00 1.470 0.0630 -0.0899 + 13.50 1.398 0.0784 -0.0885 + 14.00 1.354 0.0931 -0.0885 + 14.50 1.336 0.1081 -0.0902 + 15.00 1.333 0.1239 -0.0928 + 15.50 1.326 0.1415 -0.0963 + 16.00 1.329 0.1592 -0.1006 + 16.50 1.326 0.1743 -0.1042 + 17.00 1.321 0.1903 -0.1084 + 17.50 1.331 0.2044 -0.1125 + 18.00 1.333 0.2186 -0.1169 + 18.50 1.340 0.2324 -0.1215 + 19.00 1.362 0.2455 -0.1263 + 19.50 1.382 0.2584 -0.1313 + 20.00 1.398 0.2689 -0.1352 + 20.50 1.426 0.2814 -0.1406 + 21.00 1.437 0.2943 -0.1462 + 22.00 1.418 0.3246 -0.1516 + 23.00 1.397 0.3557 -0.1570 + 24.00 1.376 0.3875 -0.1623 + 25.00 1.354 0.4198 -0.1676 + 26.00 1.332 0.4524 -0.1728 + 28.00 1.293 0.5183 -0.1832 + 30.00 1.265 0.5843 -0.1935 + 32.00 1.253 0.6492 -0.2039 + 35.00 1.264 0.7438 -0.2193 + 40.00 1.258 0.8970 -0.2440 + 45.00 1.217 1.0402 -0.2672 + 50.00 1.146 1.1686 -0.2891 + 55.00 1.049 1.2779 -0.3097 + 60.00 0.932 1.3647 -0.3290 + 65.00 0.799 1.4267 -0.3471 + 70.00 0.657 1.4621 -0.3641 + 75.00 0.509 1.4708 -0.3799 + 80.00 0.362 1.4544 -0.3946 + 85.00 0.221 1.4196 -0.4081 + 90.00 0.092 1.3938 -0.4204 + 95.00 -0.030 1.3943 -0.4313 + 100.00 -0.150 1.3798 -0.4408 + 105.00 -0.267 1.3504 -0.4486 + 110.00 -0.379 1.3063 -0.4546 + 115.00 -0.483 1.2481 -0.4584 + 120.00 -0.578 1.1763 -0.4597 + 125.00 -0.660 1.0919 -0.4582 + 130.00 -0.727 0.9962 -0.4532 + 135.00 -0.777 0.8906 -0.4441 + 140.00 -0.807 0.7771 -0.4303 + 145.00 -0.815 0.6581 -0.4109 + 150.00 -0.797 0.5364 -0.3848 + 155.00 -0.750 0.4157 -0.3508 + 160.00 -0.673 0.3000 -0.3074 + 170.00 -0.547 0.1051 -0.2786 + 175.00 -0.274 0.0388 -0.1380 + 180.00 0.000 0.0267 0.0000 + +Reynolds Number: 4e8 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0267 0.0000 +-175.00 0.274 0.0370 0.1379 +-170.00 0.547 0.0968 0.2778 +-160.00 0.685 0.2876 0.2740 +-155.00 0.766 0.4025 0.3118 +-150.00 0.816 0.5232 0.3411 +-145.00 0.836 0.6454 0.3631 +-140.00 0.832 0.7656 0.3791 +-135.00 0.804 0.8807 0.3899 +-130.00 0.756 0.9882 0.3965 +-125.00 0.690 1.0861 0.3994 +-120.00 0.609 1.1730 0.3992 +-115.00 0.515 1.2474 0.3964 +-110.00 0.411 1.3084 0.3915 +-105.00 0.300 1.3552 0.3846 +-100.00 0.182 1.3875 0.3761 + -95.00 0.061 1.4048 0.3663 + -90.00 -0.061 1.4070 0.3551 + -85.00 -0.183 1.3941 0.3428 + -80.00 -0.302 1.3664 0.3295 + -75.00 -0.416 1.3240 0.3153 + -70.00 -0.523 1.2676 0.3001 + -65.00 -0.622 1.1978 0.2841 + -60.00 -0.708 1.1156 0.2672 + -55.00 -0.781 1.0220 0.2494 + -50.00 -0.838 0.9187 0.2308 + -45.00 -0.877 0.8074 0.2113 + -40.00 -0.895 0.6904 0.1909 + -35.00 -0.889 0.5703 0.1696 + -30.00 -0.858 0.4503 0.1475 + -25.00 -0.832 0.3357 0.1224 + -24.00 -0.852 0.3147 0.1156 + -23.00 -0.882 0.2946 0.1081 + -22.00 -0.919 0.2752 0.1000 + -21.00 -0.963 0.2566 0.0914 + -20.00 -1.013 0.2388 0.0823 + -19.00 -1.067 0.2218 0.0728 + -18.00 -1.125 0.2056 0.0631 + -17.00 -1.185 0.1901 0.0531 + -16.00 -1.245 0.1754 0.0430 + -15.25 -1.290 0.1649 0.0353 + -14.24 -1.229 0.1461 0.0240 + -13.24 -1.148 0.1263 0.0100 + -12.22 -1.052 0.1051 -0.0090 + -11.22 -0.965 0.0886 -0.0230 + -10.19 -0.867 0.0740 -0.0336 + -9.70 -0.822 0.0684 -0.0375 + -9.18 -0.769 0.0605 -0.0440 + -8.18 -0.756 0.0270 -0.0578 + -7.19 -0.690 0.0180 -0.0590 + -6.65 -0.616 0.0166 -0.0633 + -6.13 -0.542 0.0152 -0.0674 + -6.00 -0.525 0.0117 -0.0732 + -5.50 -0.451 0.0105 -0.0766 + -5.00 -0.382 0.0097 -0.0797 + -4.50 -0.314 0.0092 -0.0825 + -4.00 -0.251 0.0091 -0.0853 + -3.50 -0.189 0.0089 -0.0884 + -3.00 -0.120 0.0089 -0.0914 + -2.50 -0.051 0.0088 -0.0942 + -2.00 0.017 0.0088 -0.0969 + -1.50 0.085 0.0088 -0.0994 + -1.00 0.152 0.0088 -0.1018 + -0.50 0.219 0.0088 -0.1041 + 0.00 0.288 0.0087 -0.1062 + 0.50 0.354 0.0087 -0.1086 + 1.00 0.421 0.0088 -0.1107 + 1.50 0.487 0.0089 -0.1129 + 2.00 0.554 0.0090 -0.1149 + 2.50 0.619 0.0091 -0.1168 + 3.00 0.685 0.0092 -0.1185 + 3.50 0.749 0.0093 -0.1201 + 4.00 0.815 0.0095 -0.1218 + 4.50 0.879 0.0096 -0.1233 + 5.00 0.944 0.0097 -0.1248 + 5.50 1.008 0.0099 -0.1260 + 6.00 1.072 0.0101 -0.1270 + 6.50 1.135 0.0103 -0.1280 + 7.00 1.197 0.0107 -0.1287 + 7.50 1.256 0.0112 -0.1289 + 8.00 1.305 0.0125 -0.1270 + 9.00 1.390 0.0155 -0.1207 + 9.50 1.424 0.0171 -0.1158 + 10.00 1.458 0.0192 -0.1116 + 10.50 1.488 0.0219 -0.1073 + 11.00 1.512 0.0255 -0.1029 + 11.50 1.533 0.0307 -0.0983 + 12.00 1.549 0.0370 -0.0949 + 12.50 1.558 0.0452 -0.0921 + 13.00 1.470 0.0630 -0.0899 + 13.50 1.398 0.0784 -0.0885 + 14.00 1.354 0.0931 -0.0885 + 14.50 1.336 0.1081 -0.0902 + 15.00 1.333 0.1239 -0.0928 + 15.50 1.326 0.1415 -0.0963 + 16.00 1.329 0.1592 -0.1006 + 16.50 1.326 0.1743 -0.1042 + 17.00 1.321 0.1903 -0.1084 + 17.50 1.331 0.2044 -0.1125 + 18.00 1.333 0.2186 -0.1169 + 18.50 1.340 0.2324 -0.1215 + 19.00 1.362 0.2455 -0.1263 + 19.50 1.382 0.2584 -0.1313 + 20.00 1.398 0.2689 -0.1352 + 20.50 1.426 0.2814 -0.1406 + 21.00 1.437 0.2943 -0.1462 + 22.00 1.418 0.3246 -0.1516 + 23.00 1.397 0.3557 -0.1570 + 24.00 1.376 0.3875 -0.1623 + 25.00 1.354 0.4198 -0.1676 + 26.00 1.332 0.4524 -0.1728 + 28.00 1.293 0.5183 -0.1832 + 30.00 1.265 0.5843 -0.1935 + 32.00 1.253 0.6492 -0.2039 + 35.00 1.264 0.7438 -0.2193 + 40.00 1.258 0.8970 -0.2440 + 45.00 1.217 1.0402 -0.2672 + 50.00 1.146 1.1686 -0.2891 + 55.00 1.049 1.2779 -0.3097 + 60.00 0.932 1.3647 -0.3290 + 65.00 0.799 1.4267 -0.3471 + 70.00 0.657 1.4621 -0.3641 + 75.00 0.509 1.4708 -0.3799 + 80.00 0.362 1.4544 -0.3946 + 85.00 0.221 1.4196 -0.4081 + 90.00 0.092 1.3938 -0.4204 + 95.00 -0.030 1.3943 -0.4313 + 100.00 -0.150 1.3798 -0.4408 + 105.00 -0.267 1.3504 -0.4486 + 110.00 -0.379 1.3063 -0.4546 + 115.00 -0.483 1.2481 -0.4584 + 120.00 -0.578 1.1763 -0.4597 + 125.00 -0.660 1.0919 -0.4582 + 130.00 -0.727 0.9962 -0.4532 + 135.00 -0.777 0.8906 -0.4441 + 140.00 -0.807 0.7771 -0.4303 + 145.00 -0.815 0.6581 -0.4109 + 150.00 -0.797 0.5364 -0.3848 + 155.00 -0.750 0.4157 -0.3508 + 160.00 -0.673 0.3000 -0.3074 + 170.00 -0.547 0.1051 -0.2786 + 175.00 -0.274 0.0388 -0.1380 + 180.00 0.000 0.0267 0.0000 diff --git a/tests/Wind-Turbine/Resources/Airfoils/DU35_A17.air b/tests/Wind-Turbine/Resources/Airfoils/DU35_A17.air new file mode 100644 index 000000000..c0b645666 --- /dev/null +++ b/tests/Wind-Turbine/Resources/Airfoils/DU35_A17.air @@ -0,0 +1,280 @@ +Title: DU35_A17 +Thickness to Chord Ratio: 0.35 +Zero Lift AOA (deg): -1.833 +Reverse Camber Direction: 0 + +Reynolds Number: 4e3 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0407 0.0000 +-175.00 0.223 0.0507 0.0937 +-170.00 0.405 0.1055 0.1702 +-160.00 0.658 0.2982 0.2819 +-155.00 0.733 0.4121 0.3213 +-150.00 0.778 0.5308 0.3520 +-145.00 0.795 0.6503 0.3754 +-140.00 0.787 0.7672 0.3926 +-135.00 0.757 0.8785 0.4046 +-130.00 0.708 0.9819 0.4121 +-125.00 0.641 1.0756 0.4160 +-120.00 0.560 1.1580 0.4167 +-115.00 0.467 1.2280 0.4146 +-110.00 0.365 1.2847 0.4104 +-105.00 0.255 1.3274 0.4041 +-100.00 0.139 1.3557 0.3961 + -95.00 0.021 1.3692 0.3867 + -90.00 -0.098 1.3680 0.3759 + -85.00 -0.216 1.3521 0.3639 + -80.00 -0.331 1.3218 0.3508 + -75.00 -0.441 1.2773 0.3367 + -70.00 -0.544 1.2193 0.3216 + -65.00 -0.638 1.1486 0.3054 + -60.00 -0.720 1.0660 0.2884 + -55.00 -0.788 0.9728 0.2703 + -50.00 -0.840 0.8705 0.2512 + -45.00 -0.875 0.7611 0.2311 + -40.00 -0.889 0.6466 0.2099 + -35.00 -0.880 0.5299 0.1876 + -30.00 -0.846 0.4141 0.1641 + -25.00 -0.784 0.3030 0.1396 + -24.00 -0.768 0.2817 0.1345 + -23.00 -0.751 0.2608 0.1294 + -22.00 -0.733 0.2404 0.1243 + -21.00 -0.714 0.2205 0.1191 + -20.00 -0.693 0.2011 0.1139 + -19.00 -0.671 0.1822 0.1086 + -18.00 -0.648 0.1640 0.1032 + -17.00 -0.624 0.1465 0.0975 + -16.00 -0.601 0.1300 0.0898 + -15.00 -0.579 0.1145 0.0799 + -14.00 -0.559 0.1000 0.0682 + -13.00 -0.539 0.0867 0.0547 + -12.00 -0.519 0.0744 0.0397 + -11.00 -0.499 0.0633 0.0234 + -10.00 -0.480 0.0534 0.0060 + -5.54 -0.385 0.0245 -0.0800 + -5.04 -0.359 0.0225 -0.0800 + -4.54 -0.360 0.0196 -0.0800 + -4.04 -0.355 0.0174 -0.0800 + -3.54 -0.307 0.0162 -0.0800 + -3.04 -0.246 0.0144 -0.0800 + -3.00 -0.240 0.0240 -0.0623 + -2.50 -0.163 0.0188 -0.0674 + -2.00 -0.091 0.0160 -0.0712 + -1.50 -0.019 0.0137 -0.0746 + -1.00 0.052 0.0118 -0.0778 + -0.50 0.121 0.0104 -0.0806 + 0.00 0.196 0.0094 -0.0831 + 0.50 0.265 0.0096 -0.0863 + 1.00 0.335 0.0098 -0.0895 + 1.50 0.404 0.0099 -0.0924 + 2.00 0.472 0.0100 -0.0949 + 2.50 0.540 0.0102 -0.0973 + 3.00 0.608 0.0103 -0.0996 + 3.50 0.674 0.0104 -0.1016 + 4.00 0.742 0.0105 -0.1037 + 4.50 0.809 0.0107 -0.1057 + 5.00 0.875 0.0108 -0.1076 + 5.50 0.941 0.0109 -0.1094 + 6.00 1.007 0.0110 -0.1109 + 6.50 1.071 0.0113 -0.1118 + 7.00 1.134 0.0115 -0.1127 + 7.50 1.198 0.0117 -0.1138 + 8.00 1.260 0.0120 -0.1144 + 8.50 1.318 0.0126 -0.1137 + 9.00 1.368 0.0133 -0.1112 + 9.50 1.422 0.0143 -0.1100 + 10.00 1.475 0.0156 -0.1086 + 10.50 1.523 0.0174 -0.1064 + 11.00 1.570 0.0194 -0.1044 + 11.50 1.609 0.0227 -0.1013 + 12.00 1.642 0.0269 -0.0980 + 12.50 1.675 0.0319 -0.0953 + 13.00 1.700 0.0398 -0.0925 + 13.50 1.717 0.0488 -0.0896 + 14.00 1.712 0.0614 -0.0864 + 14.50 1.703 0.0786 -0.0840 + 15.50 1.671 0.1173 -0.0830 + 16.00 1.649 0.1377 -0.0848 + 16.50 1.621 0.1600 -0.0880 + 17.00 1.598 0.1814 -0.0926 + 17.50 1.571 0.2042 -0.0984 + 18.00 1.549 0.2316 -0.1052 + 19.00 1.544 0.2719 -0.1158 + 19.50 1.549 0.2906 -0.1213 + 20.00 1.565 0.3085 -0.1248 + 21.00 1.565 0.3447 -0.1317 + 22.00 1.563 0.3820 -0.1385 + 23.00 1.558 0.4203 -0.1452 + 24.00 1.552 0.4593 -0.1518 + 25.00 1.546 0.4988 -0.1583 + 26.00 1.539 0.5387 -0.1647 + 28.00 1.527 0.6187 -0.1770 + 30.00 1.522 0.6978 -0.1886 + 32.00 1.529 0.7747 -0.1994 + 35.00 1.544 0.8869 -0.2148 + 40.00 1.529 1.0671 -0.2392 + 45.00 1.471 1.2319 -0.2622 + 50.00 1.376 1.3747 -0.2839 + 55.00 1.249 1.4899 -0.3043 + 60.00 1.097 1.5728 -0.3236 + 65.00 0.928 1.6202 -0.3417 + 70.00 0.750 1.6302 -0.3586 + 75.00 0.570 1.6031 -0.3745 + 80.00 0.396 1.5423 -0.3892 + 85.00 0.237 1.4598 -0.4028 + 90.00 0.101 1.4041 -0.4151 + 95.00 -0.022 1.4053 -0.4261 + 100.00 -0.143 1.3914 -0.4357 + 105.00 -0.261 1.3625 -0.4437 + 110.00 -0.374 1.3188 -0.4498 + 115.00 -0.480 1.2608 -0.4538 + 120.00 -0.575 1.1891 -0.4553 + 125.00 -0.659 1.1046 -0.4540 + 130.00 -0.727 1.0086 -0.4492 + 135.00 -0.778 0.9025 -0.4405 + 140.00 -0.809 0.7883 -0.4270 + 145.00 -0.818 0.6684 -0.4078 + 150.00 -0.800 0.5457 -0.3821 + 155.00 -0.754 0.4236 -0.3484 + 160.00 -0.677 0.3066 -0.3054 + 170.00 -0.417 0.1085 -0.1842 + 175.00 -0.229 0.0510 -0.1013 + 180.00 0.000 0.0407 0.0000 + +Reynolds Number: 4e8 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0407 0.0000 +-175.00 0.223 0.0507 0.0937 +-170.00 0.405 0.1055 0.1702 +-160.00 0.658 0.2982 0.2819 +-155.00 0.733 0.4121 0.3213 +-150.00 0.778 0.5308 0.3520 +-145.00 0.795 0.6503 0.3754 +-140.00 0.787 0.7672 0.3926 +-135.00 0.757 0.8785 0.4046 +-130.00 0.708 0.9819 0.4121 +-125.00 0.641 1.0756 0.4160 +-120.00 0.560 1.1580 0.4167 +-115.00 0.467 1.2280 0.4146 +-110.00 0.365 1.2847 0.4104 +-105.00 0.255 1.3274 0.4041 +-100.00 0.139 1.3557 0.3961 + -95.00 0.021 1.3692 0.3867 + -90.00 -0.098 1.3680 0.3759 + -85.00 -0.216 1.3521 0.3639 + -80.00 -0.331 1.3218 0.3508 + -75.00 -0.441 1.2773 0.3367 + -70.00 -0.544 1.2193 0.3216 + -65.00 -0.638 1.1486 0.3054 + -60.00 -0.720 1.0660 0.2884 + -55.00 -0.788 0.9728 0.2703 + -50.00 -0.840 0.8705 0.2512 + -45.00 -0.875 0.7611 0.2311 + -40.00 -0.889 0.6466 0.2099 + -35.00 -0.880 0.5299 0.1876 + -30.00 -0.846 0.4141 0.1641 + -25.00 -0.784 0.3030 0.1396 + -24.00 -0.768 0.2817 0.1345 + -23.00 -0.751 0.2608 0.1294 + -22.00 -0.733 0.2404 0.1243 + -21.00 -0.714 0.2205 0.1191 + -20.00 -0.693 0.2011 0.1139 + -19.00 -0.671 0.1822 0.1086 + -18.00 -0.648 0.1640 0.1032 + -17.00 -0.624 0.1465 0.0975 + -16.00 -0.601 0.1300 0.0898 + -15.00 -0.579 0.1145 0.0799 + -14.00 -0.559 0.1000 0.0682 + -13.00 -0.539 0.0867 0.0547 + -12.00 -0.519 0.0744 0.0397 + -11.00 -0.499 0.0633 0.0234 + -10.00 -0.480 0.0534 0.0060 + -5.54 -0.385 0.0245 -0.0800 + -5.04 -0.359 0.0225 -0.0800 + -4.54 -0.360 0.0196 -0.0800 + -4.04 -0.355 0.0174 -0.0800 + -3.54 -0.307 0.0162 -0.0800 + -3.04 -0.246 0.0144 -0.0800 + -3.00 -0.240 0.0240 -0.0623 + -2.50 -0.163 0.0188 -0.0674 + -2.00 -0.091 0.0160 -0.0712 + -1.50 -0.019 0.0137 -0.0746 + -1.00 0.052 0.0118 -0.0778 + -0.50 0.121 0.0104 -0.0806 + 0.00 0.196 0.0094 -0.0831 + 0.50 0.265 0.0096 -0.0863 + 1.00 0.335 0.0098 -0.0895 + 1.50 0.404 0.0099 -0.0924 + 2.00 0.472 0.0100 -0.0949 + 2.50 0.540 0.0102 -0.0973 + 3.00 0.608 0.0103 -0.0996 + 3.50 0.674 0.0104 -0.1016 + 4.00 0.742 0.0105 -0.1037 + 4.50 0.809 0.0107 -0.1057 + 5.00 0.875 0.0108 -0.1076 + 5.50 0.941 0.0109 -0.1094 + 6.00 1.007 0.0110 -0.1109 + 6.50 1.071 0.0113 -0.1118 + 7.00 1.134 0.0115 -0.1127 + 7.50 1.198 0.0117 -0.1138 + 8.00 1.260 0.0120 -0.1144 + 8.50 1.318 0.0126 -0.1137 + 9.00 1.368 0.0133 -0.1112 + 9.50 1.422 0.0143 -0.1100 + 10.00 1.475 0.0156 -0.1086 + 10.50 1.523 0.0174 -0.1064 + 11.00 1.570 0.0194 -0.1044 + 11.50 1.609 0.0227 -0.1013 + 12.00 1.642 0.0269 -0.0980 + 12.50 1.675 0.0319 -0.0953 + 13.00 1.700 0.0398 -0.0925 + 13.50 1.717 0.0488 -0.0896 + 14.00 1.712 0.0614 -0.0864 + 14.50 1.703 0.0786 -0.0840 + 15.50 1.671 0.1173 -0.0830 + 16.00 1.649 0.1377 -0.0848 + 16.50 1.621 0.1600 -0.0880 + 17.00 1.598 0.1814 -0.0926 + 17.50 1.571 0.2042 -0.0984 + 18.00 1.549 0.2316 -0.1052 + 19.00 1.544 0.2719 -0.1158 + 19.50 1.549 0.2906 -0.1213 + 20.00 1.565 0.3085 -0.1248 + 21.00 1.565 0.3447 -0.1317 + 22.00 1.563 0.3820 -0.1385 + 23.00 1.558 0.4203 -0.1452 + 24.00 1.552 0.4593 -0.1518 + 25.00 1.546 0.4988 -0.1583 + 26.00 1.539 0.5387 -0.1647 + 28.00 1.527 0.6187 -0.1770 + 30.00 1.522 0.6978 -0.1886 + 32.00 1.529 0.7747 -0.1994 + 35.00 1.544 0.8869 -0.2148 + 40.00 1.529 1.0671 -0.2392 + 45.00 1.471 1.2319 -0.2622 + 50.00 1.376 1.3747 -0.2839 + 55.00 1.249 1.4899 -0.3043 + 60.00 1.097 1.5728 -0.3236 + 65.00 0.928 1.6202 -0.3417 + 70.00 0.750 1.6302 -0.3586 + 75.00 0.570 1.6031 -0.3745 + 80.00 0.396 1.5423 -0.3892 + 85.00 0.237 1.4598 -0.4028 + 90.00 0.101 1.4041 -0.4151 + 95.00 -0.022 1.4053 -0.4261 + 100.00 -0.143 1.3914 -0.4357 + 105.00 -0.261 1.3625 -0.4437 + 110.00 -0.374 1.3188 -0.4498 + 115.00 -0.480 1.2608 -0.4538 + 120.00 -0.575 1.1891 -0.4553 + 125.00 -0.659 1.1046 -0.4540 + 130.00 -0.727 1.0086 -0.4492 + 135.00 -0.778 0.9025 -0.4405 + 140.00 -0.809 0.7883 -0.4270 + 145.00 -0.818 0.6684 -0.4078 + 150.00 -0.800 0.5457 -0.3821 + 155.00 -0.754 0.4236 -0.3484 + 160.00 -0.677 0.3066 -0.3054 + 170.00 -0.417 0.1085 -0.1842 + 175.00 -0.229 0.0510 -0.1013 + 180.00 0.000 0.0407 0.0000 diff --git a/tests/Wind-Turbine/Resources/Airfoils/DU40_A17.air b/tests/Wind-Turbine/Resources/Airfoils/DU40_A17.air new file mode 100644 index 000000000..090e31982 --- /dev/null +++ b/tests/Wind-Turbine/Resources/Airfoils/DU40_A17.air @@ -0,0 +1,282 @@ +Title: D40_A17 +Thickness to Chord Ratio: 0.4 +Zero Lift AOA (deg): -1.3430 +Reverse Camber Direction: 0 + +Reynolds Number: 4e3 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0602 0.0000 +-175.00 0.218 0.0699 0.0934 +-170.00 0.397 0.1107 0.1697 +-160.00 0.642 0.3045 0.2813 +-155.00 0.715 0.4179 0.3208 +-150.00 0.757 0.5355 0.3516 +-145.00 0.772 0.6535 0.3752 +-140.00 0.762 0.7685 0.3926 +-135.00 0.731 0.8777 0.4048 +-130.00 0.680 0.9788 0.4126 +-125.00 0.613 1.0700 0.4166 +-120.00 0.532 1.1499 0.4176 +-115.00 0.439 1.2174 0.4158 +-110.00 0.337 1.2716 0.4117 +-105.00 0.228 1.3118 0.4057 +-100.00 0.114 1.3378 0.3979 + -95.00 -0.002 1.3492 0.3887 + -90.00 -0.120 1.3460 0.3781 + -85.00 -0.236 1.3283 0.3663 + -80.00 -0.349 1.2964 0.3534 + -75.00 -0.456 1.2507 0.3394 + -70.00 -0.557 1.1918 0.3244 + -65.00 -0.647 1.1204 0.3084 + -60.00 -0.727 1.0376 0.2914 + -55.00 -0.792 0.9446 0.2733 + -50.00 -0.842 0.8429 0.2543 + -45.00 -0.874 0.7345 0.2342 + -40.00 -0.886 0.6215 0.2129 + -35.00 -0.875 0.5067 0.1906 + -30.00 -0.839 0.3932 0.1670 + -25.00 -0.777 0.2849 0.1422 + -24.00 -0.761 0.2642 0.1371 + -23.00 -0.744 0.2440 0.1320 + -22.00 -0.725 0.2242 0.1268 + -21.00 -0.706 0.2049 0.1215 + -20.00 -0.685 0.1861 0.1162 + -19.00 -0.662 0.1687 0.1097 + -18.00 -0.635 0.1533 0.1012 + -17.00 -0.605 0.1398 0.0907 + -16.00 -0.571 0.1281 0.0784 + -15.00 -0.534 0.1183 0.0646 + -14.00 -0.494 0.1101 0.0494 + -13.00 -0.452 0.1036 0.0330 + -12.00 -0.407 0.0986 0.0156 + -11.00 -0.360 0.0951 -0.0026 + -10.00 -0.311 0.0931 -0.0213 + -8.00 -0.208 0.0930 -0.0600 + -6.00 -0.111 0.0689 -0.0500 + -5.50 -0.090 0.0614 -0.0516 + -5.00 -0.072 0.0547 -0.0532 + -4.50 -0.065 0.0480 -0.0538 + -4.00 -0.054 0.0411 -0.0544 + -3.50 -0.017 0.0349 -0.0554 + -3.00 0.003 0.0299 -0.0558 + -2.50 0.014 0.0255 -0.0555 + -2.00 0.009 0.0198 -0.0534 + -1.50 0.004 0.0164 -0.0442 + -1.00 0.036 0.0147 -0.0469 + -0.50 0.073 0.0137 -0.0522 + 0.00 0.137 0.0113 -0.0573 + 0.50 0.213 0.0114 -0.0644 + 1.00 0.292 0.0118 -0.0718 + 1.50 0.369 0.0122 -0.0783 + 2.00 0.444 0.0124 -0.0835 + 2.50 0.514 0.0124 -0.0866 + 3.00 0.580 0.0123 -0.0887 + 3.50 0.645 0.0120 -0.0900 + 4.00 0.710 0.0119 -0.0914 + 4.50 0.776 0.0122 -0.0933 + 5.00 0.841 0.0125 -0.0947 + 5.50 0.904 0.0129 -0.0957 + 6.00 0.967 0.0135 -0.0967 + 6.50 1.027 0.0144 -0.0973 + 7.00 1.084 0.0158 -0.0972 + 7.50 1.140 0.0174 -0.0972 + 8.00 1.193 0.0198 -0.0968 + 8.50 1.242 0.0231 -0.0958 + 9.00 1.287 0.0275 -0.0948 + 9.50 1.333 0.0323 -0.0942 + 10.00 1.368 0.0393 -0.0926 + 10.50 1.400 0.0475 -0.0908 + 11.00 1.425 0.0580 -0.0890 + 11.50 1.449 0.0691 -0.0877 + 12.00 1.473 0.0816 -0.0870 + 12.50 1.494 0.0973 -0.0870 + 13.00 1.513 0.1129 -0.0876 + 13.50 1.538 0.1288 -0.0886 + 14.50 1.587 0.1650 -0.0917 + 15.00 1.614 0.1845 -0.0939 + 15.50 1.631 0.2052 -0.0966 + 16.00 1.649 0.2250 -0.0996 + 16.50 1.666 0.2467 -0.1031 + 17.00 1.681 0.2684 -0.1069 + 17.50 1.699 0.2900 -0.1110 + 18.00 1.719 0.3121 -0.1157 + 19.00 1.751 0.3554 -0.1242 + 19.50 1.767 0.3783 -0.1291 + 20.50 1.798 0.4212 -0.1384 + 21.00 1.810 0.4415 -0.1416 + 22.00 1.830 0.4830 -0.1479 + 23.00 1.847 0.5257 -0.1542 + 24.00 1.861 0.5694 -0.1603 + 25.00 1.872 0.6141 -0.1664 + 26.00 1.881 0.6593 -0.1724 + 28.00 1.894 0.7513 -0.1841 + 30.00 1.904 0.8441 -0.1954 + 32.00 1.915 0.9364 -0.2063 + 35.00 1.929 1.0722 -0.2220 + 40.00 1.903 1.2873 -0.2468 + 45.00 1.820 1.4796 -0.2701 + 50.00 1.690 1.6401 -0.2921 + 55.00 1.522 1.7609 -0.3127 + 60.00 1.323 1.8360 -0.3321 + 65.00 1.106 1.8614 -0.3502 + 70.00 0.880 1.8347 -0.3672 + 75.00 0.658 1.7567 -0.3830 + 80.00 0.449 1.6334 -0.3977 + 85.00 0.267 1.4847 -0.4112 + 90.00 0.124 1.3879 -0.4234 + 95.00 0.002 1.3912 -0.4343 + 100.00 -0.118 1.3795 -0.4437 + 105.00 -0.235 1.3528 -0.4514 + 110.00 -0.348 1.3114 -0.4573 + 115.00 -0.453 1.2557 -0.4610 + 120.00 -0.549 1.1864 -0.4623 + 125.00 -0.633 1.1041 -0.4606 + 130.00 -0.702 1.0102 -0.4554 + 135.00 -0.754 0.9060 -0.4462 + 140.00 -0.787 0.7935 -0.4323 + 145.00 -0.797 0.6750 -0.4127 + 150.00 -0.782 0.5532 -0.3863 + 155.00 -0.739 0.4318 -0.3521 + 160.00 -0.664 0.3147 -0.3085 + 170.00 -0.410 0.1144 -0.1858 + 175.00 -0.226 0.0702 -0.1022 + 180.00 0.000 0.0602 0.0000 + +Reynolds Number: 4e8 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0602 0.0000 +-175.00 0.218 0.0699 0.0934 +-170.00 0.397 0.1107 0.1697 +-160.00 0.642 0.3045 0.2813 +-155.00 0.715 0.4179 0.3208 +-150.00 0.757 0.5355 0.3516 +-145.00 0.772 0.6535 0.3752 +-140.00 0.762 0.7685 0.3926 +-135.00 0.731 0.8777 0.4048 +-130.00 0.680 0.9788 0.4126 +-125.00 0.613 1.0700 0.4166 +-120.00 0.532 1.1499 0.4176 +-115.00 0.439 1.2174 0.4158 +-110.00 0.337 1.2716 0.4117 +-105.00 0.228 1.3118 0.4057 +-100.00 0.114 1.3378 0.3979 + -95.00 -0.002 1.3492 0.3887 + -90.00 -0.120 1.3460 0.3781 + -85.00 -0.236 1.3283 0.3663 + -80.00 -0.349 1.2964 0.3534 + -75.00 -0.456 1.2507 0.3394 + -70.00 -0.557 1.1918 0.3244 + -65.00 -0.647 1.1204 0.3084 + -60.00 -0.727 1.0376 0.2914 + -55.00 -0.792 0.9446 0.2733 + -50.00 -0.842 0.8429 0.2543 + -45.00 -0.874 0.7345 0.2342 + -40.00 -0.886 0.6215 0.2129 + -35.00 -0.875 0.5067 0.1906 + -30.00 -0.839 0.3932 0.1670 + -25.00 -0.777 0.2849 0.1422 + -24.00 -0.761 0.2642 0.1371 + -23.00 -0.744 0.2440 0.1320 + -22.00 -0.725 0.2242 0.1268 + -21.00 -0.706 0.2049 0.1215 + -20.00 -0.685 0.1861 0.1162 + -19.00 -0.662 0.1687 0.1097 + -18.00 -0.635 0.1533 0.1012 + -17.00 -0.605 0.1398 0.0907 + -16.00 -0.571 0.1281 0.0784 + -15.00 -0.534 0.1183 0.0646 + -14.00 -0.494 0.1101 0.0494 + -13.00 -0.452 0.1036 0.0330 + -12.00 -0.407 0.0986 0.0156 + -11.00 -0.360 0.0951 -0.0026 + -10.00 -0.311 0.0931 -0.0213 + -8.00 -0.208 0.0930 -0.0600 + -6.00 -0.111 0.0689 -0.0500 + -5.50 -0.090 0.0614 -0.0516 + -5.00 -0.072 0.0547 -0.0532 + -4.50 -0.065 0.0480 -0.0538 + -4.00 -0.054 0.0411 -0.0544 + -3.50 -0.017 0.0349 -0.0554 + -3.00 0.003 0.0299 -0.0558 + -2.50 0.014 0.0255 -0.0555 + -2.00 0.009 0.0198 -0.0534 + -1.50 0.004 0.0164 -0.0442 + -1.00 0.036 0.0147 -0.0469 + -0.50 0.073 0.0137 -0.0522 + 0.00 0.137 0.0113 -0.0573 + 0.50 0.213 0.0114 -0.0644 + 1.00 0.292 0.0118 -0.0718 + 1.50 0.369 0.0122 -0.0783 + 2.00 0.444 0.0124 -0.0835 + 2.50 0.514 0.0124 -0.0866 + 3.00 0.580 0.0123 -0.0887 + 3.50 0.645 0.0120 -0.0900 + 4.00 0.710 0.0119 -0.0914 + 4.50 0.776 0.0122 -0.0933 + 5.00 0.841 0.0125 -0.0947 + 5.50 0.904 0.0129 -0.0957 + 6.00 0.967 0.0135 -0.0967 + 6.50 1.027 0.0144 -0.0973 + 7.00 1.084 0.0158 -0.0972 + 7.50 1.140 0.0174 -0.0972 + 8.00 1.193 0.0198 -0.0968 + 8.50 1.242 0.0231 -0.0958 + 9.00 1.287 0.0275 -0.0948 + 9.50 1.333 0.0323 -0.0942 + 10.00 1.368 0.0393 -0.0926 + 10.50 1.400 0.0475 -0.0908 + 11.00 1.425 0.0580 -0.0890 + 11.50 1.449 0.0691 -0.0877 + 12.00 1.473 0.0816 -0.0870 + 12.50 1.494 0.0973 -0.0870 + 13.00 1.513 0.1129 -0.0876 + 13.50 1.538 0.1288 -0.0886 + 14.50 1.587 0.1650 -0.0917 + 15.00 1.614 0.1845 -0.0939 + 15.50 1.631 0.2052 -0.0966 + 16.00 1.649 0.2250 -0.0996 + 16.50 1.666 0.2467 -0.1031 + 17.00 1.681 0.2684 -0.1069 + 17.50 1.699 0.2900 -0.1110 + 18.00 1.719 0.3121 -0.1157 + 19.00 1.751 0.3554 -0.1242 + 19.50 1.767 0.3783 -0.1291 + 20.50 1.798 0.4212 -0.1384 + 21.00 1.810 0.4415 -0.1416 + 22.00 1.830 0.4830 -0.1479 + 23.00 1.847 0.5257 -0.1542 + 24.00 1.861 0.5694 -0.1603 + 25.00 1.872 0.6141 -0.1664 + 26.00 1.881 0.6593 -0.1724 + 28.00 1.894 0.7513 -0.1841 + 30.00 1.904 0.8441 -0.1954 + 32.00 1.915 0.9364 -0.2063 + 35.00 1.929 1.0722 -0.2220 + 40.00 1.903 1.2873 -0.2468 + 45.00 1.820 1.4796 -0.2701 + 50.00 1.690 1.6401 -0.2921 + 55.00 1.522 1.7609 -0.3127 + 60.00 1.323 1.8360 -0.3321 + 65.00 1.106 1.8614 -0.3502 + 70.00 0.880 1.8347 -0.3672 + 75.00 0.658 1.7567 -0.3830 + 80.00 0.449 1.6334 -0.3977 + 85.00 0.267 1.4847 -0.4112 + 90.00 0.124 1.3879 -0.4234 + 95.00 0.002 1.3912 -0.4343 + 100.00 -0.118 1.3795 -0.4437 + 105.00 -0.235 1.3528 -0.4514 + 110.00 -0.348 1.3114 -0.4573 + 115.00 -0.453 1.2557 -0.4610 + 120.00 -0.549 1.1864 -0.4623 + 125.00 -0.633 1.1041 -0.4606 + 130.00 -0.702 1.0102 -0.4554 + 135.00 -0.754 0.9060 -0.4462 + 140.00 -0.787 0.7935 -0.4323 + 145.00 -0.797 0.6750 -0.4127 + 150.00 -0.782 0.5532 -0.3863 + 155.00 -0.739 0.4318 -0.3521 + 160.00 -0.664 0.3147 -0.3085 + 170.00 -0.410 0.1144 -0.1858 + 175.00 -0.226 0.0702 -0.1022 + 180.00 0.000 0.0602 0.0000 diff --git a/tests/Wind-Turbine/Resources/Airfoils/NACA64_A17.air b/tests/Wind-Turbine/Resources/Airfoils/NACA64_A17.air new file mode 100644 index 000000000..597dfc547 --- /dev/null +++ b/tests/Wind-Turbine/Resources/Airfoils/NACA64_A17.air @@ -0,0 +1,264 @@ +Title: NACA64 +Thickness to Chord Ratio: 0.1 +Zero Lift AOA (deg): -4.4320 +Reverse Camber Direction: 0 + +Reynolds Number: 4e3 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0198 0.0000 +-175.00 0.374 0.0341 0.1880 +-170.00 0.749 0.0955 0.3770 +-160.00 0.659 0.2807 0.2747 +-155.00 0.736 0.3919 0.3130 +-150.00 0.783 0.5086 0.3428 +-145.00 0.803 0.6267 0.3654 +-140.00 0.798 0.7427 0.3820 +-135.00 0.771 0.8537 0.3935 +-130.00 0.724 0.9574 0.4007 +-125.00 0.660 1.0519 0.4042 +-120.00 0.581 1.1355 0.4047 +-115.00 0.491 1.2070 0.4025 +-110.00 0.390 1.2656 0.3981 +-105.00 0.282 1.3104 0.3918 +-100.00 0.169 1.3410 0.3838 + -95.00 0.052 1.3572 0.3743 + -90.00 -0.067 1.3587 0.3636 + -85.00 -0.184 1.3456 0.3517 + -80.00 -0.299 1.3181 0.3388 + -75.00 -0.409 1.2765 0.3248 + -70.00 -0.512 1.2212 0.3099 + -65.00 -0.606 1.1532 0.2940 + -60.00 -0.689 1.0731 0.2772 + -55.00 -0.759 0.9822 0.2595 + -50.00 -0.814 0.8820 0.2409 + -45.00 -0.850 0.7742 0.2212 + -40.00 -0.866 0.6610 0.2006 + -35.00 -0.860 0.5451 0.1789 + -30.00 -0.829 0.4295 0.1563 + -25.00 -0.853 0.3071 0.1156 + -24.00 -0.870 0.2814 0.1040 + -23.00 -0.890 0.2556 0.0916 + -22.00 -0.911 0.2297 0.0785 + -21.00 -0.934 0.2040 0.0649 + -20.00 -0.958 0.1785 0.0508 + -19.00 -0.982 0.1534 0.0364 + -18.00 -1.005 0.1288 0.0218 + -17.00 -1.082 0.1037 0.0129 + -16.00 -1.113 0.0786 -0.0028 + -15.00 -1.105 0.0535 -0.0251 + -14.00 -1.078 0.0283 -0.0419 + -13.50 -1.053 0.0158 -0.0521 + -13.00 -1.015 0.0151 -0.0610 + -12.00 -0.904 0.0134 -0.0707 + -11.00 -0.807 0.0121 -0.0722 + -10.00 -0.711 0.0111 -0.0734 + -9.00 -0.595 0.0099 -0.0772 + -8.00 -0.478 0.0091 -0.0807 + -7.00 -0.375 0.0086 -0.0825 + -6.00 -0.264 0.0082 -0.0832 + -5.00 -0.151 0.0079 -0.0841 + -4.00 -0.017 0.0072 -0.0869 + -3.00 0.088 0.0064 -0.0912 + -2.00 0.213 0.0054 -0.0946 + -1.00 0.328 0.0052 -0.0971 + 0.00 0.442 0.0052 -0.1014 + 1.00 0.556 0.0052 -0.1076 + 2.00 0.670 0.0053 -0.1126 + 3.00 0.784 0.0053 -0.1157 + 4.00 0.898 0.0054 -0.1199 + 5.00 1.011 0.0058 -0.1240 + 6.00 1.103 0.0091 -0.1234 + 7.00 1.181 0.0113 -0.1184 + 8.00 1.257 0.0124 -0.1163 + 8.50 1.293 0.0130 -0.1163 + 9.00 1.326 0.0136 -0.1160 + 9.50 1.356 0.0143 -0.1154 + 10.00 1.382 0.0150 -0.1149 + 10.50 1.400 0.0267 -0.1145 + 11.00 1.415 0.0383 -0.1143 + 11.50 1.425 0.0498 -0.1147 + 12.00 1.434 0.0613 -0.1158 + 12.50 1.443 0.0727 -0.1165 + 13.00 1.451 0.0841 -0.1153 + 13.50 1.453 0.0954 -0.1131 + 14.00 1.448 0.1065 -0.1112 + 14.50 1.444 0.1176 -0.1101 + 15.00 1.445 0.1287 -0.1103 + 15.50 1.447 0.1398 -0.1109 + 16.00 1.448 0.1509 -0.1114 + 16.50 1.444 0.1619 -0.1111 + 17.00 1.438 0.1728 -0.1097 + 17.50 1.439 0.1837 -0.1079 + 18.00 1.448 0.1947 -0.1080 + 18.50 1.452 0.2057 -0.1090 + 19.00 1.448 0.2165 -0.1086 + 19.50 1.438 0.2272 -0.1077 + 20.00 1.428 0.2379 -0.1099 + 21.00 1.401 0.2590 -0.1169 + 22.00 1.359 0.2799 -0.1190 + 23.00 1.300 0.3004 -0.1235 + 24.00 1.220 0.3204 -0.1393 + 25.00 1.168 0.3377 -0.1440 + 26.00 1.116 0.3554 -0.1486 + 28.00 1.015 0.3916 -0.1577 + 30.00 0.926 0.4294 -0.1668 + 32.00 0.855 0.4690 -0.1759 + 35.00 0.800 0.5324 -0.1897 + 40.00 0.804 0.6452 -0.2126 + 45.00 0.793 0.7573 -0.2344 + 50.00 0.763 0.8664 -0.2553 + 55.00 0.717 0.9708 -0.2751 + 60.00 0.656 1.0693 -0.2939 + 65.00 0.582 1.1606 -0.3117 + 70.00 0.495 1.2438 -0.3285 + 75.00 0.398 1.3178 -0.3444 + 80.00 0.291 1.3809 -0.3593 + 85.00 0.176 1.4304 -0.3731 + 90.00 0.053 1.4565 -0.3858 + 95.00 -0.074 1.4533 -0.3973 + 100.00 -0.199 1.4345 -0.4075 + 105.00 -0.321 1.4004 -0.4162 + 110.00 -0.436 1.3512 -0.4231 + 115.00 -0.543 1.2874 -0.4280 + 120.00 -0.640 1.2099 -0.4306 + 125.00 -0.723 1.1196 -0.4304 + 130.00 -0.790 1.0179 -0.4270 + 135.00 -0.840 0.9064 -0.4196 + 140.00 -0.868 0.7871 -0.4077 + 145.00 -0.872 0.6627 -0.3903 + 150.00 -0.850 0.5363 -0.3665 + 155.00 -0.798 0.4116 -0.3349 + 160.00 -0.714 0.2931 -0.2942 + 170.00 -0.749 0.0971 -0.3771 + 175.00 -0.374 0.0334 -0.1879 + 180.00 0.000 0.0198 0.0000 + +Reynolds Number: 4e8 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.0198 0.0000 +-175.00 0.374 0.0341 0.1880 +-170.00 0.749 0.0955 0.3770 +-160.00 0.659 0.2807 0.2747 +-155.00 0.736 0.3919 0.3130 +-150.00 0.783 0.5086 0.3428 +-145.00 0.803 0.6267 0.3654 +-140.00 0.798 0.7427 0.3820 +-135.00 0.771 0.8537 0.3935 +-130.00 0.724 0.9574 0.4007 +-125.00 0.660 1.0519 0.4042 +-120.00 0.581 1.1355 0.4047 +-115.00 0.491 1.2070 0.4025 +-110.00 0.390 1.2656 0.3981 +-105.00 0.282 1.3104 0.3918 +-100.00 0.169 1.3410 0.3838 + -95.00 0.052 1.3572 0.3743 + -90.00 -0.067 1.3587 0.3636 + -85.00 -0.184 1.3456 0.3517 + -80.00 -0.299 1.3181 0.3388 + -75.00 -0.409 1.2765 0.3248 + -70.00 -0.512 1.2212 0.3099 + -65.00 -0.606 1.1532 0.2940 + -60.00 -0.689 1.0731 0.2772 + -55.00 -0.759 0.9822 0.2595 + -50.00 -0.814 0.8820 0.2409 + -45.00 -0.850 0.7742 0.2212 + -40.00 -0.866 0.6610 0.2006 + -35.00 -0.860 0.5451 0.1789 + -30.00 -0.829 0.4295 0.1563 + -25.00 -0.853 0.3071 0.1156 + -24.00 -0.870 0.2814 0.1040 + -23.00 -0.890 0.2556 0.0916 + -22.00 -0.911 0.2297 0.0785 + -21.00 -0.934 0.2040 0.0649 + -20.00 -0.958 0.1785 0.0508 + -19.00 -0.982 0.1534 0.0364 + -18.00 -1.005 0.1288 0.0218 + -17.00 -1.082 0.1037 0.0129 + -16.00 -1.113 0.0786 -0.0028 + -15.00 -1.105 0.0535 -0.0251 + -14.00 -1.078 0.0283 -0.0419 + -13.50 -1.053 0.0158 -0.0521 + -13.00 -1.015 0.0151 -0.0610 + -12.00 -0.904 0.0134 -0.0707 + -11.00 -0.807 0.0121 -0.0722 + -10.00 -0.711 0.0111 -0.0734 + -9.00 -0.595 0.0099 -0.0772 + -8.00 -0.478 0.0091 -0.0807 + -7.00 -0.375 0.0086 -0.0825 + -6.00 -0.264 0.0082 -0.0832 + -5.00 -0.151 0.0079 -0.0841 + -4.00 -0.017 0.0072 -0.0869 + -3.00 0.088 0.0064 -0.0912 + -2.00 0.213 0.0054 -0.0946 + -1.00 0.328 0.0052 -0.0971 + 0.00 0.442 0.0052 -0.1014 + 1.00 0.556 0.0052 -0.1076 + 2.00 0.670 0.0053 -0.1126 + 3.00 0.784 0.0053 -0.1157 + 4.00 0.898 0.0054 -0.1199 + 5.00 1.011 0.0058 -0.1240 + 6.00 1.103 0.0091 -0.1234 + 7.00 1.181 0.0113 -0.1184 + 8.00 1.257 0.0124 -0.1163 + 8.50 1.293 0.0130 -0.1163 + 9.00 1.326 0.0136 -0.1160 + 9.50 1.356 0.0143 -0.1154 + 10.00 1.382 0.0150 -0.1149 + 10.50 1.400 0.0267 -0.1145 + 11.00 1.415 0.0383 -0.1143 + 11.50 1.425 0.0498 -0.1147 + 12.00 1.434 0.0613 -0.1158 + 12.50 1.443 0.0727 -0.1165 + 13.00 1.451 0.0841 -0.1153 + 13.50 1.453 0.0954 -0.1131 + 14.00 1.448 0.1065 -0.1112 + 14.50 1.444 0.1176 -0.1101 + 15.00 1.445 0.1287 -0.1103 + 15.50 1.447 0.1398 -0.1109 + 16.00 1.448 0.1509 -0.1114 + 16.50 1.444 0.1619 -0.1111 + 17.00 1.438 0.1728 -0.1097 + 17.50 1.439 0.1837 -0.1079 + 18.00 1.448 0.1947 -0.1080 + 18.50 1.452 0.2057 -0.1090 + 19.00 1.448 0.2165 -0.1086 + 19.50 1.438 0.2272 -0.1077 + 20.00 1.428 0.2379 -0.1099 + 21.00 1.401 0.2590 -0.1169 + 22.00 1.359 0.2799 -0.1190 + 23.00 1.300 0.3004 -0.1235 + 24.00 1.220 0.3204 -0.1393 + 25.00 1.168 0.3377 -0.1440 + 26.00 1.116 0.3554 -0.1486 + 28.00 1.015 0.3916 -0.1577 + 30.00 0.926 0.4294 -0.1668 + 32.00 0.855 0.4690 -0.1759 + 35.00 0.800 0.5324 -0.1897 + 40.00 0.804 0.6452 -0.2126 + 45.00 0.793 0.7573 -0.2344 + 50.00 0.763 0.8664 -0.2553 + 55.00 0.717 0.9708 -0.2751 + 60.00 0.656 1.0693 -0.2939 + 65.00 0.582 1.1606 -0.3117 + 70.00 0.495 1.2438 -0.3285 + 75.00 0.398 1.3178 -0.3444 + 80.00 0.291 1.3809 -0.3593 + 85.00 0.176 1.4304 -0.3731 + 90.00 0.053 1.4565 -0.3858 + 95.00 -0.074 1.4533 -0.3973 + 100.00 -0.199 1.4345 -0.4075 + 105.00 -0.321 1.4004 -0.4162 + 110.00 -0.436 1.3512 -0.4231 + 115.00 -0.543 1.2874 -0.4280 + 120.00 -0.640 1.2099 -0.4306 + 125.00 -0.723 1.1196 -0.4304 + 130.00 -0.790 1.0179 -0.4270 + 135.00 -0.840 0.9064 -0.4196 + 140.00 -0.868 0.7871 -0.4077 + 145.00 -0.872 0.6627 -0.3903 + 150.00 -0.850 0.5363 -0.3665 + 155.00 -0.798 0.4116 -0.3349 + 160.00 -0.714 0.2931 -0.2942 + 170.00 -0.749 0.0971 -0.3771 + 175.00 -0.374 0.0334 -0.1879 + 180.00 0.000 0.0198 0.0000 diff --git a/tests/Wind-Turbine/Resources/Airfoils/cylinder1.air b/tests/Wind-Turbine/Resources/Airfoils/cylinder1.air new file mode 100644 index 000000000..a78d9e405 --- /dev/null +++ b/tests/Wind-Turbine/Resources/Airfoils/cylinder1.air @@ -0,0 +1,17 @@ +Title: cylinder +Thickness to Chord Ratio: 2.0 +Zero Lift AOA (deg): 0 +Reverse Camber Direction: 0 + +Reynolds Number: 4e3 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.5 0.0000 + 0.00 0.000 0.5 0.0000 + 180.00 0.000 0.5 0.0000 + +Reynolds Number: 4e8 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.5 0.0000 + 0.00 0.000 0.5 0.0000 + 180.00 0.000 0.5 0.0000 + diff --git a/tests/Wind-Turbine/Resources/Airfoils/cylinder2.air b/tests/Wind-Turbine/Resources/Airfoils/cylinder2.air new file mode 100644 index 000000000..30da0cb15 --- /dev/null +++ b/tests/Wind-Turbine/Resources/Airfoils/cylinder2.air @@ -0,0 +1,17 @@ +Title: cylinder +Thickness to Chord Ratio: 1. +Zero Lift AOA (deg): 0 +Reverse Camber Direction: 0 + +Reynolds Number: 4e3 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.35 0.0000 + 0.00 0.000 0.35 0.0000 + 180.00 0.000 0.35 0.0000 + +Reynolds Number: 4e8 +AOA (deg) CL CD Cm25 +-180.00 0.000 0.35 0.0000 + 0.00 0.000 0.35 0.0000 + 180.00 0.000 0.35 0.0000 + diff --git a/tests/Wind-Turbine/Resources/NRELBlade_N71.al b/tests/Wind-Turbine/Resources/NRELBlade_N71.al new file mode 100644 index 000000000..741d930dd --- /dev/null +++ b/tests/Wind-Turbine/Resources/NRELBlade_N71.al @@ -0,0 +1,75 @@ +R : 63 +Spanwise : 0.0 0.0 1.0 +NStations : 72 +0.023809523809523808 0.05622222222222222 13.308 2.0 +0.03755868544600939 0.05622222222222222 13.308 2.0 +0.05130784708249497 0.056884812429498395 13.308 2.0 +0.06505700871898054 0.05845424806795136 13.308 2.0 +0.07880617035546614 0.06002368370640433 13.308 2.0 +0.0925553319919517 0.061594460742838884 13.308 1.0 +0.10630449362843729 0.0631689266237228 13.308 1.0 +0.12005365526492287 0.0647433925046067 13.308 1.0 +0.13380281690140844 0.06631729544690902 13.308 1.0 +0.14755197853789404 0.06788669663467188 13.308 1.0 +0.1613011401743796 0.06945609782243475 13.308 1.0 +0.1750503018108652 0.07102549901019761 13.308 1.0 +0.18879946344735077 0.07238642968924659 13.243633802816902 0.4 +0.20254862508383636 0.07270500782472614 12.85743661971831 0.4 +0.21629778672032193 0.07302358596020568 12.471239436619719 0.4 +0.23004694835680753 0.07334216409568522 12.085042253521127 0.4 +0.2437961099932931 0.07366074223116477 11.698845070422536 0.4 +0.2575452716297787 0.07355935613682094 11.359338028169015 0.35 +0.27129443326626423 0.07290878604963112 11.080887323943662 0.35 +0.2850435949027499 0.07225821596244131 10.802436619718309 0.35 +0.2987927565392354 0.07160764587525151 10.523985915492958 0.35 +0.31254191817572097 0.07095707578806171 10.245535211267606 0.35 +0.3262910798122066 0.07027129443326627 9.991781690140845 0.3 +0.34004024144869216 0.06957042253521127 9.748612676056338 0.3 +0.3537894030851777 0.06886955063715627 9.505443661971832 0.3 +0.36753856472166335 0.06816867873910128 9.262274647887324 0.3 +0.3812877263581489 0.06746780684104628 9.019105633802816 0.3 +0.39503688799463443 0.06665995975855131 8.762661971830987 0.25 +0.4087860496311201 0.06584842387659288 8.505760563380282 0.25 +0.4225352112676056 0.06503688799463447 8.248859154929576 0.25 +0.4362843729040913 0.06422535211267605 7.991957746478871 0.25 +0.4500335345405768 0.06340051419628882 7.733330985915492 0.25 +0.46378269617706236 0.06253196959534987 7.469035211267605 0.25 +0.477531857813548 0.0616634249944109 7.204739436619716 0.25 +0.49128101945003355 0.06079488039347194 6.9404436619718295 0.25 +0.5050301810865191 0.05992633579253298 6.676147887323943 0.25 +0.5187793427230047 0.059079588642968923 6.4190352112676035 0.25 +0.5325285043594903 0.058254638944779794 6.1691056338028165 0.25 +0.5462776659959759 0.05742968924659065 5.919176056338027 0.25 +0.5600268276324615 0.05660473954840152 5.669246478873239 0.25 +0.573775989268947 0.05577978985021238 5.419316901408451 0.25 +0.5875251509054327 0.054954840152023246 5.171007042253521 0.25 +0.6012743125419182 0.05412989045383411 4.923190140845071 0.25 +0.6150234741784038 0.05330494075564498 4.67537323943662 0.25 +0.6287726358148894 0.05247999105745584 4.427556338028168 0.25 +0.6425217974513749 0.051655041359266705 4.180514084507043 0.18 +0.6562709590878606 0.05083009166107757 3.9559366197183086 0.18 +0.6700201207243461 0.05000514196288843 3.731359154929576 0.18 +0.6837692823608317 0.0491801922646993 3.506781690140844 0.18 +0.6975184439973173 0.04835524256651016 3.2822042253521104 0.18 +0.7112676056338029 0.04753029286832103 3.0739154929577452 0.18 +0.7250167672702884 0.0467053431701319 2.9036338028169006 0.18 +0.7387659289067741 0.045880393471942754 2.733352112676055 0.18 +0.7525150905432596 0.045055443773753624 2.5630704225352106 0.18 +0.7662642521797451 0.044230494075564494 2.3927887323943664 0.18 +0.7800134138162308 0.04340554437737536 2.2240633802816894 0.18 +0.7937625754527163 0.04258059467918623 2.0565281690140846 0.18 +0.8075117370892019 0.04175564498099709 1.8889929577464792 0.18 +0.8212608987256875 0.040930695282807954 1.7214577464788727 0.18 +0.8350100603621731 0.040105745584618824 1.5539225352112676 0.18 +0.8487592219986587 0.039280802593272365 1.3859309439921632 0.18 +0.8625083836351443 0.03845586094329445 1.2178480767827606 0.18 +0.8762575452716298 0.03763091929331654 1.0497652095733583 0.18 +0.8900067069081155 0.03680597764333862 0.8816823423639544 0.18 +0.903755868544601 0.035699338516576924 0.7241310792350771 0.18 +0.9175050301810865 0.03455747348475377 0.5678967795725434 0.18 +0.9312541918175722 0.033415608452930616 0.41166247991000826 0.18 +0.9450033534540577 0.030650651863391137 0.30864713911832287 0.18 +0.9587525150905433 0.02729548016195483 0.2249841470069455 0.18 +0.9725016767270289 0.023940308460518492 0.14132115489556749 0.18 +0.9862508383635145 0.022523809523809526 0.106 0.18 +1.0 0.022523809523809526 0.106 0.18 diff --git a/tests/Wind-Turbine/Resources/NRELTower_N51.al b/tests/Wind-Turbine/Resources/NRELTower_N51.al new file mode 100644 index 000000000..0dca4f6ad --- /dev/null +++ b/tests/Wind-Turbine/Resources/NRELTower_N51.al @@ -0,0 +1,55 @@ +Length : 91.5 +Spanwise : 0.0 -1.0 0.0 +NStations : 52 +0.0 0.06324590163934427 0.0 1.0 +0.0196078431372549 0.06324590163934427 0.0 1.0 +0.0392156862745098 0.06324590163934427 0.0 1.0 +0.058823529411764705 0.06324590163934427 0.0 1.0 +0.0784313725490196 0.06324590163934427 0.0 1.0 +0.09803921568627451 0.06312455503996751 0.0 1.0 +0.11764705882352941 0.06263475563007231 0.0 1.0 +0.13725490196078433 0.06214495622017713 0.0 1.0 +0.1568627450980392 0.061655156810281934 0.0 1.0 +0.1764705882352941 0.06116535740038675 0.0 1.0 +0.19607843137254902 0.06067553239498173 0.0 1.0 +0.21568627450980393 0.060185681282122795 0.0 1.0 +0.23529411764705882 0.05969583016926386 0.0 1.0 +0.2549019607843137 0.05920597905640492 0.0 1.0 +0.27450980392156865 0.058716127943545984 0.0 1.0 +0.29411764705882354 0.05822627683068705 0.0 1.0 +0.3137254901960784 0.05773642571782811 0.0 1.0 +0.3333333333333333 0.05724657460496917 0.0 1.0 +0.3529411764705882 0.056756723492110236 0.0 1.0 +0.37254901960784315 0.0562668723792513 0.0 1.0 +0.39215686274509803 0.055777135073572376 0.0 1.0 +0.4117647058823529 0.05528739884136842 0.0 1.0 +0.43137254901960786 0.05479766260916447 0.0 1.0 +0.45098039215686275 0.054307926376960525 0.0 1.0 +0.47058823529411764 0.053818149240562524 0.0 1.0 +0.49019607843137253 0.05332824066716249 0.0 1.0 +0.5098039215686274 0.052838332093762465 0.0 1.0 +0.5294117647058824 0.05234842352036243 0.0 1.0 +0.5490196078431373 0.0518585149469624 0.0 1.0 +0.5686274509803921 0.051368662184751175 0.0 1.0 +0.5882352941176471 0.05087886851895602 0.0 1.0 +0.6078431372549019 0.05038907485316086 0.0 1.0 +0.6274509803921569 0.0498992811873657 0.0 1.0 +0.6470588235294118 0.049409487521570546 0.0 1.0 +0.6666666666666666 0.048919651749902905 0.0 1.0 +0.6862745098039216 0.04842980063704397 0.0 1.0 +0.7058823529411764 0.04793994952418503 0.0 1.0 +0.7254901960784313 0.047450098411326094 0.0 1.0 +0.7450980392156863 0.04696024729846715 0.0 1.0 +0.7647058823529411 0.04647045252705146 0.0 1.0 +0.7843137254901961 0.0459806588612563 0.0 1.0 +0.803921568627451 0.045490865195461146 0.0 1.0 +0.8235294117647058 0.045001071529665995 0.0 1.0 +0.8431372549019608 0.0445113171392363 0.0 1.0 +0.8627450980392157 0.04402169573381598 0.0 1.0 +0.8823529411764706 0.04353207432839567 0.0 1.0 +0.9019607843137255 0.04304245292297535 0.0 1.0 +0.9215686274509803 0.04255283151755504 0.0 1.0 +0.9411764705882353 0.04229508196721311 0.0 1.0 +0.9607843137254902 0.04229508196721311 0.0 1.0 +0.9803921568627451 0.04229508196721311 0.0 1.0 +1.0 0.04229508196721311 0.0 1.0 diff --git a/tests/Wind-Turbine/adios2_config.xml b/tests/Wind-Turbine/adios2_config.xml new file mode 100644 index 000000000..20a156f18 --- /dev/null +++ b/tests/Wind-Turbine/adios2_config.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/Wind-Turbine/NREL-5MW_ALM/input_test.i3d b/tests/Wind-Turbine/input_test.i3d similarity index 100% rename from examples/Wind-Turbine/NREL-5MW_ALM/input_test.i3d rename to tests/Wind-Turbine/input_test.i3d diff --git a/examples/Wind-Turbine/NREL-5MW_ALM/input_test.turb b/tests/Wind-Turbine/input_test.turb similarity index 86% rename from examples/Wind-Turbine/NREL-5MW_ALM/input_test.turb rename to tests/Wind-Turbine/input_test.turb index 1ffdd197b..19f491d0e 100644 --- a/examples/Wind-Turbine/NREL-5MW_ALM/input_test.turb +++ b/tests/Wind-Turbine/input_test.turb @@ -3,14 +3,14 @@ ! Aerodynamic parameters | !========================================= name='NREL-5MW' ! Name of the turbine -origin=63.,90.,126. ! Actual location of the turbine +origin=63.,90.,126. ! Actual location of the turbine numblades=3 ! number of blades -blade_geom='NRELResources/NRELBlade_N71.al' ! Blade geometry +blade_geom='Resources/NRELBlade_N71.al' ! Blade geometry numfoil=8 ! Number of airfoil from which the interpolation is done -afname='NRELResources/Airfoils/cylinder1.air','NRELResources/Airfoils/cylinder2.air','NRELResources/Airfoils/DU21_A17.air','NRELResources/Airfoils/DU25_A17.air','NRELResources/Airfoils/DU30_A17.air','NRELResources/Airfoils/DU35_A17.air','NRELResources/Airfoils/DU40_A17.air','NRELResources/Airfoils/NACA64_A17.air' +afname='Resources/Airfoils/cylinder1.air','Resources/Airfoils/cylinder2.air','Resources/Airfoils/DU21_A17.air','Resources/Airfoils/DU25_A17.air','Resources/Airfoils/DU30_A17.air','Resources/Airfoils/DU35_A17.air','Resources/Airfoils/DU40_A17.air','Resources/Airfoils/NACA64_A17.air' towerFlag=1 ! Tower model ? (0: no, 1: yes) towerOffset=5. ! Offset of the tower from the axis of rotation -tower_geom='NRELResources/NRELTower_N51.al' ! Tower geometry file +tower_geom='Resources/NRELTower_N51.al' ! Tower geometry file tower_drag=1.0 ! Tower induced drag tower_lift=0.3 ! Tower induced lift tower_strouhal=0.21 ! Strouhal number of the tower wake (usually taken equal to 0.21) diff --git a/tests/cmake/X3D_CREATE_TEST.cmake b/tests/cmake/X3D_CREATE_TEST.cmake index 14e02c21d..54002d4fa 100644 --- a/tests/cmake/X3D_CREATE_TEST.cmake +++ b/tests/cmake/X3D_CREATE_TEST.cmake @@ -1,10 +1,17 @@ macro(CreateMPITest test_dir case - input_file) + input_file + additional_files) message(STATUS "Add Verification Test (MPI run) ${case}") set(case_dir "${test_dir}/${case}") file(MAKE_DIRECTORY ${case_dir}) file(COPY ${input_file} DESTINATION ${case_dir}) + set(local_list "") + list(APPEND local_list ${additional_files}) + foreach(ff IN LISTS local_list) + message(STATUS "${ff}") + file(COPY ${ff} DESTINATION ${case_dir}) + endforeach() if(ADIOS2_FOUND) file(COPY adios2_config.xml DESTINATION ${case_dir}) endif() From 4fa97aae3599bfe5b217b881057242c55871c288 Mon Sep 17 00:00:00 2001 From: Stefano Rolfo <35581400+rfj82982@users.noreply.github.com> Date: Thu, 14 Nov 2024 17:03:50 +0000 Subject: [PATCH 2/5] Add example with 2 turbines --- examples/Wind-Turbine/CMakeLists.txt | 2 +- .../two_turbines/Airfoils/CMakeLists.txt | 3 ++ .../Wind-Turbine/two_turbines/CMakeLists.txt | 11 ++++ .../two_turbines/adios2_config.xml | 51 +++++++++++++++++++ 4 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 examples/Wind-Turbine/two_turbines/Airfoils/CMakeLists.txt create mode 100644 examples/Wind-Turbine/two_turbines/CMakeLists.txt create mode 100644 examples/Wind-Turbine/two_turbines/adios2_config.xml diff --git a/examples/Wind-Turbine/CMakeLists.txt b/examples/Wind-Turbine/CMakeLists.txt index 083d073fd..93482700c 100644 --- a/examples/Wind-Turbine/CMakeLists.txt +++ b/examples/Wind-Turbine/CMakeLists.txt @@ -1,3 +1,3 @@ # Wind-Turbine add_subdirectory(NREL-5MW_ALM) - +add_subdirectory(two_turbines) diff --git a/examples/Wind-Turbine/two_turbines/Airfoils/CMakeLists.txt b/examples/Wind-Turbine/two_turbines/Airfoils/CMakeLists.txt new file mode 100644 index 000000000..f9d9a07fe --- /dev/null +++ b/examples/Wind-Turbine/two_turbines/Airfoils/CMakeLists.txt @@ -0,0 +1,3 @@ +set(dir "Wind-Turbine-two-turbines/Airfoils") +file(GLOB_RECURSE example_files "${CMAKE_CURRENT_SOURCE_DIR}/*.air") +AddExample("${examples_dir}" "${dir}" "${example_files}") diff --git a/examples/Wind-Turbine/two_turbines/CMakeLists.txt b/examples/Wind-Turbine/two_turbines/CMakeLists.txt new file mode 100644 index 000000000..4004ed23e --- /dev/null +++ b/examples/Wind-Turbine/two_turbines/CMakeLists.txt @@ -0,0 +1,11 @@ +# Wind-Turbine: NREL +set(case "Wind-Turbine-two-turbines") +set(example_files "") +list(APPEND example_files "adios2_config.xml") +list(APPEND example_files "input.i3d") +list(APPEND example_files "BT2_1.turb") +list(APPEND example_files "BT2_2.turb") +list(APPEND example_files "Blade_N52.al") +list(APPEND example_files "Tower.al") +AddExample("${examples_dir}" "${case}" "${example_files}") +add_subdirectory(Airfoils) diff --git a/examples/Wind-Turbine/two_turbines/adios2_config.xml b/examples/Wind-Turbine/two_turbines/adios2_config.xml new file mode 100644 index 000000000..20a156f18 --- /dev/null +++ b/examples/Wind-Turbine/two_turbines/adios2_config.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 400847d4585c24653d280d8e8c2e13c4c79bfb3e Mon Sep 17 00:00:00 2001 From: Stefano Rolfo <35581400+rfj82982@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:30:58 +0000 Subject: [PATCH 3/5] Add MHD and particle to new example/tests framework --- examples/Particle-Tracking/CMakeLists.txt | 39 +++----------- examples/Particle-Tracking/adios2_config.xml | 51 +++++++++++++++++++ tests/CMakeLists.txt | 1 + tests/Particle-Tracking/CMakeLists.txt | 10 ++++ tests/Particle-Tracking/adios2_config.xml | 51 +++++++++++++++++++ .../input_channel_particles_test.i3d | 0 .../input_tgv_particles_test.i3d | 0 7 files changed, 120 insertions(+), 32 deletions(-) create mode 100644 examples/Particle-Tracking/adios2_config.xml create mode 100644 tests/Particle-Tracking/CMakeLists.txt create mode 100644 tests/Particle-Tracking/adios2_config.xml rename examples/Particle-Tracking/input_channel_particles.i3d => tests/Particle-Tracking/input_channel_particles_test.i3d (100%) rename examples/Particle-Tracking/input_tgv_particles.i3d => tests/Particle-Tracking/input_tgv_particles_test.i3d (100%) diff --git a/examples/Particle-Tracking/CMakeLists.txt b/examples/Particle-Tracking/CMakeLists.txt index ed4e4313d..65ae6894a 100644 --- a/examples/Particle-Tracking/CMakeLists.txt +++ b/examples/Particle-Tracking/CMakeLists.txt @@ -1,33 +1,8 @@ -# TGV flow with passive particle trackers -set(case "TGV-Particles") -set(case_dir "${test_dir}/${case}") -file(MAKE_DIRECTORY ${case_dir}) -set(input_file "input_tgv_particles.i3d") -install(DIRECTORY DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) -install(FILES ${input_file} DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) -if(ADIOS2_FOUND) - install(FILES adios2_config.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) -endif() -# If testing active add test -file(COPY ${input_file} DESTINATION ${case_dir}) -if(ADIOS2_FOUND) - file(COPY adios2_config.xml DESTINATION ${case_dir}) -endif() -add_test(NAME ${case} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} $ ${input_file} WORKING_DIRECTORY ${case_dir}) +# Particle-tracking +set(case "Particle-tracking") +set(example_files "") +list(APPEND example_files "adios2_config.xml") +list(APPEND example_files "input_channel_particles.i3d") +AddExample("${examples_dir}" "${case}" "${example_files}") + -# Channel flow with constantly injected passive particle trackers -set(case "Channel-Particles") -set(case_dir "${test_dir}/${case}") -file(MAKE_DIRECTORY ${case_dir}) -set(input_file "input_channel_particles.i3d") -install(DIRECTORY DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) -install(FILES ${input_file} DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) -if(ADIOS2_FOUND) - install(FILES adios2_config.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/examples/${case}) -endif() -# If testing active add test -file(COPY ${input_file} DESTINATION ${case_dir}) -if(ADIOS2_FOUND) - file(COPY adios2_config.xml DESTINATION ${case_dir}) -endif() -add_test(NAME ${case} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} $ ${input_file} WORKING_DIRECTORY ${case_dir}) diff --git a/examples/Particle-Tracking/adios2_config.xml b/examples/Particle-Tracking/adios2_config.xml new file mode 100644 index 000000000..20a156f18 --- /dev/null +++ b/examples/Particle-Tracking/adios2_config.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7c5193896..34f9f93cb 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -24,6 +24,7 @@ if (${BUILD_TESTING_FULL}) add_subdirectory(Gravity-current) add_subdirectory(MHD) add_subdirectory(Mixing-layer) + add_subdirectory(Particle-Tracking) add_subdirectory(Periodic-hill) add_subdirectory(TBL-Turbulent-Boundary-Layer) add_subdirectory(Wind-Turbine) diff --git a/tests/Particle-Tracking/CMakeLists.txt b/tests/Particle-Tracking/CMakeLists.txt new file mode 100644 index 000000000..a607ff431 --- /dev/null +++ b/tests/Particle-Tracking/CMakeLists.txt @@ -0,0 +1,10 @@ +# Particles +set(case "Particle-Tracking-Channel") +set(input_file "input_channel_particle_test.i3d") +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") +set(case "Particle-tracking-TGV") +set(input_file "input_tgv_particle_test.i3d") +set(additional_inputs "") +CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") + diff --git a/tests/Particle-Tracking/adios2_config.xml b/tests/Particle-Tracking/adios2_config.xml new file mode 100644 index 000000000..20a156f18 --- /dev/null +++ b/tests/Particle-Tracking/adios2_config.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/Particle-Tracking/input_channel_particles.i3d b/tests/Particle-Tracking/input_channel_particles_test.i3d similarity index 100% rename from examples/Particle-Tracking/input_channel_particles.i3d rename to tests/Particle-Tracking/input_channel_particles_test.i3d diff --git a/examples/Particle-Tracking/input_tgv_particles.i3d b/tests/Particle-Tracking/input_tgv_particles_test.i3d similarity index 100% rename from examples/Particle-Tracking/input_tgv_particles.i3d rename to tests/Particle-Tracking/input_tgv_particles_test.i3d From afacf450b6825814cfe459816560abe95174b7dd Mon Sep 17 00:00:00 2001 From: Stefano Rolfo <35581400+rfj82982@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:32:07 +0000 Subject: [PATCH 4/5] Add example for full channel simulation with particles --- .../input_channel_particles.i3d | 164 ++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 examples/Particle-Tracking/input_channel_particles.i3d diff --git a/examples/Particle-Tracking/input_channel_particles.i3d b/examples/Particle-Tracking/input_channel_particles.i3d new file mode 100644 index 000000000..627df6e93 --- /dev/null +++ b/examples/Particle-Tracking/input_channel_particles.i3d @@ -0,0 +1,164 @@ +! -*- mode: f90 -*- + +!=================== +&BasicParam +!=================== + +! Flow type (1=Lock-exchange, 2=TGV, 3=Channel, 4=Periodic hill, 5=Cylinder, 6=dbg-schemes) +itype = 3 + +! Domain decomposition +p_row=0 ! Row partition +p_col=0 ! Column partition + +! Mesh +nx=256 ! X-direction nodes +ny=129 ! Y-direction nodes +nz=192 ! Z-direction nodes +istret = 2 ! y mesh refinement (0:no, 1:center, 2:both sides, 3:bottom) +beta = 0.259065151 ! Refinement parameter (beta) + +! Domain +xlx = 12.56637 ! Lx (Size of the box in x-direction) +yly = 2.0 ! Ly (Size of the box in y-direction) +zlz = 6.2831853 ! Lz (Size of the box in z-direction) + +! Flow parameters +re = 3457.5 ! nu=1/re (Kinematic Viscosity) +cpg = F ! if cpg=T, then re is friction Reynolds number + +! Time stepping +dt = 0.005 ! Time step +ifirst = 1 ! First iteration +ilast = 50000 ! Last iteration + +! Enable modelling tools +ilesmod=0 ! if 0 then DNS +numscalar = 0 ! How many scalars? (Set to zero to disable scalars) +iibm=0 ! Flag for immersed boundary method + +! Boundary and initial conditions +iin = 4 ! Inflow conditions (1: classic, 2: turbinit, 4: SEM) +u1 = 1. ! u1 (max velocity) (for inflow condition) +u2 = 1. ! u2 (min velocity) (for inflow condition) +init_noise = 0.03 ! Turbulence intensity (1=100%) !! Initial condition +inflow_noise = 0.0 ! Turbulence intensity (1=100%) !! Inflow condition +idir_stream = 1 ! Index of the streamwise direction (1=X, 3=Z, 2 not available) + +nclx1 = 0 +nclxn = 0 +ncly1 = 2 +nclyn = 2 +nclz1 = 0 +nclzn = 0 + +mhd_active = .false. +particle_active =.true. +/End + +!==================== +&NumOptions +!==================== + +! Spatial derivatives +ifirstder = 4 ! (1->2nd central, 2->4th central, 3->4th compact, 4-> 6th compact) +isecondder = 5 ! (1->2nd central, 2->4th central, 3->4th compact, 4-> 6th compact, 5->hyperviscous 6th) +ipinter = 3 ! interpolation scheme (1: classic, 2: optimized, 3: optimized agressive) + +! Time scheme +iimplicit = 0 +itimescheme = 5 ! Time integration scheme (1->Euler,2->AB2, 3->AB3, 4->AB4,5->RK3,6->RK4, 7-->CN2+AB3) + +! Dissipation control +nu0nu = 4.0 ! Ratio between hyperviscosity/viscosity at nu +cnu = 0.44 ! Ratio between hypervisvosity at k_m=2/3pi and k_c= pi + +/End + +!================= +&InOutParam +!================= + +! Basic I/O +irestart = 0 ! Read initial flow field +icheckpoint = 10000 ! Frequency for writing backup file +ioutput = 100 ! Frequency for visualization +ilist = 100 ! Frequency for the output to screen +nvisu = 1 ! Size for visualisation collection + +/End + +!================= +&Statistics +!================= + +wrotation = 0.d0 ! rotation speed to trigger turbulence +spinup_time = 0 ! number of time steps with a rotation to trigger turbulence +nstat = 1 ! Size arrays for statistic collection +initstat = 10000000 ! Time steps after which statistics are collected + +/End + +!######################## +! OPTIONAL PARAMETERS +!####################### + +!================ +&ScalarParam +!================ + +Sc(1) = 1.0 ! Schmidt number + +nclxS1 = 0 +nclxSn = 0 +nclyS1 = 2 +nclySn = 2 +nclzS1 = 0 +nclzSn = 0 + +/End + +!==================== +&MHDParam +!==================== + +mhd_equation = .false. +hartmann = 4.d0 + +/End + +!==================== +&ParTrack +!==================== + +bc_particle = 'outflow','outflow','reflective','reflective','periodic','periodic' +initype_particle = 'uniform' +n_particles = 64 +particle_inject_period = 0.01 + +/End + + +!================ +&LESModel +!================ + +iles = 0 ! LES Model (1: Phys Smag, 2: Phys WALE, 3: Phys dyn. Smag, 4: iSVV, 5: dyn SEV) +smagcst = 0.14 ! Smagorinsky constant +walecst = 0.5 ! WALES Model Coefficient +iwall = 0 ! Enable wall modeling + +/End + +!================ +&WallModel +!================ + +SmagWallDamp = 0 ! Smagorinsky damping function for ABL if 1 + +/End + +&CASE +/End + + From 8605f9dc326181624b539e529c6395a9fd76f176 Mon Sep 17 00:00:00 2001 From: Stefano Rolfo <35581400+rfj82982@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:49:35 +0000 Subject: [PATCH 5/5] Fix particles examples and tests --- CMakeLists.txt | 1 - examples/Particle-Tracking/CMakeLists.txt | 1 + .../Particle-Tracking/input_tgv_particles.i3d | 134 ++++++++++++++++++ tests/Particle-Tracking/CMakeLists.txt | 4 +- 4 files changed, 137 insertions(+), 3 deletions(-) create mode 100644 examples/Particle-Tracking/input_tgv_particles.i3d diff --git a/CMakeLists.txt b/CMakeLists.txt index 87027dfb6..89f93db06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,6 @@ add_subdirectory(src) # Add tests option(BUILD_TESTING "Build with test and use only TGV case" ON) -option(BUILD_TESTING_PARTICLE "Build with test and use only two cases with particle tracking" OFF) option(BUILD_TESTING_FULL "Build all tests" OFF) if (${BUILD_TESTING}) include(CTest) diff --git a/examples/Particle-Tracking/CMakeLists.txt b/examples/Particle-Tracking/CMakeLists.txt index 65ae6894a..f64dfecd7 100644 --- a/examples/Particle-Tracking/CMakeLists.txt +++ b/examples/Particle-Tracking/CMakeLists.txt @@ -3,6 +3,7 @@ set(case "Particle-tracking") set(example_files "") list(APPEND example_files "adios2_config.xml") list(APPEND example_files "input_channel_particles.i3d") +list(APPEND example_files "input_tgv_particles.i3d") AddExample("${examples_dir}" "${case}" "${example_files}") diff --git a/examples/Particle-Tracking/input_tgv_particles.i3d b/examples/Particle-Tracking/input_tgv_particles.i3d new file mode 100644 index 000000000..4cd39af4c --- /dev/null +++ b/examples/Particle-Tracking/input_tgv_particles.i3d @@ -0,0 +1,134 @@ +! -*- mode: f90 -*- + +!=================== +&BasicParam +!=================== + +! Flow type (1=Lock-exchange, 2=TGV, 3=Channel, 4=Periodic hill, 5=Cylinder, 6=dbg-schemes) +itype = 2 + +! Domain decomposition +p_row=0 ! Row partition +p_col=0 ! Column partition + +! Mesh +nx=128 ! X-direction nodes +ny=128 ! Y-direction nodes +nz=128 ! Z-direction nodes +istret = 0 ! y mesh refinement (0:no, 1:center, 2:both sides, 3:bottom) +beta = 0.259065151 ! Refinement parameter (beta) + +! Domain +xlx = 6.28318530717958 ! Lx (Size of the box in x-direction) +yly = 6.28318530717958 ! Ly (Size of the boy in y-direction) +zlz = 6.28318530717958 ! Lz (Size of the boz in z-direction) + +! Boundary conditions +nclx1 = 0 +nclxn = 0 +ncly1 = 0 +nclyn = 0 +nclz1 = 0 +nclzn = 0 + +! Flow parameters +iin = 1 ! Inflow conditions (1: classic, 2: turbinit) +re = 1600. ! nu=1/re (Kinematic Viscosity) +u1 = 8. ! u1 (max velocity) (for inflow condition) +u2 = 8. ! u2 (min velocity) (for inflow condition) +init_noise = 0.0 ! Turbulence intensity (1=100%) !! Initial condition +inflow_noise = 0.0 ! Turbulence intensity (1=100%) !! Inflow condition + +! Time stepping +dt = 0.001 ! Time step +ifirst= 1 ! First iteration +ilast = 2000 ! Last iteration + +! Enable modelling tools +ilesmod=0 ! if 0 then DNS +iscalar=0 ! If iscalar=0 (no scalar), if iscalar=1 (scalar) +iibm=0 ! Flag for immersed boundary method + +! Enable io +ivisu=1 ! Store snapshots +ipost=1 ! Do online postprocessing + +ifilter=0 +C_filter=0.49 + +particle_active=.true. +/End + +!==================== +&NumOptions +!==================== + +! Spatial derivatives +ifirstder = 4 ! (1->2nd central, 2->4th central, 3->4th compact, 4-> 6th compact) +isecondder = 5 ! (1->2nd central, 2->4th central, 3->4th compact, 4-> 6th compact, 5->hyperviscous 6th) + +! Time scheme +itimescheme = 5 ! Time integration scheme (1->Euler,2->AB2, 3->AB3, 4->AB4,5->RK3,6->RK4) + +/End + +!================= +&InOutParam +!================= + +! Basic I/O +irestart = 0 ! Read initial flow field ? +icheckpoint = 1000 ! Frequency for writing backup file +ioutput = 100 ! Frequency for visualization +ilist = 5 ! Frequency for the output +nvisu = 1 ! Size for visualisation collection + +/End + +!================= +&Statistics +!================= + +nstat = 1 ! Size arrays for statistic collection + +/End + +!==================== +&MHDParam +!==================== + +mhd_active = .false. +mhd_equation=.true. +Stuart = 100.d0 +Rem = 100.d0 + +/End + +!==================== +&ParTrack +!==================== + +bc_particle = 'periodic','periodic','periodic','periodic','periodic','periodic' +initype_particle = 'uniform' +n_particles = 512 +particle_inject_period = 0.0 + +/End + +!####################### +! OPTIONAL PARAMETERS +!####################### + +!================= +&LESModel +!================= +jles=0 +smagcst=0.1 +walecst=0.5 +iwall=0 +/End + +!================= +&CASE +!================= +/End diff --git a/tests/Particle-Tracking/CMakeLists.txt b/tests/Particle-Tracking/CMakeLists.txt index a607ff431..bbf29323e 100644 --- a/tests/Particle-Tracking/CMakeLists.txt +++ b/tests/Particle-Tracking/CMakeLists.txt @@ -1,10 +1,10 @@ # Particles set(case "Particle-Tracking-Channel") -set(input_file "input_channel_particle_test.i3d") +set(input_file "input_channel_particles_test.i3d") set(additional_inputs "") CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}") set(case "Particle-tracking-TGV") -set(input_file "input_tgv_particle_test.i3d") +set(input_file "input_tgv_particles_test.i3d") set(additional_inputs "") CreateMPITest(${test_dir} ${case} ${input_file} "${additional_inputs}")