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

very basic question about createPhi.H

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 6
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: 12
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: 6
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic question to buoyantBoussinesqPisoFoam kriz OpenFOAM 2 June 12, 2010 03:35
basic question about pointSync AirS OpenFOAM Pre-Processing 0 January 6, 2010 07:18
Basic Question Abhi FLUENT 1 August 4, 2007 08:07
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 19:01
LES..Basic Question NIK Main CFD Forum 13 May 19, 2004 19:03


All times are GMT -4. The time now is 16:01.