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

inletOutlet BC & interpolation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2013, 05:26
Default inletOutlet BC & interpolation
  #1
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 16
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, 08:54
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 17
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 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
Help on 2D interpolation in StarCCM+ madhuri Siemens 1 May 30, 2017 03:20
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 15:22
Surface interpolation schemes and parallelization jutta OpenFOAM Running, Solving & CFD 0 February 25, 2010 14:32
momentum interpolation for collocated grid Hadian Main CFD Forum 4 December 25, 2009 07:25


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