# icofoam doubt

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

 September 20, 2012, 18:32 icofoam doubt #1 New Member   Mandeep Join Date: Aug 2012 Location: Canada Posts: 8 Rep Power: 4 Hello all, I am new to openfoam and was just trying to understand icofoam code. in the follwing portion of the code set up the pressure equation fvScalarMatrix pEqn ( fvm::laplacian(rUA, p) == fvc::div(phi) ); for setting pr eqn divergence of phi is used. if phi is scalar field(inner product of face velocity and surface area normal) then how can its divergence be defined ? thanks in advance.

September 26, 2012, 09:00
#2
Senior Member

Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 543
Rep Power: 18
Quote:
 Originally Posted by Rocky4 if phi is scalar field(inner product of face velocity and surface area normal) then how can its divergence be defined ? thanks in advance.
phi is actually a surfaceScalarField, which is a scalar (as you have noted) defined at each face of the particular cell. The divergence of this is then the summation of this surfaceScalar over the owner and neighbor faces. If you want to learn more about this, have a look at Dr. Jasak's Thesis here .
__________________
Dan

 October 5, 2012, 22:22 #3 New Member   Mandeep Join Date: Aug 2012 Location: Canada Posts: 8 Rep Power: 4 Thanks for ur kind response.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post M3hdi OpenFOAM Running, Solving & CFD 16 May 17, 2013 12:34 manuel OpenFOAM Running, Solving & CFD 8 September 22, 2010 04:10 cesarbz OpenFOAM Installation 6 July 4, 2008 04:44 platopus OpenFOAM Bugs 8 April 15, 2008 07:52 msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58

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