vspaero API NumTimeSteps

35 views
Skip to first unread message

Carlos Blanes

unread,
Mar 24, 2025, 2:56:19 PM3/24/25
to OpenVSP
For my research case I need to set manually the number of timesteps for vspaero to run through the python API. When I set the same experiment in the GUI it runs perfectly, but when I try setting the NumTimeSteps via  the command  "vsp.SetDoubleAnalysisInput(analysis_sweep, "NumTimeSteps", [300], 0)", it seems to ignore it because it is setting that variable to a value of 100 as standard. What migh be happening here?
i.png

Rob McDonald

unread,
Mar 24, 2025, 3:19:17 PM3/24/25
to ope...@googlegroups.com
NumTimeSteps is an integer.  Try SetIntAnalysisInput instead.

Rob


On Mon, Mar 24, 2025 at 11:56 AM Carlos Blanes <carlosbla...@gmail.com> wrote:
For my research case I need to set manually the number of timesteps for vspaero to run through the python API. When I set the same experiment in the GUI it runs perfectly, but when I try setting the NumTimeSteps via  the command  "vsp.SetDoubleAnalysisInput(analysis_sweep, "NumTimeSteps", [300], 0)", it seems to ignore it because it is setting that variable to a value of 100 as standard. What migh be happening here?

--
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 visit https://groups.google.com/d/msgid/openvsp/dfdadf83-9e1b-4012-8884-9a827bc428b7n%40googlegroups.com.

Carlos Blanes

unread,
Mar 24, 2025, 3:53:21 PM3/24/25
to OpenVSP
That works!, thanks Rob.

belcamara...@gmail.com

unread,
Mar 24, 2025, 5:34:29 PM3/24/25
to Carlos Blanes, OpenVSP
Hello, I hope this message finds you well. I would like to inquire if I succeeded in my TEST. Thank you for your support! Best regards.
Reply all
Reply to author
Forward
0 new messages