CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Order of interpolation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2011, 09:10
Default Order of interpolation
  #1
Member
 
Reine Granström
Join Date: Apr 2009
Location: Sweden
Posts: 43
Rep Power: 17
gravis is on a distinguished road
Hi,

I have not managed to find any info in the CFX-12 documentation regarding how the interpolation is done when using CFX-Post in "comparison mode" to compare different meshes. Basically, I would like to know what the order of the interpolation is, and how it is carried out.

Also, I would like to know the equivalent for the CFX Solver interpolator. Is the same method of interpolation used?

Thanks,
Reine
gravis is offline   Reply With Quote

Old   February 17, 2011, 08:32
Default Update
  #2
Member
 
Reine Granström
Join Date: Apr 2009
Location: Sweden
Posts: 43
Rep Power: 17
gravis is on a distinguished road
Since I have been in contact with the support I have learned that CFX-Post uses a trilinear interpolation of first order. Presumably, the interpolation in the solver is also of first order accuracy.

For example, imagine carrying out a grid refinement study using a second order scheme. It concerns me a bit that this first order approximation will limit the overall accuracy, if one would like to compare local quantities rather than some global variable.

Any thoughts on this?

In Celik's [1] paper on Richardson extrapolation, they use a "third order Newton's Divided Difference Polynomial" to interpolate the results between different grids. However, I have not seen the use of higher order interpolation methods elsewhere than in this paper. I would appreciate any recommendations on literature regarding methods for interpolation.


[1] Celik, I., Karatekin, O.
Numerical experiments on application of Richardson extrapolation with nonuniform grids
(1997) Journal of Fluids Engineering, Transactions of the ASME, 119 (3), pp. 584-589.
gravis is offline   Reply With Quote

Old   February 17, 2011, 11:07
Default Update#2
  #3
Member
 
Reine Granström
Join Date: Apr 2009
Location: Sweden
Posts: 43
Rep Power: 17
gravis is on a distinguished road
Also, correct me if I am wrong, as I have understood a 1D linear interpolation (CDS) between two nodes of a regular grid is second order accurate. i.e. the leading truncation error term is proportional to the square of the distance between the nodes and the polynomial order is 1.

And, as I have understood, a trilinear interpolation is identical to three successive linear interpolations. Therefore, it seems to me that a trilinear interpolation (on a regular grid) should also be second order accurate.

However, at Wikipedia's page for Trilinear_interpolation it is written that:

"The order of accuracy is 1 for all these interpolation schemes" (linear, bilinear and trilinear )

Can someone clear this out for me? Is it a general statement that holds for all grid types?
gravis is offline   Reply With Quote

Old   February 17, 2011, 22:17
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
Presumably, the interpolation in the solver is also of first order accuracy.
What "interpolation" are you referring to here?

Be careful here - the interpolation for initial condition calculations or comparisons between results file is done by trilinear interpolation, but the advection discretisation is second order by default. The advection scheme is totally different to the interpolation schemes.

I think you have interpolation schemes mixed up with advection schemes.
ghorrocks is offline   Reply With Quote

Old   February 18, 2011, 03:50
Default
  #5
Member
 
Reine Granström
Join Date: Apr 2009
Location: Sweden
Posts: 43
Rep Power: 17
gravis is on a distinguished road
Hi Glenn,

Thank you for your reply.

I am only referring to the interpolation scheme, not the advection scheme.


Quote:
Originally Posted by gravis View Post
Presumably, the interpolation in the solver is also of first order accuracy.
What I meant by this was to ask if the accuracy of the interpolation scheme in CFX-Interpolator was equal to the one used in CFD-Post in comparison mode.

Kind regards,
Reine
gravis is offline   Reply With Quote

Old   February 18, 2011, 07:01
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I think you would have to talk to CFX support for the details of the interpolators, beyond what is shown in the documentation.
ghorrocks is offline   Reply With Quote

Reply

Tags
interpolation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
second order interpolation white heart Main CFD Forum 1 April 22, 2010 09:36
Surface interpolation schemes and parallelization jutta OpenFOAM Running, Solving & CFD 0 February 25, 2010 15:32
High order interpolation mbuffat OpenFOAM Running, Solving & CFD 0 October 15, 2008 04:47
Fourth order surface normal gradient interpolation adona058 OpenFOAM Running, Solving & CFD 8 September 24, 2007 16:12
2nd order interpolation for NS solver Quarkz Main CFD Forum 6 July 15, 2005 22:50


All times are GMT -4. The time now is 20:17.