Skip to content

update theory doc

update theory doc #223

Triggered via push June 27, 2024 18:11
Status Failure
Total duration 13m 45s
Billable time 24m
Artifacts

CI.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 notice
Julia 1.10 - ubuntu-latest - x64 - push
Process completed with exit code 1.
Julia 1.10 - ubuntu-latest - x86 - push
Process completed with exit code 1.
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:355-358 ```@example tutorial outs, success_flag = dt.analyze(propulsor, options) nothing # hide ``` exception = MethodError: no method matching akima(::SubArray{Float64, 1, Matrix{Float64}, Tuple{StepRange{Int64, Int64}, Int64}, true}, ::SubArray{Float64, 1, Matrix{Float64}, Tuple{StepRange{Int64, Int64}, Int64}, true}, ::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, ::Float64, ::Float64) Closest candidates are: akima(::Any, ::Any, ::Any) @ FLOWMath ~/.julia/packages/FLOWMath/yeNuj/src/interpolate.jl:147 Stacktrace: [1] (::DuctAPE.var"#42#47")(x::SubArray{Float64, 1, Matrix{Float64}, Tuple{StepRange{Int64, Int64}, Int64}, true}, y::SubArray{Float64, 1, Matrix{Float64}, Tuple{StepRange{Int64, Int64}, Int64}, true}, xp::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}) @ DuctAPE ~/work/DuctAPE.jl/DuctAPE.jl/src/utilities/options.jl:584 [2] reinterpolate_bodies!(rp_duct_coordinates::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rp_centerbody_coordinates::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, duct_coordinates::Matrix{Float64}, centerbody_coordinates::Matrix{Float64}, zwake::Vector{Float64}, ncenterbody_inlet::Int64, nduct_inlet::Int64; finterp::DuctAPE.var"#42#47") @ DuctAPE ~/work/DuctAPE.jl/DuctAPE.jl/src/preprocess/geometry/body_geometry.jl:48 [3] reinterpolate_geometry!(wake_grid::Base.ReshapedArray{Float64, 3, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rp_duct_coordinates::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rp_centerbody_coordinates::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rotor_indices_in_wake::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, duct_coordinates::Matrix{Float64}, centerbody_coordinates::Matrix{Float64}, rotorstator_parameters::RotorStatorParameters{Vector{Int64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{DuctAPE.C4Blade.DFDCairfoil{Float64}}, Vector{Float64}}, blade_element_cache::@NamedTuple{B::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rtip::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rhub::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, fliplift::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, chords::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, twists::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, stagger::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, solidity::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rotor_panel_centers::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, inner_fraction::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}}, paneling_constants::PanelingConstants{Int64, Float64, Float64}; autoshiftduct::Bool, grid_solver_options::SLORGridSolverOptions{Bool, Float64, Int64}, finterp::Function, verbose::Bool, silence_warnings::Bool) @ DuctAPE ~/work/DuctAPE.jl/DuctAPE.jl/src/preprocess/preprocess.jl:160 [4] reinterpolate_geometry! @ ~/work/DuctAPE.jl/DuctAPE.jl/src/preprocess/preprocess.jl:117 [inlined] [5] precompute_parameters!(ivr::@NamedTuple{v_rb::Base.ReshapedArray{Float64, 3, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, v_rr::Base.ReshapedArray{Float64, 3, S
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:364-367 ```@example tutorial # Total Thrust Coefficient outs.totals.CT ``` exception = UndefVarError: `outs` not defined Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:368-371 ```@example tutorial # Total Torque Coefficient outs.totals.CQ ``` exception = UndefVarError: `outs` not defined Stacktrace: [1] top-level scope @ :0 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:383-400 ```@example tutorial # - Advance Ratio Range - # Js = range(0.0, 2.0; step=0.01) # - Calculate Vinfs - # D = 2.0 * rotorstator_parameters.Rtip[1] # rotor diameter n = RPM / 60.0 # rotation rate in revolutions per second Vinfs = Js * n * D # - Set Operating Points - # ops = [deepcopy(operating_point) for i in 1:length(Vinfs)] for (iv, v) in enumerate(Vinfs) ops[iv].Vinf[] = v end # - Run Multi-point Analysis - # outs_vec, success_flags = DuctAPE.analyze(ops, propulsor, DuctAPE.set_options(ops)) ``` exception = MethodError: no method matching akima(::SubArray{Float64, 1, Matrix{Float64}, Tuple{StepRange{Int64, Int64}, Int64}, true}, ::SubArray{Float64, 1, Matrix{Float64}, Tuple{StepRange{Int64, Int64}, Int64}, true}, ::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, ::Float64, ::Float64) Closest candidates are: akima(::Any, ::Any, ::Any) @ FLOWMath ~/.julia/packages/FLOWMath/yeNuj/src/interpolate.jl:147 Stacktrace: [1] (::DuctAPE.var"#43#48")(x::SubArray{Float64, 1, Matrix{Float64}, Tuple{StepRange{Int64, Int64}, Int64}, true}, y::SubArray{Float64, 1, Matrix{Float64}, Tuple{StepRange{Int64, Int64}, Int64}, true}, xp::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}) @ DuctAPE ~/work/DuctAPE.jl/DuctAPE.jl/src/utilities/options.jl:584 [2] reinterpolate_bodies!(rp_duct_coordinates::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rp_centerbody_coordinates::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, duct_coordinates::Matrix{Float64}, centerbody_coordinates::Matrix{Float64}, zwake::Vector{Float64}, ncenterbody_inlet::Int64, nduct_inlet::Int64; finterp::DuctAPE.var"#43#48") @ DuctAPE ~/work/DuctAPE.jl/DuctAPE.jl/src/preprocess/geometry/body_geometry.jl:48 [3] reinterpolate_geometry!(wake_grid::Base.ReshapedArray{Float64, 3, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rp_duct_coordinates::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rp_centerbody_coordinates::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rotor_indices_in_wake::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, duct_coordinates::Matrix{Float64}, centerbody_coordinates::Matrix{Float64}, rotorstator_parameters::RotorStatorParameters{Vector{Int64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{DuctAPE.C4Blade.DFDCairfoil{Float64}}, Vector{Float64}}, blade_element_cache::@NamedTuple{B::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rtip::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Rhub::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, fliplift::SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, chords::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, twists::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, stagger::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, solidity::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, rotor_panel_centers::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}, inner_fraction::Base.ReshapedArray{Float64, 2, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, Tuple{}}}, paneling_constants::PanelingConstants{Int64, Float64, Float64}; autoshiftduct::Bool, grid_solver_options::SLORGridSolverOptions{Bool, Float64, Int64}, finterp::Function, verbose::Bool, silence
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:449-459 ```@example tutorial # - extract efficiency, power, and thrust coefficients - # # efficiency eta = (p->p.totals.total_efficiency[1]).(outs_vec) # power cp = (p->p.totals.CP[1]).(outs_vec) # thrust ct = (p->p.totals.CT[1]).(outs_vec) nothing #hide ``` exception = UndefVarError: `outs_vec` not defined Stacktrace: [1] top-level scope @ tutorial.md:453 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L44
failed to run `@example` block in src/DuctAPE/tutorial.md:463-529 ```@example tutorial # set up efficiency plot pe = plot(; xlabel="Advance Ratio", ylabel="Efficiency") # plot DFDC data plot!( pe, dfdc_J, dfdc_eta; seriestype=:scatter, markersize=5, markercolor=plotsgray, markerstrokecolor=plotsgray, label="DFDC" ) # Plot DuctAPE outputs plot!(pe, Js, eta; linewidth=2, color=primary, label = "DuctAPE") # setup cp/ct plot ppt = plot(; xlabel="Advance Ratio") # plot DFDC data plot!( ppt, dfdc_J, dfdc_cp; seriestype=:scatter, markersize=5, markercolor=plotsgray, markerstrokecolor=primary, markerstrokewidth=2, label="DFDC Cp" ) plot!( ppt, dfdc_J, dfdc_ct; seriestype=:scatter, markersize=5, markercolor=plotsgray, markerstrokecolor=secondary, markerstrokewidth=2, label="DFDC Ct" ) # plot DuctAPE outputs plot!( ppt, Js, cp; linewidth=1.5, color=primary, label="DuctAPE Cp" ) plot!( ppt, Js, ct; linewidth=1.5, color=secondary, label="DuctAPE Ct" ) plot(pe, ppt; size=(700,350), layout=(1,2), margin=2mm) ``` exception = UndefVarError: `eta` not defined Stacktrace: [1] top-level scope @ tutorial.md:481 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:752
Documentation
Process completed with exit code 1.
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`