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 Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By sandrak

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2009, 09:43
Default basic question on phiv in rhoSonicFoam
  #1
New Member
 
Join Date: Sep 2009
Posts: 4
Rep Power: 16
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

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


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