- This topic has 7 replies, 3 voices, and was last updated 4 years, 2 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Programming with SOFA › Modeling Hyper-elastic Material
Hello
I’m trying to use the nonlinear model like the Ogden or Yeho model in SOFA instead of the elastic model(position ration and young module). I found the “TetrahedronHyperelasticityFEMForceField” class in SOFA but I don’t know how to import the equation coefficients. Please help if you have similar experience in this field
Thanks
Hi @amir,
Another on which we need to work on the documentation.
From the code you can read (in Ogden.h):
Real k0=param.parameterArray[0];
Real mu1=param.parameterArray[1];
Real alpha1=param.parameterArray[2];
In the ParameterSet data of the TetrahedronHyperelasticityFEMForceField, you must therefore enter ParameterSet=”k mu alpha”. Let me know if it clarifies your point.
Best
Hugo
Hi @Hugo
Thanks for your help. can you address me some examples in the Sofa?
Thanks
Amir
Yes @amir,
Please take a look at the scene TetrahedronHyperelasticityFEMForceField.scn
I am sure it will help.
Best
Hugo
Dear @ Hugo
Thanks. it was very helpful. another question is for using the hyperelastic modeling do I need a Flexible plugin? because I found the Ogden model in that plugin. and in the binary version is it possible to add this plugin?
Thanks
Hi @amir
Not necessarily. The TetrahedronHyperelasticityFEMForceField is available in the core of SOFA, not in a plugin, and contains the Ogden model.
Best,
Hugo
Hi @hugo
I am trying to use the Ogden model for my simulation as well. I am very pleased to see the TetrahedronHyperelasticityFEMForceField contains Ogden, but I am struggling to set the parameters.
As you mentioned in your previous reply, in Ogden.h:
Real k0=param.parameterArray[0];
Real mu1=param.parameterArray[1];
Real alpha1=param.parameterArray[2];
Considering the equation of the strain energy density in the Odgen model, does it mean N is assumed to be 1 for the Ogden model on SOFA? I am wondering how to set the parameters if we have 3*mu and 3*alpha in an Odgen model where N=3.
Many thanks,
Owen
Hi @qwe12050
I did not implement the class myself. You are perfectly right: it clearly appear that the only order available in the class TetrahedronHyperelasticityFEMForceField is the order 1 for Ogden. I am sorry about this. Changing the code could not be too difficult though.
Best,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.