Dear community, I recently installed the PreCISE adapters for FSI simulation and was able to run the simulation using OpenFOAM and calculix. However, when I am trying to run the fsi related to the DEALII adapter it’s not working. when I run the fsi it shows “unable to find executable elasticity”. I came across a user’s post for the same and I tried to do the same but nothing seems to work. I have attached the screenshot for the same.
You export /home/daniel/deal-adapter/, but the directory is actually called /home/daniel/dealii-adapter/ (see the extra ii). Could this be the error? If not, could you show the content of /home/daniel/dealii-adapter/? Is there a file called elasticity?
Yeah, just as @DavidSCN is saying, there is a file called elasticity.cc. You need to tell Windows to show file endings to actually see it . If you change into the directory using you Ubuntu terminal and check files via
you should see the file ending. You need to follow the steps suggested by @DavidSCN to create the actual executable which will have no file ending.
This looks good. Maybe the third step in the set of building instructions on the website is not obvious enough, but if you execute now make in the directory you are in, everything should work like a charm.
Guessing that you are using Ubuntu, let me start by saying that there are also more recent versions available through your package manager: you could just install the package libdeal.ii-dev, which should be recent enough.
Other than that consider the comment from @ajaust : the dots .. tell cmake where to find the sources. You could skip the install prefix for the moment and just run
mkdir build && cd build && cmake .. && make -j 4`
In case this command succeeds, the library would already be comopiled with default configurations. Afterwards, you could just export your DEAL_II_DIR globally as DEAL_II_DIR="$HOME/dealii-9.3.1/build".
Thanks @DavidSCN@ajaust I was able to solve the problem. As you told the installation directory was odd I created new directory outside. Unfortunately I ran out of space. Any tips if I can install everything on other drive.
Do you virtually run out of memory or physically? Do you have an option to increase the limits of your VM? Of course you can build everything on an external drive and run make install in order to copy the relevant sources into your system, but I have not tried something similar. I would rather recommend to free up some space.