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

basic question on phiv in rhoSonicFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sandrak

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2009, 10:43
Default basic question on phiv in rhoSonicFoam
  #1
New Member
 
Join Date: Sep 2009
Posts: 4
Rep Power: 17
sandrak is on a distinguished road
Hi,

I'm just looking at the rhoSonicFoam file. The phiv is defined as follows:

surfaceScalarField phiv
(
IOobject
(
"phiv",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::NO_WRITE
),
fvc::interpolate(rhoU)/fvc::interpolate(rho) & mesh.Sf()
);

But why not use "fvc::interpolate(U) & mesh.Sf()" instead of the last line there? I've tried it and it does not make much difference, but some values differ then.
So I think there is a reason for taking the upper version, but I don't know which, since the latter should calculate faster. Is the first one more accurate?
lpz456 likes this.
sandrak is offline   Reply With Quote

Reply

Tags
interpolate, phiv, rhosonicfoam


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
BladeGen and CFX - basic question Dip CFX 5 August 5, 2010 18:21
Basic Poiseuille flow simulation question Ashish Main CFD Forum 0 October 2, 2007 14:05
Basic Question Abhi FLUENT 1 August 4, 2007 09:07
New to CFD with some basic question Newbie Main CFD Forum 3 October 23, 2006 13:22
Basic LES question toyCFD Main CFD Forum 3 August 23, 2006 16:09


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