Page 1 of 1
Non-Newtonian model
Posted: Tue Nov 12, 2019 12:16 pm
by bazzi006
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
Re: Non-Newtonian model
Posted: Wed Nov 13, 2019 10:15 am
by davep
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
Re: Non-Newtonian model
Posted: Thu Nov 14, 2019 11:13 am
by bazzi006
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
Re: Non-Newtonian model
Posted: Thu Nov 14, 2019 2:42 pm
by davep
Hi Marisa,
How are you building the solver? You should be using CMake to build it.
Cheers,
Dave
Re: Non-Newtonian model
Posted: Mon Nov 18, 2019 5:43 pm
by bazzi006
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
Re: Non-Newtonian model
Posted: Mon Nov 18, 2019 9:37 pm
by davep
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
Re: Non-Newtonian model
Posted: Fri Oct 15, 2021 5:25 am
by mattiazanchi
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
Re: Non-Newtonian model
Posted: Mon Oct 18, 2021 10:57 am
by davep
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