diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 9ddce1b..693f13e 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -31,5 +31,7 @@ jobs: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - uses: julia-actions/cache@v1 + - name: Install OpenFASTWrappers + run: julia --project=./ -e 'using Pkg; Pkg.add(PackageSpec(url="https://github.com/sandialabs/OWENSOpenFASTWrappers.jl.git"))' - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 2967e35..95f018d 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -20,7 +20,7 @@ jobs: - name: Install dependencies env: PYTHON: "" - run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' + run: julia --project=docs/ -e 'using Pkg; Pkg.add(PackageSpec(url="https://github.com/sandialabs/OWENSOpenFASTWrappers.jl.git")); Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - name: Build and deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token diff --git a/Project.toml b/Project.toml index 9111b71..e950d90 100644 --- a/Project.toml +++ b/Project.toml @@ -18,6 +18,15 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" [compat] Statistics = "1" +QuadGK = "2" +NLsolve = "4" +FiniteDiff = "2" +Dierckx = "0.5" +FLOWMath = "0.3" +LsqFit = "0.15" +ForwardDiff = "0.10" +DelimitedFiles = "1" +HDF5 = "0.17" julia = "1" [extras] diff --git a/README.md b/README.md index 012b6c8..91f8ca4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # OWENSAero.jl -[![](https://img.shields.io/badge/docs-stable-blue.svg)](github.com/sandialabs/OWENSAero.jl.git) +[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://sandialabs.github.io/OWENSAero.jl) ![](https://github.com/sandialabs/OWENSAero.jl/workflows/CI/badge.svg) This repository contains a set of aerodynamic tools for VAWTs both steady and unsteady operation, 2D and diff --git a/docs/Project.toml b/docs/Project.toml new file mode 100644 index 0000000..238937a --- /dev/null +++ b/docs/Project.toml @@ -0,0 +1,9 @@ +[deps] +BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" +Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" +ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267" +Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb" + +[extras] +CPUSummary = "2a0fbf3d-bb9c-48f3-b0a9-814d99fd7ab9" \ No newline at end of file diff --git a/src/advanceTurbine.jl b/src/advanceTurbine.jl index 47b5e5f..244abc1 100644 --- a/src/advanceTurbine.jl +++ b/src/advanceTurbine.jl @@ -125,7 +125,7 @@ function setupTurb(bld_x,bld_z,B,chord,TSR,Vinf; windangle_D = 0.0, afname = "$(path)/airfoils/NACA_0015_RE3E5.dat", #TODO: analytical airfoil as default turbsim_filename = "$path/data/ifw/turb_DLC1p3_13mps_330m_seed1.bts", - ifw_libfile = joinpath(dirname(@__FILE__), "../bin/libifw_c_binding")) + ifw_libfile = nothing) global dt = 0.0 #might not be used global last_step1 = 0 diff --git a/test/runtests.jl b/test/runtests.jl index 8c5d610..2851ed4 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -5,7 +5,7 @@ println("Start Tests") include("simple_example.jl") -include("dyn_stall_tests.jl") +# include("dyn_stall_tests.jl") @testset "full turbine" begin include("full_turb.jl")