Skip to content

Fuselage - Spline or Cubic bezier as cross sections geometry #70

Answered by gabriel-ces
gabriel-ces asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @EdoAlvarezR,

Absolutely! The recent upgrade, especially the enhanced functionality for importing geometries from OpenVSP, has made the process of adding geometries to FLOWUnsteady incredibly straightforward. Big thanks to @cibinjoseph for this valuable contribution!

For completeness of this discussion, I attempted to develop a script to retrieve points defined in a CSV file and correctly create an object that can be read in FLOWUnsteady. The code is presented below:

function transform_to_crosssections(input_tuple::Tuple{Float64, Vector{Vector{Float64}}}) :: Tuple{Float64, Matrix{Float64}}
    y, points = input_tuple
    matrix = transpose(hcat(points...))
    return y, matrix
end

…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@gabriel-ces
Comment options

Answer selected by EdoAlvarezR
@EdoAlvarezR
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants