Page 2 of 2

Re: Creation of centerlines in 1D simulation

Posted: Mon Nov 01, 2021 12:11 pm
by davep
Hi Charlie,

The SV GUI allows you to select sources and targets however you want from the faces defined for your model but I'm not sure if this will still work for your case, depends on the model topology.

The Python API allows you to set the source and target points using a node ID so you could select a point from a path as a target. See https://github.com/ktbolt/SimVascular-T ... erlines.py.

The other thing you could do is to create two models, one with and one without the graft, create centerlines for them and then merge the centerlines. I'm not sure how to merge centerlines though, need to ask Martin about that.

Cheers,
Dave

Re: Creation of centerlines in 1D simulation

Posted: Wed Nov 03, 2021 3:45 am
by cjbright
Hi Dave,

Thanks for your suggestions!
I'll have a play with generating multiple centrelines using the node IDs and merging them, that sounds like it could do the trick.
I think I've seen some other forum posts talking about how to do this so I'll give it a read.

Best wishes,
Charlie