|
[Sponsors] |
November 15, 2005, 10:26 |
In OpenFoam, the term (U . Ñ)U
|
#1 |
Member
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17 |
In OpenFoam, the term (U . Ñ)U in N-S equation is expressed as div(phi,U),where phi is surfaceScalarField, and phi = linearInterpolate(Uo) & mesh.Sf(). I don't understand this.
I think it can also expressed as U . ÑU, (inner product),which in OpenFoam is U & fvc::grad(U)).(why not in this way?) in OpenFoam, div(phi,U) is said to mean Ñ . (UU), and flux f=U see User Guide U-110 createPhi.H #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(U) & mesh.Sf() ); // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #endif |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure force calculation in incompressible solvers | philippose | OpenFOAM Running, Solving & CFD | 10 | December 7, 2019 04:51 |
Incompressible vs compressible solvers | James | Main CFD Forum | 5 | January 19, 2009 05:15 |
SonicFoam divphiU | dimi | OpenFOAM Running, Solving & CFD | 3 | June 25, 2007 05:47 |
NS-incompressible and compressible flow solvers | ag | Main CFD Forum | 2 | September 27, 2005 06:18 |
CEL expression | Henry | CFX | 2 | August 7, 2004 12:16 |