WelSimLLC / WelSim-Apps

WELSIM is the #1 engineering simulation software for the open-source community.
https://welsim.com
28 stars 3 forks source link

curvefitter #50

Closed j-sen123 closed 12 months ago

j-sen123 commented 1 year ago

The curvefitter software only has built-in formula equations. Can you add a custom function equation function? Thank you!

lcheng9 commented 1 year ago

Thank you for your comments.

It is difficult to support customized functions because each type of function may use different solving schemes. If you need specific functions, please let us know we always try to deliver the new equations as soon as possible.

j-sen123 commented 1 year ago

I want to fit a hyperelastic stress-strain curve at different strain rates. Add strain rate related terms (exponential, logarithmic or polynomial) to the original hyperelastic stress-strain relationship. image

j-sen123 commented 1 year ago

image

lcheng9 commented 1 year ago

Thank you for providing the details. This equation is the uniaxial tension with an added strain rate term. The exact term still depends on the energy functional. Do you have a preferred hyperelastic model? such as Polynomial, Neo-Hookean, etc. If I am understanding correctly, the parameter \mu is the fitting coefficient, and the \epsilon^{star} is given for a set of strain-stress?

j-sen123 commented 1 year ago

My current preferred hyperelastic model is Mooney-Rivlin 5 parameters. image Yes, the parameter \mu is the fitting coefficient, e is the strain rate and e 0 is the reference strain rate.

j-sen123 commented 1 year ago

I hope that the strain rate related term can be set in a form by myself, because I want to find the most appropriate form to fit the curve. If that's not possible, I currently use the strain rate term as shown. image A,B,C,D are parameters.Thanks for your help.

lcheng9 commented 1 year ago

Thank you for letting me know your preference. We will try to fit this function. Since there are nine parameters in total, the convergence is not guaranteed. I will keep you posted here once the feature becomes available.

j-sen123 commented 1 year ago

Thank you very much, looking forward to your good news

getwelsim commented 1 year ago

@j-sen123 We tried to fit this function without success, the solve cannot converge. This function may not be shipped before we figure out a better solving scheme, I am sorry for the unavailability at this moment, if you have any comments or other curves to fit, please feel free to let us know. Thank you.