The same msh model is used by dividing it into two regions. #166
Unanswered
CherryJGit
asked this question in
Help - Using SofaUnity
Replies: 1 comment
-
|
Hi, sorry I don't understand what you are trying to simulate. Could you explain again, maybe with a drawing or illustration. Best regards |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a tetrahedral mesh of a sphere in an msh model. I hope that the tetrahedral elements in the upper half of the sphere cannot be eliminated, while those in the lower half can be. Moreover, there should be a regional division between the upper half and the lower half, rather than a determination based on a standard. For example, the tetrahedral elements in the region enclosed by the BoxROI should not be eliminated. I'm not sure if this is feasible. I tried to write an scn file with the following content. However, no matter how I modify it, errors will always occur. I will put the content of the file below. Maybe my train of thought is wrong.And after it runs, due to the influence of gravity, it will split into two parts on its own. What I hope for is the whole. Even so, I spent a long time consulting various AIs, such as Grok, GPT, DeepSeek, etc., before determining this method. I hope everyone can help me check where the problem lies, or provide an scn file for other possible approaches. I would be extremely grateful. Thank you in advance.
The error log brought by this code is:

########## SIG 11 - SIGSEGV: segfault ##########
sofa::helper::BackTrace::dump
sofa::helper::BackTrace::sig
seh_filter_exe
seh_filter_exe
_C_specific_handler
_chkstk
RtlRaiseException
KiUserExceptionDispatcher
sofa::component::solidmechanics::fem::elastic::TetrahedralCorotationalFEMForceField<sofa::defaulttype::StdVectorTypes<sofa::type::Vec<3,double>,sofa::type::Vec<3,double>,double> >::computeRotationLarge
sofa::component::solidmechanics::fem::elastic::TetrahedronFEMForceField<sofa::defaulttype::StdVectorTypes<sofa::type::Vec<3,double>,sofa::type::Vec<3,double>,double> >::computeVonMisesStress
sofa::component::solidmechanics::fem::elastic::TetrahedronFEMForceField<sofa::defaulttype::StdVectorTypes<sofa::type::Vec<3,double>,sofa::type::Vec<3,double>,double> >::handleEvent
sofa::simulation::PropagateEventVisitor::processObject
sofa::simulation::PrintVisitor::treeTraversal
sofa::simulation::PrintVisitor::treeTraversal
sofa::simulation::PropagateEventVisitor::processNodeTopDown
sofa::simulation::graph::DAGNode::executeVisitorTopDown
sofa::simulation::graph::DAGNode::executeVisitorTopDown
sofa::simulation::graph::DAGNode::doExecuteVisitor
sofa::simulation::Node::executeVisitor
sofa::simulation::DefaultAnimationLoop::propagateAnimateEndEvent
sofa::simulation::DefaultAnimationLoop::step
sofa::simulation::node::animate
sofa::gui::qt::RealGUI::step
QMetaObject::activate
QTimer::timerEvent
QObject::event
QApplicationPrivate::notify_helper
QApplication::notify
QCoreApplication::notifyInternal2
QEventDispatcherWin32::event
QApplicationPrivate::notify_helper
QApplication::notify
QCoreApplication::notifyInternal2
QCoreApplicationPrivate::sendPostedEvents
qt_plugin_query_metadata
QEventDispatcherWin32::processEvents
CallWindowProcW
DispatchMessageW
QEventDispatcherWin32::processEvents
qt_plugin_query_metadata
QEventLoop::exec
QCoreApplication::exec
sofa::gui::qt::RealGUI::mainLoop
sofa::gui::common::GUIManager::MainLoop
sofa::gui::common::GUIManager::MainLoop
sofa::gui::common::GUIManager::MainLoop
BaseThreadInitThunk
RtlUserThreadStart
[WARNING] [Sofa.Simulation.Graph] the library has not been cleaned up (sofa::simulation::graph::cleanup() has never been called, see sofa/helper/init.h)
[WARNING] [SofaSimulationCommon] the library has not been cleaned up (sofa::simulation::common::cleanup() has never been called, see sofa/helper/init.h)
Beta Was this translation helpful? Give feedback.
All reactions