Create svpre and inp files

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Shion Matsumoto
Posts: 14
Joined: Tue Nov 06, 2018 9:09 am

Create svpre and inp files

Post by Shion Matsumoto » Tue Sep 29, 2020 9:45 am

Hi,

I would like to run a batch of simulations through the Python API. Is there a way I can generate the .svpre and .inp files needed for each project from a set of BCs specified through something like a JSON file?

This is assuming that each project folder has already been created and all the meshes have been generated for each geometry. I am interested because I would like to experiment with various BCs (resistance, RCR) but doing that through the GUI takes a lot of time.

Thanks,
Shion

User avatar
David Parker
Posts: 1674
Joined: Tue Aug 23, 2005 2:43 pm

Re: Create svpre and inp files

Post by David Parker » Tue Sep 29, 2020 3:25 pm

Hi Shion,

I am planning on adding a simulation module to the Python API that would allow you to do this but it will probably be several weeks before I have the time to do this.

If you just want to change BC values then it should not be difficult to create the .svpre and .inp files directly, the formats for those files are documented in http://simvascular.github.io/docsFlowSolver.html.

Cheers,
Dave

POST REPLY