Issue with Running the FSI

Hi,
I want to run the turtleFSI package for the fsi simulation while I have installed it correctly but unfotunately it doesnt work!!

I have followed its guid but didnt work either!!
Has anyone exprience of running the turtleFSI??

Id be grateful if could help me with this regards.

Hi Mhd,
Could you be more specific on the type of error you get?
Regards,
Alban

Hi Alban,
Thank you for your reply,
I tried 2 ways to run turtleFSI:

  1. Running turtleFSI with all the default parameters,
    When I direct the ubuntu terminal to the folder that contains the turtleFSI and I write turtleFSI command as it’s tutorial says, I face the following message:

mhd@mhd-N552VW:~/Desktop/turtle/turtleFSI$ turtleFSI
turtleFSI: command not found

mhd@mhd-N552VW:~/Desktop/turtle/turtleFSI/problems$ turtleFSI
turtleFSI: command not found

  1. When I try to run the turtleFSI_Demo.py with the python turtleFSI_Demo.py command, I face the below error:

mhd@mhd-N552VW:~/Desktop/turtle/turtleFSI/problems$ python turtle_demo.py
Traceback (most recent call last):
File “turtle_demo.py”, line 22, in
from turtleFSI.problems import *
ModuleNotFoundError: No module named ‘turtleFSI’

Regards,
mhd

Hi Mhd,
How did you install turtleFSI? with conda or by executing the setup.py file?
Regards,
Alban

First I installed conda then i installed the turtlefsi as the tutorial says, then i faced an error that would say

modulenotfounderror: no module named ‘dolfin’

After installing conda I found that non of the fenics demos work, they would work before installing conda so i uninstalled the conda and the problem solved and I could run the other fenics demos properly like before.

Is there anyway to run turtlefsi without conda?
Is there any other way to run turtlefsi?

Thanks in advance,
Regards,
mhd

Hi,
Good that you point this out, the conda install is indeed not working as it should for the moment. Have you tried to install the package as referred to the “development version” in the documentation. (https://turtlefsi2.readthedocs.io/en/latest/installation.html#development-version).
The repository is still “under construction”, so please, keep in mind that some changes may occur soon.
Regards,
Alban

Hi,
Thanks for your reply,
Yes, I followed the Development version instruction and the turtlefsi installed correctly, The problem is I have no idea how to run the package,
Maybe I have to wait more…

Thank you,
Regards,
mhd

Hi
See: https://turtlefsi2.readthedocs.io/en/latest/using_turtleFSI.html

Jørgen

Hi,
Thanks for your reply,
I tried that way! but didn’t work.

mhd

So what error are you facing by calling turtleFSI from the terminal?

I face the following:

I dont know whether I direct the terminal path in a correct way or not?

Seems like you haven’t installed turtleFSI. I’ve only tested turtleFSI using docker:
Setup for docker:
Follow https://fenicsproject.org/download/ to obtain docker and fenicsproject command, then run
fenicsproject run stable.
This will start a docker container sharing the files from Where the command was run. Then
go to local by cd ../local,
Clone turtlefsi: git clone https://github.com/KVSlab/turtleFSI.git.
Install turtleFSI
cd turtleFSI,
sudo pip3 -e install .
You should now be ready to run turtleFSI.

i am having this error any solution for this …

Traceback (most recent call last):
File “turtleCylinderFSI.py”, line 18, in
from turtleFSI.problems import *
ModuleNotFoundError: No module named ‘turtleFSI.problems’; ‘turtleFSI’ is not a package

So how Did you install turtleFSI?