very basic question about createPhi.H
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 |
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?
|
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 |
All times are GMT -4. The time now is 23:52. |