Optimal Function for Computational Mesh: Achieving Desired Shape and Flexibility

  • Context: Graduate 
  • Thread starter Thread starter Clausius2
  • Start date Start date
  • Tags Tags
    Fitting Function
Click For Summary
SUMMARY

The discussion focuses on finding an optimal function r=r(η) for a computational mesh that meets specific boundary conditions. The required function must satisfy r(η=0)=0, r'(η=0)≈0, r(η=η_o)=1, r'(η=η_o)≈0, r''(η=η_o)≈0, and r(η=η_max)=r_max. While polynomial approximations have been explored, participants suggest considering trigonometric functions or the form x^(2n+1) for some n, which may offer the desired flexibility in parameter adjustments.

PREREQUISITES
  • Understanding of computational mesh concepts
  • Familiarity with boundary conditions in mathematical functions
  • Knowledge of polynomial and trigonometric functions
  • Basic skills in mathematical analysis and function behavior
NEXT STEPS
  • Research analytical functions suitable for boundary condition problems
  • Explore the application of trigonometric functions in computational modeling
  • Investigate the properties of odd-degree polynomial functions
  • Learn about numerical methods for optimizing function parameters
USEFUL FOR

Mathematicians, computational scientists, and engineers involved in mesh generation and optimization will benefit from this discussion.

Clausius2
Science Advisor
Gold Member
Messages
1,433
Reaction score
7
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!
Thanks!
 

Attachments

  • Curva.jpg
    Curva.jpg
    9.6 KB · Views: 539
Physics news on Phys.org
Except from the start, where one could use a trig function, it looks as if ##x^{2n+1}## for some ##n## and appropriately shifted would do the job.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K