|
[Sponsors] |
September 8, 2009, 10:43 |
basic question on phiv in rhoSonicFoam
|
#1 |
New Member
Join Date: Sep 2009
Posts: 4
Rep Power: 17 |
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? |
|
Tags |
interpolate, phiv, rhosonicfoam |
|
|
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 |