Skip to content

Commit 4d0512e

Browse files
authored
Merge branch 'loganoz:master' into master
2 parents 4d93864 + 8b10b39 commit 4d0512e

46 files changed

Lines changed: 911501 additions & 51 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/CI_parallel.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,54 @@ jobs:
967967

968968

969969

970+
#
971+
# 34) Atmospheric Boundary Layer (ABL) mapping to boundary
972+
# --------------------------------------------
973+
974+
- name: Build ABL_BoundaryMapping
975+
working-directory: ./Solver/test/NavierStokes/ABLBoundaryMapping/SETUP
976+
run: |
977+
source /opt/intel/oneapi/setvars.sh || true
978+
TEST_HOME_DIR=$(grep '^HOME_DIR=' Makefile | cut -d'=' -f2)
979+
rm Makefile
980+
wget https://people.math.sc.edu/Burkardt/f_src/geompack2/geompack2.f90
981+
cp -r ../../../../../utils/ABLBoundaryMapping/SETUP/* .
982+
mv Makefile.iABL Makefile
983+
cp -r ../../../../../utils/ABLBoundaryMapping/PRECURSOR ../
984+
sed -i "s|^HOME_DIR=.*|HOME_DIR=$TEST_HOME_DIR|" Makefile
985+
awk '/END SUBROUTINE UserDefinedFinalize/{system("cat testchecks"); print ""; print; next}1' ProblemFile.f90 > temp && mv temp ProblemFile.f90
986+
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}} WITH_HDF5=${{matrix.hdf5}}
987+
if: '!cancelled()'
988+
989+
- name: Run ABL_BoundaryMapping
990+
working-directory: ./Solver/test/NavierStokes/ABLBoundaryMapping
991+
run: |
992+
source /opt/intel/oneapi/setvars.sh || true
993+
mpiexec -n 64 ./horses3d.ns ABLBoundaryMapping.control
994+
if: '!cancelled()'
995+
996+
#
997+
# 35) Actuator Line (AL) external controller module
998+
# --------------------------------------------
999+
- name: Build ActuatorLineController
1000+
working-directory: ./Solver/test/NavierStokes/ActuatorLineController/SETUP
1001+
run: |
1002+
source /opt/intel/oneapi/setvars.sh || true
1003+
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_METIS=YES
1004+
cd ../ActuatorDef/controller
1005+
git clone https://github.com/EduardoJane/DRC_Fortran_H3D.git
1006+
cd DRC_Fortran_H3D/Source
1007+
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}}
1008+
mv ../DISCON/DISCON_glin64.so ../../
1009+
if: '!cancelled()'
1010+
1011+
- name: Run ActuatorLineController
1012+
working-directory: ./Solver/test/NavierStokes/ActuatorLineController
1013+
run: |
1014+
source /opt/intel/oneapi/setvars.sh || true
1015+
mpiexec -n 64 ./horses3d.ns ActuatorLineController.control
1016+
if: '!cancelled()'
1017+
9701018
########################################################################
9711019
####### PARTICLES ########
9721020
########################################################################

NOTICE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# NOTICE
2+
3+
This project is licensed under the MIT License. A copy of the MIT License can be found in [LICENSE](LICENSE.md).
4+
5+
---------------------------------------------------------------------------
6+
7+
The following file contains code that is a derivative of software developed by the National Renewable Energy Laboratory for the OpenFAST project:
8+
9+
- [ControllerInterface.f90](./Solver/src/libs/sources/ControllerInterface.f90)
10+
11+
The original work is licensed under the Apache License, Version 2.0. A copy of the Apache License 2.0 can be found in the file [LICENSE-APACHE-2.0.md](./thirdparty/LICENSE-APACHE-2.0.md).
12+
13+
Original Work Copyright (C) 2013-2016 National Renewable Energy Laboratory.
14+
15+
---------------------------------------------------------------------------

Solver/Makefile.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,12 @@ ifeq ($(WITH_HDF5),YES)
214214
else
215215
$(error option WITH_HDF5 = YES requires defining path to HDF5 with HDF5_DIR)
216216
endif
217-
endif
217+
endif
218+
219+
##########################
220+
## Link DL ##
221+
##########################
222+
LIBS += -ldl
218223

219224
##########################################
220225
## Select HORSES libraries ##

Solver/configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ TEST_CASES="./Euler/BoxAroundCircle \
8080
./NavierStokes/ActuatorLineInterpolation \
8181
./NavierStokes/ActuatorLineProjection \
8282
./NavierStokes/Cylinder_AdaptiveTimeStep_pAdaptationRL \
83+
./NavierStokes/ABLBoundaryMapping \
84+
./NavierStokes/ActuatorLineController \
8385
./IncompressibleNS/Convergence \
8486
./IncompressibleNS/Kovasznay \
8587
./IncompressibleNS/TaylorGreen \

0 commit comments

Comments
 (0)