missing flowsolver

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Boris Morose
Posts: 3
Joined: Wed May 03, 2017 6:12 am

missing flowsolver

Post by Boris Morose » Fri May 05, 2017 2:46 pm

Hello,

I compiled the SimVascular Source Code on 03 of May 2017 on Ubuntu 16.04.
To check the installation I started the application from terminal with ./mysim -qt-gui, opened the DemoProject and generated a mesh successfully. The attempt to run the Simulation raised the message:

Please make sure flowsolver exists!

I have no Third Party CFD solvers installed.

Please advise.
Boris

User avatar
Hongzhi Lan
Posts: 125
Joined: Mon Aug 04, 2014 3:55 pm

Re: missing flowsolver

Post by Hongzhi Lan » Fri May 05, 2017 3:12 pm

Hi Boris,

The source code for SimVascular and solver is separate. We plan to release svSolver installer for Linux soon. Before that, you need to build solver by compiling its source code (https://github.com/SimVascular/svSolver). After compiling, put those solvers (svpre,svsolver,svpost) in your [SimVascular_Build_Dir]/Bin. Relaunch your SimVascular.

SimVascular Development Team

User avatar
Boris Morose
Posts: 3
Joined: Wed May 03, 2017 6:12 am

Re: missing flowsolver

Post by Boris Morose » Sat May 06, 2017 9:39 am

Dear Hongzhi,
Thanks for your help.
Following your instruction,I successfully built svsolver and can proceed to run the Simulation for your DemoProject example now. What is still missing are pre and post solvers when I try to Create DataFiles for Simulation and to Convert Results after Simulation:
Please make sure presolver exists!
Please make sure postsolver exists!

I did find svpost.exe and svpost-gcc-gfortran.exe files in svsolver/BuildWithMake folder, while pre executables are still missing:

Makefile:94: recipe for target
'../../../../BuildWithMake/Bin/svpre-gcc-gfortran.exe' failed

User avatar
Hongzhi Lan
Posts: 125
Joined: Mon Aug 04, 2014 3:55 pm

Re: missing flowsolver

Post by Hongzhi Lan » Mon May 08, 2017 10:15 am

What operating system are you using? Did you use CMake or just make to build these solvers? Please provide details about how you built them?

For svpre and svsolver, you also need Fortran compiler.

SimVascular Development Team

User avatar
Boris Morose
Posts: 3
Joined: Wed May 03, 2017 6:12 am

Re: missing flowsolver

Post by Boris Morose » Mon May 08, 2017 11:07 am

I use Ubuntu 16.04 LTS.
To compile the project I just run make from the svsolver/BuildWithMake directory.
Thanks, Boris

User avatar
Hongzhi Lan
Posts: 125
Joined: Mon Aug 04, 2014 3:55 pm

Re: missing flowsolver

Post by Hongzhi Lan » Tue May 09, 2017 10:54 am

Please try cmake to build.

1. Make sure you installed gfortran, libmpich-dev first.

2. Build vtk as static libraries.

3. run cmake, provide VTK_DIR, configure and generate make file

4. make

SimVascular Development Team

User avatar
Boris Morose
Posts: 1
Joined: Tue Apr 04, 2017 12:22 pm

Re: missing flowsolver

Post by Boris Morose » Tue May 16, 2017 11:42 pm

I just regenerated Makefile with ccmake in svSolver directory and then rebuilt the project. All solvers where found in svSolver/svSolver-built/bin. I also defined full path to each solver in Preferences / SimVascular Simulation.
Thanks for your help.
Boris

POST REPLY