|
[Sponsors] | |||||
[Other] very basic question about createPhi.H |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
Yuri Feldman
Join Date: Mar 2011
Posts: 30
Rep Power: 16 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 23 ![]() |
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?
|
|
|
|
|
|
|
|
|
#3 |
|
Member
Yuri Feldman
Join Date: Mar 2011
Posts: 30
Rep Power: 16 ![]() |
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 |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |