Hello,
I am wondering if there is any way to convert the SimVascular outputs to vtk without using the SimVascular GUI, like from command line?
The problem I am facing is that I am running a bunch of simulations using HPC, but then I have to copy them to my personal laptop one by one and convert the results there. Since these are quite big, just downloading them to my laptop takes a lot of time, therefore, I'm wondering if there is a way to do the result conversion directly in an HPC environment using some command line tools?
Thanks!
Convert results without GUI
- David Parker
- Posts: 1719
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Convert results without GUI
Hello,
You can convert simulations results using the svpost program that is built with svsolver.
You can use a bash script that looks something like this
Note that svpost does not create the all_results-*.txt files, these are only create from the SV GUI.
Cheers,
Dave
You can convert simulations results using the svpost program that is built with svsolver.
You can use a bash script that looks something like this
Code: Select all
svpost=$HOME/svSolver/build/svSolver-build/bin/svpost
indir=4-procs_case
outdir=export
start=100
stop=500
inc=100
$svpost -all \
-indir ${indir} \
-outdir ${outdir} \
-start ${start} \
-stop ${stop} \
-incr ${inc} \
-vtp all_results \
-vtu all_results
Cheers,
Dave