Unable to Convert 1D Simulation

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Frank Servin
Posts: 4
Joined: Fri May 25, 2018 3:09 pm

Unable to Convert 1D Simulation

Post by Frank Servin » Fri Feb 07, 2020 4:15 pm

Hello, I am wondering how to convert the results generated from the 1D simulation. If there is not way to convert the results then is there a way to generate graphs with the flow and pressure data?
1d_modeling Convert results.PNG
1d_modeling Convert results.PNG (442.08 KiB) Viewed 109 times

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

Re: Unable to Convert 1D Simulation

Post by David Parker » Sat Feb 08, 2020 1:39 pm

Hi Frank,

The 1D Simulation conversion will be in the next SV release, out in a week or two.

The format of the 1D simulation output files is described here http://simvascular.github.io/docs1DSimulation.html#tool in the Simulation Results section.

I have written a Python script that converts the 1D simulation results into a .csv file. You can download that from here https://github.com/ktbolt/cardiovascula ... lts/python. The run.sh bash script shows an example of how to use the Python script. There is also a gnuplot script plot.gnu that is used to graph the results from the .csv file.

Cheers,
Dave

POST REPLY