MarcoMag replied to the topic Compilation error when SOFA_DUMP_VISITOR_INFO is toggled in the forum Building SOFA 1 month, 3 weeks ago
The modifications of the PR solve the problem.
MarcoMag started the topic Compilation error when SOFA_DUMP_VISITOR_INFO is toggled in the forum Building SOFA 2 months ago
I want to have a look at where the time is spent in my simulations.
I plan to use the profiler with a graphical interface.
In cmake-gui, I toggle SOFA_DUMO_VISITOR_INFO and compile with
The compilation fails and the first error I get is the following:
sofa/src/applications/sofa/gui/qt/GraphVisitor.h:37:10: fatal error:…[Read more]
MarcoMag replied to the topic "Could not read value for data field position" and segfault in the forum Using SOFA 2 months, 2 weeks ago
Thanks for your help.
I removed the strings
str(Coord.flatten()).replace('n', '').replace('[', '').replace(']','')and
str(lines.flatten()).replace('[', '').replace(']','')with lists, i.e.
lines.flatten().tolist()and it solved the problems, even the one related to the index.
MarcoMag started the topic "Could not read value for data field position" and segfault in the forum Using SOFA 2 months, 4 weeks ago
I have encountered an issue that might be a bug but I prefer to ask before opening an issue.
I have a scene in with bodies discredited with beam elements enter into contact.
When I increase the number of nodes used to discretise each body, I have a series of warnings that look like:
[WARNING] [MechanicalObject(DOFs)] Could not read value…[Read more]
Apparently the problem was caused by the solver that was unfitted.
beamI.createObject('BTDLinearSolver', printLog='false', template='BTDMatrix6d', verbose='false')with
beamI.createObject('CGLinearSolver', threshold='1.0e-9', tolerance='1.0e-9', name='linear solver',…[Read more]
I would like to set up a simple beam model where:
1. one end of the beam is blocked (Dirichlet boundary condition),
2. the other end is dragged along a certain distance (another Dirichlet boundary condition).
I implement the BC 1. with
beamI.createObject('FixedConstraint', indices='0', name='FixedConstraint')
For the BC 2., I tried using…[Read more]
MarcoMag replied to the topic How can I construct a stable beam force field while the beams are not straight? in the forum Using SOFA 3 months ago
I know this is an old post but I came across similar problems recently.
Below is an example of how I orient my nodes.
Note that I make use of the python packages
pyquaternionthat can be installed via
is based on the scene…
MarcoMag replied to the topic Using beams when modeling the vessels as a mechanical structure in the forum Using SOFA 3 months, 3 weeks ago
If you don’t mind, can you also get back to me when the researcher will be done with the package?
I have started using SOFA a couple of days ago, so I am sorry in advance if the question I am going to ask is trivial for some of you.
My (long-term) goal is to implement some contact routines for beam-to-beam contact in SOFA.
Prior to that, I need to understand the collision models already existing for the contact between…[Read more]