Hi,
I have a complex heart-to-brain arterial geometry that SimVascular is unable to generate a centerline for. Using a module in 3D slicer, I was able to extract the entire centerline for this arterial pathway. I ultimately want to use this centerline to complete 0D simulations for resistance boundary condition tuning. Is there anyway of importing this externally generated centerline back into SimVascular to then utilize the 0D simulator?
Thanks,
Ricardo Roopnarinesingh
Using Externally Generated Centerlines in the 0D Simulator
- Ricardo Roopnarinesingh
- Posts: 15
- Joined: Fri Sep 17, 2021 9:56 am
- David Parker
- Posts: 1772
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Using Externally Generated Centerlines in the 0D Simulator
Hi Ricardo,
You can import the externally generated centerlines into SV by copying the file to your SV project's ROMSimulations directory centerlines.vtp file
The tricky bit will be to convert the externally generated centerlines to the format that is used by SV that contains the following data arrays
I think only the BranchId and BifurcationId data arrays are used to create the 0D/1D elements. The Python script that generates the 0D/1D elements is in https://github.com/SimVascular/SimVascu ... simulation.
Cheers,
Dave
You can import the externally generated centerlines into SV by copying the file to your SV project's ROMSimulations directory centerlines.vtp file
Code: Select all
DemoProject/ROMSimulations/sim1:
centerlines.vtp inlet_face_names.dat model_surface.vtp
Cheers,
Dave