PETSC_DIRvariable is set before using that command. ;)
make test) succeed? (not related, but just wondering)
Inconsistency detected by ld.so: dl-close.c: 811: _dl_close: Assertion `map->l_init_called' failed!
@MakisH OpenFOAM alone is running well, It appears as if Calculix passed Nan in the displacement field to OpenFOAM, this is probably why laplacianFoam solver tries to solve the displacement equation for the mesh motion but crushes. Line 132 says:
---[precice] [0m initializeData is skipped since no data has to be initialized. In my machine this does not appears.
I installed preCICE with OpenFOAM 8 and Calculix in my machine (Ubuntu) and all test passed and everything runs properly (at least flap perp). However, in the cluster with Rocks test number 19 of make tests_base failed (also all related, I think 22, 23). These are all the dummySolver tests. The main problem with this tests is that it appears that the for loops are not compatible with the compiler, I tried with cmake -std=C99 but it does not help.
I am trying to build the calculix adaptor, and I am getting the following error:
CalculiX/ccx_2.16/src/spooles.h:26:10: fatal error: misc.h: No such file or directory
26 | #include <misc.h>
Any idea how to solve that problem? system is ubuntu 20.04
Thanks in advance
sudo apt install libarpack2-dev libspooles-dev libyaml-cpp-dev. The remedy is in the calculix-adapter Wiki page sections which is to install the library from source. For a source installation the required files are available
@IshaanDesai Thanks, yes I needed to install the libraries from the source.
@MakisH Thanks, I have already downloaded the libraries and it works.
Now, I am running the flap_prep using OpenFOAM and Calculix and I get the error that the problem is ill-posed as follows:
ERROR: The polynomial QR system of the RBF mapping from mesh Solid to mesh Fluid-Mesh-Nodes has not converged. This means most probably that the mapping problem is not well-posed. Please check if your coupling meshes are correct. Maybe you need to fix axis-aligned mapping setups by marking perpendicular axes as dead?
Now, I just need to specify somehow that the problem actually is 2D and not 3D as specified in the preCICE config file, right?
I am trying to test the fenics adapter and I get the following error:
ImportError: cannot import name 'sub_forms_by_domain' from 'ufl.form' (/home/aelsharkawy/.local/lib/python3.8/site-packages/ufl/form.py)
Some forums suggested that there are multiple versions of the package at /home/aelsharkawy/.local/lib/python3.8/site-packages
However, I have already checked and there is only one.
Thanks in advance.
pip3 uninstall fenics-ufl? See https://fenicsproject.discourse.group/t/installing-python-package-with-fenics-dependency-breaks-fenics-installation/4476
python3 -c "from fenics import *. No need to go through the whole adapter pipeline.