byuflowlab / GXBeam.jl

Pure Julia Implementation of Geometrically Exact Beam Theory
MIT License
88 stars 19 forks source link

Bug when layup does not include webs #88

Closed tylercritchfield closed 2 years ago

tylercritchfield commented 2 years ago

Perhaps I'm defining my "webs" wrong in this case, but if I try using the following inputs webs = [] webloc = []

this leads to the TF type in line 673 of section.jl to be Any, which throws off calculations later on. That type changes from Float64 to Any in line 851 of afmesh.jl, when calling the addwebs method.

taylormcd commented 2 years ago

web = [] is of type Vector{Any} so that's not surprising. We should probably make it so this doesn't throw off later calculations though.