You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys, I am new to FLOWUnsteady. Before i started to actually use my design I test out the existing rotor file 'prowim' and for some reason I am running into error. The same goes for all the other rotor files. However, the simple and tethered wing seem to work fine. Any help?
Thanks for pointing that out! I just released a new version of FLOWVLM (v2.1.3) that fixes that compatibility issue with Julia v1.10+ and updated the installation instructions in the docs to use such version. Thanks for pointing that out!
Thanks for pointing that out! I just released a new version of FLOWVLM (v2.1.3) that fixes that compatibility issue with Julia v1.10+ and updated the installation instructions in the docs to use such version. Thanks for pointing that out!
Thanks for this. For some reason I found it to be less stable when using VM Workstations. SO I had to revert to booting through ubuntu. Thanks anyway!
Hello guys, I am new to FLOWUnsteady. Before i started to actually use my design I test out the existing rotor file 'prowim' and for some reason I am running into error. The same goes for all the other rotor files. However, the simple and tethered wing seem to work fine. Any help?
show(err)
1-element ExceptionStack:
LoadError: UndefRefError: access to undefined reference
Stacktrace:
[1] getindex
@ ./essentials.jl:917 [inlined]
[2] _broadcast_getindex
@ ./broadcast.jl:639 [inlined]
[3] _getindex
@ ./broadcast.jl:669 [inlined]
[4] _broadcast_getindex
@ ./broadcast.jl:645 [inlined]
[5] getindex
@ ./broadcast.jl:605 [inlined]
[6] copy
@ ./broadcast.jl:906 [inlined]
[7] materialize
@ ./broadcast.jl:867 [inlined]
[8] getproperty(obj::Vector{CCBlade.Section{Float64, Float64, Float64, FLOWVLM.var"#46#48"{FLOWVLM.OCCBAirfoilData}}}, sym::Symbol)
@ CCBlade ~/.julia/packages/CCBlade/8KMow/src/CCBlade.jl:81
[9] dataids(A::Vector{CCBlade.Section{Float64, Float64, Float64, FLOWVLM.var"#46#48"{FLOWVLM.OCCBAirfoilData}}})
@ Base ./abstractarray.jl:1562
[10] mightalias
@ ./abstractarray.jl:1537 [inlined]
[11] unalias
@ ./abstractarray.jl:1500 [inlined]
[12] broadcast_unalias
@ ./broadcast.jl:941 [inlined]
[13] preprocess
@ ./broadcast.jl:948 [inlined]
[14] preprocess_args
@ ./broadcast.jl:950 [inlined]
[15] preprocess
@ ./broadcast.jl:947 [inlined]
[16] copyto!
@ ./broadcast.jl:964 [inlined]
[17] copyto!
@ ./broadcast.jl:920 [inlined]
[18] copy
@ ./broadcast.jl:892 [inlined]
[19] materialize(bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Nothing, Type{CCBlade.Section}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{FLOWVLM.var"#46#48"{FLOWVLM.OCCBAirfoilData}}}})
@ Base.Broadcast ./broadcast.jl:867
[20] OCCB2CCB(orotor::FLOWVLM.OCCBRotor, turbine::Bool, oinflow::FLOWVLM.OCCBInflow; pitch::Float64)
@ FLOWVLM ~/.julia/packages/FLOWVLM/RWw6g/src/FLOWVLM_rotor_ccb.jl:189
[21] OCCB2CCB
@ ~/.julia/packages/FLOWVLM/RWw6g/src/FLOWVLM_rotor_ccb.jl:182 [inlined]
[22] calc_distributedloads(self::FLOWVLM.Rotor, Vinf::typeof(Vinf), RPM::Float64, rho::Float64; t::Float64, include_comps::Bool, return_performance::Bool, Vref::Nothing, Uinds::Nothing, sound_spd::Float64, _lookuptable::Bool, _Vinds::Vector{Vector{Vector{Float64}}}, hubtiploss_correction::Tuple{Tuple{Float64, Int64, Float64, Float64}, Tuple{Int64, Int64, Int64, Float64}}, AR_to_360extrap::Bool, debug::Bool)
@ FLOWVLM ~/.julia/packages/FLOWVLM/RWw6g/src/FLOWVLM_rotor.jl:1213
[23] calc_distributedloads
@ ~/.julia/packages/FLOWVLM/RWw6g/src/FLOWVLM_rotor.jl:1146 [inlined]
[24] solvefromCCBlade(self::FLOWVLM.Rotor, Vinf::typeof(Vinf), RPM::Float64, rho::Float64; t::Float64, include_comps::Bool, return_performance::Bool, Vref::Nothing, sound_spd::Float64, Uinds::Nothing, _lookuptable::Bool, _Vinds::Vector{Vector{Vector{Float64}}}, hubtiploss_correction::Tuple{Tuple{Float64, Int64, Float64, Float64}, Tuple{Int64, Int64, Int64, Float64}}, AR_to_360extrap::Bool, debug::Bool, verbosewarn::Bool)
@ FLOWVLM ~/.julia/packages/FLOWVLM/RWw6g/src/FLOWVLM_rotor.jl:288
[25] solvefromV(::FLOWVLM.Rotor, ::Vector{Vector{Vector{Float64}}}, ::Function, ::Vararg{Any}; optargs::@kwargs{t::Float64, sound_spd::Float64, hubtiploss_correction::Tuple{Tuple{Float64, Int64, Float64, Float64}, Tuple{Int64, Int64, Int64, Float64}}, debug::Bool, verbosewarn::Bool})
@ FLOWVLM ~/.julia/packages/FLOWVLM/RWw6g/src/FLOWVLM_rotor.jl:259
[26] solve(self::FLOWUnsteady.Simulation{FLOWUnsteady.UVLMVehicle{0, 1, Float64}, FLOWUnsteady.KinematicManeuver{0, 1}, Float64}, Vinf::Function, pfield::FLOWVPM.ParticleField{Float64, FLOWVPM.ReformulatedVPM{Float64}, FLOWVPM.Inviscid{Float64}, FLOWVPM.NoSFS{Float64}}, wake_coupled::Bool, dt::Float64, rlx::Float64, sigma_vlm::Float64, sigma_rotor::Float64, rho::Float64, speedofsound::Float64, staticpfield::FLOWVPM.ParticleField{Float64, FLOWVPM.ReformulatedVPM{Float64}, FLOWVPM.Inviscid{Float64}, FLOWVPM.NoSFS{Float64}}, hubtiploss_correction::Tuple{Tuple{Float64, Int64, Float64, Float64}, Tuple{Int64, Int64, Int64, Float64}}; init_sol::Bool, sigmafactor_vpmonvlm::Int64, debug::Bool)
@ FLOWUnsteady ~/.julia/packages/FLOWUnsteady/jQESG/src/FLOWUnsteady_simulation_types_unsteady.jl:84
[27] solve
@ ~/.julia/packages/FLOWUnsteady/jQESG/src/FLOWUnsteady_simulation_types_unsteady.jl:11 [inlined]
[28] (::FLOWUnsteady.var"#runtime_function#161"{FLOWUnsteady.var"#runtime_function#149#162"{typeof(Vinf), Float64, Float64, Float64, FLOWUnsteady.var"#monitor#370"{FLOWUnsteady.var"#monitor#368#371"{Tuple{FLOWUnsteady.var"#monitor#370"{FLOWUnsteady.var"#monitor#368#371"{Tuple{FLOWUnsteady.var"#extra_runtime_function#356"{FLOWUnsteady.var"#extra_runtime_function#353#357"{String, String, Bool, Int64, Int64, Vector{Any}}}, FLOWUnsteady.var"#extra_runtime_function#364"{FLOWUnsteady.var"#extra_runtime_function#361#365"{String, String, Bool, Int64, Int64, Vector{Any}, Vector{Any}, Vector{Any}, Vector{Any}}}, FLOWUnsteady.var"#extra_runtime_function#338"{FLOWUnsteady.var"#extra_runtime_function#329#339"{Vector{Float64}, Vector{Float64}, Bool, typeof(calc_aerodynamicforce_fun), Nothing, Nothing, Nothing, Nothing, String, String, Bool, FLOWUnsteady.var"#336#346", FLOWUnsteady.var"#337#347", Int64, Int64, Bool, FLOWVLM.Wing, typeof(Vinf), Float64, Float64, Float64, Float64, Int64, Float64}}, FLOWUnsteady.var"#extra_runtime_function#325"{FLOWUnsteady.var"#extra_runtime_function#323#326"{Float64, String, String, String, Bool, Bool, Int64, Int64, String, Vector{FLOWVLM.Rotor}, Float64, Float64, Float64, Int64}}}}}, FLOWUnsteady.var"#wake_treatment#258"{FLOWUnsteady.var"#wake_treatment#257#259"{Int64, Float64, Float64}}}}}, Int64, Float64, Bool, Tuple{Tuple{Float64, Int64, Float64, Float64}, Tuple{Int64, Int64, Int64, Float64}}, Bool, Bool, Float64, Bool, Bool, Float64, Float64, Vector{Any}, Float64, Float64, Float64, Int64, Float64, String, String, Bool, Int64, Bool, Bool, FLOWUnsteady.Simulation{FLOWUnsteady.UVLMVehicle{0, 1, Float64}, FLOWUnsteady.KinematicManeuver{0, 1}, Float64}, FLOWVPM.ParticleField{Float64, FLOWVPM.ReformulatedVPM{Float64}, FLOWVPM.Inviscid{Float64}, FLOWVPM.NoSFS{Float64}}, Float64}})(PFIELD::FLOWVPM.ParticleField{Float64, FLOWVPM.ReformulatedVPM{Float64}, FLOWVPM.Inviscid{Float64}, FLOWVPM.NoSFS{Float64}}, T::Float64, DT::Float64; vprintln::FLOWVPM.var"#75#76"{Int64, Int64, FLOWVPM.var"#vprintln#115"{Bool, String}, Int64})
@ FLOWUnsteady ~/.julia/packages/FLOWUnsteady/jQESG/src/FLOWUnsteady_simulation.jl:287
[29] runtime_function
@ ~/.julia/packages/FLOWUnsteady/jQESG/src/FLOWUnsteady_simulation.jl:271 [inlined]
[30] run_vpm!(pfield::FLOWVPM.ParticleField{Float64, FLOWVPM.ReformulatedVPM{Float64}, FLOWVPM.Inviscid{Float64}, FLOWVPM.NoSFS{Float64}}, dt::Float64, nsteps::Int64; runtime_function::FLOWUnsteady.var"#runtime_function#161"{FLOWUnsteady.var"#runtime_function#149#162"{typeof(Vinf), Float64, Float64, Float64, FLOWUnsteady.var"#monitor#370"{FLOWUnsteady.var"#monitor#368#371"{Tuple{FLOWUnsteady.var"#monitor#370"{FLOWUnsteady.var"#monitor#368#371"{Tuple{FLOWUnsteady.var"#extra_runtime_function#356"{FLOWUnsteady.var"#extra_runtime_function#353#357"{String, String, Bool, Int64, Int64, Vector{Any}}}, FLOWUnsteady.var"#extra_runtime_function#364"{FLOWUnsteady.var"#extra_runtime_function#361#365"{String, String, Bool, Int64, Int64, Vector{Any}, Vector{Any}, Vector{Any}, Vector{Any}}}, FLOWUnsteady.var"#extra_runtime_function#338"{FLOWUnsteady.var"#extra_runtime_function#329#339"{Vector{Float64}, Vector{Float64}, Bool, typeof(calc_aerodynamicforce_fun), Nothing, Nothing, Nothing, Nothing, String, String, Bool, FLOWUnsteady.var"#336#346", FLOWUnsteady.var"#337#347", Int64, Int64, Bool, FLOWVLM.Wing, typeof(Vinf), Float64, Float64, Float64, Float64, Int64, Float64}}, FLOWUnsteady.var"#extra_runtime_function#325"{FLOWUnsteady.var"#extra_runtime_function#323#326"{Float64, String, String, String, Bool, Bool, Int64, Int64, String, Vector{FLOWVLM.Rotor}, Float64, Float64, Float64, Int64}}}}}, FLOWUnsteady.var"#wake_treatment#258"{FLOWUnsteady.var"#wake_treatment#257#259"{Int64, Float64, Float64}}}}}, Int64, Float64, Bool, Tuple{Tuple{Float64, Int64, Float64, Float64}, Tuple{Int64, Int64, Int64, Float64}}, Bool, Bool, Float64, Bool, Bool, Float64, Float64, Vector{Any}, Float64, Float64, Float64, Int64, Float64, String, String, Bool, Int64, Bool, Bool, FLOWUnsteady.Simulation{FLOWUnsteady.UVLMVehicle{0, 1, Float64}, FLOWUnsteady.KinematicManeuver{0, 1}, Float64}, FLOWVPM.ParticleField{Float64, FLOWVPM.ReformulatedVPM{Float64}, FLOWVPM.Inviscid{Float64}, FLOWVPM.NoSFS{Float64}}, Float64}}, static_particles_function::FLOWUnsteady.var"#static_particles_function#10"{Bool, Float64, typeof(FLOWUnsteady.g_pressure), Float64, String, String, String, Int64, FLOWVPM.ParticleField{Float64, FLOWVPM.ReformulatedVPM{Float64}, FLOWVPM.Inviscid{Float64}, FLOWVPM.NoSFS{Float64}}, FLOWUnsteady.UVLMVehicle{0, 1, Float64}, Float64, Float64, Bool}, save_path::String, create_savepath::Bool, run_name::String, save_code::String, nsteps_save::Int64, prompt::Bool, verbose::Bool, verbose_nsteps::Int64, v_lvl::Int64, save_time::Bool)
@ FLOWVPM ~/.julia/packages/FLOWVPM/d7F46/src/FLOWVPM_utils.jl:115
[31] run_simulation(sim::FLOWUnsteady.Simulation{FLOWUnsteady.UVLMVehicle{0, 1, Float64}, FLOWUnsteady.KinematicManeuver{0, 1}, Float64}, nsteps::Int64; Vinf::typeof(Vinf), sound_spd::Float64, rho::Float64, mu::Float64, tquit::Float64, rand_RPM::Bool, extra_runtime_function::FLOWUnsteady.var"#monitor#370"{FLOWUnsteady.var"#monitor#368#371"{Tuple{FLOWUnsteady.var"#monitor#370"{FLOWUnsteady.var"#monitor#368#371"{Tuple{FLOWUnsteady.var"#extra_runtime_function#356"{FLOWUnsteady.var"#extra_runtime_function#353#357"{String, String, Bool, Int64, Int64, Vector{Any}}}, FLOWUnsteady.var"#extra_runtime_function#364"{FLOWUnsteady.var"#extra_runtime_function#361#365"{String, String, Bool, Int64, Int64, Vector{Any}, Vector{Any}, Vector{Any}, Vector{Any}}}, FLOWUnsteady.var"#extra_runtime_function#338"{FLOWUnsteady.var"#extra_runtime_function#329#339"{Vector{Float64}, Vector{Float64}, Bool, typeof(calc_aerodynamicforce_fun), Nothing, Nothing, Nothing, Nothing, String, String, Bool, FLOWUnsteady.var"#336#346", FLOWUnsteady.var"#337#347", Int64, Int64, Bool, FLOWVLM.Wing, typeof(Vinf), Float64, Float64, Float64, Float64, Int64, Float64}}, FLOWUnsteady.var"#extra_runtime_function#325"{FLOWUnsteady.var"#extra_runtime_function#323#326"{Float64, String, String, String, Bool, Bool, Int64, Int64, String, Vector{FLOWVLM.Rotor}, Float64, Float64, Float64, Int64}}}}}, FLOWUnsteady.var"#wake_treatment#258"{FLOWUnsteady.var"#wake_treatment#257#259"{Int64, Float64, Float64}}}}}, max_particles::Int64, max_static_particles::Int64, p_per_step::Int64, vpm_formulation::FLOWVPM.ReformulatedVPM{Float64}, vpm_kernel::FLOWVPM.Kernel, vpm_UJ::typeof(FLOWVPM.UJ_fmm), vpm_SFS::FLOWVPM.NoSFS{Float64}, vpm_integration::typeof(FLOWVPM.euler), vpm_transposed::Bool, vpm_viscous::FLOWVPM.Inviscid{Float64}, vpm_fmm::FLOWVPM.FMM, vpm_relaxation::FLOWVPM.Relaxation{Float64}, vpm_surface::Bool, vlm_vortexsheet::Bool, vlm_vortexsheet_overlap::Float64, vlm_vortexsheet_distribution::typeof(FLOWUnsteady.g_pressure), vlm_vortexsheet_sigma_tbv::Float64, vlm_rlx::Float64, vlm_init::Bool, hubtiploss_correction::Tuple{Tuple{Float64, Int64, Float64, Float64}, Tuple{Int64, Int64, Int64, Float64}}, wake_coupled::Bool, shed_unsteady::Bool, unsteady_shedcrit::Float64, shed_starting::Bool, shed_boundarylayer::Bool, boundarylayer_prescribedCd::Float64, boundarylayer_d::Float64, omit_shedding::Vector{Any}, sigma_vlm_solver::Int64, sigma_vlm_surf::Float64, sigma_rotor_surf::Float64, sigmafactor_vpm::Float64, sigmafactor_vpmonvlm::Int64, sigma_vpm_overwrite::Float64, restart_vpmfile::Nothing, save_path::String, run_name::String, create_savepath::Bool, prompt::Bool, verbose::Bool, v_lvl::Int64, verbose_nsteps::Int64, raisewarnings::Bool, debug::Bool, nsteps_save::Int64, nsteps_restart::Int64, save_code::String, save_horseshoes::Bool, save_static_particles::Bool, save_wopwopin::Bool)
@ FLOWUnsteady ~/.julia/packages/FLOWUnsteady/jQESG/src/FLOWUnsteady_simulation.jl:350
[32] top-level scope
@ ~/.julia/packages/FLOWUnsteady/jQESG/examples/prowim/prowim.jl:568
[33] include(fname::String)
@ Main ./sysimg.jl:38
[34] top-level scope
@ REPL[17]:1
in expression starting at /home/kali/.julia/packages/FLOWUnsteady/jQESG/examples/prowim/prowim.jl:568
The text was updated successfully, but these errors were encountered: