- This topic has 4 replies, 2 voices, and was last updated 4 years, 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › Liver FEM implementation
Tagged: 64_bits, SOFA_1812, Windows_81
Hi
I’m a new to SOFA.I have an obj liver file and I want to implement it based on FEM in sofa and apply force to this liver with a tool using sofa.
Would you please help me introduce some paper and sample code about it?
Hi @atefe
And welcome to the SOFA forum! Physics simulation is advanced modeling. I advise you to read papers focusing on this (see our Publication page) and to read this habilitation thesis which is really complete.
You can also find sources of information to start with SOFA:
– follow the online documentation
– watch our first Tutorials on YouTube
– start using SOFA, running the examples/Tutorials
Note that we are also provided training sessions for an efficient introduction to SOFA.
I hope this helps.
Best
Hugo
Hi Sir
thank you for your kindly answering
I want to implement the linked article with sofa
Do I need to code or there are ready modules that I can use?
https://hal.archives-ouvertes.fr/hal-00082208/file/LNCS_2006_Nesme.pdf
How can I write and modify the FEM governing liver equation in XML with sofa(apply force to liver and deform it)?
Thanks in advance,
Atefe
Hi Sir
I want to write a liver FEM code and I want to apply a force to the liver and deform it.I want to have smaller elements at the position of force entrance and have larger elements at the other places of liver.Is it possible to write it in sofa?would you please help and guide me?
best regards
Hi @atefe
Using XML, you can use the existing code of SOFA, i.e. build simulations with existing components, define their parameters for the models (e.g. stiffnesses, mass) and the numerical settings (e.g. time steps, collision info etc).
However, if you want to implement new models, change governing equations, you need to: either write new C++ classes or do it through the SofaPython3 plugin. However, the latter is still in alpha phase yet. A stable version should be released in January, with SOFA v20.12.
For dynamic topology changes, this is not directly feasible in SOFA. But the API is there to implement it.
Best wishes,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.