advanced link update trigger?

38 views
Skip to first unread message

zach....@fhengineering.com

unread,
Apr 2, 2025, 5:10:04 PM4/2/25
to OpenVSP
I am loving the flexibility of advanced links but my current workflow requires a manual "update" (edit a number in the angelscript -> compile -> revert the edit -> compile = geometry behaves as expected)

 I have a landing gear root position driven by LMN of a parent wing.  The job of the advanced link is to change the span of the landing gear wing section to always meet the ground.  If the wing gets higher the gear gets longer.

Right now a wing dihedral change will not change the gear height unless I go through a manual update as above.  Sometimes the gear also visually turns to a black outline only - no other visualization.  Going through a manual compile fixes this too.  This also affects my panel mesh.  I have ~17 span panels on this gear but it will snap to 1 at times depending on wing edits.  And again - all goes back to normal with a couple of recompiles.

Sorry I don't have a proper bug report on how to reproduce - I can try to create a sample tonight if needed.  Anyone else have this issue?  Or do your advanced links run/update with other slider movement?

Rob McDonald

unread,
Apr 2, 2025, 5:19:20 PM4/2/25
to ope...@googlegroups.com
Zach,

I'm happy to check out a file if you can share it.

As far as OpenVSP is concerned, Advanced Links only depend on the values of the input Parms.  If an input Parm value does not change, then the link will not be recalculated.

If your gear is attached to the wing -- and the location it is attached to depends on dihedral (for example) -- but dihedral is not an input parameter to the Link, then VSP will not know to update the link when dihedral changes.

I can think of a couple of workarounds for this...

1) Make dihedral an input variable to the Advanced Link -- even if you don't use it in your calculation, it should make your link 'sensitive' to dihedral.

2) Add a Probe to the wing at the location you're interested in matching.  The Probe will calculate output Parms that you should be able to use in the Advanced Link as inputs.  Those should update whenever the surface moves or changes -- no matter the root cause.

Or it might be a bug...

Rob




--
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/19a6d387-5531-434d-bc94-e11d6c641dfbn%40googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages