-
MarcoMag replied to the topic Compilation error when SOFA_DUMP_VISITOR_INFO is toggled in the forum Building SOFA 7 months, 2 weeks ago
Hi Hugo,
The modifications of the PR solve the problem.
Thank you!
-
MarcoMag started the topic Compilation error when SOFA_DUMP_VISITOR_INFO is toggled in the forum Building SOFA 7 months, 3 weeks ago
Hello everyone,
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
make -j4
.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 8 months, 1 week ago
Hi Hugo,
Thanks for your help.
I removed the stringsstr(Coord.flatten()).replace('n', '').replace('[', '').replace(']','')
andstr(lines.flatten()).replace('[', '').replace(']','')
with lists, i.e.Coord.flatten().tolist()
andlines.flatten().tolist()
and it solved the problems, even the one related to the index.Best,…
-
MarcoMag started the topic "Could not read value for data field position" and segfault in the forum Using SOFA 8 months, 2 weeks ago
Hello,
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] -
MarcoMag replied to the topic Move a beam node with 'LinearMovementConstraint' in the forum Using SOFA 8 months, 3 weeks ago
Apparently the problem was caused by the solver that was unfitted.
I replaced:
beamI.createObject('BTDLinearSolver', printLog='false', template='BTDMatrix6d', verbose='false')
withbeamI.createObject('CGLinearSolver', threshold='1.0e-9', tolerance='1.0e-9', name='linear solver',…
[Read more] -
MarcoMag started the topic Move a beam node with 'LinearMovementConstraint' in the forum Using SOFA 8 months, 3 weeks ago
Hello,
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 8 months, 3 weeks ago
Hello everyone,
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 packagesnumpy
andpyquaternion
that can be installed viapip
.
[Read more]
"""
BeamFEMForceFieldPython
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 9 months, 2 weeks ago
Dear Hugo,
If you don’t mind, can you also get back to me when the researcher will be done with the package?
Cheers
-
MarcoMag replied to the topic Debug C++ code from Qt Creator in the forum Programming with SOFA 9 months, 2 weeks ago
Hello,
Thanks Vincent. Works like a charm!
Cheers
-
MarcoMag started the topic Debug C++ code from Qt Creator in the forum Programming with SOFA 9 months, 2 weeks ago
Hello everyone,
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] -
MarcoMag became a registered member 10 months ago