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

[Other] very basic question about createPhi.H

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2011, 01:05
Default very basic question about createPhi.H
  #1
Member
 
Yuri Feldman
Join Date: Mar 2011
Posts: 30
Rep Power: 15
feldy77 is on a distinguished road
Hi Foamers,
I have a very basic question about createPhi.H definition

ifndef createPhi_H
#define createPhi_H
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Info<< "Reading/calculating face flux field phi\n" << endl;
surfaceScalarField phi
(
IOobject
(
"phi",
runTime.timeName(),
mesh,
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
linearInterpolate(hU) & mesh.Sf()
);

Everething is clear except hU field. What is it and where it is defined?
Many thanks, Yuri
feldy77 is offline   Reply With Quote

Old   November 22, 2011, 06:01
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
My version of createPhi.H (OpenFOAM-2.0.x/src/finiteVolume/cfdTools/incompressible) just has U there, which makes sense. Which version are you refering to?
Bernhard is offline   Reply With Quote

Old   November 22, 2011, 09:16
Default
  #3
Member
 
Yuri Feldman
Join Date: Mar 2011
Posts: 30
Rep Power: 15
feldy77 is on a distinguished road
Hi Bernhard,
Thaks for your reply,
I a working with 1.7. Now follwoing the path you
mentioned I also found that the flux is computed using U.
Before I was looking at the file related to the ShallowWaterFoam solver.
I think that was the reason for confusion
feldy77 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
Basic Fluent Statistics Question amanbearpig FLUENT 2 June 4, 2013 06:36
Basic question to buoyantBoussinesqPisoFoam kriz OpenFOAM 2 June 12, 2010 04:35
Basic Question Abhi FLUENT 1 August 4, 2007 09:07
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 20:01
A Basic Question on ducted Flows! CFD User Main CFD Forum 4 January 8, 2005 07:17


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