Non-Newtonian model

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
marisa bazzi
Posts: 15
Joined: Wed Aug 28, 2019 3:46 pm

Non-Newtonian model

Post by marisa bazzi » Tue Nov 12, 2019 12:16 pm

Dears,

How could I set the blood as a non-Newtonian fluid with Simvascular? I have heard you implemented this tools recently.

Thank you very much !

Best,
Marisa

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

Re: Non-Newtonian model

Post by David Parker » Wed Nov 13, 2019 10:15 am

Hi Marisa,

The SimVascular svFSI solver now has support for a non-Newtonian fluid model. We will be releasing a new version of the solver installer in a couple of weeks. Until then you can download and build from source from https://github.com/SimVascular/svFSI.

I will try to find an example that sets the parameters for non-Newtonian fluid.

Cheers,
Dave

User avatar
marisa bazzi
Posts: 15
Joined: Wed Aug 28, 2019 3:46 pm

Re: Non-Newtonian model

Post by marisa bazzi » Thu Nov 14, 2019 11:13 am

I am trying to build from source but i kept running into this error

chmod: cannot access 'mysolver-nompi': No such file or directory
Makefile:171: recipe for target 'post-build' failed

How do i fix it?
Best,
Marisa

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

Re: Non-Newtonian model

Post by David Parker » Thu Nov 14, 2019 2:42 pm

Hi Marisa,

How are you building the solver? You should be using CMake to build it.

Cheers,
Dave

User avatar
marisa bazzi
Posts: 15
Joined: Wed Aug 28, 2019 3:46 pm

Re: Non-Newtonian model

Post by marisa bazzi » Mon Nov 18, 2019 5:43 pm

I was trying using make, I could buld with cmake, but now I am having another issue:

When i try to run svFSI i am getting this error:

"/usr/local/sv/svFSI/2018-07-03/bin/svFSI: error while loading shared libraries: libmpi_mpifh.so.12: cannot open shared object file: No such file or directory"

I realized I have the MPI v2.1 which provided libmpi_mpifh.so.20 instead of libmpi_mpifh.so.12, what i should do?

Best,
Marisa

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

Re: Non-Newtonian model

Post by David Parker » Mon Nov 18, 2019 9:37 pm

Hi Marisa,

You are still calling the old svFSI installed binary in /usr/local/sv/svFSI/2018-07-03/bin. You need call the new version you built from source.

When you downloaded and built with CMake you created a directory to build svFSI, something like the following

Code: Select all

$ mkdir svfsi
$ cd svfsi
$ git clone https://github.com/simvascular/svFSI
$ mkdir build
$ cd build
$ ccmake ../svFSI
$ make
$ ls
CMakeCache.txt		Externals-build/	Makefile		svFSI-build/
CMakeFiles/		Externals-prefix/	cmake_install.cmake	svFSI-prefix/
$ ls svFSI-build/bin
svFSI*
After building there is a directory called svFSI-build/bin under the build directory which contains the new FSI solver executable svFSI.

Cheers,
Dave

User avatar
Mattia Zanchi
Posts: 12
Joined: Fri Jul 23, 2021 6:32 am

Re: Non-Newtonian model

Post by Mattia Zanchi » Fri Oct 15, 2021 5:25 am

Hi everyone,
Talking about this topic, is now possibile to implement non-newtonian reology using GUI ?

I'have seen the material present here : "https://github.com/SimVascular/svFSI-Te ... nNewtonian " but I don't know if it's possible to create and run those file from GUI.

Regards
Mattia

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

Re: Non-Newtonian model

Post by David Parker » Mon Oct 18, 2021 10:57 am

Hi Mattia,

The current SV GUI is not capable of setting many of the parameters now supported by the latest svFSI version. You will need to write out a solver input file and modify it manually.

I plan to redo the svFSI GUI to incorporate its new capabilities but that's not going to happen until sometime next year.

Cheers,
Dave

POST REPLY