CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

inletOutlet BC & interpolation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 17, 2013, 06:26
Default inletOutlet BC & interpolation
  #1
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 174
Rep Power: 7
linch is on a distinguished road
Hi Foamers,

a short question:

given a volScalarField a with BC's:
Quote:
leftSide
{
type inletOutlet;
inletValue uniform 1130;
value uniform 0;
}
rightSide
{
type zeroGradient;
}
if interpolated on cell faces
Code:
surfaceScalarField af (fvc::interpolate(a));
the boundaries look like
Quote:
leftSide
{
type calculated;
value uniform 0;
}
rightSide
{
type calculated;
value uniform 500;
}
The right one is interpolated properly, but the left one is zero, even though neither the cell values nor the inlet value are zeros.

Can anyone please tell me why?
linch is offline   Reply With Quote

Old   January 24, 2013, 09:54
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 279
Rep Power: 9
kmooney is on a distinguished road
Hi Illya,

Is there a non-zero internal value for your field? I'm just trying to get a little more information, this seems a little strange indeed.

Now that you bring it up, I'm not %100 sure how the interpolation operator works with boundary values of a vol field...

Cheers!

Kyle
kmooney is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Interpolation Error on FAM Mesh with Cyclic BCs ngj OpenFOAM Bugs 1 August 9, 2011 06:12
urgent help needed (rhie-chow interpolation problem) Ardalan Main CFD Forum 2 March 18, 2011 16:22
Help on 2D interpolation in StarCCM+ madhuri CD-adapco 0 November 3, 2010 15:21
Surface interpolation schemes and parallelization jutta OpenFOAM Running, Solving & CFD 0 February 25, 2010 15:32
momentum interpolation for collocated grid Hadian Main CFD Forum 4 December 25, 2009 08:25


All times are GMT -4. The time now is 21:04.