CFD Discretization: Building a Higher Order Code Using Polynomial Fitting

AI Thread Summary
The discussion focuses on building a higher order computational fluid dynamics (CFD) code using polynomial fitting, specifically a third-order polynomial. The user is attempting to fit the polynomial to a defined domain but is struggling with the equations derived from the polynomial form. There is confusion regarding the number of unknowns and equations, as the user believes there are too many unknowns. A suggestion is made to refer to Lagrange Interpolating Polynomial for guidance, indicating that solving the equations may not be necessary. The conversation emphasizes the importance of understanding polynomial fitting techniques in CFD code development.
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
Hi all, i have some questions about the tesla turbine: is a tesla turbine more efficient than a steam engine or a stirling engine ? about the discs of the tesla turbine warping because of the high speed rotations; does running the engine on a lower speed solve that or will the discs warp anyway after time ? what is the difference in efficiency between the tesla turbine running at high speed and running it at a lower speed ( as fast as possible but low enough to not warp de discs) and: i...
Thread 'Where is my curb stop?'
My water meter is submerged under water for about 95% of the year. Today I took a photograph of the inside of my water meter box because today is one of the rare days that my water meter is not submerged in water. Here is the photograph that I took of my water meter with the cover on: Here is a photograph I took of my water meter with the cover off: I edited the photograph to draw a red circle around a knob on my water meter. Is that knob that I drew a red circle around my meter...
Back
Top