CFD Discretization: Building a Higher Order Code Using Polynomial Fitting

Click For Summary
SUMMARY

This discussion focuses on building a higher order Computational Fluid Dynamics (CFD) code using polynomial fitting, specifically a third-order polynomial. The user presents a domain with specific points and equations derived from polynomial fitting, seeking assistance with the fitting process. Key equations include ϕ_(i+1)=a+b+c+d, ϕ_i=a(2/3)^3+b(2/3)^2+c(2/3)+d, and ϕ_(i-1)=a(1/3)^3+b(1/3)^2+c(1/3)+d. A suggestion is made to refer to the Lagrange Interpolating Polynomial for further guidance.

PREREQUISITES
  • Understanding of Computational Fluid Dynamics (CFD) principles
  • Familiarity with polynomial fitting techniques
  • Knowledge of Lagrange Interpolating Polynomial
  • Basic algebra and equation solving skills
NEXT STEPS
  • Study the Lagrange Interpolating Polynomial in detail
  • Learn about higher order polynomial fitting methods
  • Explore numerical methods for solving polynomial equations
  • Investigate software tools for CFD simulations, such as OpenFOAM
USEFUL FOR

CFD developers, mathematicians, and engineers involved in numerical modeling and simulation who are looking to enhance their understanding of polynomial fitting in fluid dynamics.

pcjl
Messages
1
Reaction score
0
Hi guys I was wondering if anyone on here could help me out.

Essentially I am trying to build a higher order cfd code and struggling to work out where to start, I’m trying to build it using polynomial fitting so here’s my problem.

Taking my domain as;

ϕ_(i-2)------------------ϕ_(i-1)------------------ϕ_i------------------ϕ_(i+1)
|------------------------|----------------------|---------------------|
x=0---------------------1/3 --------------------2/3------------------x=1

So I’m wanting to fit a 3rd order polynomial however I’ve not really done much polynomial fitting since A level so I’m quite stuck, here’s what I have,

ϕ=ax^3+bx^2+cx+d

Taking the infomation from the domain I can get the four equations

ϕ_(i+1)=a+b+c+d

ϕ_i=a(2/3)^3+b(2/3)^2+c(2/3)+d

ϕ_(i-1)=a(1/3)^3+b(1/3)^2+c(1/3)+d

ϕ_(i-2)=d

My problem is that there seems to be two many unknowns can anyone help
 
Engineering news on Phys.org

Similar threads

  • · Replies 45 ·
2
Replies
45
Views
7K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 18 ·
Replies
18
Views
6K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K