Abstract
Simulation Open Framework Architecture (SOFA) is an open-source C++ library primarily targeted at interactive computational medical simulation. SOFA facilitates collaborations between specialists from various domains, by decomposing complex simulators into components designed independently and organized in a scenegraph data structure. Each component encapsulates one of the aspects of a simulation, such as the degrees of freedom, the forces and constraints, the differential equations, the main loop algorithms, the linear solvers, the collision detection algorithms or the interaction devices. The simulated objects can be represented using several models, each of them optimized for a different task such as the computation of internal forces, collision detection, haptics or visual display. These models are synchronized during the simulation using a mapping mechanism. CPU and GPU implementations can be transparently combined to exploit the computational power of modern hardware architectures. Thanks to this flexible yet efficient architecture, SOFA can be used as a test-bed to compare models and algorithms, or as a basis for the development of complex, high-performance simulators.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
www.ogre3d.org
- 2.
www.openscenegraph.org
- 3.
For simplicity, we present the equations for two interacting objects (rigid or deformable) 1 and 2, but the solution applies to an arbitrary number of interacting bodies.
- 4.
Patient Specific Simulation and PreOperative Realistic Training for liver surgery – www.passport-liver.eu
References
Allard, J., Cotin, S., Faure, F., Bensoussan, P.-J., Poyer, F., Duriez, C., Delingette, H., Grisoni, L.: SOFA—an open source framework for medical simulation. In: Medicine Meets Virtual Reality, MMVR 15, February, 2007, pp. 1–6, Long Beach, California, Etats-Unis, (2007)
Wei, Y., Cotin, S., Fang, L., Allard, J., Pan, C., Ma, S.: Toward real-time simulation of blood-coil interaction during aneurysm embolization. In: Medical Image Computing and Computer-Assisted Intervention, MICCAI 2009, vol. 5761, pp. 198–205. Springer, Berlin (2009)
Hermann, E., Faure, F., Raffin, B.: Ray-traced collision detection for deformable bodies. In: 3rd International Conference on Computer Graphics Theory and Applications, GRAPP 2008, January, 2008, Funchal, Madeira, Portugal, January 2008
Allard, J., Faure, F., Courtecuisse, H., Falipou, F., Duriez, C., Kry, P.G.:Volume contact constraints at arbitrary resolution. ACM Trans. Graph (Proceedings of SIGGRAPH 2010) 29(3), 205–223 (2010)
Baraff, D., Witkin, A.: Large steps in cloth simulation. In:SIGGRAPH ’98, pp. 43–54. ACM Press, New york (1998)
Courtecuisse, H., Allard, J., Duriez, C., Cotin, S.: Asynchronous preconditioners for efficient solving of non-linear deformations. In: Proceedings of Virtual Reality Interaction and Physical Simulation (VRIPHYS), November 2010
Duriez, C., Dubois, F., Andriot, C., Kheddar, A.: Realistic haptic rendering of interacting deformable objects in virtual environments. IEEE Trans. Vis. Comput. Graph. 12(1), 36–47 (2006)
Duriez, C., Courtecuisse, H., de la Plata Alcalde, J.-P., Bensoussan, P.-J.: Contact skinning. In: Eurographics Conference (short paper) (2008)
Courtecuisse, H., Jung, H., Allard, J., Duriez, C., Lee, D.Y., Cotin, S.: Gpu-based real-time soft tissue deformation with cutting and haptic feedback. Prog. Biophys. Mol. Biol. 103(2–3):159–168 (2010) (Special Issue on Soft Tissue Modelling)
Duriez, C., Guébert, C., Marchal, M., Cotin, S., Grisoni, L.: Interactive simulation of flexible needle insertions based on constraint models. In: Yang, G.-Z., Hawkes, D., Rueckert, D., Noble, A., Taylor, C. (eds.) Proceedings of MICCAI 2009, vol. 5762, pp. 291–299. Springer, (2009)
Saupin, G., Duriez, C., Cotin, S.: Contact model for haptic medical simulations. In: ISBMS ’08: Proceedings of the 4th International Symposium on Biomedical Simulation, pp. 157–165, Springer, Berlin (2008)
Courtecuisse, H., Allard, J., Duriez, C., Cotin, S.: Preconditionerbased contact response and application to cataract surgery. In: MICCAI 2011. Springer, September 2011
Faure, F., Barbier, S., Allard, J., Falipou, F.: Image-based collision detection and response between arbitrary volumetric objects. In: ACM Siggraph/Eurographics Symposium on Computer Animation, SCA 2008, July, 2008, Dublin, Irlande, July 2008
Krüger, J., Westermann, R.: A GPU framework for solving systems of linear equations. In: GPU Gems 2, chapter 44, pp. 703–718. Addison-Wesley, Boston (2005)
Buatois, L., Caumon, G., Lévy, B.: Concurrent number cruncher— a GPU implementation of a general sparse linear solver. Int. J. Parallel Emerg. Distrib. Syst. 24(3), 205–223 (2009)
Allard, J., Courtecuisse, H., Faure, F.: Implicit FEM solver on GPU for interactive deformation simulation. In: GPU Computing Gems Jade Edition, chapter 21. Elsevier, (2011)
Monaghan, J.J.: An introduction to sph. Comput. Phys. Commun. 48(1), 88–96 (1988)
Richard, J., Adams, B.H.: Stable haptic interaction with virtual environments. IEEE Trans. Robot. Autom. pp. 465–474 (1999)
Peterlick, I., Nouicer, M., Duriez, C., Cotin, S., Kheddar, A.: Constraint-based haptic rendering of multirate compliant mechanisms. IEEE Transactions on Haptics, Accepted with minor rev
Chapelle, D., Tallec, P.L., Moireau, P., Sorine, M.: An energy-preserving muscle tissue model: formulation and compatiblediscretizations. IJMCE (2010)
Peyrat, J.-M., Sermesant, M., Pennec, X., Delingette, H., Xu, C.-Y., Eliot, R. McVeigh, Ayache, N.: A computational framework for the statistical analysis of cardiac diffusion tensors: Application to a small database of canine hearts. IEEE Trans. Med. Imaging 26(11), 1500–1514. PMID: 18041265 November (2007)
Sermesant, M., Peyrat, J.M., Chinchapatnam, P., Billet, F., Mansi, T., Rhode, K., Delingette, H., Razavi, R., Ayache, N.: Toward patient-specific myocardial models of the heart. Heart Fail. Clin. 4(3), 289–301(2008)
Mansi, T., André, B., Lynch, M., Sermesant, M., Delingette, H., Boudjemline, Y., Ayache, N.: Virtual pulmonary valve replacement interventions with a personalised cardiac electromechanical model. In: Recent Advances in the 3D Physiological Human, pp. 201–210. Springer, November (2009)
Pernod, E., Sermesant, M., Konukoglu, E., Relan, J., Delingette, H., Ayache, N.: A multifront eikonal model of cardiac electrophysiology for interactive simulation of radio-frequency ablation. Comput. Graph. 35, 431–440 (2011)
Gilles, B., Bousquet, G., Faure, F., Pai, D.K.: Frame-based elastic models. ACM Trans. Graph. 30(2), (2011)
Faure, F., Gilles, B., Bousquet, G., Pai, D.K.: Sparse meshless models of complex deformable solids. ACM Trans. Graph. (2011)
Marchesseau, S., Heimann, T., Chatelin, S., Willinger, R., Delingette, H.: Multiplicative jacobian energy decomposition method for fast porous visco-hyperelastic soft tissue model. In: Proceedings of Medical Image Computing and Computer Assisted Intervention (MICCAI’10), LNCS, Springer (2010)
Comas, O., Duriez, C., Cotin, S.: Shell model for reconstruction and real-time simulation of thin anatomical structures. In: Jiang, T., Navab, N., Pluim, J., Viergever, M. (eds.) Medical Image Computing and Computer-Assisted Intervention – MICCAI 2010. Lecture Notes in Computer Science, vol. 6362, pp. 371–379. Springer, Berlin, (2010)
Peterlik, I., Nouicer, M., Duriez, C., Cotin, S., Kheddar, A.: Constraint-based haptic rendering of multirate compliant mechanisms. Transactions on Haptics – Special Issue on Haptics in Medicine and Clinical Skill Acquisition, to appear, September 2011
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Faure, F. et al. (2012). SOFA: A Multi-Model Framework for Interactive Physical Simulation. In: Payan, Y. (eds) Soft Tissue Biomechanical Modeling for Computer Assisted Surgery. Studies in Mechanobiology, Tissue Engineering and Biomaterials, vol 11. Springer, Berlin, Heidelberg. https://doi.org/10.1007/8415_2012_125
Download citation
DOI: https://doi.org/10.1007/8415_2012_125
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-29013-8
Online ISBN: 978-3-642-29014-5
eBook Packages: EngineeringEngineering (R0)