Forum Replies Created
-
AuthorPosts
-
HugoKeymasterHugoKeymaster
Can you try running the cmake (3.13) you installed in your home, inside your build/ repository of SOFA ?
Hugo
HugoKeymasterHey @qwe12050
Yes definitely: you can take a look at the example scene in examples/Components/constraint/BilateralInteractionConstraint.scn
I let you close the topic whenever it suits you.
Best,Hugo
HugoKeymastercould you try:
– sudo apt list cmake (to see if any other cmake is installed)
– and try to locate where is your cmake-3.13 installedOnce you could just run cmake-3.13 with its full path to see if it solves the pb.
Hugo
HugoKeymasterHi @amir
Yes you might have two versions of cmake installed. What tells your the window appearing when you click on “About” in the GUI?
How did you install the newer version of cmake?Hugo
HugoKeymasterHey @ko-bio
Do you confirm that these files already exist (when checking in your file browser)?
Maybe a question of your account right..Hugo
HugoKeymasterHi @amir
Wait, installing an up-to-date version of cmake was a good step.
To help you, I need the error output given by the CMake gui (see the bottom area, below the configure button)
Could you copy paste what appears in this text area when configuring fails?
To start fresh with CMake, you can click on File –> Delete Cache
Best,Hugo
20 April 2020 at 16:08 in reply to: [SOLVED] Using beams when modeling the vessels as a mechanical structure #15868HugoKeymasterHey all @marcomag @enxing @matfit
It is already done! Here is the github: https://github.com/rouge1616/SofaSkeletonPlugin
Do not hesitate to make all the feedback to the developer on the GitHub repo. Tests have been conducted, everything should work:MeshSkeletonization: Input: 3D mesh. Output: Centerlines
BeamFEMForcefield: Input: Centerlines. Output: BeamsBest wishes,
Hugo
HugoKeymasterThat’s great thanks @pierreshg for the input!
HugoKeymasterHi @amir
This is the message given by the pop-up window.
But the console of CMake should provide you a more detailed explanation of the error (and its reason).Could you share it with us?
Hugo
HugoKeymasterHey @qwe12050
Could you share with the community the parameters you used to get it working?
Depending on the type of animation loop you are using, I would have two solutions:
– the most appropriate constraint to attach physically two objects would be the BilateralInteractionConstraint (requiring a FreeMotionAnimationLoop)
– the second would be the AttachConstraint, a project constraint ensuring that at the end of the time step, the desired points of both objects are in the same location.Best,
Hugo
20 April 2020 at 14:09 in reply to: windows 10, gtx 970, download, install, execute, crash, wtf ? #15862HugoKeymasterThanks @rayden for reporting this.
It’s quite concerning, please accept our apologies for this bad experience.
We will get back to you as soon as possible.Best wishes,
Hugo
17 April 2020 at 10:06 in reply to: [SOLVED] Using beams when modeling the vessels as a mechanical structure #15804HugoKeymasterHi @eaparra
First it is great, CGAL is well installed. Congrats (and thanks to @jnbrunet)
This problem has already been reported.
What matters here is not the warning (just a minor issue of visual box), but rather the error. And it is pretty explicit: a tetrahedron topology is needed and not found by the TetrahedronHyperelasticityFEMForceField.Did you check your mesh?
Does it have points, edges, triangles and tets?
How are you loading it in the simulation?
You can share it with us if you are allowed to.Several forum topics are open on this topic, like this one on the use of the MeshGenerationFromPolyhedron. You can take a look at my reply as well.
Best wishes,
Hugo
16 April 2020 at 18:06 in reply to: [SOLVED] Using beams when modeling the vessels as a mechanical structure #15796HugoKeymasterHugoKeymasterHi @sarah
Interesting point.
If you did set the Rayleigh damping (all parameters) to zero and you did not add any damping forcefield in the scene, there is no numerical damping supposed to act.SparseLDLSolver is a very good solution, it will find the exact solution to the linear system.
Could you tell me which mass are you using?
Did you define some plasticity?
Is there any other forcefield acting in the scene ?Best,
Hugo
16 April 2020 at 16:06 in reply to: [SOLVED] Attach constraint and Fixed constraint difference #15793HugoKeymasterHi @sarah
Constraints work well no worries.
If you are looking at defining a fixed boundary condition: then the FixedConstraint is the good solution. But it depends on what is your physical purpose.Could you describe a bit more your use-case/scene?
See the difference between LCP and GenericCS here in the doc.
Best wishes,
Hugo
16 April 2020 at 16:06 in reply to: [SOLVED] Using beams when modeling the vessels as a mechanical structure #15792HugoKeymasterHey @qwe12050
Thanks for your question.
This is related to the specific SoftRobot plugin and its tutorial.However, I took a look at the meshes used in the tutorial (which I do not actually). One is very thin (yarn) and the other one has large area and thin borders.
Choosing the right parameters of this MeshGenerationFromPolyhedron component (based on CGAL as you understood) is therefore tricky. You have to make sure you allow CGAL to use a broad range of element size. I would therefore play with: facetSize, facetApproximation, cellSize and cellRatio. The latter must can be increased to allow local change of size between elements. FYI, the CGAL function called is :
CGAL::make_mesh_3<C3t3>(domain, criteria, no_perturb(), no_exude())
Let me know if this helps.
Best wishes,Hugo
HugoKeymasterWelcome on the SOFA! Glad to see that you already have a reply from Damien.
Note for next time: post rather in the sub-forum “Using SOFA” rather than the “Announcement/Information” one (I just moved it).Could you tell us which non-linearity you are referring to? (material, geometric)
For materials, you can find the TetrahedronHyperelasticityFEMForceField which proposes usual non-linear laws (ArrudaBoyce, NeoHookean, MooneyRivlin, Costa, VerondaWestman, Ogden and also St Venant).
On the other hand, for geometry, Damien already pointed it out: a HighOrder plugin exist for this.Finally, regarding Voxel approach, you can using the image plugin, and then generate grids that you can deform.
I hope this helps.
Best wishes,Hugo
HugoKeymasterHi @nicklj
You could also have just translated the collision model of the potato problem.
But it’s equivalent I guess.I’m glad it helped.
Best wishes,Hugo
-
AuthorPosts