# Interpolated Boundary Conditions

 Register Blogs Members List Search Today's Posts Mark Forums Read

 August 17, 2011, 16:34 Interpolated Boundary Conditions #1 New Member   Chris Join Date: Oct 2010 Location: Cincinnati, OH Posts: 24 Rep Power: 8 Hi all, I am trying to develop a new boundary condition for a university code written in Fortran. The code is a finite volume solver. This interpolated boundary condition takes a previous solution, 1-D or 2-D, and uses that solution as an inlet for another solution. The reason I am doing this is to be able to split a problem into many parts where the outlet for one solution would be the inlet of another. The problem is I don't know how to begin to tackle this problem. I'm not sure of what type of interpolation to do or how to prescribe the solution of one grid onto an entirely different grid. I am seeking help in this area. Does anyone have any papers or any other sources I could look at to help with this problem? To narrow down the problem I am specifically looking to take a 2-D Tecplot slice from one solution to use as an inlet for another computation. Any help is appreciated.

 August 22, 2011, 14:10 some personal opinions #2 Member   Wu Jian Join Date: Jun 2009 Location: Poitiers Posts: 33 Rep Power: 9 the essence of your question is an interpolation method; generally, for two entirely differnt grids, it is not easy to find a good interpolation method; however, some simple methods could provide premilary solutions; for example, if you want to define a value of a point (P) in your new grid system, then you draw a circle with P point as the center, r as radius; only taking into all the points (in the old grid system) locate in this circle, do a arithmetic mean; for me, i will add some weighting factor, according to the distance and the problems; you can search some paper about DEM method, as interpolation method is a key issue for this method; best wishes !

 August 28, 2011, 22:12 #3 New Member   Chris Join Date: Oct 2010 Location: Cincinnati, OH Posts: 24 Rep Power: 8 Well i figured out how to do it. I used a distance weighted average to get the values for the new grid. I could have used a more elegant method to get the 4 nearest points but I don't have time for elegance.

August 31, 2011, 01:51
#4
New Member

Join Date: Mar 2011
Posts: 18
Rep Power: 7
I think for 1D it is fairly easy, it will be more difficult for multi-dimensional problem in particular if you have unstructured meshes. In that case I would suggest you to use the Radial Basis Functions, RBF. It is not that difficult, it is actually very easy to implement. Just my thoughts.

Quote:
 Originally Posted by Eezyville Well i figured out how to do it. I used a distance weighted average to get the values for the new grid. I could have used a more elegant method to get the 4 nearest points but I don't have time for elegance.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Anindya Main CFD Forum 25 February 27, 2016 13:58 L1011 OpenFOAM 5 December 13, 2012 09:17 NickolasPl OpenFOAM Programming & Development 2 May 19, 2011 05:37 michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15 lyang Main CFD Forum 0 September 19, 1999 18:29

All times are GMT -4. The time now is 00:53.