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

A fundamental question about interpolate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2011, 16:12
Default A fundamental question about interpolate
  #1
Member
 
Kai
Join Date: May 2010
Location: Shanghai
Posts: 61
Blog Entries: 1
Rep Power: 16
kaifu is on a distinguished road
Is there any difference between
Code:
fvc::interpolate(alpha*rhoa)
and
Code:
fvc::interpolate(alpha)*fvc::interpolate(rhoa)
Is that difference negligible?
__________________
Kai
kaifu is offline   Reply With Quote

Old   August 22, 2011, 16:34
Default
  #2
Senior Member
 
Mohammad
Join Date: Feb 2010
Location: Shiraz, Iran
Posts: 108
Rep Power: 16
m2montazari is on a distinguished road
hi,
just an example:
interpolate between point1 and point 2 with linear scheme and find the middle value:
(x1*y1+x2*y2)/2 not equal to((x1+x2)/2)*((y1+y2)/2)
I think it is clear!
m2montazari is offline   Reply With Quote

Reply


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
Unanswered question niklas OpenFOAM 2 July 31, 2013 17:03
Validation: a fundamental question Not a guru Main CFD Forum 3 March 4, 2007 05:46
Help with Fundamental Question alice FLUENT 2 October 26, 2004 12:14
CHANNEL FLOW: a question and a request Carlos Main CFD Forum 4 August 23, 2002 06:55
question K.L.Huang Siemens 1 March 29, 2000 05:57


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