CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

DivphiU expression in incompressible solvers

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 15, 2005, 10:26
Default In OpenFoam, the term (U . Ñ)U
  #1
Member
 
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17
vvqf is on a distinguished road
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

vvqf is offline   Reply With Quote

 


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
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


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