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

icofoam doubt

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2012, 19:32
Default icofoam doubt
  #1
New Member
 
Mandeep
Join Date: Aug 2012
Location: Canada
Posts: 9
Rep Power: 13
Rocky4 is on a distinguished road
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.
Rocky4 is offline   Reply With Quote

Old   September 26, 2012, 10:00
Default
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Quote:
Originally Posted by Rocky4 View Post
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 .
chegdan is offline   Reply With Quote

Old   October 5, 2012, 23:22
Default
  #3
New Member
 
Mandeep
Join Date: Aug 2012
Location: Canada
Posts: 9
Rep Power: 13
Rocky4 is on a distinguished road
Thanks for ur kind response.
Rocky4 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
icoFoam VS pisoFoam-Laminar M3hdi OpenFOAM Running, Solving & CFD 17 May 21, 2022 01:55
Density in icoFoam Densidad en icoFoam manuel OpenFOAM Running, Solving & CFD 8 September 22, 2010 05:10
IcoFoam Not Installed and blockMesh command not found cesarbz OpenFOAM Installation 6 July 4, 2008 05:44
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 08:52
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


All times are GMT -4. The time now is 22:53.