Dear all,
Does anyone know how to generate synthetic model?
Our group plans to use deep learning to build a surrogate model for predicting the flow pattern in different artery geometries.
To see if our idea works, we are going to try simpler case first.
We will use SimVascular to compute the flow pattern for different synthetic shapes
and use the result to train our surrogate model.
One of the problems is that we have to generate large amount of synthetic shapes.
Does anyone know which software/tool is suitable for this task?
(the export format of models should be supported by SimVascular)
Regards,
Yikai Kan
Tool/Software for Generating Synthetic Model?
- Fanwei Kong
- Posts: 3
- Joined: Thu Aug 24, 2017 1:25 pm
Re: Tool/Software for Generating Synthetic Model?
Dear Yikai,
The latest version of SimVascular has a Python scripting interface that you can use to generate synthetic shapes. You can access the Python interface by clicking on the Python icon on the toolbar. It allows you to run scripts if you want to generate a large number of shapes. Depending on how complicated the shapes are, you could either generate simple solid geometries (cylinder, sphere, box) and then perform a boolean operation or generate shapes by creating appropriate path points, contours and then lofting them together.
We have some example Python scripts that demonstrate both options and I attached them here. There are also some slides from a workshop we hold recently that can hopefully guide you through this process. You can find the slides in wcb_sv_workshop.zip under "Download Links" at (https://simtk.org/frs/?group_id=188),
Please let me know if you have questions.
Fanwei
The latest version of SimVascular has a Python scripting interface that you can use to generate synthetic shapes. You can access the Python interface by clicking on the Python icon on the toolbar. It allows you to run scripts if you want to generate a large number of shapes. Depending on how complicated the shapes are, you could either generate simple solid geometries (cylinder, sphere, box) and then perform a boolean operation or generate shapes by creating appropriate path points, contours and then lofting them together.
We have some example Python scripts that demonstrate both options and I attached them here. There are also some slides from a workshop we hold recently that can hopefully guide you through this process. You can find the slides in wcb_sv_workshop.zip under "Download Links" at (https://simtk.org/frs/?group_id=188),
Please let me know if you have questions.
Fanwei
- Attachments
-
- sv-python-demos.tar.gz
- Sample scripts
- (25.04 KiB) Downloaded 34 times
Re: Tool/Software for Generating Synthetic Model?
Dear Fanwei,
Thank you for your great help!
This is exactly what we need.
I will check it out and try it.
Yikai
Thank you for your great help!
This is exactly what we need.
I will check it out and try it.
Yikai