Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Desperately seeking a fitting function

  1. Aug 5, 2005 #1


    User Avatar
    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!

    Attached Files:

  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?