-
Hugo replied to the topic Using SOFA to simulate Viscoelastic Behaviour in the forum Using SOFA 6 days, 5 hours ago
Hi @pasquale94
You can add Rayleigh damping which will mimic damping, i.e. viscosity based on Mass and Stiffness matrices.
You can also see :
– UniformVelocityDampingForceField
– and DiagonalVelocityDampingForceFieldDo you have an idea of damping model you would be looking for?
Best wishes,Hugo
-
Hugo replied to the topic Fail to compile SofaCV plugin in the forum Using SOFA 6 days, 5 hours ago
Dear @newbie
the SofaCV plugin is a private plugin. It is therefore hard for us to help. Does your plugin have an explicit dependency on SofaCore in the CMakeLists.txt (in target_link_libraries)? Does your code include DataFileName as well?
Best,
Hugo
-
Hugo replied to the topic Build problem for AdvancedFEM plugin in the forum Building SOFA 2 weeks ago
If it is not a blocking point, it is fine for me: this plugin being a private plugin I can not access it and help you debugging it.
I would bet for a CMakeLists.txt issue. If you want to investigate the fix, you can get inspired for other CMakeLists.txt as in Cosserat plugin for instance. If not, I let you close the topic.
Best wishes.
Hugo
-
Hugo replied to the topic Build problem for Pardisio solver plugin in the forum Building SOFA 2 weeks ago
-
Hugo replied to the topic Rotate BoxROI for creating force fields of different stiffness in actuator in the forum Using SOFA 2 weeks ago
Hey @anoush
I think I replied about this question here.
Is this correct?
If so, please do not hesitate to close this topic.Best
Hugo
-
Hugo replied to the topic Counting number of nodes in contact in the forum Using SOFA 2 weeks ago
Hi @twxu
Using the GenericConstraintSolver, you can activate the “computeConstaintForces” boolean. This fills the nodal data field “constraintForces”: this vector will have the size of the constraints, i.e. contacts.
Let me know it this helps.
Best wishes,
Hugo
-
Hugo replied to the topic Issue when changing object position via python scene. in the forum Using SofaPython3 2 weeks ago
It seems your computation is diverging, isn’t it Sergei?
You are printing the position (DOFs) which clearly seems to undergo a problem.
Could you print before and after you access it to check that the script is not the problem source?Without seeing more of your scene, it is complicated to guess.
Best
Hugo
-
Hugo started the topic New tutorials for SOFA in the forum Announcements / Infos 2 weeks ago
Dear SOFA community,
Two new tutorials were added on our YouTube channel:
– Introduction about SOFA
– Creation of python bindings with pybind11 and SofaPython3 by @jnbrunet !We hope you will enjoy them!
Additional materials:
– Source code of the tutorial: https://github.com/jnbrunet/tutorial_sp3
– Example SofaOffscreenCamera: https://github.co…[Read more] -
Hugo replied to the topic Simulation incredibly slow in the forum Using SOFA 2 weeks ago
Hi @twxu
Indeed, on your image “example2.PNG” or “exampleContactLines.PNG”, the number of contact points seems huge several hundreds maybe thousands of them. It is a lot! Really a lot!
The solution would be to definitely coarsen your collision model.
Best,
Hugo
-
Hugo replied to the topic Subset mapping & collisions in the forum Using SOFA 2 weeks ago
Hi @timp
NaN could explain it or wrong pointer, but it is weird.
Could you please share with me the full scene (in PM if you prefer) so that I can investigate this?An usual way to investigate would be to compile in debug and see the trace.
Best,
Hugo
-
Hugo replied to the topic Problem for beam-mass simulation. in the forum Building SOFA 2 weeks ago
Hi @eaparra
Thank you for your question and thank you for providing the scene files, it helps a lot!
In mechanics, the cantilever beam is a well-known example. Usually, the mass at the end is modeled as a force (F = mg) applied at the extremity of the beam. Do you really need to model the full mass object at the extremity or a force would do…[Read more]
-
Hugo replied to the topic How to set collision groups in the forum Programming with SOFA 2 weeks ago
Hey @mckysd5
Even if slow, is the collision well responding?
How many contacts can you see (activate the view option “Interactions”)?Are your object in collision at the beginning of the simulation?
This must not be the case (in any simulation software).Are your meshes clean? (no duplicated faces)
Are your collision settings (alarmContact /…[Read more]
-
Hugo replied to the topic New to sofa. Here are my thoughts in the forum Using SOFA 2 weeks ago
Hey @olumide
Note that for each animation loop the graph traversal and its order are different. This is why this path the visitors is only described in the animation loop component pages (e.g. DefaultAnimationLoop see the flow diagram).
Non-linear FEA (involving non-linear materials as SOFA does) is always brought back to a linearized system to…[Read more]
-
Hugo replied to the topic Build problem for Pardisio solver plugin in the forum Building SOFA 2 weeks ago
-
Hugo replied to the topic Combining meshes with different force fields in the forum Using SOFA 2 weeks, 1 day ago
Hey @anoushs
Have you noticed that with BoxROI you can define both the “box” data field or the “orientedBox” data field?
This should do the job as you expect.Best
Hugo
-
Hugo replied to the topic Error when compiling SofaPython3 in the forum Getting Started 2 weeks, 2 days ago
Hey @jonny
Let’s ask @GuillaumeParan our release expert. Do you have any idea Guillaume? Maybe related to the changes to be backported?
Best,
Hugo
-
Hugo replied to the topic Moving to GitHub discussions –> let's vote! in the forum Announcements / Infos 2 weeks, 2 days ago
Thank you for your feedback.
@andrija987, right ! GH discussions could help a bit for the forum management with new features, but more importantly: it would better (and quicker) connect the community and, as you stated, it would foster the emergence of novel ideas (future implementations).We are currently increasing…[Read more]
-
Hugo replied to the topic Error while compiling SOFA v2012 with Sofapython 3 in the forum Getting Started 2 weeks, 5 days ago
-
Hugo replied to the topic FixedConstraint Not working with Model Order Reduction in the forum Using SOFA 2 weeks, 5 days ago
Let me notice @olivier-goury author of the code 😉
Hugo
-
Hugo replied to the topic Documentation for attachconstraint? in the forum Using SOFA 2 weeks, 6 days ago
AttachConstraint is a projective constraint.
Further to your request, I just wrote this doc page (the visual bug in the doc will soon be fixed).
I hope this helps.
BestHugo
- Load More