openVSP convert vsp3 vspscript

207 views
Skip to first unread message

chandrashekhar a patankar

unread,
Aug 27, 2023, 1:28:20 AM8/27/23
to OpenVSP
how to convert vsp3 format to vspscipt format ?

Rob McDonald

unread,
Aug 27, 2023, 1:17:59 PM8/27/23
to ope...@googlegroups.com
What are you actually trying to do?

Those file formats have nothing to do with one another.

A *.vsp3 file contains all the information about a particular model.

A *.vspscript file is a program written in VSP's scripting language to automate some process.

Rob

On Sat, Aug 26, 2023 at 10:28 PM chandrashekhar a patankar <chandrashekh...@gmail.com> wrote:
how to convert vsp3 format to vspscipt format ?

--
You received this message because you are subscribed to the Google Groups "OpenVSP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvsp/28137eab-4f5a-4907-8f89-df8cb7156962n%40googlegroups.com.

marco

unread,
Aug 28, 2023, 11:43:38 AM8/28/23
to OpenVSP
You can manually write a *.vspscript file that 'builds' a *.vsp3 model when run in OpenVSP.
The other way around is not (yet?) programmed.

Rob McDonald

unread,
Aug 28, 2023, 12:03:38 PM8/28/23
to ope...@googlegroups.com
If I had a *.vsp3 file and I wanted to work with it in a script, I would simply...

ReadVSPFile( fname );

Rob

On Mon, Aug 28, 2023 at 8:43 AM marco <marco....@gmail.com> wrote:
You can manually write a *.vspscript file that 'builds' a *.vsp3 model when run in OpenVSP.
The other way around is not (yet?) programmed.

--
You received this message because you are subscribed to the Google Groups "OpenVSP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+u...@googlegroups.com.

chandrashekhar a patankar

unread,
Aug 28, 2023, 11:58:50 PM8/28/23
to OpenVSP
i am using a software called TCAE, which does turbomachinery design. there he used openVSP to create geometry and link it to TCAE so that parametric geometry can be used for simulation, i am trying to do that.

Brandon Litherland

unread,
Aug 31, 2023, 12:39:11 PM8/31/23
to OpenVSP
The OpenVSP-in-the-loop process that they describe includes the parametric variation of an OpenVSP geometry to produce a new shape while exporting the base mesh to TCAE.  If you zoom in on the mesh setup (looks like polyhedral mesh generation from tris, quads, pents, and hexes) they are reading STL files from a directory and the software is building on that.  It doesn't look like they used OpenVSP's intersection algorithms to do this.  Just read a raw STL export.
You would read in a VSP3 file as Rob described, manipulate your parameters to change the shape, export the resulting mesh as STL (I assume), and repeat until converged on your solution.  This can be performed in any of the API languages but would commonly be used in the native VSPSCRIPT or Python API options.  It all depends on what your optimizer loops are written in.  If TOPT can speak directly to the VSP API, then it would be handled within the TCAE/TOPT software, otherwise there is an established connection between the tools that tells the TOPT parameters 1-4 to change and reimport the VSP model.

TCAE_fan_mesh_screenshot_crop.png

chandrashekhar a patankar

unread,
Sep 1, 2023, 12:29:56 AM9/1/23
to OpenVSP
thank you sir i will look into it, i am honoured, you take openVSP classes and work in NASA.
Reply all
Reply to author
Forward
0 new messages