CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Interpolated Boundary Conditions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2011, 17:34
Default Interpolated Boundary Conditions
  #1
New Member
 
Eezyville's Avatar
 
Chris
Join Date: Oct 2010
Location: Toledo, OH
Posts: 24
Rep Power: 15
Eezyville is on a distinguished road
Send a message via Skype™ to Eezyville
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.
Eezyville is offline   Reply With Quote

Old   August 22, 2011, 15:10
Default some personal opinions
  #2
Member
 
Wu Jian
Join Date: Jun 2009
Location: Poitiers
Posts: 33
Rep Power: 16
harbinyg is on a distinguished road
Send a message via MSN to harbinyg
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 !
harbinyg is offline   Reply With Quote

Old   August 28, 2011, 23:12
Default
  #3
New Member
 
Eezyville's Avatar
 
Chris
Join Date: Oct 2010
Location: Toledo, OH
Posts: 24
Rep Power: 15
Eezyville is on a distinguished road
Send a message via Skype™ to 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.
Eezyville is offline   Reply With Quote

Old   August 31, 2011, 02:51
Default
  #4
jka
New Member
 
Adam Jirasek
Join Date: Mar 2011
Posts: 18
Rep Power: 15
jka is on a distinguished road
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 View Post
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.
jka is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Impinging Jet Boundary Conditions Anindya Main CFD Forum 25 February 27, 2016 13:58
Boundary conditions for 2D Navie-Stockes simulation L1011 OpenFOAM 5 December 13, 2012 09:17
OpenFOAM Variable Velocity Boundary Conditions NickolasPl OpenFOAM Programming & Development 2 May 19, 2011 06:37
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
A problem about setting boundary conditions lyang Main CFD Forum 0 September 19, 1999 19:29


All times are GMT -4. The time now is 03:59.