Desperately seeking a fitting function

  • Thread starter Clausius2
  • Start date


Science Advisor
Gold Member
I am seeking a function [tex]r=r(\eta)[/tex] for a computational mesh. It has to have the same shape as the one shown in the figure attached. This figure has been achieved via polinomical approximation, but it doesn't give me many chances to change parameters of contractions. Maybe there is an analytical function which can behave as it is shown in the figure.

It has to check:

[tex] r(\eta=0)=0[/tex]
[tex] r'(\eta=0)\sim 0[/tex]
[tex] r(\eta=\eta_o)=1[/tex]
[tex] r'(\eta=\eta_o)\sim 0[/tex]
[tex] r''(\eta=\eta_o)\sim 0[/tex]
[tex] r(\eta=\eta_{max})=r_{max}[/tex]

Do you know some function (apart of a polinomical one) which behaves as the one shown in the figure?. The data is [tex]r_{max},\eta_{max}[/tex] and I must be able to vary successfully [tex] \eta_o[/tex].

Please Help!


Want to reply to this thread?

"Desperately seeking a fitting function" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Top Threads