- This topic has 3 replies, 3 voices, and was last updated 7 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] PrecomputedConstraintCorrection issue
Tagged: .comp .vtu PrecomputedConstraintCorrection dentistry tongue, 64_bits, Linux_ubuntu, SOFA_1512
Hello,
I am working on a project with SOFA.
I found the Dentistry_Python tutorial and I tried to reproduce the behaviour of the tongue in a new scene but I have some issues.
I have copied the tongue and the instrument nodes in a new scene (.scn), put it into a new folder together with the needed mesh files (i.e. volumetricTongue.vtu and tongue.obj for the tongue element) and adjusted all the paths in the scene.
When I run the simulation with SOFA, the program freezes due to the execution of PrecomputedConstraintCorrection (probably it is impossible for the program to generate the .comp file associated with the tongue). In the meantime the program returns the following error:
File Tongue-6714-0.05.comp NOT FOUND in :pathToSofa/v15.12/src/examples:pathToSofa/v15.12/src/share
The same problem happens also using a different scene with a different *.vtu file.
Has anyone any suggestion about this?
Thank you in advance,
Irvin
Hi Irvin,
Could you tell me exactly which scene you are trying to reproduce? 6_FEM1 ?
Note that it always takes few seconds at the scene loading to pre-compute the compliance matrix with the PrecomputedConstraintCorrection (saved in the .comp file).
However, I remember I fixed something since the v15.12 : you can have a look at this commit.
Let me know if this solves your issue.
Best,
Hugo
PrecomputedConstraintCorrection will take a few minutes to compute the .comp file and store it in its default path. The second time you run your scene file, PrecomputedConstraintCorrection will try to load the previous .comp file. To solve your problem, I suggest to find the .comp file and put it in the share folder.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.